emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog doc-view.el


From: Stefan Monnier
Subject: [Emacs-diffs] emacs/lisp ChangeLog doc-view.el
Date: Tue, 10 Mar 2009 13:33:27 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        09/03/10 13:33:26

Modified files:
        lisp           : ChangeLog doc-view.el 

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

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.15445&r2=1.15446
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/doc-view.el?cvsroot=emacs&r1=1.83&r2=1.84

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15445
retrieving revision 1.15446
diff -u -b -r1.15445 -r1.15446
--- ChangeLog   10 Mar 2009 07:20:32 -0000      1.15445
+++ ChangeLog   10 Mar 2009 13:33:23 -0000      1.15446
@@ -1,3 +1,7 @@
+2009-03-10  Stefan Monnier  <address@hidden>
+
+       * doc-view.el (doc-view-convert-current-doc): Fix last change.
+
 2009-03-10  Glenn Morris  <address@hidden>
 
        * mail/sendmail.el (mail-archive-file-name, mail-default-headers):
@@ -8,8 +12,7 @@
 
 2009-03-10  Alexander Becher  <address@hidden>  (tiny change)
 
-       * vc-annotate.el (vc-annotate): Use widened line
-       number (Bug#2612).
+       * vc-annotate.el (vc-annotate): Use widened line number (Bug#2612).
 
 2009-03-09  Jason Rumney  <address@hidden>
 
@@ -74,9 +77,9 @@
 
 2009-03-04  David Reitter <address@hidden>
 
-       * menu-bar.el (clipboard-yank): avoid
-       checking (x-selection-exists-p) if unbound in order to enable the
-       item.  For paste menu item, same, and check kill-ring.
+       * menu-bar.el (clipboard-yank): Avoid checking (x-selection-exists-p)
+       if unbound in order to enable the item.
+       For paste menu item, same, and check kill-ring.
 
 2009-03-04  Sam Steingold  <address@hidden>
 
@@ -144,18 +147,16 @@
 
        * files.el (basic-save-buffer-1): Set car part of
        buffer-file-coding-system-explicit.
-       (revert-buffer): Check car part of
-       buffer-file-coding-system-explicit.
+       (revert-buffer): Check car part of buffer-file-coding-system-explicit.
 
        * international/mule-cmds.el (select-safe-coding-system): If cdr
        part of buffer-file-coding-system-explicit is set, ignore
-       default-buffer-file-coding-system and the most preferred coding
-       system.
+       default-buffer-file-coding-system and the most preferred coding system.
 
        * international/mule.el (set-buffer-file-coding-system): Set cdr
        part of buffer-file-coding-system-explicit.
-       (after-insert-file-set-coding): Set
-       buffer-file-coding-system-explicit to a cons.
+       (after-insert-file-set-coding):
+       Set buffer-file-coding-system-explicit to a cons.
 
 2009-03-02  Glenn Morris  <address@hidden>
 
@@ -187,8 +188,8 @@
 
 2009-02-28  Eli Zaretskii  <address@hidden>
 
-       * progmodes/grep.el (grep-process-setup) [windows-nt msdos]: Use
-       "--color=always".
+       * progmodes/grep.el (grep-process-setup) [windows-nt msdos]:
+       Use "--color=always".
 
 2009-02-28  Glenn Morris  <address@hidden>
 
@@ -226,8 +227,7 @@
 
 2009-02-26  Michael Albinus  <address@hidden>
 
-       * net/tramp.el (tramp-remote-coding-commands): Add
-       "base64".  (Bug#2463)
+       * net/tramp.el (tramp-remote-coding-commands): Add "base64". (Bug#2463)
 
 2009-02-26  Juanma Barranquero  <address@hidden>
 
@@ -430,8 +430,8 @@
 
 2009-02-20  Era Eriksson  <address@hidden>  (tiny change)
 
-       * textmodes/bibtex.el (bibtex-autokey-titleword-ignore): Fix
-       regexp (Bug#2385).
+       * textmodes/bibtex.el (bibtex-autokey-titleword-ignore):
+       Fix regexp (Bug#2385).
        (bibtex-autokey-get-title): Observe case for
        bibtex-autokey-titleword-ignore.
 
@@ -562,8 +562,8 @@
 
 2009-02-17  Sam Steingold  <address@hidden>
 
-       * progmodes/compile.el (compilation-filter): Call
-       `comint-carriage-motion', just like `comint-output-filter'.
+       * progmodes/compile.el (compilation-filter):
+       Call `comint-carriage-motion', just like `comint-output-filter'.
 
 2009-02-17  Jason Rumney  <address@hidden>
 
@@ -701,13 +701,13 @@
 
 2009-02-13  Kenichi Handa  <address@hidden>
 
-       * international/titdic-cnv.el (tit-process-header): Use
-       buffer-substring-no-properties instead of buffer-substring.
+       * international/titdic-cnv.el (tit-process-header):
+       Use buffer-substring-no-properties instead of buffer-substring.
        (tit-process-body): Likewise.
        (tsang-quick-converter): Handle superfluous CR at eol.
        (py-converter): Use buffer-substring-no-properties instead of
        buffer-substring.  Handle superfluous CR at eol.
-       (ziranma-converter): Likewise
+       (ziranma-converter): Likewise.
        (ctlau-converter): Likewise.
        (miscdic-convert): Read a file without eol conversion.  (Bug#2307)
 
@@ -916,8 +916,8 @@
 2009-02-09  Tassilo Horn  <address@hidden>
 
        * doc-view.el (doc-view-scroll-up-or-next-page)
-       (doc-view-scroll-down-or-previous-page, doc-view-goto-page): Reset
-       the old hscroll value after switching pages.
+       (doc-view-scroll-down-or-previous-page, doc-view-goto-page):
+       Reset the old hscroll value after switching pages.
 
 2009-02-09  Glenn Morris  <address@hidden>
 
@@ -944,8 +944,8 @@
        * textmodes/artist.el (artist-system): Allow make-temp-file to use
        temporary-file-directory.
 
-       * mail/rmailmm.el (rmail-mime-attachment-dirs-alist): Use
-       temporary-file-directory.
+       * mail/rmailmm.el (rmail-mime-attachment-dirs-alist):
+       Use temporary-file-directory.
 
 2009-02-07  Glenn Morris  <address@hidden>
 
@@ -968,9 +968,9 @@
 
        * mail/rmail.el (rmail-redecode-body): Don't encode/decode the
        message; instead, just rewrite the X-Coding-System header with the
-       new encoding, and let rmail-show-message do the rest.  Remove
-       unused argument RAW.  Fix doc string to be consistent with the new
-       implementation.
+       new encoding, and let rmail-show-message do the rest.
+       Remove unused argument RAW.  Fix doc string to be consistent with the
+       new implementation.
        (rmail-show-message): Honor X-Coding-System header, if present, in
        preference to Content-Type header.
 
@@ -1047,8 +1047,8 @@
 
 2009-02-05  Kenichi Handa  <address@hidden>
 
-       * international/fontset.el (script-representative-chars): Remove
-       mathematical.
+       * international/fontset.el (script-representative-chars):
+       Remove mathematical.
        (setup-default-fontset): Add entries for each subgroup of
        mathematical script.
 
@@ -1121,8 +1121,8 @@
 
 2009-02-04  Kenichi Handa  <address@hidden>
 
-       * international/mule-cmds.el (select-safe-coding-system): Use
-       buffer-chars-modified-tick instead of buffer-modified-tick.
+       * international/mule-cmds.el (select-safe-coding-system):
+       Use buffer-chars-modified-tick instead of buffer-modified-tick.
 
        * descr-text.el (describe-char): Check font-object by fontp.
 
@@ -1193,7 +1193,7 @@
 
        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.
 
        * net/tramp-cache.el (top): Autoload `tramp-run-real-handler'.
@@ -1265,8 +1265,7 @@
 
        * mail/unrmail.el (unrmail): Set coding-system of the old Rmail
        file to `raw-text-unix'.  Bind coding-system-for-write when
-       writing out the converted message, and make sure it uses Unix
-       EOLs.
+       writing out the converted message, and make sure it uses Unix EOLs.
 
        * mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer
        encoding to `raw-text-unix'.
@@ -1314,8 +1313,8 @@
        * mail/unrmail.el (unrmail): Fix conversion of BABYL attributes
        into Rmail-mbox attributes.
 
-       * mail/rmail.el (rmail-convert-babyl-to-mbox): Bind
-       coding-system-for-read to `raw-text', and use insert-file-contents
+       * mail/rmail.el (rmail-convert-babyl-to-mbox):
+       Bind coding-system-for-read to `raw-text', and use insert-file-contents
        instead of insert-file-contents-literally.  Fixes bug #2019.
        (rmail-resent-attr-index): Fix index value.
 
@@ -1346,8 +1345,8 @@
 
 2009-01-29  Michael Albinus  <address@hidden>
 
-       * net/tramp.el (tramp-process-actions, tramp-read-passwd): Allow
-       correction of passwords.
+       * net/tramp.el (tramp-process-actions, tramp-read-passwd):
+       Allow correction of passwords.
 
 2009-01-29  Chong Yidong  <address@hidden>
 
@@ -1435,9 +1434,9 @@
        Prevent insertion of a new entry inside of an existing entry.
        Minor code cleanup.  (Bug#2084)
        (todo-add-category): Change the interactive spec.  Signal an error
-       if the Todo file is non-empty but contains no category.  Reject
-       category names that could induce bugs and confusion.  Call
-       todo-mode if the Todo file is new and unsaved.  Simplify handling
+       if the Todo file is non-empty but contains no category.
+       Reject category names that could induce bugs and confusion.
+       Call todo-mode if the Todo file is new and unsaved.  Simplify handling
        of local variables cookie.  Properly display the newly added
        category in Todo mode.
        (todo-show): Call todo-initial-setup only if there is neither a

Index: doc-view.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/doc-view.el,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -b -r1.83 -r1.84
--- doc-view.el 5 Mar 2009 08:24:31 -0000       1.83
+++ doc-view.el 10 Mar 2009 13:33:26 -0000      1.84
@@ -730,7 +730,9 @@
     (let ((res doc-view-resolution))
       (with-temp-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
       (dvi
        ;; DVI files have to be converted to PDF before Ghostscript can process




reply via email to

[Prev in Thread] Current Thread [Next in Thread]