Merge from emacs--devo--0
authorMiles Bader <miles@gnu.org>
Fri, 1 Feb 2008 03:01:11 +0000 (03:01 +0000)
committerMiles Bader <miles@gnu.org>
Fri, 1 Feb 2008 03:01:11 +0000 (03:01 +0000)
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-329

1  2 
lisp/ChangeLog
lisp/mail/rmail.el
lisp/w32-fns.el

diff --combined lisp/ChangeLog
@@@ -1,17 -1,48 +1,48 @@@
+ 2008-02-01  Jason Rumney  <jasonr@gnu.org>
+       * w32-fns.el: Partially revert 2007-11-10 change.
+ 2008-02-01  Martin Rudalics  <rudalics@gmx.at>
+       * mail/rmail.el (rmail-highlight): Fix specification.
+         Reported by: pod <pod@herald.ox.ac.uk>.
+ 2008-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * image-mode.el (image-mode-current-vscroll)
+       (image-mode-current-hscroll): Make buffer-local.
+       (image-set-window-vscroll, image-set-window-hscroll): Simplify.
+       (image-reset-current-vhscroll): Use the latest setting when displaying
+       for the first time in a window.  Apply to all windows in the frame.
+       (image-mode): Don't make image-mode-current-[vh]scroll buffer-local.
+       * progmodes/grep.el (grep-compute-defaults):
+       Don't mix up defaults for different connections to the same host.
+ 2008-01-31  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
+       * blank-mode.el: Renamed to whitespace.el.
+       * obsolete/whitespace.el: Renamed to obsolete/old-whitespace.el.
+ 2008-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * net/rcompile.el (remote-compile): Remove broken code.
  2008-01-31  Jason Rumney  <jasonr@gnu.org>
  
        * term/w32-win.el (image-library-alist): Prefer libxpm.dll.
  
+ 2008-01-31  Juanma Barranquero  <lekktu@gmail.com>
+       * linum.el (linum-unload-function): New function.
  2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
  
        * progmodes/gdb-ui.el (gdb-var-set-format-regexp): New constant.
        (gdb-var-set-format-handler): New function.
        (gdb-var-set-format): Use it.
  
- 2008-01-31  Juanma Barranquero  <lekktu@gmail.com>
-       * linum.el (linum-unload-function): New function.
  2008-01-30  Juanma Barranquero  <lekktu@gmail.com>
  
        * emacs-lisp/check-declare.el (check-declare-directory):
        * progmodes/cc-langs.el (c-specifier-key): Exclude "template"
        from this regexp; part of same fix as next change to cc-engine.el.
  
-       * progmodes/cc-engine.el (c-guess-basic-syntax, CASE 5A.5): Anchor
-       the "{" of a template function correctly on "template", not the
+       * progmodes/cc-engine.el (c-guess-basic-syntax, CASE 5A.5):
+       Anchor the "{" of a template function correctly on "template", not the
        following "<".
  
        * progmodes/cc-defs.el (c-version): Increase to 5.31.5.
  
  2008-01-29  Tassilo Horn  <tassilo@member.fsf.org>
  
-       * doc-view.el (doc-view-mode): Adapt to i-m-current-[vh]scroll
-       being an alist now.
+       * doc-view.el (doc-view-mode): Adapt to image-mode-current-vscroll
+       and image-mode-current-hscroll being alists now.
  
        * image-mode.el (image-mode-current-vscroll)
        (image-mode-current-hscroll): Add doc strings.
        (image-set-window-vscroll, image-set-window-hscroll)
        (image-reset-current-vhscroll, image-mode): Adapt to
-       i-m-current-[vh]scroll being an alist now.
+       image-mode-current-vscroll and image-mode-current-hscroll being
+       alists now.
  
  2008-01-29  Martin Rudalics  <rudalics@gmx.at>
  
  
        * international/characters.el: Undo unwanted and unexplained change.
  
 -2007-10-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * ps-print.el: Fix the usage of :foreground and :background face
 -      attributes.  Reported by Nikolaj Schumacher <n_schumacher@web.de>.
 -      (ps-print-version): New version 6.7.6.
 -      (ps-face-attributes, ps-face-attribute-list, ps-face-background):
 -      Fix code.
 -      (ps-face-foreground-color-p, ps-face-background-color-p)
 -      (ps-face-color-p): New inline funs.
 -
  2007-10-10  Carsten Dominik  <dominik@science.uva.nl>
  
        * textmodes/org.el (org-additional-option-like-keywords): New constant.
  
        * calc/calc.el (calc-language-alist): Add texinfo-mode.
  
 -2007-08-16  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * ps-print.el (ps-header-font-size, ps-header-title-font-size)
 -      (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
 -      (ps-paragraph-spacing): Docstring fix.
 -
 -2007-08-16  Glenn Morris  <rgm@gnu.org>
 -
 -      * ps-print.el (ps-font-size): Doc fix.
 -
  2007-08-16  Richard Stallman  <rms@gnu.org>
  
        * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
        (tex-font-script-display, tex-font-lock-suscript): Change from a cons
        cell to a list of 2 elements to simplify the unfontify code.
  
 -2007-08-08  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
 -      (ps-begin-job): Use ps-default-fg and ps-default-bg only when
 -      ps-print-color-p is neither nil nor black-white.  Reported by Christian
 -      Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
 -
  2007-08-08  Andreas Schwab  <schwab@suse.de>
  
        * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
        format-mode-line because it may be a list,
        e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
  
 -2007-08-06  Vinicius Jose Latorre  <viniciusig@ig.com.br>
 -
 -      * printing.el (pr-update-menus): Docstring fix.
 -
  2007-08-06  Jason Rumney  <jasonr@gnu.org>
  
        * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
        * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
        (math-nlfit-givens): Let bind free variables.
  
 -2007-08-05  Vinicius Jose Latorre  <viniciusig@ig.com.br>
 -
 -      * printing.el: Require lpr and ps-print when loading printing package.
 -      Reported by Glenn Morris <rgm@gnu.org>.
 -
  2007-08-05  Michael Albinus  <michael.albinus@gmx.de>
  
        * files.el (set-auto-mode): Handle also remote files wrt
        may match up to 4 lines.
        (diff-beginning-of-file-and-junk): Rewrite.
  
 -2007-08-03  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * printing.el: Evaluate require only during compilation.
 -      (pr-version): New version 6.9.1.
 -      (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
 -      (pr-global-menubar): Fix code.
 -
  2007-08-03  Dan Nicolaescu  <dann@ics.uci.edu>
  
        * term.el (term-erase-in-display): Fix case when point is not at
        * vc-git.el (vc-git-revision-table)
        (vc-git-revision-completion-table): New functions.
  
 -2007-07-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
 -      * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
 -      * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
 -      * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
 -      * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
 -      * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
 -      New command actions for EPS header and EPS footer.
 -
 -      * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
 -      footer.  Fix some problems with one-or-more, zero-or-more and
 -      alternative constructions generation.  Some log messages
 -      implementation.  Doc fix.
 -      (ebnf-version): New version 4.4.
 -      (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
 -      (ebnf-eps-footer, ebnf-log): New options.
 -      (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
 -      (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
 -      (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
 -      (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
 -      (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
 -      (ebnf-style-custom-list, ebnf-style-database): Put new values.
 -      (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
 -      (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
 -      (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
 -      (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
 -      (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
 -      (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
 -      (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
 -      (ebnf-non-terminal-dimension, ebnf-special-dimension)
 -      (ebnf-terminal-dimension1, ebnf-repeat-dimension)
 -      (ebnf-except-dimension, ebnf-alternative-dimension)
 -      (ebnf-optional-dimension, ebnf-one-or-more-dimension)
 -      (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
 -      message fun.
 -      (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
 -      (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
 -      (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
 -      (ebnf-terminal-dimension1, ebnf-alternative-dimension)
 -      (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
 -      (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
 -      (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
 -      compatibility with Emacs 20 & 21.
 -      (ebnf-eps-header-comment, ebnf-eps-footer-comment)
 -      (ebnf-eps-file-alist, ebnf-basic-width-extra)
 -      (ebnf-basic-empty-height): New vars.
 -      (ebnf-prologue): Fix PostScript code.
 -      (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
 -      (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
 -      (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
 -      (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
 -
  2007-07-25  Glenn Morris  <rgm@gnu.org>
  
        * Relicense all FSF files to GPLv3 or later.
        * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
        (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
  
 -2007-07-25  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * ps-print.el (ps-multibyte-buffer): Docstring fix.
 -
 -      * ps-mule.el: Doc fix.
 -      (ps-multibyte-buffer, ps-mule-font-info-database-default)
 -      (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
 -
  2007-07-25  Glenn Morris  <rgm@gnu.org>
  
        * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
  
        * vc-hg.el (vc-hg-diff): Use vc-hg-command.
  
 -2007-07-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * ps-print.el: Problem with foreground and background color when
 -      printing a buffer with and without faces.  Reported by Christian
 -      Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
 -      (ps-print-version): New version 6.7.5.
 -      (ps-default-fg): Change default value to nil, so black color is used
 -      when a face does not specify a foreground color.
 -      (ps-default-bg): Change default value to nil, so white color is used
 -      for background color.
 -      (ps-begin-job): Fix code.
 -
  2007-07-20  Eli Zaretskii  <eliz@gnu.org>
  
        * makefile.w32-in (install-lisp-SH): Don't create subdirectories
        for start and end positions.
        (ispell-word): Assume END is a marker.
  
 -2007-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * printing.el: Group together all XEmacs/Emacs definitions.
 -      (pr-version): New version 6.9.
 -      (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
 -      (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
 -      (pr-menu-bind): Fix code.
 -      (pr-e-frame-char-height, pr-e-frame-char-width)
 -      (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
 -      (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
 -      (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
 -      (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
 -      (pr-x-event-y-pixel): Aliases eliminated.
 -      (pr-xemacs-global-menubar): Macro moved.
 -      (current-menubar, current-mouse-event, zmacs-region-stays)
 -      (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
 -      (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
 -      Vars moved.
 -      (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
 -      (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
 -      (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
 -      (pr-menu-set-utility-title, pr-even-or-odd-pages)
 -      (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
 -      (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
 -      moved.
 -
  2007-05-17  Christian Plate  <cplate@web.de>  (tiny change)
  
        * textmodes/sgml-mode.el (sgml-tag):
        * files.el (mode-require-final-newline, require-final-newline)
        (enable-local-variables, enable-local-eval): Doc fixes.
  
 -2007-05-13  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * ps-print.el: Use default color when foreground or background color
 -      are unspecified.  Reported by Leo <sdl.web@gmail.com>.
 -      (ps-print-version): New version 6.7.4.
 -      (ps-rgb-color): New argument.  Use default color when color is
 -      unspecified.
 -      (ps-begin-job): Fix code.
 -
  2007-05-12  Chong Yidong  <cyd@stupidchicken.com>
  
        * longlines.el (longlines-mode): Make longlines-auto-wrap
diff --combined lisp/mail/rmail.el
@@@ -332,7 -332,7 +332,7 @@@ See also `rmail-highlight-face'.
    :group 'rmail-headers)
  
  (defface rmail-highlight
-   '((t :default highlight))
+   '((t (:inherit highlight)))
    "Face to use for highlighting the most important header fields."
    :group 'rmail-headers
    :version "22.1")
@@@ -945,17 -945,17 +945,17 @@@ Note:    it means the file has no messa
      (unless (and coding-system
                 (coding-system-p coding-system))
        (setq coding-system
 -          ;; Emacs 21.1 and later writes RMAIL files in emacs-mule, but
 -          ;; earlier versions did that with the current buffer's encoding.
 -          ;; So we want to favor detection of emacs-mule (whose normal
 -          ;; priority is quite low), but still allow detection of other
 -          ;; encodings if emacs-mule won't fit.  The call to
 -          ;; detect-coding-with-priority below achieves that.
 -          (car (detect-coding-with-priority
 -                from to
 -                '((coding-category-emacs-mule . emacs-mule))))))
 -    (unless (memq coding-system
 -                '(undecided undecided-unix))
 +          ;; If rmail-file-coding-system is nil, Emacs 21 writes
 +          ;; RMAIL files in emacs-mule, Emacs 22 in utf-8, but
 +          ;; earlier versions did that with the current buffer's
 +          ;; encoding.  So we want to favor detection of emacs-mule
 +          ;; (whose normal priority is quite low) and utf-8, but
 +          ;; still allow detection of other encodings if they won't
 +          ;; fit.  The call to with-coding-priority below achieves
 +          ;; that.
 +          (with-coding-priority '(emacs-mule utf-8)
 +            (detect-coding-region from to 'highest))))
 +    (unless (eq (coding-system-type coding-system) 'undecided)
        (set-buffer-modified-p t)               ; avoid locking when decoding
        (let ((buffer-undo-list t))
        (decode-coding-region from to coding-system))
diff --combined lisp/w32-fns.el
@@@ -94,7 -94,7 +94,7 @@@ numbers, and the build number.
    (x-server-version))
  
  (defun w32-using-nt ()
 -  "Return non-nil if running on a 32-bit Windows system.
 +  "Return non-nil if running on a Windows NT descendant.
  That includes all Windows systems except for 9X/Me."
    (and (eq system-type 'windows-nt) (getenv "SystemRoot")))
  
@@@ -374,14 -374,12 +374,14 @@@ bit output with no translation.
  ;; value from w32-select-font etc, so list the most important charsets last.
  (w32-add-charset-info "iso8859-14" 'w32-charset-ansi  28604)
  (w32-add-charset-info "iso8859-15" 'w32-charset-ansi  28605)
 +;; The following two are included for pattern matching.
 +(w32-add-charset-info "jisx0201" 'w32-charset-shiftjis 932)
 +(w32-add-charset-info "jisx0208" 'w32-charset-shiftjis 932)
  (w32-add-charset-info "jisx0201-latin" 'w32-charset-shiftjis 932)
  (w32-add-charset-info "jisx0201-katakana" 'w32-charset-shiftjis 932)
- (w32-add-charset-info "ksc5601.1989-1" 'w32-charset-hangeul 949)
- (w32-add-charset-info "big5-1" 'w32-charset-chinesebig5 950)
- (w32-add-charset-info "gb2312.1980-1" 'w32-charset-gb2312 936)
 -(w32-add-charset-info "jisx0208-sjis" 'w32-charset-shiftjis 932)
+ (w32-add-charset-info "ksc5601.1989" 'w32-charset-hangeul 949)
+ (w32-add-charset-info "big5" 'w32-charset-chinesebig5 950)
+ (w32-add-charset-info "gb2312.1980" 'w32-charset-gb2312 936)
  (w32-add-charset-info "ms-symbol" 'w32-charset-symbol nil)
  (w32-add-charset-info "ms-oem" 'w32-charset-oem 437)
  (w32-add-charset-info "ms-oemlatin" 'w32-charset-oem 850)
        (w32-add-charset-info "iso8859-13" 'w32-charset-baltic 1257)
        (w32-add-charset-info "koi8-r" 'w32-charset-russian 20866)
        (w32-add-charset-info "iso8859-5" 'w32-charset-russian 28595)
-       (w32-add-charset-info "tis620-1" 'w32-charset-thai 874)
-       (w32-add-charset-info "ksc5601.1992-1" 'w32-charset-johab 1361)
+       (w32-add-charset-info "tis620" 'w32-charset-thai 874)
+       (w32-add-charset-info "ksc5601.1992" 'w32-charset-johab 1361)
 -      (w32-add-charset-info "mac-latin" 'w32-charset-mac nil)))
 +      (w32-add-charset-info "mac-roman" 'w32-charset-mac 10000)))
  (if (boundp 'w32-unicode-charset-defined)
      (progn
        (w32-add-charset-info "iso10646-1" 'w32-charset-unicode t))
 -  ;; If unicode windows charset is not defined, use ansi fonts.
 -  (w32-add-charset-info "iso10646-1" 'w32-charset-ansi t))
 +  (w32-add-charset-info "iso10646-1" 'w32-charset-default t))
 +;;   ;; If unicode windows charset is not defined, use ansi fonts.
 +;;   (w32-add-charset-info "iso10646-1" 'w32-charset-ansi t))
 +
 +;; Prefered names
 +(w32-add-charset-info "big5-0" 'w32-charset-chinesebig5 950)
 +(w32-add-charset-info "gb2312.1980-0" 'w32-charset-gb2312 936)
 +(w32-add-charset-info "jisx0208-sjis" 'w32-charset-shiftjis 932)
 +(w32-add-charset-info "ksc5601.1987-0" 'w32-charset-hangeul 949)
 +(w32-add-charset-info "tis620-0" 'w32-charset-thai 874)
  (w32-add-charset-info "iso8859-1" 'w32-charset-ansi 1252)
  
  (make-obsolete-variable 'w32-enable-italics