Commit bba79a9c authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(doc-view-convert-current-doc): Fix last change.

parent 0462d019
2009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
* doc-view.el (doc-view-convert-current-doc): Fix last change.
2009-03-10 Glenn Morris <rgm@gnu.org> 2009-03-10 Glenn Morris <rgm@gnu.org>
* mail/sendmail.el (mail-archive-file-name, mail-default-headers): * mail/sendmail.el (mail-archive-file-name, mail-default-headers):
...@@ -8,8 +12,7 @@ ...@@ -8,8 +12,7 @@
2009-03-10 Alexander Becher <alexander.becher@capgemini-sdm.com> (tiny change) 2009-03-10 Alexander Becher <alexander.becher@capgemini-sdm.com> (tiny change)
* vc-annotate.el (vc-annotate): Use widened line * vc-annotate.el (vc-annotate): Use widened line number (Bug#2612).
number (Bug#2612).
2009-03-09 Jason Rumney <jasonr@gnu.org> 2009-03-09 Jason Rumney <jasonr@gnu.org>
...@@ -74,9 +77,9 @@ ...@@ -74,9 +77,9 @@
2009-03-04 David Reitter <david.reitter@gmail.com> 2009-03-04 David Reitter <david.reitter@gmail.com>
* menu-bar.el (clipboard-yank): avoid * menu-bar.el (clipboard-yank): Avoid checking (x-selection-exists-p)
checking (x-selection-exists-p) if unbound in order to enable the if unbound in order to enable the item.
item. For paste menu item, same, and check kill-ring. For paste menu item, same, and check kill-ring.
2009-03-04 Sam Steingold <sds@gnu.org> 2009-03-04 Sam Steingold <sds@gnu.org>
...@@ -144,18 +147,16 @@ ...@@ -144,18 +147,16 @@
* files.el (basic-save-buffer-1): Set car part of * files.el (basic-save-buffer-1): Set car part of
buffer-file-coding-system-explicit. buffer-file-coding-system-explicit.
(revert-buffer): Check car part of (revert-buffer): Check car part of buffer-file-coding-system-explicit.
buffer-file-coding-system-explicit.
* international/mule-cmds.el (select-safe-coding-system): If cdr * international/mule-cmds.el (select-safe-coding-system): If cdr
part of buffer-file-coding-system-explicit is set, ignore part of buffer-file-coding-system-explicit is set, ignore
default-buffer-file-coding-system and the most preferred coding default-buffer-file-coding-system and the most preferred coding system.
system.
* international/mule.el (set-buffer-file-coding-system): Set cdr * international/mule.el (set-buffer-file-coding-system): Set cdr
part of buffer-file-coding-system-explicit. part of buffer-file-coding-system-explicit.
(after-insert-file-set-coding): Set (after-insert-file-set-coding):
buffer-file-coding-system-explicit to a cons. Set buffer-file-coding-system-explicit to a cons.
2009-03-02 Glenn Morris <rgm@gnu.org> 2009-03-02 Glenn Morris <rgm@gnu.org>
...@@ -187,8 +188,8 @@ ...@@ -187,8 +188,8 @@
2009-02-28 Eli Zaretskii <eliz@gnu.org> 2009-02-28 Eli Zaretskii <eliz@gnu.org>
* progmodes/grep.el (grep-process-setup) [windows-nt msdos]: Use * progmodes/grep.el (grep-process-setup) [windows-nt msdos]:
"--color=always". Use "--color=always".
2009-02-28 Glenn Morris <rgm@gnu.org> 2009-02-28 Glenn Morris <rgm@gnu.org>
...@@ -226,8 +227,7 @@ ...@@ -226,8 +227,7 @@
2009-02-26 Michael Albinus <michael.albinus@gmx.de> 2009-02-26 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-remote-coding-commands): Add * net/tramp.el (tramp-remote-coding-commands): Add "base64". (Bug#2463)
"base64". (Bug#2463)
2009-02-26 Juanma Barranquero <lekktu@gmail.com> 2009-02-26 Juanma Barranquero <lekktu@gmail.com>
...@@ -430,8 +430,8 @@ ...@@ -430,8 +430,8 @@
2009-02-20 Era Eriksson <era@iki.fi> (tiny change) 2009-02-20 Era Eriksson <era@iki.fi> (tiny change)
* textmodes/bibtex.el (bibtex-autokey-titleword-ignore): Fix * textmodes/bibtex.el (bibtex-autokey-titleword-ignore):
regexp (Bug#2385). Fix regexp (Bug#2385).
(bibtex-autokey-get-title): Observe case for (bibtex-autokey-get-title): Observe case for
bibtex-autokey-titleword-ignore. bibtex-autokey-titleword-ignore.
...@@ -562,8 +562,8 @@ ...@@ -562,8 +562,8 @@
2009-02-17 Sam Steingold <sds@gnu.org> 2009-02-17 Sam Steingold <sds@gnu.org>
* progmodes/compile.el (compilation-filter): Call * progmodes/compile.el (compilation-filter):
`comint-carriage-motion', just like `comint-output-filter'. Call `comint-carriage-motion', just like `comint-output-filter'.
2009-02-17 Jason Rumney <jasonr@gnu.org> 2009-02-17 Jason Rumney <jasonr@gnu.org>
...@@ -701,13 +701,13 @@ ...@@ -701,13 +701,13 @@
2009-02-13 Kenichi Handa <handa@m17n.org> 2009-02-13 Kenichi Handa <handa@m17n.org>
* international/titdic-cnv.el (tit-process-header): Use * international/titdic-cnv.el (tit-process-header):
buffer-substring-no-properties instead of buffer-substring. Use buffer-substring-no-properties instead of buffer-substring.
(tit-process-body): Likewise. (tit-process-body): Likewise.
(tsang-quick-converter): Handle superfluous CR at eol. (tsang-quick-converter): Handle superfluous CR at eol.
(py-converter): Use buffer-substring-no-properties instead of (py-converter): Use buffer-substring-no-properties instead of
buffer-substring. Handle superfluous CR at eol. buffer-substring. Handle superfluous CR at eol.
(ziranma-converter): Likewise (ziranma-converter): Likewise.
(ctlau-converter): Likewise. (ctlau-converter): Likewise.
(miscdic-convert): Read a file without eol conversion. (Bug#2307) (miscdic-convert): Read a file without eol conversion. (Bug#2307)
...@@ -916,8 +916,8 @@ ...@@ -916,8 +916,8 @@
2009-02-09 Tassilo Horn <tassilo@member.fsf.org> 2009-02-09 Tassilo Horn <tassilo@member.fsf.org>
* doc-view.el (doc-view-scroll-up-or-next-page) * doc-view.el (doc-view-scroll-up-or-next-page)
(doc-view-scroll-down-or-previous-page, doc-view-goto-page): Reset (doc-view-scroll-down-or-previous-page, doc-view-goto-page):
the old hscroll value after switching pages. Reset the old hscroll value after switching pages.
2009-02-09 Glenn Morris <rgm@gnu.org> 2009-02-09 Glenn Morris <rgm@gnu.org>
...@@ -944,8 +944,8 @@ ...@@ -944,8 +944,8 @@
* textmodes/artist.el (artist-system): Allow make-temp-file to use * textmodes/artist.el (artist-system): Allow make-temp-file to use
temporary-file-directory. temporary-file-directory.
* mail/rmailmm.el (rmail-mime-attachment-dirs-alist): Use * mail/rmailmm.el (rmail-mime-attachment-dirs-alist):
temporary-file-directory. Use temporary-file-directory.
2009-02-07 Glenn Morris <rgm@gnu.org> 2009-02-07 Glenn Morris <rgm@gnu.org>
...@@ -968,9 +968,9 @@ ...@@ -968,9 +968,9 @@
* mail/rmail.el (rmail-redecode-body): Don't encode/decode the * mail/rmail.el (rmail-redecode-body): Don't encode/decode the
message; instead, just rewrite the X-Coding-System header with the message; instead, just rewrite the X-Coding-System header with the
new encoding, and let rmail-show-message do the rest. Remove new encoding, and let rmail-show-message do the rest.
unused argument RAW. Fix doc string to be consistent with the new Remove unused argument RAW. Fix doc string to be consistent with the
implementation. new implementation.
(rmail-show-message): Honor X-Coding-System header, if present, in (rmail-show-message): Honor X-Coding-System header, if present, in
preference to Content-Type header. preference to Content-Type header.
...@@ -1047,8 +1047,8 @@ ...@@ -1047,8 +1047,8 @@
2009-02-05 Kenichi Handa <handa@m17n.org> 2009-02-05 Kenichi Handa <handa@m17n.org>
* international/fontset.el (script-representative-chars): Remove * international/fontset.el (script-representative-chars):
mathematical. Remove mathematical.
(setup-default-fontset): Add entries for each subgroup of (setup-default-fontset): Add entries for each subgroup of
mathematical script. mathematical script.
...@@ -1121,8 +1121,8 @@ ...@@ -1121,8 +1121,8 @@
2009-02-04 Kenichi Handa <handa@m17n.org> 2009-02-04 Kenichi Handa <handa@m17n.org>
* international/mule-cmds.el (select-safe-coding-system): Use * international/mule-cmds.el (select-safe-coding-system):
buffer-chars-modified-tick instead of buffer-modified-tick. Use buffer-chars-modified-tick instead of buffer-modified-tick.
* descr-text.el (describe-char): Check font-object by fontp. * descr-text.el (describe-char): Check font-object by fontp.
...@@ -1193,7 +1193,7 @@ ...@@ -1193,7 +1193,7 @@
Sync with Tramp 2.1.15. Sync with Tramp 2.1.15.
* net/tramp.el (tramp-read-passwd): Cached passwords shall still be * net/tramp.el (tramp-read-passwd): Cache passwords shall still be
used. used.
* net/tramp-cache.el (top): Autoload `tramp-run-real-handler'. * net/tramp-cache.el (top): Autoload `tramp-run-real-handler'.
...@@ -1265,8 +1265,7 @@ ...@@ -1265,8 +1265,7 @@
* mail/unrmail.el (unrmail): Set coding-system of the old Rmail * mail/unrmail.el (unrmail): Set coding-system of the old Rmail
file to `raw-text-unix'. Bind coding-system-for-write when file to `raw-text-unix'. Bind coding-system-for-write when
writing out the converted message, and make sure it uses Unix writing out the converted message, and make sure it uses Unix EOLs.
EOLs.
* mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer * mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer
encoding to `raw-text-unix'. encoding to `raw-text-unix'.
...@@ -1314,8 +1313,8 @@ ...@@ -1314,8 +1313,8 @@
* mail/unrmail.el (unrmail): Fix conversion of BABYL attributes * mail/unrmail.el (unrmail): Fix conversion of BABYL attributes
into Rmail-mbox attributes. into Rmail-mbox attributes.
* mail/rmail.el (rmail-convert-babyl-to-mbox): Bind * mail/rmail.el (rmail-convert-babyl-to-mbox):
coding-system-for-read to `raw-text', and use insert-file-contents Bind coding-system-for-read to `raw-text', and use insert-file-contents
instead of insert-file-contents-literally. Fixes bug #2019. instead of insert-file-contents-literally. Fixes bug #2019.
(rmail-resent-attr-index): Fix index value. (rmail-resent-attr-index): Fix index value.
...@@ -1346,8 +1345,8 @@ ...@@ -1346,8 +1345,8 @@
2009-01-29 Michael Albinus <michael.albinus@gmx.de> 2009-01-29 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-process-actions, tramp-read-passwd): Allow * net/tramp.el (tramp-process-actions, tramp-read-passwd):
correction of passwords. Allow correction of passwords.
2009-01-29 Chong Yidong <cyd@stupidchicken.com> 2009-01-29 Chong Yidong <cyd@stupidchicken.com>
...@@ -1435,9 +1434,9 @@ ...@@ -1435,9 +1434,9 @@
Prevent insertion of a new entry inside of an existing entry. Prevent insertion of a new entry inside of an existing entry.
Minor code cleanup. (Bug#2084) Minor code cleanup. (Bug#2084)
(todo-add-category): Change the interactive spec. Signal an error (todo-add-category): Change the interactive spec. Signal an error
if the Todo file is non-empty but contains no category. Reject if the Todo file is non-empty but contains no category.
category names that could induce bugs and confusion. Call Reject category names that could induce bugs and confusion.
todo-mode if the Todo file is new and unsaved. Simplify handling Call todo-mode if the Todo file is new and unsaved. Simplify handling
of local variables cookie. Properly display the newly added of local variables cookie. Properly display the newly added
category in Todo mode. category in Todo mode.
(todo-show): Call todo-initial-setup only if there is neither a (todo-show): Call todo-initial-setup only if there is neither a
......
...@@ -730,7 +730,9 @@ Those files are saved in the directory given by the function ...@@ -730,7 +730,9 @@ Those files are saved in the directory given by the function
(let ((res doc-view-resolution)) (let ((res doc-view-resolution))
(with-temp-buffer (with-temp-buffer
(princ res (current-buffer)) (princ res (current-buffer))
(write-file res-file))) ;; Don't use write-file, so as to avoid prompts for `require-newline',
;; or for pre-existing buffers with the same name, ...
(write-region nil nil res-file nil 'silently)))
(case doc-view-doc-type (case doc-view-doc-type
(dvi (dvi
;; DVI files have to be converted to PDF before Ghostscript can process ;; DVI files have to be converted to PDF before Ghostscript can process
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment