emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r103396: Merge from emacs-23; up to r


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103396: Merge from emacs-23; up to r100498.
Date: Tue, 22 Feb 2011 20:19:28 -0800
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103396 [merge]
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2011-02-22 20:19:28 -0800
message:
  Merge from emacs-23; up to r100498.
modified:
  admin/ChangeLog
  admin/notes/bugtracker
  doc/misc/ChangeLog
  doc/misc/dired-x.texi
  doc/misc/edt.texi
  doc/misc/erc.texi
  doc/misc/gnus.texi
  doc/misc/idlwave.texi
  doc/misc/mh-e.texi
  doc/misc/tramp.texi
  doc/misc/trampver.texi
  lisp/ChangeLog
  lisp/mail/rmail.el
  lisp/mail/rmailmm.el
  src/ChangeLog
  src/font.c
=== modified file 'admin/ChangeLog'
--- a/admin/ChangeLog   2011-02-20 08:48:52 +0000
+++ b/admin/ChangeLog   2011-02-23 04:19:28 +0000
@@ -1,3 +1,7 @@
+2011-02-23  Juanma Barranquero  <address@hidden>
+
+       * notes/bugtracker (bugtracker_debbugs_url): Fix typo.
+
 2011-02-19  Eli Zaretskii  <address@hidden>
 
        * admin.el (set-version): Add msdos/sed2v2.inp.

=== modified file 'admin/notes/bugtracker'
--- a/admin/notes/bugtracker    2011-02-09 03:27:57 +0000
+++ b/admin/notes/bugtracker    2011-02-23 04:19:28 +0000
@@ -489,7 +489,7 @@
 by the bug number you specify after `--fixes debbugs:' in the bzr
 command line (123 in the example above).
 
-In the bazaar.conf file, this setting should go into the [DEFAULTS]
+In the bazaar.conf file, this setting should go into the [DEFAULT]
 section.
 
 In the locations.conf file, it should go into the branch-specific

=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2011-02-23 03:44:13 +0000
+++ b/doc/misc/ChangeLog        2011-02-23 04:19:28 +0000
@@ -1,5 +1,18 @@
+2011-02-23  Michael Albinus  <address@hidden>
+
+       * tramp.texi: Use consistently "Emacs" (instead of "GNU Emacs") and
+       "Debian GNU/Linux".
+
+       * trampver.texi [xemacs]: Set emacsothername to "Emacs".
+
 2011-02-23  Glenn Morris  <address@hidden>
 
+       * dired-x.texi (Features): Minor rephrasing.
+       (Local Variables): Fix typos.
+
+       * edt.texi, erc.texi, gnus.texi, idlwave.texi, mh-e.texi:
+       Standardize some Emacs/XEmacs terminology.
+
        * dired-x.texi (Features): Don't advertise obsolete local variables.
        Simplify layout.
        (Omitting Variables): Update local variables example.

=== modified file 'doc/misc/dired-x.texi'
--- a/doc/misc/dired-x.texi     2011-02-23 03:44:13 +0000
+++ b/doc/misc/dired-x.texi     2011-02-23 04:19:28 +0000
@@ -152,10 +152,10 @@
 @noindent
 @file{dired-x.el} binds some functions to keys in Dired Mode (@pxref{Key
 Index}) and also binds @kbd{C-x C-j} and @kbd{C-x 4 C-j} @emph{globally} to
address@hidden (@pxref{Miscellaneous Commands}).  It may also bind @kbd{C-x
-C-f} and @kbd{C-x 4 C-f} to @code{dired-x-find-file} and
address@hidden, respectively (@pxref{Find File At
-Point}).
address@hidden (@pxref{Miscellaneous Commands}).  Optionally, it
+also binds @kbd{C-x C-f} and @kbd{C-x 4 C-f} to
address@hidden and @code{dired-x-find-file-other-window},
+respectively (@pxref{Find File At Point}).
 
 @node Technical Details, , Features, Introduction
 @section Technical Details
@@ -514,7 +514,7 @@
 @noindent
 You can set @code{dired-local-variables-file} to @code{nil} to suppress this.
 The value of @code{dired-enable-local-variables} controls if and how these
-local variables are read.  This variable exists so that if may override the
+local variables are read.  This variable exists so that it may override the
 default value of @code{enable-local-variables}.
 
 @noindent

=== modified file 'doc/misc/edt.texi'
--- a/doc/misc/edt.texi 2011-02-19 19:40:59 +0000
+++ b/doc/misc/edt.texi 2011-02-23 04:19:28 +0000
@@ -87,7 +87,7 @@
 active''.
 
    You can have the EDT Emulation start up automatically, each time you
-initiate a GNU Emacs session, by adding the following line to your
+initiate an Emacs session, by adding the following line to your
 @file{.emacs} file:
 
 @example
@@ -218,7 +218,7 @@
 
 @item
 Emulate EDT Keypad Mode commands closely so that current EDT users will
-find that it easy and comfortable to use GNU Emacs with a small learning
+find that it easy and comfortable to use Emacs with a small learning
 curve.
 
 @item
@@ -237,7 +237,7 @@
 just as they existed before the EDT emulation was first invoked.
 
 @item
-Support GNU Emacs 19 and higher.  XEmacs 19, and above, is also supported.
+Support Emacs and XEmacs 19 and higher.
 
 @item
 Supports highlighting of marked text within the EDT emulation on all
@@ -285,13 +285,13 @@
 @node Starting emulation
 @chapter How to Get Started
 
-Start up GNU Emacs and enter @kbd{M-x edt-emulation-on} to begin the
+Start up Emacs and enter @kbd{M-x edt-emulation-on} to begin the
 emulation.  After initialization is complete, the following message will
 appear below the status line informing you that the emulation has been
 enabled: ``Default EDT keymap active''.
 
 You can have the EDT Emulation start up automatically, each time you
-initiate a GNU Emacs session, by adding the following line to your
+initiate an Emacs session, by adding the following line to your
 @file{.emacs} file:
 
 @example
@@ -306,7 +306,7 @@
 It is easy to customize key bindings in the EDT Emulation
 (@pxref{Customizing}).  Customizations are placed in a file called
 @file{edt-user.el}.  The Emacs @file{etc/} directory contains an
-example.  If @file{edt-user.el} is found in your GNU Emacs load path
+example.  If @file{edt-user.el} is found in your Emacs load path
 during EDT Emulation initialization, then the following message will
 appear below the status line indicating that the emulation has been
 enabled, enhanced by your own customizations: ``User EDT custom keymap
@@ -321,8 +321,8 @@
 emulation.
 
 Emacs binds keys to @acronym{ASCII} control characters and so does the
-real EDT.  Where EDT key bindings and GNU Emacs key bindings conflict,
-the default GNU Emacs key bindings are retained by the EDT emulation by
+real EDT.  Where EDT key bindings and Emacs key bindings conflict,
+the default Emacs key bindings are retained by the EDT emulation by
 default.  If you are a diehard EDT user you may not like this.  The
 @ref{Control keys} section explains how to change this so that the EDT
 bindings to @acronym{ASCII} control characters override the default
@@ -364,7 +364,7 @@
 @example
 ! File:  .xmodmaprc
 !
-! Set up Sun Type 5 keypad for use with the GNU Emacs EDT Emulation
+! Set up Sun Type 5 keypad for use with the Emacs EDT Emulation
 !
 keycode  53 = KP_Divide
 keycode  54 = KP_Multiply
@@ -436,7 +436,7 @@
 @example
 ! File:  .xmodmaprc
 !
-! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation
+! Set up PC keypad under GNU/Linux for the Emacs EDT Emulation
 !
 clear  mod2
 keycode  77 = F12
@@ -518,7 +518,7 @@
 @example
 ! File:  .xmodmaprc
 !
-! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation
+! Set up PC keypad under GNU/Linux for the Emacs EDT Emulation
 !
 clear  mod2
 keycode  77 = F12
@@ -541,7 +541,7 @@
 but not all, of EDT's most used Keypad Mode editing functions and
 behavior.  It is not perfect, but most EDT users who have tried the
 emulation agree that it is quite good enough to make it easy for
-die-hard EDT users to move over to using GNU Emacs.
+die-hard EDT users to move over to using Emacs.
 
 Here's a list of the most important differences between EDT and this GNU
 Emacs EDT Emulation.  The list is short but you must be aware of these
@@ -783,7 +783,7 @@
 @end ignore
 
 First, you need to have your own private lisp directory, say
address@hidden/lisp}, and you should add it to the GNU Emacs load path.
address@hidden/lisp}, and you should add it to the Emacs load path.
 
 @strong{Please note:} A few sites have different load-path requirements,
 so the above directions may need some modification if your site has such
@@ -898,8 +898,8 @@
 @node Control keys
 @section Enabling EDT Control Key Sequence Bindings
 
-Where EDT key bindings and GNU Emacs key bindings conflict, the default
-GNU Emacs key bindings are retained by default.  Some diehard EDT users
+Where EDT key bindings and Emacs key bindings conflict, the default
+Emacs key bindings are retained by default.  Some diehard EDT users
 may not like this.  So, if the variable
 @code{edt-use-EDT-control-key-bindings} is set to true in a user's
 @file{.emacs} file, then the default EDT Emulation mode will enable most

=== modified file 'doc/misc/erc.texi'
--- a/doc/misc/erc.texi 2011-02-19 19:40:59 +0000
+++ b/doc/misc/erc.texi 2011-02-23 04:19:28 +0000
@@ -36,7 +36,7 @@
 @titlepage
 @title ERC manual
 @subtitle a full-featured IRC client
address@hidden for GNU Emacs and XEmacs
address@hidden for Emacs and XEmacs
 
 @c The following two commands
 @c start the copyright page.

=== modified file 'doc/misc/gnus.texi'
--- a/doc/misc/gnus.texi        2011-02-22 13:31:15 +0000
+++ b/doc/misc/gnus.texi        2011-02-23 04:19:28 +0000
@@ -22498,7 +22498,7 @@
 return a string.  When the mouse passes over text with this property
 set, a balloon window will appear and display the string.  Please
 refer to @ref{Tooltips, ,Tooltips, emacs, The Emacs Manual},
-(in GNU Emacs) or the doc string of @code{balloon-help-mode} (in
+(in Emacs) or the doc string of @code{balloon-help-mode} (in
 XEmacs) for more information on this.  (For technical reasons, the
 guillemets have been approximated as @samp{<<} and @samp{>>} in this
 paragraph.)
@@ -27766,7 +27766,7 @@
 the second parameter.
 
 @file{make.bat} has been rewritten from scratch, it now features
-automatic recognition of XEmacs and GNU Emacs, generates
+automatic recognition of XEmacs and Emacs, generates
 @file{gnus-load.el}, checks if errors occur while compilation and
 generation of info files and reports them at the end of the build
 process.  It now uses @code{makeinfo} if it is available and falls

=== modified file 'doc/misc/idlwave.texi'
--- a/doc/misc/idlwave.texi     2011-02-19 19:40:59 +0000
+++ b/doc/misc/idlwave.texi     2011-02-23 04:19:28 +0000
@@ -4275,7 +4275,7 @@
 under XEmacs.}
 
 You don't have the @samp{browse-url} (or other required) XEmacs package.
-Unlike GNU Emacs, XEmacs distributes many packages separately from the
+Unlike Emacs, XEmacs distributes many packages separately from the
 main program.  IDLWAVE is actually among these, but is not always the
 most up to date.  When installing IDLWAVE as an XEmacs package, it
 should prompt you for required additional packages.  When installing it

=== modified file 'doc/misc/mh-e.texi'
--- a/doc/misc/mh-e.texi        2011-02-19 19:40:59 +0000
+++ b/doc/misc/mh-e.texi        2011-02-23 04:19:28 +0000
@@ -211,9 +211,9 @@
 more niceties about GNU Emacs and address@hidden Now I'm fully hooked on both 
of
 them.
 
-The MH-E package is distributed with GNU address@hidden
address@hidden of MH-E appeared in GNU Emacs 23.1. It is supported
-in GNU Emacs 21 and 22, as well as XEmacs 21 (except for versions
+The MH-E package is distributed with address@hidden
address@hidden of MH-E appeared in Emacs 23.1. It is supported
+in Emacs 21 and 22, as well as XEmacs 21 (except for versions
 21.5.9-21.5.16). It is compatible with MH versions 6.8.4 and higher,
 all versions of nmh, and GNU mailutils 1.0 and higher.}, so you
 shouldn't have to do anything special to use it. Gnus is also

=== modified file 'doc/misc/tramp.texi'
--- a/doc/misc/tramp.texi       2011-02-19 19:40:59 +0000
+++ b/doc/misc/tramp.texi       2011-02-23 04:19:28 +0000
@@ -369,13 +369,12 @@
 @cindex obtaining Tramp
 
 @value{tramp} is freely available on the Internet and the latest
-release may be downloaded from
address@hidden://ftp.gnu.org/gnu/tramp/}.  This release includes the full
-documentation and code for @value{tramp}, suitable for installation.
-But GNU Emacs (22 or later) includes @value{tramp} already, and there
-is a @value{tramp} package for XEmacs, as well.  So maybe it is easier
-to just use those.  But if you want the bleeding edge, read
address@hidden
+release may be downloaded from @uref{ftp://ftp.gnu.org/gnu/tramp/}.
+This release includes the full documentation and code for
address@hidden, suitable for installation.  But Emacs (22 or later)
+includes @value{tramp} already, and there is a @value{tramp} package
+for XEmacs, as well.  So maybe it is easier to just use those.  But if
+you want the bleeding edge, read address@hidden
 
 For the especially brave, @value{tramp} is available from CVS.  The CVS
 version is the latest version of the code and may contain incomplete
@@ -445,10 +444,10 @@
 @end ifset
 
 In December 2001, @value{tramp} has been added to the XEmacs package
-repository.  Being part of the GNU Emacs repository happened in June
-2002, the first release including @value{tramp} was GNU Emacs 22.1.
+repository.  Being part of the Emacs repository happened in June 2002,
+the first release including @value{tramp} was Emacs 22.1.
 
address@hidden is also a GNU/Linux Debian package since February 2001.
address@hidden is also a Debian GNU/Linux package since February 2001.
 
 
 @c Installation chapter is necessary only in case of standalone
@@ -1704,9 +1703,10 @@
 machines.  The symbol @code{tramp-default-remote-path} is a place
 holder, it is replaced by the list of directories received via the
 command @command{getconf PATH} on your remote machine.  For example,
-on GNU Debian this is @file{/bin:/usr/bin}, whereas on Solaris this is
address@hidden/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/opt/SUNWspro/bin}.  It is
-recommended to apply this symbol on top of @code{tramp-remote-path}.
+on Debian GNU/Linux this is @file{/bin:/usr/bin}, whereas on Solaris
+this is @file{/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/opt/SUNWspro/bin}.
+It is recommended to apply this symbol on top of
address@hidden
 
 It is possible, however, that your local (or remote ;) system
 administrator has put the tools you want in some obscure local
@@ -2740,8 +2740,8 @@
 @item
 Which systems does it work on?
 
-The package has been used successfully on GNU Emacs 22, GNU Emacs 23,
-XEmacs 21 (starting with 21.4), and SXEmacs 22.
+The package has been used successfully on Emacs 22, Emacs 23, XEmacs
+21 (starting with 21.4), and SXEmacs 22.
 
 The package was intended to work on Unix, and it really expects a
 Unix-like system on the remote end (except the @option{smb} method),
@@ -3583,9 +3583,9 @@
 But I have decided that this is too fragile to reliably work, so on some
 systems you'll have to do without the uuencode methods.
 
address@hidden The @value{tramp} filename syntax differs between GNU Emacs and 
XEmacs.
address@hidden The @value{tramp} filename syntax differs between Emacs and 
XEmacs.
 
-The GNU Emacs maintainers wish to use a unified filename syntax for
+The Emacs maintainers wish to use a unified filename syntax for
 Ange-FTP and @value{tramp} so that users don't have to learn a new
 syntax.  It is sufficient to learn some extensions to the old syntax.
 

=== modified file 'doc/misc/trampver.texi'
--- a/doc/misc/trampver.texi    2011-02-19 19:40:59 +0000
+++ b/doc/misc/trampver.texi    2011-02-23 04:19:28 +0000
@@ -63,7 +63,7 @@
 @set postfixhop         /
 @set ipv6prefix
 @set ipv6postfix
address@hidden emacsothername     GNU Emacs
address@hidden emacsothername     Emacs
 @set emacsotherdir      emacs
 @set emacsotherfilename tramp-emacs.html
 @end ifset

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-02-23 03:44:13 +0000
+++ b/lisp/ChangeLog    2011-02-23 04:19:28 +0000
@@ -1,3 +1,11 @@
+2011-02-23  Kenichi Handa  <address@hidden>
+
+       * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
+       error when a multipart boundary in the nested multipart is found.
+
+       * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
+       header components.
+
 2011-02-23  Glenn Morris  <address@hidden>
 
        * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.

=== modified file 'lisp/mail/rmail.el'
--- a/lisp/mail/rmail.el        2011-02-20 11:59:44 +0000
+++ b/lisp/mail/rmail.el        2011-02-23 04:19:28 +0000
@@ -3443,6 +3443,16 @@
        (setq yank-action (list 'insert-buffer replybuffer)))
     (push (cons "cc" cc) other-headers)
     (push (cons "in-reply-to" in-reply-to) other-headers)
+    (setq other-headers
+         (mapcar #'(lambda (elt)
+                     (cons (car elt) (if (stringp (cdr elt))
+                                         (rfc2047-decode-string (cdr elt)))))
+                 other-headers))
+    (if (stringp to) (setq to (rfc2047-decode-string to)))
+    (if (stringp in-reply-to)
+       (setq in-reply-to (rfc2047-decode-string in-reply-to)))
+    (if (stringp cc) (setq cc (rfc2047-decode-string cc)))
+    (if (stringp subject) (setq subject (rfc2047-decode-string subject)))
     (prog1
        (compose-mail to subject other-headers noerase
                      switch-function yank-action sendactions
@@ -3450,7 +3460,7 @@
       (if (eq switch-function 'switch-to-buffer-other-frame)
          ;; This is not a standard frame parameter; nothing except
          ;; sendmail.el looks at it.
-         (modify-frame-parameters (selected-frame)
+           (modify-frame-parameters (selected-frame)
                                   '((mail-dedicated-frame . t)))))))
 
 (defun rmail-mail-return ()

=== modified file 'lisp/mail/rmailmm.el'
--- a/lisp/mail/rmailmm.el      2011-02-19 19:40:59 +0000
+++ b/lisp/mail/rmailmm.el      2011-02-23 04:19:28 +0000
@@ -853,28 +853,33 @@
            ((looking-at "[ \t]*\n")
             (setq next (copy-marker (match-end 0) t)))
            (t
-            (rmail-mm-get-boundary-error-message
-             "Malformed boundary" content-type content-disposition
-             content-transfer-encoding)))
-
-      (setq index (1+ index))
-      ;; Handle the part.
-      (if parse-tag
+            ;; The original code signalled an error as below, but
+            ;; this line may be a boundary of nested multipart.  So,
+            ;; we just set `next' to nil to skip this line
+            ;; (rmail-mm-get-boundary-error-message
+            ;;  "Malformed boundary" content-type content-disposition
+            ;;  content-transfer-encoding)
+            (setq next nil)))
+
+      (when next
+       (setq index (1+ index))
+       ;; Handle the part.
+       (if parse-tag
+           (save-restriction
+             (narrow-to-region beg end)
+             (let ((child (rmail-mime-process
+                           nil (format "%s/%d" parse-tag index)
+                           content-type content-disposition)))
+               ;; Display a tagline.
+               (aset (aref (rmail-mime-entity-display child) 1) 1
+                     (aset (rmail-mime-entity-tagline child) 2 t))
+               (push child entities)))
+
+         (delete-region end next)
          (save-restriction
            (narrow-to-region beg end)
-           (let ((child (rmail-mime-process
-                         nil (format "%s/%d" parse-tag index)
-                         content-type content-disposition)))
-             ;; Display a tagline.
-             (aset (aref (rmail-mime-entity-display child) 1) 1
-                   (aset (rmail-mime-entity-tagline child) 2 t))
-             (push child entities)))
-
-       (delete-region end next)
-       (save-restriction
-         (narrow-to-region beg end)
-         (rmail-mime-show)))
-      (goto-char (setq beg next)))
+           (rmail-mime-show)))
+       (goto-char (setq beg next))))
 
     (when parse-tag
       (setq entities (nreverse entities))

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-02-22 18:32:51 +0000
+++ b/src/ChangeLog     2011-02-23 04:19:28 +0000
@@ -1,3 +1,8 @@
+2011-02-23  Kenichi Handa  <address@hidden>
+
+       * font.c (font_open_entity): Be sure to set scaled_pixel_size.
+       (font_find_for_lface): Check if attrs[LFACE_HEIGHT_INDEX] is integer.
+
 2011-02-22  Paul Eggert  <address@hidden>
 
        * dired.c (Ffile_attributes): Simplify and avoid #ifdef.

=== modified file 'src/font.c'
--- a/src/font.c        2011-02-16 15:02:50 +0000
+++ b/src/font.c        2011-02-23 04:19:28 +0000
@@ -2806,7 +2806,7 @@
   Lisp_Object objlist, size, val, font_object;
   struct font *font;
   int min_width, height;
-  int scaled_pixel_size;
+  int scaled_pixel_size = pixel_size;
 
   font_assert (FONT_ENTITY_P (entity));
   size = AREF (entity, FONT_SIZE_INDEX);
@@ -3121,7 +3121,7 @@
   XSETFRAME (frame, f);
   size = AREF (spec, FONT_SIZE_INDEX);
   pixel_size = font_pixel_size (f, spec);
-  if (pixel_size == 0)
+  if (pixel_size == 0 && INTEGERP (attrs[LFACE_HEIGHT_INDEX]))
     {
       double pt = XINT (attrs[LFACE_HEIGHT_INDEX]);
 


reply via email to

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