aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-02-22 20:19:28 -0800
committerGlenn Morris2011-02-22 20:19:28 -0800
commitcce7d53002e8abc346b67ea4100507b0e7c4d68e (patch)
treefaed484c15cde23eec2ec2463a1f30b9a8f4e43b
parent4902e827bc04d0e1cb17820fe522992995166fc7 (diff)
parent51a13bdd9324860db6381e6da121411467087bec (diff)
downloademacs-cce7d53002e8abc346b67ea4100507b0e7c4d68e.tar.gz
emacs-cce7d53002e8abc346b67ea4100507b0e7c4d68e.zip
Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org.
-rw-r--r--admin/ChangeLog4
-rw-r--r--admin/notes/bugtracker2
-rw-r--r--doc/misc/ChangeLog13
-rw-r--r--doc/misc/dired-x.texi10
-rw-r--r--doc/misc/edt.texi30
-rw-r--r--doc/misc/erc.texi2
-rw-r--r--doc/misc/gnus.texi4
-rw-r--r--doc/misc/idlwave.texi2
-rw-r--r--doc/misc/mh-e.texi6
-rw-r--r--doc/misc/tramp.texi34
-rw-r--r--doc/misc/trampver.texi2
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/mail/rmail.el12
-rw-r--r--lisp/mail/rmailmm.el45
-rw-r--r--src/ChangeLog5
-rw-r--r--src/font.c4
16 files changed, 114 insertions, 69 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 87ba151dc34..f2c16b42e23 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,7 @@
12011-02-23 Juanma Barranquero <lekktu@gmail.com>
2
3 * notes/bugtracker (bugtracker_debbugs_url): Fix typo.
4
12011-02-19 Eli Zaretskii <eliz@gnu.org> 52011-02-19 Eli Zaretskii <eliz@gnu.org>
2 6
3 * admin.el (set-version): Add msdos/sed2v2.inp. 7 * admin.el (set-version): Add msdos/sed2v2.inp.
diff --git a/admin/notes/bugtracker b/admin/notes/bugtracker
index 02ca77bf7de..f2805eae443 100644
--- a/admin/notes/bugtracker
+++ b/admin/notes/bugtracker
@@ -489,7 +489,7 @@ Here "{id}" is a literal string, a placeholder that will be replaced
489by the bug number you specify after `--fixes debbugs:' in the bzr 489by the bug number you specify after `--fixes debbugs:' in the bzr
490command line (123 in the example above). 490command line (123 in the example above).
491 491
492In the bazaar.conf file, this setting should go into the [DEFAULTS] 492In the bazaar.conf file, this setting should go into the [DEFAULT]
493section. 493section.
494 494
495In the locations.conf file, it should go into the branch-specific 495In the locations.conf file, it should go into the branch-specific
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 67197450a5b..530f7f1c123 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,5 +1,18 @@
12011-02-23 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi: Use consistently "Emacs" (instead of "GNU Emacs") and
4 "Debian GNU/Linux".
5
6 * trampver.texi [xemacs]: Set emacsothername to "Emacs".
7
12011-02-23 Glenn Morris <rgm@gnu.org> 82011-02-23 Glenn Morris <rgm@gnu.org>
2 9
10 * dired-x.texi (Features): Minor rephrasing.
11 (Local Variables): Fix typos.
12
13 * edt.texi, erc.texi, gnus.texi, idlwave.texi, mh-e.texi:
14 Standardize some Emacs/XEmacs terminology.
15
3 * dired-x.texi (Features): Don't advertise obsolete local variables. 16 * dired-x.texi (Features): Don't advertise obsolete local variables.
4 Simplify layout. 17 Simplify layout.
5 (Omitting Variables): Update local variables example. 18 (Omitting Variables): Update local variables example.
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi
index f7c73237249..cde39ff6a62 100644
--- a/doc/misc/dired-x.texi
+++ b/doc/misc/dired-x.texi
@@ -152,10 +152,10 @@ Commands using file marking
152@noindent 152@noindent
153@file{dired-x.el} binds some functions to keys in Dired Mode (@pxref{Key 153@file{dired-x.el} binds some functions to keys in Dired Mode (@pxref{Key
154Index}) and also binds @kbd{C-x C-j} and @kbd{C-x 4 C-j} @emph{globally} to 154Index}) and also binds @kbd{C-x C-j} and @kbd{C-x 4 C-j} @emph{globally} to
155@code{dired-jump} (@pxref{Miscellaneous Commands}). It may also bind @kbd{C-x 155@code{dired-jump} (@pxref{Miscellaneous Commands}). Optionally, it
156C-f} and @kbd{C-x 4 C-f} to @code{dired-x-find-file} and 156also binds @kbd{C-x C-f} and @kbd{C-x 4 C-f} to
157@code{dired-x-find-file-other-window}, respectively (@pxref{Find File At 157@code{dired-x-find-file} and @code{dired-x-find-file-other-window},
158Point}). 158respectively (@pxref{Find File At Point}).
159 159
160@node Technical Details, , Features, Introduction 160@node Technical Details, , Features, Introduction
161@section Technical Details 161@section Technical Details
@@ -514,7 +514,7 @@ omitted automatically
514@noindent 514@noindent
515You can set @code{dired-local-variables-file} to @code{nil} to suppress this. 515You can set @code{dired-local-variables-file} to @code{nil} to suppress this.
516The value of @code{dired-enable-local-variables} controls if and how these 516The value of @code{dired-enable-local-variables} controls if and how these
517local variables are read. This variable exists so that if may override the 517local variables are read. This variable exists so that it may override the
518default value of @code{enable-local-variables}. 518default value of @code{enable-local-variables}.
519 519
520@noindent 520@noindent
diff --git a/doc/misc/edt.texi b/doc/misc/edt.texi
index 377bb6ee8c5..8f9f8fc03a2 100644
--- a/doc/misc/edt.texi
+++ b/doc/misc/edt.texi
@@ -87,7 +87,7 @@ informing you that the emulation has been enabled: ``Default EDT keymap
87active''. 87active''.
88 88
89 You can have the EDT Emulation start up automatically, each time you 89 You can have the EDT Emulation start up automatically, each time you
90initiate a GNU Emacs session, by adding the following line to your 90initiate an Emacs session, by adding the following line to your
91@file{.emacs} file: 91@file{.emacs} file:
92 92
93@example 93@example
@@ -218,7 +218,7 @@ user quits without saving those buffers.
218 218
219@item 219@item
220Emulate EDT Keypad Mode commands closely so that current EDT users will 220Emulate EDT Keypad Mode commands closely so that current EDT users will
221find that it easy and comfortable to use GNU Emacs with a small learning 221find that it easy and comfortable to use Emacs with a small learning
222curve. 222curve.
223 223
224@item 224@item
@@ -237,7 +237,7 @@ Provide an easy way to restore @strong{all} original Emacs key bindings,
237just as they existed before the EDT emulation was first invoked. 237just as they existed before the EDT emulation was first invoked.
238 238
239@item 239@item
240Support GNU Emacs 19 and higher. XEmacs 19, and above, is also supported. 240Support Emacs and XEmacs 19 and higher.
241 241
242@item 242@item
243Supports highlighting of marked text within the EDT emulation on all 243Supports highlighting of marked text within the EDT emulation on all
@@ -285,13 +285,13 @@ apply to you.
285@node Starting emulation 285@node Starting emulation
286@chapter How to Get Started 286@chapter How to Get Started
287 287
288Start up GNU Emacs and enter @kbd{M-x edt-emulation-on} to begin the 288Start up Emacs and enter @kbd{M-x edt-emulation-on} to begin the
289emulation. After initialization is complete, the following message will 289emulation. After initialization is complete, the following message will
290appear below the status line informing you that the emulation has been 290appear below the status line informing you that the emulation has been
291enabled: ``Default EDT keymap active''. 291enabled: ``Default EDT keymap active''.
292 292
293You can have the EDT Emulation start up automatically, each time you 293You can have the EDT Emulation start up automatically, each time you
294initiate a GNU Emacs session, by adding the following line to your 294initiate an Emacs session, by adding the following line to your
295@file{.emacs} file: 295@file{.emacs} file:
296 296
297@example 297@example
@@ -306,7 +306,7 @@ in the EDT Default Mode).
306It is easy to customize key bindings in the EDT Emulation 306It is easy to customize key bindings in the EDT Emulation
307(@pxref{Customizing}). Customizations are placed in a file called 307(@pxref{Customizing}). Customizations are placed in a file called
308@file{edt-user.el}. The Emacs @file{etc/} directory contains an 308@file{edt-user.el}. The Emacs @file{etc/} directory contains an
309example. If @file{edt-user.el} is found in your GNU Emacs load path 309example. If @file{edt-user.el} is found in your Emacs load path
310during EDT Emulation initialization, then the following message will 310during EDT Emulation initialization, then the following message will
311appear below the status line indicating that the emulation has been 311appear below the status line indicating that the emulation has been
312enabled, enhanced by your own customizations: ``User EDT custom keymap 312enabled, enhanced by your own customizations: ``User EDT custom keymap
@@ -321,8 +321,8 @@ restores the original key bindings in effect just prior to invoking the
321emulation. 321emulation.
322 322
323Emacs binds keys to @acronym{ASCII} control characters and so does the 323Emacs binds keys to @acronym{ASCII} control characters and so does the
324real EDT. Where EDT key bindings and GNU Emacs key bindings conflict, 324real EDT. Where EDT key bindings and Emacs key bindings conflict,
325the default GNU Emacs key bindings are retained by the EDT emulation by 325the default Emacs key bindings are retained by the EDT emulation by
326default. If you are a diehard EDT user you may not like this. The 326default. If you are a diehard EDT user you may not like this. The
327@ref{Control keys} section explains how to change this so that the EDT 327@ref{Control keys} section explains how to change this so that the EDT
328bindings to @acronym{ASCII} control characters override the default 328bindings to @acronym{ASCII} control characters override the default
@@ -364,7 +364,7 @@ older SunOS release configured with a Sun Type 5 keyboard:
364@example 364@example
365! File: .xmodmaprc 365! File: .xmodmaprc
366! 366!
367! Set up Sun Type 5 keypad for use with the GNU Emacs EDT Emulation 367! Set up Sun Type 5 keypad for use with the Emacs EDT Emulation
368! 368!
369keycode 53 = KP_Divide 369keycode 53 = KP_Divide
370keycode 54 = KP_Multiply 370keycode 54 = KP_Multiply
@@ -436,7 +436,7 @@ things up nicely.
436@example 436@example
437! File: .xmodmaprc 437! File: .xmodmaprc
438! 438!
439! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation 439! Set up PC keypad under GNU/Linux for the Emacs EDT Emulation
440! 440!
441clear mod2 441clear mod2
442keycode 77 = F12 442keycode 77 = F12
@@ -518,7 +518,7 @@ assign Num_Lock back to mod2.
518@example 518@example
519! File: .xmodmaprc 519! File: .xmodmaprc
520! 520!
521! Set up PC keypad under GNU/Linux for the GNU Emacs EDT Emulation 521! Set up PC keypad under GNU/Linux for the Emacs EDT Emulation
522! 522!
523clear mod2 523clear mod2
524keycode 77 = F12 524keycode 77 = F12
@@ -541,7 +541,7 @@ In general, you will find that this emulation of EDT replicates most,
541but not all, of EDT's most used Keypad Mode editing functions and 541but not all, of EDT's most used Keypad Mode editing functions and
542behavior. It is not perfect, but most EDT users who have tried the 542behavior. It is not perfect, but most EDT users who have tried the
543emulation agree that it is quite good enough to make it easy for 543emulation agree that it is quite good enough to make it easy for
544die-hard EDT users to move over to using GNU Emacs. 544die-hard EDT users to move over to using Emacs.
545 545
546Here's a list of the most important differences between EDT and this GNU 546Here's a list of the most important differences between EDT and this GNU
547Emacs EDT Emulation. The list is short but you must be aware of these 547Emacs EDT Emulation. The list is short but you must be aware of these
@@ -783,7 +783,7 @@ terminals on the same system, you need not look at @file{edt-user.el2}.
783@end ignore 783@end ignore
784 784
785First, you need to have your own private lisp directory, say 785First, you need to have your own private lisp directory, say
786@file{~/lisp}, and you should add it to the GNU Emacs load path. 786@file{~/lisp}, and you should add it to the Emacs load path.
787 787
788@strong{Please note:} A few sites have different load-path requirements, 788@strong{Please note:} A few sites have different load-path requirements,
789so the above directions may need some modification if your site has such 789so the above directions may need some modification if your site has such
@@ -898,8 +898,8 @@ Here are some examples:
898@node Control keys 898@node Control keys
899@section Enabling EDT Control Key Sequence Bindings 899@section Enabling EDT Control Key Sequence Bindings
900 900
901Where EDT key bindings and GNU Emacs key bindings conflict, the default 901Where EDT key bindings and Emacs key bindings conflict, the default
902GNU Emacs key bindings are retained by default. Some diehard EDT users 902Emacs key bindings are retained by default. Some diehard EDT users
903may not like this. So, if the variable 903may not like this. So, if the variable
904@code{edt-use-EDT-control-key-bindings} is set to true in a user's 904@code{edt-use-EDT-control-key-bindings} is set to true in a user's
905@file{.emacs} file, then the default EDT Emulation mode will enable most 905@file{.emacs} file, then the default EDT Emulation mode will enable most
diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index 463a14f08d2..b46748a08f9 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -36,7 +36,7 @@ and modified without restriction.
36@titlepage 36@titlepage
37@title ERC manual 37@title ERC manual
38@subtitle a full-featured IRC client 38@subtitle a full-featured IRC client
39@subtitle for GNU Emacs and XEmacs 39@subtitle for Emacs and XEmacs
40 40
41@c The following two commands 41@c The following two commands
42@c start the copyright page. 42@c start the copyright page.
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index f990ee69a08..b55452cfa82 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -22498,7 +22498,7 @@ variables should be either strings or symbols naming functions that
22498return a string. When the mouse passes over text with this property 22498return a string. When the mouse passes over text with this property
22499set, a balloon window will appear and display the string. Please 22499set, a balloon window will appear and display the string. Please
22500refer to @ref{Tooltips, ,Tooltips, emacs, The Emacs Manual}, 22500refer to @ref{Tooltips, ,Tooltips, emacs, The Emacs Manual},
22501(in GNU Emacs) or the doc string of @code{balloon-help-mode} (in 22501(in Emacs) or the doc string of @code{balloon-help-mode} (in
22502XEmacs) for more information on this. (For technical reasons, the 22502XEmacs) for more information on this. (For technical reasons, the
22503guillemets have been approximated as @samp{<<} and @samp{>>} in this 22503guillemets have been approximated as @samp{<<} and @samp{>>} in this
22504paragraph.) 22504paragraph.)
@@ -27766,7 +27766,7 @@ to install Gnus after compiling it, give @file{make.bat} @code{/copy} as
27766the second parameter. 27766the second parameter.
27767 27767
27768@file{make.bat} has been rewritten from scratch, it now features 27768@file{make.bat} has been rewritten from scratch, it now features
27769automatic recognition of XEmacs and GNU Emacs, generates 27769automatic recognition of XEmacs and Emacs, generates
27770@file{gnus-load.el}, checks if errors occur while compilation and 27770@file{gnus-load.el}, checks if errors occur while compilation and
27771generation of info files and reports them at the end of the build 27771generation of info files and reports them at the end of the build
27772process. It now uses @code{makeinfo} if it is available and falls 27772process. It now uses @code{makeinfo} if it is available and falls
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi
index 94aeb612df7..8e172301915 100644
--- a/doc/misc/idlwave.texi
+++ b/doc/misc/idlwave.texi
@@ -4275,7 +4275,7 @@ browse-url-browser-function} or similar when attempting to load IDLWAVE
4275under XEmacs.} 4275under XEmacs.}
4276 4276
4277You don't have the @samp{browse-url} (or other required) XEmacs package. 4277You don't have the @samp{browse-url} (or other required) XEmacs package.
4278Unlike GNU Emacs, XEmacs distributes many packages separately from the 4278Unlike Emacs, XEmacs distributes many packages separately from the
4279main program. IDLWAVE is actually among these, but is not always the 4279main program. IDLWAVE is actually among these, but is not always the
4280most up to date. When installing IDLWAVE as an XEmacs package, it 4280most up to date. When installing IDLWAVE as an XEmacs package, it
4281should prompt you for required additional packages. When installing it 4281should prompt you for required additional packages. When installing it
diff --git a/doc/misc/mh-e.texi b/doc/misc/mh-e.texi
index 59da631c6ea..43d7bc74553 100644
--- a/doc/misc/mh-e.texi
+++ b/doc/misc/mh-e.texi
@@ -211,9 +211,9 @@ However, MH-E was the tip of the iceberg, and I discovered more and
211more niceties about GNU Emacs and MH@. Now I'm fully hooked on both of 211more niceties about GNU Emacs and MH@. Now I'm fully hooked on both of
212them. 212them.
213 213
214The MH-E package is distributed with GNU Emacs@footnote{Version 214The MH-E package is distributed with Emacs@footnote{Version
215@value{VERSION} of MH-E appeared in GNU Emacs 23.1. It is supported 215@value{VERSION} of MH-E appeared in Emacs 23.1. It is supported
216in GNU Emacs 21 and 22, as well as XEmacs 21 (except for versions 216in Emacs 21 and 22, as well as XEmacs 21 (except for versions
21721.5.9-21.5.16). It is compatible with MH versions 6.8.4 and higher, 21721.5.9-21.5.16). It is compatible with MH versions 6.8.4 and higher,
218all versions of nmh, and GNU mailutils 1.0 and higher.}, so you 218all versions of nmh, and GNU mailutils 1.0 and higher.}, so you
219shouldn't have to do anything special to use it. Gnus is also 219shouldn't have to do anything special to use it. Gnus is also
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 346354b3170..8bcce244f9d 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -369,13 +369,12 @@ behind the scenes when you open a file with @value{tramp}.
369@cindex obtaining Tramp 369@cindex obtaining Tramp
370 370
371@value{tramp} is freely available on the Internet and the latest 371@value{tramp} is freely available on the Internet and the latest
372release may be downloaded from 372release may be downloaded from @uref{ftp://ftp.gnu.org/gnu/tramp/}.
373@uref{ftp://ftp.gnu.org/gnu/tramp/}. This release includes the full 373This release includes the full documentation and code for
374documentation and code for @value{tramp}, suitable for installation. 374@value{tramp}, suitable for installation. But Emacs (22 or later)
375But GNU Emacs (22 or later) includes @value{tramp} already, and there 375includes @value{tramp} already, and there is a @value{tramp} package
376is a @value{tramp} package for XEmacs, as well. So maybe it is easier 376for XEmacs, as well. So maybe it is easier to just use those. But if
377to just use those. But if you want the bleeding edge, read 377you want the bleeding edge, read on@dots{...}
378on@dots{...}
379 378
380For the especially brave, @value{tramp} is available from CVS. The CVS 379For the especially brave, @value{tramp} is available from CVS. The CVS
381version is the latest version of the code and may contain incomplete 380version is the latest version of the code and may contain incomplete
@@ -445,10 +444,10 @@ GVFS integration started in February 2009.
445@end ifset 444@end ifset
446 445
447In December 2001, @value{tramp} has been added to the XEmacs package 446In December 2001, @value{tramp} has been added to the XEmacs package
448repository. Being part of the GNU Emacs repository happened in June 447repository. Being part of the Emacs repository happened in June 2002,
4492002, the first release including @value{tramp} was GNU Emacs 22.1. 448the first release including @value{tramp} was Emacs 22.1.
450 449
451@value{tramp} is also a GNU/Linux Debian package since February 2001. 450@value{tramp} is also a Debian GNU/Linux package since February 2001.
452 451
453 452
454@c Installation chapter is necessary only in case of standalone 453@c Installation chapter is necessary only in case of standalone
@@ -1704,9 +1703,10 @@ By default, this is set to a reasonable set of defaults for most
1704machines. The symbol @code{tramp-default-remote-path} is a place 1703machines. The symbol @code{tramp-default-remote-path} is a place
1705holder, it is replaced by the list of directories received via the 1704holder, it is replaced by the list of directories received via the
1706command @command{getconf PATH} on your remote machine. For example, 1705command @command{getconf PATH} on your remote machine. For example,
1707on GNU Debian this is @file{/bin:/usr/bin}, whereas on Solaris this is 1706on Debian GNU/Linux this is @file{/bin:/usr/bin}, whereas on Solaris
1708@file{/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/opt/SUNWspro/bin}. It is 1707this is @file{/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/opt/SUNWspro/bin}.
1709recommended to apply this symbol on top of @code{tramp-remote-path}. 1708It is recommended to apply this symbol on top of
1709@code{tramp-remote-path}.
1710 1710
1711It is possible, however, that your local (or remote ;) system 1711It is possible, however, that your local (or remote ;) system
1712administrator has put the tools you want in some obscure local 1712administrator has put the tools you want in some obscure local
@@ -2740,8 +2740,8 @@ There is also a Savannah project page.
2740@item 2740@item
2741Which systems does it work on? 2741Which systems does it work on?
2742 2742
2743The package has been used successfully on GNU Emacs 22, GNU Emacs 23, 2743The package has been used successfully on Emacs 22, Emacs 23, XEmacs
2744XEmacs 21 (starting with 21.4), and SXEmacs 22. 274421 (starting with 21.4), and SXEmacs 22.
2745 2745
2746The package was intended to work on Unix, and it really expects a 2746The package was intended to work on Unix, and it really expects a
2747Unix-like system on the remote end (except the @option{smb} method), 2747Unix-like system on the remote end (except the @option{smb} method),
@@ -3583,9 +3583,9 @@ printed and deleted.
3583But I have decided that this is too fragile to reliably work, so on some 3583But I have decided that this is too fragile to reliably work, so on some
3584systems you'll have to do without the uuencode methods. 3584systems you'll have to do without the uuencode methods.
3585 3585
3586@item The @value{tramp} filename syntax differs between GNU Emacs and XEmacs. 3586@item The @value{tramp} filename syntax differs between Emacs and XEmacs.
3587 3587
3588The GNU Emacs maintainers wish to use a unified filename syntax for 3588The Emacs maintainers wish to use a unified filename syntax for
3589Ange-FTP and @value{tramp} so that users don't have to learn a new 3589Ange-FTP and @value{tramp} so that users don't have to learn a new
3590syntax. It is sufficient to learn some extensions to the old syntax. 3590syntax. It is sufficient to learn some extensions to the old syntax.
3591 3591
diff --git a/doc/misc/trampver.texi b/doc/misc/trampver.texi
index ff5641fb4b4..437b1372c11 100644
--- a/doc/misc/trampver.texi
+++ b/doc/misc/trampver.texi
@@ -63,7 +63,7 @@
63@set postfixhop / 63@set postfixhop /
64@set ipv6prefix 64@set ipv6prefix
65@set ipv6postfix 65@set ipv6postfix
66@set emacsothername GNU Emacs 66@set emacsothername Emacs
67@set emacsotherdir emacs 67@set emacsotherdir emacs
68@set emacsotherfilename tramp-emacs.html 68@set emacsotherfilename tramp-emacs.html
69@end ifset 69@end ifset
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 14ef035445a..df3098332f9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12011-02-23 Kenichi Handa <handa@m17n.org>
2
3 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
4 error when a multipart boundary in the nested multipart is found.
5
6 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
7 header components.
8
12011-02-23 Glenn Morris <rgm@gnu.org> 92011-02-23 Glenn Morris <rgm@gnu.org>
2 10
3 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer. 11 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 06867f6d92a..7fe5383d865 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -3443,6 +3443,16 @@ does not pop any summary buffer."
3443 (setq yank-action (list 'insert-buffer replybuffer))) 3443 (setq yank-action (list 'insert-buffer replybuffer)))
3444 (push (cons "cc" cc) other-headers) 3444 (push (cons "cc" cc) other-headers)
3445 (push (cons "in-reply-to" in-reply-to) other-headers) 3445 (push (cons "in-reply-to" in-reply-to) other-headers)
3446 (setq other-headers
3447 (mapcar #'(lambda (elt)
3448 (cons (car elt) (if (stringp (cdr elt))
3449 (rfc2047-decode-string (cdr elt)))))
3450 other-headers))
3451 (if (stringp to) (setq to (rfc2047-decode-string to)))
3452 (if (stringp in-reply-to)
3453 (setq in-reply-to (rfc2047-decode-string in-reply-to)))
3454 (if (stringp cc) (setq cc (rfc2047-decode-string cc)))
3455 (if (stringp subject) (setq subject (rfc2047-decode-string subject)))
3446 (prog1 3456 (prog1
3447 (compose-mail to subject other-headers noerase 3457 (compose-mail to subject other-headers noerase
3448 switch-function yank-action sendactions 3458 switch-function yank-action sendactions
@@ -3450,7 +3460,7 @@ does not pop any summary buffer."
3450 (if (eq switch-function 'switch-to-buffer-other-frame) 3460 (if (eq switch-function 'switch-to-buffer-other-frame)
3451 ;; This is not a standard frame parameter; nothing except 3461 ;; This is not a standard frame parameter; nothing except
3452 ;; sendmail.el looks at it. 3462 ;; sendmail.el looks at it.
3453 (modify-frame-parameters (selected-frame) 3463 (modify-frame-parameters (selected-frame)
3454 '((mail-dedicated-frame . t))))))) 3464 '((mail-dedicated-frame . t)))))))
3455 3465
3456(defun rmail-mail-return () 3466(defun rmail-mail-return ()
diff --git a/lisp/mail/rmailmm.el b/lisp/mail/rmailmm.el
index 0bfeb121ca4..96132739b20 100644
--- a/lisp/mail/rmailmm.el
+++ b/lisp/mail/rmailmm.el
@@ -853,28 +853,33 @@ The other arguments are the same as `rmail-mime-multipart-handler'."
853 ((looking-at "[ \t]*\n") 853 ((looking-at "[ \t]*\n")
854 (setq next (copy-marker (match-end 0) t))) 854 (setq next (copy-marker (match-end 0) t)))
855 (t 855 (t
856 (rmail-mm-get-boundary-error-message 856 ;; The original code signalled an error as below, but
857 "Malformed boundary" content-type content-disposition 857 ;; this line may be a boundary of nested multipart. So,
858 content-transfer-encoding))) 858 ;; we just set `next' to nil to skip this line
859 859 ;; (rmail-mm-get-boundary-error-message
860 (setq index (1+ index)) 860 ;; "Malformed boundary" content-type content-disposition
861 ;; Handle the part. 861 ;; content-transfer-encoding)
862 (if parse-tag 862 (setq next nil)))
863
864 (when next
865 (setq index (1+ index))
866 ;; Handle the part.
867 (if parse-tag
868 (save-restriction
869 (narrow-to-region beg end)
870 (let ((child (rmail-mime-process
871 nil (format "%s/%d" parse-tag index)
872 content-type content-disposition)))
873 ;; Display a tagline.
874 (aset (aref (rmail-mime-entity-display child) 1) 1
875 (aset (rmail-mime-entity-tagline child) 2 t))
876 (push child entities)))
877
878 (delete-region end next)
863 (save-restriction 879 (save-restriction
864 (narrow-to-region beg end) 880 (narrow-to-region beg end)
865 (let ((child (rmail-mime-process 881 (rmail-mime-show)))
866 nil (format "%s/%d" parse-tag index) 882 (goto-char (setq beg next))))
867 content-type content-disposition)))
868 ;; Display a tagline.
869 (aset (aref (rmail-mime-entity-display child) 1) 1
870 (aset (rmail-mime-entity-tagline child) 2 t))
871 (push child entities)))
872
873 (delete-region end next)
874 (save-restriction
875 (narrow-to-region beg end)
876 (rmail-mime-show)))
877 (goto-char (setq beg next)))
878 883
879 (when parse-tag 884 (when parse-tag
880 (setq entities (nreverse entities)) 885 (setq entities (nreverse entities))
diff --git a/src/ChangeLog b/src/ChangeLog
index 8befb78f91f..194f1c44f84 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-02-23 Kenichi Handa <handa@m17n.org>
2
3 * font.c (font_open_entity): Be sure to set scaled_pixel_size.
4 (font_find_for_lface): Check if attrs[LFACE_HEIGHT_INDEX] is integer.
5
12011-02-22 Paul Eggert <eggert@cs.ucla.edu> 62011-02-22 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * dired.c (Ffile_attributes): Simplify and avoid #ifdef. 8 * dired.c (Ffile_attributes): Simplify and avoid #ifdef.
diff --git a/src/font.c b/src/font.c
index d77eafb6ad2..35821ae34f9 100644
--- a/src/font.c
+++ b/src/font.c
@@ -2806,7 +2806,7 @@ font_open_entity (FRAME_PTR f, Lisp_Object entity, int pixel_size)
2806 Lisp_Object objlist, size, val, font_object; 2806 Lisp_Object objlist, size, val, font_object;
2807 struct font *font; 2807 struct font *font;
2808 int min_width, height; 2808 int min_width, height;
2809 int scaled_pixel_size; 2809 int scaled_pixel_size = pixel_size;
2810 2810
2811 font_assert (FONT_ENTITY_P (entity)); 2811 font_assert (FONT_ENTITY_P (entity));
2812 size = AREF (entity, FONT_SIZE_INDEX); 2812 size = AREF (entity, FONT_SIZE_INDEX);
@@ -3121,7 +3121,7 @@ font_find_for_lface (FRAME_PTR f, Lisp_Object *attrs, Lisp_Object spec, int c)
3121 XSETFRAME (frame, f); 3121 XSETFRAME (frame, f);
3122 size = AREF (spec, FONT_SIZE_INDEX); 3122 size = AREF (spec, FONT_SIZE_INDEX);
3123 pixel_size = font_pixel_size (f, spec); 3123 pixel_size = font_pixel_size (f, spec);
3124 if (pixel_size == 0) 3124 if (pixel_size == 0 && INTEGERP (attrs[LFACE_HEIGHT_INDEX]))
3125 { 3125 {
3126 double pt = XINT (attrs[LFACE_HEIGHT_INDEX]); 3126 double pt = XINT (attrs[LFACE_HEIGHT_INDEX]);
3127 3127