aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-05-15 16:05:40 +0000
committerStefan Monnier2006-05-15 16:05:40 +0000
commit4a729d588608e6d17eeecbe06cca7d6663afe677 (patch)
tree3f375225385c394a3da68ee6c15ae72d524f44dd
parent4449f659d5a3f5389194d455e73637329e4c22ca (diff)
downloademacs-4a729d588608e6d17eeecbe06cca7d6663afe677.tar.gz
emacs-4a729d588608e6d17eeecbe06cca7d6663afe677.zip
(hexlify-buffer): Encode process arguments manually.
-rw-r--r--lisp/ChangeLog33
-rw-r--r--lisp/hexl.el7
2 files changed, 22 insertions, 18 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b7332efc4aa..8045b76a338 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12006-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * hexl.el (hexlify-buffer): Encode process arguments manually.
4
12006-05-16 Nick Roberts <nickrob@snap.net.nz> 52006-05-16 Nick Roberts <nickrob@snap.net.nz>
2 6
3 * progmodes/gud.el (gud-tooltip-tips): Add missing argument to 7 * progmodes/gud.el (gud-tooltip-tips): Add missing argument to
@@ -6,14 +10,12 @@
62006-05-15 Romain Francoise <romain@orebokech.com> 102006-05-15 Romain Francoise <romain@orebokech.com>
7 11
8 * dired-x.el (dired-guess-shell-gnutar): On GNU and GNU/Linux 12 * dired-x.el (dired-guess-shell-gnutar): On GNU and GNU/Linux
9 systems, default to "tar" since those systems probably have GNU 13 systems, default to "tar" since those systems probably have GNU tar.
10 tar.
11 14
122006-05-14 Lars Hansen <larsh@soem.dk> 152006-05-14 Lars Hansen <larsh@soem.dk>
13 16
14 * desktop.el (desktop-missing-file-warning): Fix docstring. 17 * desktop.el (desktop-missing-file-warning): Fix docstring.
15 (desktop-restore-file-buffer): Correct question asked on missing 18 (desktop-restore-file-buffer): Correct question asked on missing file.
16 file.
17 19
182006-05-14 Kim F. Storm <storm@cua.dk> 202006-05-14 Kim F. Storm <storm@cua.dk>
19 21
@@ -31,14 +33,12 @@
31 33
322006-05-12 Glenn Morris <rgm@gnu.org> 342006-05-12 Glenn Morris <rgm@gnu.org>
33 35
36 * calendar/cal-menu.el (calendar-mode-map, calendar-mouse-3-map):
37 * calendar/calendar.el (calendar-mode-map):
38 * calendar/diary-lib.el (include-other-diary-files,diary-mail-entries):
34 * calendar/appt.el (appt-check, appt-make-list): Refer to 39 * calendar/appt.el (appt-check, appt-make-list): Refer to
35 diary-view-entries, diary-list-entries, diary-show-all-entries 40 diary-view-entries, diary-list-entries, diary-show-all-entries
36 rather than obsolete aliases. 41 rather than obsolete aliases.
37 * calendar/cal-menu.el (calendar-mode-map, calendar-mouse-3-map):
38 Ditto.
39 * calendar/calendar.el (calendar-mode-map): Ditto.
40 * calendar/diary-lib.el (include-other-diary-files)
41 (diary-mail-entries): Ditto.
42 42
432006-05-12 Chong Yidong <cyd@stupidchicken.com> 432006-05-12 Chong Yidong <cyd@stupidchicken.com>
44 44
@@ -51,7 +51,7 @@
51 51
522006-05-12 Ken Manheimer <ken.manheimer@gmail.com> 522006-05-12 Ken Manheimer <ken.manheimer@gmail.com>
53 53
54 * allout.el: (allout-view-change-hook): Marked as being deprecated, 54 * allout.el: (allout-view-change-hook): Mark as being deprecated,
55 to be replaced by `allout-exposure-change-hook'. 55 to be replaced by `allout-exposure-change-hook'.
56 (allout-exposure-change-hook): New, replacing 56 (allout-exposure-change-hook): New, replacing
57 `allout-view-change-hook'. 57 `allout-view-change-hook'.
@@ -93,9 +93,8 @@
93 (cal-tex-cursor-day, cal-tex-cursor-week, cal-tex-cursor-week2) 93 (cal-tex-cursor-day, cal-tex-cursor-week, cal-tex-cursor-week2)
94 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday) 94 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
95 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week) 95 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
96 (cal-tex-cursor-filofax-daily, cal-tex-cursor-year) 96 (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year)
97 (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year): 97 (cal-tex-cursor-filofax-daily, cal-tex-cursor-year): Interactive.
98 Interactive.
99 98
1002006-05-11 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> 992006-05-11 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se>
101 100
@@ -115,8 +114,8 @@
115 114
116 * files.el, newcomment.el, outline.el, simple.el, 115 * files.el, newcomment.el, outline.el, simple.el,
117 emacs-lisp/bytecomp.el, progmodes/cc-compat.el, 116 emacs-lisp/bytecomp.el, progmodes/cc-compat.el,
118 progmodes/cc-vars.el, progmodes/compile.el: Move 117 progmodes/cc-vars.el, progmodes/compile.el:
119 `safe-local-variable' declarations to the respective files. 118 Move `safe-local-variable' declarations to the respective files.
120 119
121 * help-fns.el (describe-variable): Don't print safe-var if it is 120 * help-fns.el (describe-variable): Don't print safe-var if it is
122 byte-code. Improve wording as suggested by Luc Teirlinck 121 byte-code. Improve wording as suggested by Luc Teirlinck
@@ -135,8 +134,8 @@
1352006-05-11 Carsten Dominik <dominik@science.uva.nl> 1342006-05-11 Carsten Dominik <dominik@science.uva.nl>
136 135
137 * textmodes/org.el (org-read-date, org-goto-calendar) 136 * textmodes/org.el (org-read-date, org-goto-calendar)
138 (org-agenda-goto-calendar): Bind 137 (org-agenda-goto-calendar):
139 `view-calendar-holidays-initially' to nil. 138 Bind `view-calendar-holidays-initially' to nil.
140 139
1412006-05-11 Thien-Thi Nguyen <ttn@gnu.org> 1402006-05-11 Thien-Thi Nguyen <ttn@gnu.org>
142 141
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 1e724aa418a..e2078fceecb 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -704,7 +704,12 @@ This discards the buffer's undo information."
704 (buffer-undo-list t)) 704 (buffer-undo-list t))
705 (apply 'call-process-region (point-min) (point-max) 705 (apply 'call-process-region (point-min) (point-max)
706 (expand-file-name hexl-program exec-directory) 706 (expand-file-name hexl-program exec-directory)
707 t t nil (split-string hexl-options)) 707 t t nil
708 ;; Manually encode the args, otherwise they're encoded using
709 ;; coding-system-for-write (i.e. buffer-file-coding-system) which
710 ;; may not be what we want (e.g. utf-16 on a non-utf-16 system).
711 (mapcar (lambda (s) (encode-coding-string s locale-coding-system))
712 (split-string hexl-options)))
708 (if (> (point) (hexl-address-to-marker hexl-max-address)) 713 (if (> (point) (hexl-address-to-marker hexl-max-address))
709 (hexl-goto-address hexl-max-address)))) 714 (hexl-goto-address hexl-max-address))))
710 715