]> code.delx.au - gnu-emacs/commitdiff
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-46
authorMiles Bader <miles@gnu.org>
Sun, 19 Mar 2006 19:43:57 +0000 (19:43 +0000)
committerMiles Bader <miles@gnu.org>
Sun, 19 Mar 2006 19:43:57 +0000 (19:43 +0000)
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 157-163)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 58-61)

   - Update from CVS

20 files changed:
1  2 
etc/NEWS
lisp/ChangeLog
lisp/font-lock.el
lisp/image.el
lisp/international/mule.el
lisp/isearch.el
lisp/mail/rmail.el
lisp/mh-e/ChangeLog
lisp/mh-e/mh-compat.el
lisp/term/w32-win.el
lisp/textmodes/ispell.el
src/ChangeLog
src/dispextern.h
src/emacs.c
src/fringe.c
src/macterm.c
src/w32fns.c
src/xdisp.c
src/xterm.c
src/xterm.h

diff --cc etc/NEWS
Simple merge
diff --cc lisp/ChangeLog
index 89a310bbeed098a519024a52f1c3e3f3eba5c169,b0903f839ad4460a38d3baf228e1ed806cb1657d..ccebfa5e6cdfa6466bc4c3bb384e7d902ecad193
 -2006-03-19  Bill Wohler  <wohler@newt.com>
 -
 -      * image.el (image-load-path-for-library): Shorten first line in
 -      docstring.
 -
+ 2006-03-18  Ben North  <ben@redfrontdoor.org>  (tiny change)
+       * isearch.el (isearch-other-meta-char): Handle user bindings for
+       shifted control characters.
+ 2006-03-18  Agustin Martin  <agustin.martin@hispalinux.es>
+       * textmodes/ispell.el (ispell-skip-region-alist): Add "_+" to the
+       part that matches email addresses, file names, etc.
+ 2006-03-18  Eli Zaretskii  <eliz@gnu.org>
+       * term/w32-win.el (mouse-set-font): Mention
+       w32-list-proportional-fonts in the doc string.
+ 2006-03-18  Kim F. Storm  <storm@cua.dk>
+       * ido.el (ido-cache-ftp-work-directory-time): Doc fix.
+       (ido-unc-hosts): New user option to explicitly define list of know
+       UNC-style hosts for completion.
+       (ido-cache-unc-host-shares-time): New user option.
+       (ido-is-unc-root, ido-is-unc-host, ido-cache-unc-valid): New
+       helper functions for UNC file-name support.
+       (ido-may-cache-directory): Check for UNC host.  Simplify.
+       (ido-wash-history): Clean out old UNC hosts.
+       (ido-nonreadable-directory-p): UNC hosts are always readable.
+       (ido-directory-too-big-p): UNC hosts are never too big.
+       (ido-set-current-directory): Handle UNC root path.
+       (ido-file-name-all-completions): Complete UNC host names from
+       ido-unc-hosts list.  Cache UNC host shares.
+       (ido-make-file-list-1): Don't filter UNC root.
+       (ido-exhibit): Check for // in root directory, and switch to UNC
+       mode by setting ido-current-directory to //.
+ 2006-03-17  Luc Teirlinck  <teirllm@auburn.edu>
+       * cus-edit.el (customize-changed-options): Mention explicit
+       version number as default in prompt.
+ 2006-03-17  Bill Wohler  <wohler@newt.com>
+       * image.el (image-load-path-for-library): Minor docstring fix.
+ 2006-03-17  Carsten Dominik  <dominik@science.uva.nl>
+       * textmodes/org.el (org-read-date): Include subgroup 5 into
+       replacement text.
+       (org-popup-calendar-for-date-prompt): Fix customization type.
+ 2006-03-17  Nick Roberts  <nickrob@snap.net.nz>
+       * progmodes/gdb-ui.el (gud-watch): Provide completion.
+       (gdb-continuation): New variable.
+       (gdb-send): Deal with continuation lines.
+       * progmodes/gud.el (gud-gdb-complete-command)
+       (gud-gdb-run-command-fetch-lines): Adapt for use with watch
+       expressions.
+       (gud-tooltip-mode): Use buffer-local value.
+ 2006-03-16  Kim F. Storm  <storm@cua.dk>
+       * ido.el (ido-edit-input): Use selected match, if any.
+ 2006-03-16  Bill Wohler  <wohler@newt.com>
+       * image.el (image-load-path-for-library): Prefer user's images in
+       image-load-path.
+ 2006-03-16  Martin Rudalics  <rudalics@gmx.at>
+       * mouse.el (mouse-drag-vertical-line): Use window-inside-edges
+       when checking for attempt to drag leftmost or rightmost scrollbar.
+ 2006-03-16  Nick Roberts  <nickrob@snap.net.nz>
+       * progmodes/gdb-ui.el (gdb-inferior-status): New variable.
+       (gdb-force-mode-line-update): New function.
+       (gdb-resync, gdb-starting, gdb-signal, gdb-exited, gdb-stopped)
+       (gdb-exited): Use them.
+       (gdb-signal): New fuction.
+       (gdb-annotation-rules): Provide a rule for it.
+ 2006-03-16  Kenichi Handa  <handa@m17n.org>
+       * international/mule.el (auto-coding-regexp-alist): Add entries
+       for Unicode BOM.
+       * sort.el (sort-build-lists): Temporarily bind
+       inhibit-field-text-motion to t.
+ 2006-03-15  Luc Teirlinck  <teirllm@auburn.edu>
+       * locate.el (locate-command, locate-make-command-line)
+       (locate-fcodes-file, locate-update-command)
+       (locate-prompt-for-command, locate, locate-with-filter)
+       (locate-get-file-positions): Doc fixes.
+       (locate-buffer-name, locate-header-face): Remove leading `*' in
+       defcustom.
+       (locate-filter-output): Use `keep-lines' instead of its alias
+       `delete-non-matching-lines'.
+       (locate-get-filename, locate-get-dirname): Add introductory comment.
+       (locate-find-directory-other-window): Give appropriate error
+       message if used outside main listing.
+ 2006-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * font-lock.el (font-lock-lines-before): Delete variable, subsumed by
+       the new extend-region feature.
+       (font-lock-after-change-function): Update correspondingly.
+       * jit-lock.el (jit-lock-after-change): Update correspondingly.
+       * progmodes/grep.el (font-lock-lines-before): Don't disable.
+ 2006-03-15  Bill Wohler  <wohler@newt.com>
+       * image.el (image-load-path-for-library): Fix example by not
+       recommending that one binds image-load-path. Just defvar it to
+       placate compiler and only use it if previously defined.
+ 2006-03-15  Carsten Dominik  <dominik@science.uva.nl>
+       * textmodes/org.el (org-insert-centered): Use `string-width' to
+       make underlining work for wide characters.
+       (org-goto-map, org-agenda-mode-map, org-mode-map): Explicitly bind
+       TAB to `org-cycle', to make sure that no binding in
+       `outline-mode-map' can supercede it.
+ 2006-03-14  Ken Manheimer  <ken.manheimer@gmail.com>
+       * allout.el: Increment version to 2.2.1 in file commentary.
+       (allout-version): Increment to 2.2.1.
+       (allout-default-layout): New customization variable, used when the
+       file lacks a specific allout-layout.  Uses allout-layout-type for
+       recursively nested definition.
+       (allout-layout-type): Widget defining allout layouts, necessary for
+       self-recursive definition.
+       (allout-mode): Incorporate allout-default-layout as fallback for
+       allout-layout.
+       (allout-layout): Mark as 'safe-local-variable', and refer mention
+       fallback to `allout-default-layout' in absence of a specified value.
+       (allout-passphrase-verifier-string)
+       (allout-passphrase-hint-string): Mark as 'safe-local-variable'.
+       (allout-file-passphrase-verifier-string): Obsolete variable, removed.
+       (allout-get-encryption-passphrase-verifier): Use correct name of
+       passphrase verifier in docstring.
+ 2006-03-15  Nick Roberts  <nickrob@snap.net.nz>
+       * progmodes/gdb-ui.el (gdb-var-list): Change order of first two
+       elements.
+       (gdb-find-watch-expression): Make it work for arrays too.  Follow
+       change to gdb-var-list.
+       (gud-watch): Allow the user to enter variable name with a prexix
+       arg.  Create keybindings.
+       (gdb-var-create-handler, gdb-var-evaluate-expression-handler)
+       (gdb-var-list-children-handler, gdb-var-update-handler)
+       (gdb-var-delete, gdb-edit-value, gdb-speedbar-expand-node)
+       (gdb-var-list-children-handler-1, gdb-var-update-handler-1):
+       Follow change to gdb-var-list.
+       (gdb-starting): Don't show the overlay arrows when program is
+       running.
+       * progmodes/gud.el (gud-speedbar-buttons): Follow change to
+       gdb-var-list.
+ 2006-03-14  Bill Wohler  <wohler@newt.com>
+       * image.el (image-load-path-for-library): Pass value of path
+       rather than symbol.  Always return list of directories.  Guarantee
+       that image directory comes first.
+ 2006-03-14  Alan Mackenzie  <acm@muc.de>
+       * font-core.el: New function/variable
+       font-lock-extend-region\(-function\)?.
+       * font-lock.el (font-lock-after-change-function): Call
+       font-lock-extend-region.  Obey font-lock-lines-before.
+       (font-lock-default-fontify-region): Remove reference to
+       font-lock-lines-before.
+       * jit-lock.el (jit-lock-after-change): Call
+       font-lock-extend-region.  Obey font-lock-lines-before.
+ 2006-03-14  David Ponce  <david@dponce.com>
+       * tree-widget.el (tree-widget-themes-load-path)
+       (tree-widget-themes-directory, tree-widget-theme): Doc fix.
  2006-03-13  Ryan Yeske  <rcyeske@gmail.com>
  
        * net/rcirc.el (rcirc) <defgroup>: Add link to manual.
Simple merge
diff --cc lisp/image.el
index 2d7aea6fa0cdc02a1ade9dd0f45b58674e439cce,2212b0fb471b26973bea256acc5eae00e98c818f..4346d3468296340a5abc2cb0740d14ee666033ea
@@@ -77,20 -77,24 +77,24 @@@ value is used as a list of directories 
         (list (file-name-as-directory (expand-file-name "images" data-directory))
             'data-directory 'load-path)))
  
  (defun image-load-path-for-library (library image &optional path no-error)
-   "Return a suitable search path for images relative to LIBRARY.
 -  "Return a suitable search path for images used by LIBRARY.
++  "Return a suitable search path for images used by the Lisp package LIBRARY.
  
- Images for LIBRARY are searched for in \"../../etc/images\" and
- \"../etc/images\" relative to the files in \"lisp/LIBRARY\" as
- well as in `image-load-path' and `load-path'.
+ It searches for IMAGE in `image-load-path' (excluding
+ \"`data-directory'/images\") and `load-path', followed by a path
+ suitable for LIBRARY, which includes \"../../etc/images\" and
+ \"../etc/images\" relative to the library file itself, and then
+ in \"`data-directory'/images\".
  
- This function returns the value of `load-path' augmented with the
- directory containing IMAGE. If PATH is given, it is used instead
- of `load-path'. If PATH is t, just return the directory that
contains IMAGE.
+ Then this function returns a list of directories which contains
+ first the directory in which IMAGE was found, followed by the
+ value of `load-path'. If PATH is given, it is used instead of
`load-path'.
  
- If NO-ERROR is non-nil, return nil if a suitable path can't be
- found rather than signaling an error.
+ If NO-ERROR is non-nil and a suitable path can't be found, don't
+ signal an error. Instead, return a list of directories as before,
+ except that nil appears in place of the image directory.
  
  Here is an example that uses a common idiom to provide
  compatibility with versions of Emacs that lack the variable
index b57ad02842dca5dc414e8432f7afd8922c645bac,20b0a3fc0efcf8514fb202b9eb3c5da394d1a369..3a6c53c31138704652f9b73a62fb217da18434ce
@@@ -1580,7 -1587,9 +1580,10 @@@ and the contents of `file-coding-system
  
  (defcustom auto-coding-regexp-alist
    '(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion)
 -    ("\\`\xEF\xBB\xBF" . utf-8))
+     ("\\`\xFE\xFF" . utf-16be-with-signature)
+     ("\\`\xFF\xFE" . utf-16le-with-signature)
++    ("\\`\xEF\xBB\xBF" . utf-8)
 +    ("\\`;ELC\024\0\0\0" . emacs-mule))       ; Emacs 20-compiled
    "Alist of patterns vs corresponding coding systems.
  Each element looks like (REGEXP . CODING-SYSTEM).
  A file whose first bytes match REGEXP is decoded by CODING-SYSTEM on reading.
diff --cc lisp/isearch.el
Simple merge
Simple merge
index eda95da386cfd8e9087545da73b5d57bff1be4ee,e6901a3c419b5d20feb060137a0e2e15b960dde9..0da950ab177d1bce8a5a4b3733ac278dac56c6af
@@@ -1,3 -1,58 +1,53 @@@
 -2006-03-19  Bill Wohler  <wohler@newt.com>
 -
 -      * mh-compat.el (mh-image-load-path-for-library): Shorten first line in
 -      docstring.
 -
+ 2006-03-17  Bill Wohler  <wohler@newt.com>
+       * mh-compat.el (mh-image-load-path-for-library): Minor docstring
+       fix.
+ 2006-03-16  Bill Wohler  <wohler@newt.com>
+       * mh-comp.el (mh-send-letter): Use split-string to break up
+       mh-send-args (closes SF #1448604).
+       (mh-compose-and-send-mail): Use run-hook-with-args for
+       mh-compose-letter-function.
+       * mh-e.el (mh-list-to-string-1): Use dolist.
+       * mh-compat.el (mh-image-load-path-for-library): Prefer user's
+       images.
+ 2006-03-15  Bill Wohler  <wohler@newt.com>
+       * mh-compat.el (mh-image-load-path-for-library): Fix example by
+       not recommending that one binds image-load-path. Just defvar it to
+       placate compiler and only use it if previously defined.
+       * mh-e.el (image-load-path): Don't bind!
+       * mh-folder.el (mh-folder-mode): Only use image-load-path if
+       previously defined.
+       * mh-letter.el (mh-letter-mode): Ditto.
+       * mh-utils.el (mh-logo-display): Ditto.
+ 2006-03-14  Bill Wohler  <wohler@newt.com>
+       * mh-compat.el (mh-image-load-path-for-library): Incorporate
+       changes from image-load-path-for-library, which are:
+       (image-load-path-for-library): Pass value of path rather than
+       symbol. Always return list of directories. Guarantee that image
+       directory comes first.
+       * mh-e.el (image-load-path): Define on those Emacsen that lack it
+       to avoid compile and run-time errors.   
+       * mh-folder.el (mh-folder-mode): Use new idiom for setting
+       image-load-path.
+       * mh-letter.el (mh-letter-mode): Ditto. 
+       * mh-utils.el (mh-logo-display): Ditto.
  2006-03-12  Bill Wohler  <wohler@newt.com>
  
        * mh-utils.el (mh-folder-list): Fix docstring (closes SF
index d6bded8726e8b3bf21de02171606a04a00cec824,256a8cfe8313aec9a6e046e501d43a13d3a6ee1b..db4bf3754ff8991c093f5df330f0f9c17845adf2
@@@ -117,19 -117,22 +117,22 @@@ introduced in Emacs 22.
  
  (mh-defun-compat mh-image-load-path-for-library
    image-load-path-for-library (library image &optional path no-error)
-   "Return a suitable search path for images relative to LIBRARY.
 -  "Return a suitable search path for images used by LIBRARY.
++  "Return a suitable search path for images used by the Lisp package LIBRARY.
  
- Images for LIBRARY are searched for in \"../../etc/images\" and
- \"../etc/images\" relative to the files in \"lisp/LIBRARY\" as
- well as in `image-load-path' and `load-path'.
+ It searches for IMAGE in `image-load-path' (excluding
+ \"`data-directory'/images\") and `load-path', followed by a path
+ suitable for LIBRARY, which includes \"../../etc/images\" and
+ \"../etc/images\" relative to the library file itself, and then
+ in \"`data-directory'/images\".
  
- This function returns the value of `load-path' augmented with the
- directory containing IMAGE. If PATH is given, it is used instead
- of `load-path'. If PATH is t, just return the directory that
contains IMAGE.
+ Then this function returns a list of directories which contains
+ first the directory in which IMAGE was found, followed by the
+ value of `load-path'. If PATH is given, it is used instead of
`load-path'.
  
- If NO-ERROR is non-nil, return nil if a suitable path can't be
- found rather than signaling an error.
+ If NO-ERROR is non-nil and a suitable path can't be found, don't
+ signal an error. Instead, return a list of directories as before,
+ except that nil appears in place of the image directory.
  
  Here is an example that uses a common idiom to provide
  compatibility with versions of Emacs that lack the variable
index a083d308036f224aacdce2cd99c35e76067c2284,3987ad66f6ad8b48af698a90ebdc274617e56197..6061c3eb0dcfee3ed0d98f7fa2546daf606cbd12
@@@ -1192,17 -1192,21 +1192,21 @@@ See the documentation of `create-fontse
      (list face (if (equal value "") nil value))))
  
  ;;; Enable Japanese fonts on Windows to be used by default.
 -(set-fontset-font nil (make-char 'katakana-jisx0201) '("*" . "JISX0208-SJIS"))
 -(set-fontset-font nil (make-char 'latin-jisx0201) '("*" . "JISX0208-SJIS"))
 -(set-fontset-font nil (make-char 'japanese-jisx0208) '("*" . "JISX0208-SJIS"))
 -(set-fontset-font nil (make-char 'japanese-jisx0208-1978) '("*" . "JISX0208-SJIS"))
 +;; (set-fontset-font nil (make-char 'katakana-jisx0201) '("*" . "JISX0208-SJIS"))
 +;; (set-fontset-font nil (make-char 'latin-jisx0201) '("*" . "JISX0208-SJIS"))
 +;; (set-fontset-font nil (make-char 'japanese-jisx0208) '("*" . "JISX0208-SJIS"))
 +;; (set-fontset-font nil (make-char 'japanese-jisx0208-1978) '("*" . "JISX0208-SJIS"))
  
  (defun mouse-set-font (&rest fonts)
-   "Select a font.
+   "Select an Emacs font from a list of known good fonts and fontsets.
  If `w32-use-w32-font-dialog' is non-nil (the default), use the Windows
- font dialog to get the matching FONTS. Otherwise use a pop-up menu
- \(like Emacs on other platforms) initialized with the fonts in
- `w32-fixed-font-alist'."
+ font dialog to display the list of possible fonts.  Otherwise use a
+ pop-up menu (like Emacs does on other platforms) initialized with
+ the fonts in `w32-fixed-font-alist'.
+ If `w32-list-proportional-fonts' is non-nil, add proportional fonts
+ to the list in the font selection dialog (the fonts listed by the
+ pop-up menu are unaffected by `w32-list-proportional-fonts')."
    (interactive
     (if w32-use-w32-font-dialog
         (let ((chosen-font (w32-select-font (selected-frame)
Simple merge
diff --cc src/ChangeLog
Simple merge
Simple merge
diff --cc src/emacs.c
Simple merge
diff --cc src/fringe.c
Simple merge
diff --cc src/macterm.c
Simple merge
diff --cc src/w32fns.c
Simple merge
diff --cc src/xdisp.c
Simple merge
diff --cc src/xterm.c
Simple merge
diff --cc src/xterm.h
Simple merge