diff options
| author | Paul Eggert | 2016-06-26 00:16:25 +0200 |
|---|---|---|
| committer | Paul Eggert | 2016-06-26 00:16:25 +0200 |
| commit | fdcf46d33eebc59e56a35fcea186c61aad3c81d0 (patch) | |
| tree | 8db131d7f52ead80ee12e52c3236510f71b31b48 | |
| parent | d6930356cabd3036e445cc6a2f668b1fd3e0cde4 (diff) | |
| parent | 0377fe2b819bb93ac7dc314c8dbd99304d8b98d0 (diff) | |
| download | emacs-fdcf46d33eebc59e56a35fcea186c61aad3c81d0.tar.gz emacs-fdcf46d33eebc59e56a35fcea186c61aad3c81d0.zip | |
Merge from origin/emacs-25
0377fe2 ; Spelling fixes
f253695 Update docs for `customize-mode'
4395aaa Fix documentation of 'assoc-string' and 'compare-strings'
ab0ebb9 ; Only load .elc file in tests.
a98aa02 Error on multibyte characters in HTTP request
ea512a7 * lisp/gnus/mm-decode.el (mm-convert-shr-links): Mask keys th...
8297331 ; Revert "Ensure undo-boundary after insert-file-contents."
dc5e65b Unset GIT_DIR when calling Git commands
6cdd8f7 Ensure undo-boundary after insert-file-contents.
4793f5f Clarify documentation of 'line-spacing' and 'line-height'
5f37572 Fix removal of variables from process-environment
e5e886d * admin/authors.el (authors-ignored-files, authors-valid-file...
db0777b * admin/authors.el (authors-aliases, authors-fixed-case): Add...
# Conflicts:
# doc/lispref/modes.texi
# lisp/gnus/mm-decode.el
| -rw-r--r-- | admin/authors.el | 27 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 17 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 7 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 5 | ||||
| -rw-r--r-- | etc/AUTHORS | 2 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 11 | ||||
| -rw-r--r-- | lisp/gnus/mm-decode.el | 15 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 19 | ||||
| -rw-r--r-- | lisp/vc/vc-git.el | 4 | ||||
| -rw-r--r-- | src/callproc.c | 2 | ||||
| -rw-r--r-- | src/fns.c | 2 | ||||
| -rw-r--r-- | src/minibuf.c | 4 | ||||
| -rw-r--r-- | test/ChangeLog.1 | 2 | ||||
| -rw-r--r-- | test/lisp/emulation/viper-tests.el | 2 |
14 files changed, 72 insertions, 47 deletions
diff --git a/admin/authors.el b/admin/authors.el index 1447bd4f49a..0738e2a8dd1 100644 --- a/admin/authors.el +++ b/admin/authors.el | |||
| @@ -45,7 +45,9 @@ files.") | |||
| 45 | '( | 45 | '( |
| 46 | (nil "A\\. N\\. Other") ; unknown author 2014-12-03, later removed | 46 | (nil "A\\. N\\. Other") ; unknown author 2014-12-03, later removed |
| 47 | ("Aaron S. Hawley" "Aaron Hawley") | 47 | ("Aaron S. Hawley" "Aaron Hawley") |
| 48 | ("Alan Third" "Alan J Third") | ||
| 48 | ("Alexandru Harsanyi" "Alex Harsanyi") | 49 | ("Alexandru Harsanyi" "Alex Harsanyi") |
| 50 | ("Álvar Jesús Ibeas Martín" "Álvar Ibeas") | ||
| 49 | ("Andrew Csillag" "Drew Csillag") | 51 | ("Andrew Csillag" "Drew Csillag") |
| 50 | ("Anna M. Bigatti" "Anna Bigatti") | 52 | ("Anna M. Bigatti" "Anna Bigatti") |
| 51 | ("Barry A. Warsaw" "Barry A. Warsaw, Century Computing, Inc." | 53 | ("Barry A. Warsaw" "Barry A. Warsaw, Century Computing, Inc." |
| @@ -61,6 +63,7 @@ files.") | |||
| 61 | ("David J. Biesack" "David Biesack") | 63 | ("David J. Biesack" "David Biesack") |
| 62 | ("David De La Harpe Golden" "David Golden") | 64 | ("David De La Harpe Golden" "David Golden") |
| 63 | ("David Gillespie" "Dave Gillespie") | 65 | ("David Gillespie" "Dave Gillespie") |
| 66 | ("David S. Goldberg" "Dave Goldberg") | ||
| 64 | ("David Kågedal" "David K..edal") | 67 | ("David Kågedal" "David K..edal") |
| 65 | ("David M. Koppelman" "David Koppelman") | 68 | ("David M. Koppelman" "David Koppelman") |
| 66 | ("David M. Smith" "David Smith" "David M Smith") | 69 | ("David M. Smith" "David Smith" "David M Smith") |
| @@ -72,6 +75,7 @@ files.") | |||
| 72 | ("Eric M. Ludlam" "Eric Ludlam") | 75 | ("Eric M. Ludlam" "Eric Ludlam") |
| 73 | ("Eric S. Raymond" "Eric Raymond") | 76 | ("Eric S. Raymond" "Eric Raymond") |
| 74 | ("Fabián Ezequiel Gallina" "Fabian Ezequiel Gallina" "Fabi.n E\\. Gallina") | 77 | ("Fabián Ezequiel Gallina" "Fabian Ezequiel Gallina" "Fabi.n E\\. Gallina") |
| 78 | ("Francis Litterio" "Fran Litterio") | ||
| 75 | ("Francis J. Wright" "Dr Francis J. Wright" "Francis Wright") | 79 | ("Francis J. Wright" "Dr Francis J. Wright" "Francis Wright") |
| 76 | ("François Pinard" "Francois Pinard") | 80 | ("François Pinard" "Francois Pinard") |
| 77 | ("Francesco Potortì" "Francesco Potorti" "Francesco Potorti`") | 81 | ("Francesco Potortì" "Francesco Potorti" "Francesco Potorti`") |
| @@ -122,11 +126,12 @@ files.") | |||
| 122 | ("Michaël Cadilhac" "Michael Cadilhac") | 126 | ("Michaël Cadilhac" "Michael Cadilhac") |
| 123 | ("Michael I. Bushnell" "Michael I Bushnell" "Michael I. Bushnell, p/BSG") | 127 | ("Michael I. Bushnell" "Michael I Bushnell" "Michael I. Bushnell, p/BSG") |
| 124 | ("Michael R. Cook" "Michael Cook") | 128 | ("Michael R. Cook" "Michael Cook") |
| 125 | ("Michael Sperber" "Michael Sperber \\[Mr. Preprocessor\\]") | 129 | ("Michael Sperber" "Mike Sperber" "Michael Sperber \\[Mr. Preprocessor\\]") |
| 126 | ("Mikio Nakajima" "Nakajima Mikio") | 130 | ("Mikio Nakajima" "Nakajima Mikio") |
| 127 | ("Nelson Jose dos Santos Ferreira" "Nelson Ferreira") | 131 | ("Nelson Jose dos Santos Ferreira" "Nelson Ferreira") |
| 128 | ("Noorul Islam" "Noorul Islam K M") | 132 | ("Noorul Islam" "Noorul Islam K M") |
| 129 | ;;; ("Tetsurou Okazaki" "OKAZAKI Tetsurou") ; FIXME? | 133 | ;;; ("Tetsurou Okazaki" "OKAZAKI Tetsurou") ; FIXME? |
| 134 | ("Óscar Fuentes" "Oscar Fuentes") | ||
| 130 | ("Paul Eggert" "Paul R\\. Eggert") | 135 | ("Paul Eggert" "Paul R\\. Eggert") |
| 131 | ("Pavel Janík" "Pavel Janík Ml." "Pavel Janik Ml." "Pavel Janik") | 136 | ("Pavel Janík" "Pavel Janík Ml." "Pavel Janik Ml." "Pavel Janik") |
| 132 | ("Pavel Kobiakov" "Pavel Kobyakov") | 137 | ("Pavel Kobiakov" "Pavel Kobyakov") |
| @@ -136,6 +141,7 @@ files.") | |||
| 136 | ("Peter S. Galbraith" "Peter S Galbraith" "Peter Galbraith") | 141 | ("Peter S. Galbraith" "Peter S Galbraith" "Peter Galbraith") |
| 137 | ("Peter Runestig" "Peter 'luna' Runestig") | 142 | ("Peter Runestig" "Peter 'luna' Runestig") |
| 138 | ("Piotr Zieliński" "Piotr Zielinski") | 143 | ("Piotr Zieliński" "Piotr Zielinski") |
| 144 | ("Przemysław Wojnowski" "Przemyslaw Wojnowski") | ||
| 139 | ("Rainer Schöpf" "Rainer Schoepf") | 145 | ("Rainer Schöpf" "Rainer Schoepf") |
| 140 | ("Raja R. Harinath" "Raja R Harinath") | 146 | ("Raja R. Harinath" "Raja R Harinath") |
| 141 | ("Richard G. Bielawski" "Richard G Bielawski" "Richard Bielawski") | 147 | ("Richard G. Bielawski" "Richard G Bielawski" "Richard Bielawski") |
| @@ -143,13 +149,16 @@ files.") | |||
| 143 | ("Richard M. Stallman" "Richard Stallman" "rms@gnu.org") | 149 | ("Richard M. Stallman" "Richard Stallman" "rms@gnu.org") |
| 144 | ("Robert J. Chassell" "Bob Chassell") | 150 | ("Robert J. Chassell" "Bob Chassell") |
| 145 | ("Roberto Huelga Díaz" "Roberto Huelga") | 151 | ("Roberto Huelga Díaz" "Roberto Huelga") |
| 152 | ("Rodney J. Whitby" "Rod Whitby") | ||
| 146 | ("Roland B. Roberts" "Roland B Roberts" "Roland Roberts") | 153 | ("Roland B. Roberts" "Roland B Roberts" "Roland Roberts") |
| 154 | ("Ron Schnell" "Ronnie Schnell") | ||
| 147 | ("Rui-Tao Dong" "Rui-Tao Dong ~{6-HpLN~}") | 155 | ("Rui-Tao Dong" "Rui-Tao Dong ~{6-HpLN~}") |
| 148 | ("Sacha Chua" "Sandra Jean Chua") | 156 | ("Sacha Chua" "Sandra Jean Chua") |
| 149 | ("Sam Steingold" "Sam Shteingold") | 157 | ("Sam Steingold" "Sam Shteingold") |
| 150 | ("Satyaki Das" "Indexed search by Satyaki Das") | 158 | ("Satyaki Das" "Indexed search by Satyaki Das") |
| 151 | ("Sébastien Vauban" "Sebastien Vauban") | 159 | ("Sébastien Vauban" "Sebastien Vauban") |
| 152 | ("Sergey Litvinov" "Litvinov Sergey") | 160 | ("Sergey Litvinov" "Litvinov Sergey") |
| 161 | ("Shun-ichi Goto" "Shun-ichi GOTO") | ||
| 153 | ;; There are other Stefans. | 162 | ;; There are other Stefans. |
| 154 | ;;; ("Stefan Monnier" "Stefan") | 163 | ;;; ("Stefan Monnier" "Stefan") |
| 155 | ("Steven L. Baur" "SL Baur" "Steven L Baur") | 164 | ("Steven L. Baur" "SL Baur" "Steven L Baur") |
| @@ -186,12 +195,14 @@ If REALNAME is nil, ignore that author.") | |||
| 186 | ;; FIXME seems it would be less fragile to check for O', Mc, etc. | 195 | ;; FIXME seems it would be less fragile to check for O', Mc, etc. |
| 187 | (defconst authors-fixed-case | 196 | (defconst authors-fixed-case |
| 188 | '("Barry O'Reilly" | 197 | '("Barry O'Reilly" |
| 198 | "Brian McKenna" | ||
| 189 | "Brian van den Broek" | 199 | "Brian van den Broek" |
| 190 | "Bryan O'Sullivan" | 200 | "Bryan O'Sullivan" |
| 191 | "Christian von Roques" | 201 | "Christian von Roques" |
| 192 | "Christophe de Dinechin" | 202 | "Christophe de Dinechin" |
| 193 | "Craig McDaniel" | 203 | "Craig McDaniel" |
| 194 | "Daniel LaLiberte" | 204 | "Daniel LaLiberte" |
| 205 | "Daniel McClanahan" | ||
| 195 | "David J. MacKenzie" | 206 | "David J. MacKenzie" |
| 196 | "David McCabe" | 207 | "David McCabe" |
| 197 | "David O'Toole" | 208 | "David O'Toole" |
| @@ -222,6 +233,7 @@ If REALNAME is nil, ignore that author.") | |||
| 222 | "Shun-ichi Goto" | 233 | "Shun-ichi Goto" |
| 223 | "Thomas DeWeese" | 234 | "Thomas DeWeese" |
| 224 | "Tijs van Bakel" | 235 | "Tijs van Bakel" |
| 236 | "Titus von der Malsburg" | ||
| 225 | "Yu-ji Hosokawa") | 237 | "Yu-ji Hosokawa") |
| 226 | "List of authors whose names cannot be simply capitalized.") | 238 | "List of authors whose names cannot be simply capitalized.") |
| 227 | 239 | ||
| @@ -280,6 +292,7 @@ Changes to files matching one of the regexps in this list are not listed.") | |||
| 280 | "gfdl.1" | 292 | "gfdl.1" |
| 281 | "texi/Makefile.in" | 293 | "texi/Makefile.in" |
| 282 | "autodeps.mk" | 294 | "autodeps.mk" |
| 295 | "lwlib/autodeps.mk" | ||
| 283 | "oldXMenu/autodeps.mk" | 296 | "oldXMenu/autodeps.mk" |
| 284 | "src/autodeps.mk" | 297 | "src/autodeps.mk" |
| 285 | "Imakefile" "icons/sink.ico" "aixcc.lex" | 298 | "Imakefile" "icons/sink.ico" "aixcc.lex" |
| @@ -371,9 +384,11 @@ Changes to files matching one of the regexps in this list are not listed.") | |||
| 371 | "lib/qset-acl.c" "lib/qcopy-acl.c" "lib/file-has-acl.c" | 384 | "lib/qset-acl.c" "lib/qcopy-acl.c" "lib/file-has-acl.c" |
| 372 | ;; files from old MS Windows build procedures | 385 | ;; files from old MS Windows build procedures |
| 373 | "makefile.w32-in" | 386 | "makefile.w32-in" |
| 387 | "admin/unidata/makefile.w32-in" | ||
| 374 | "unidata/makefile.w32-in" | 388 | "unidata/makefile.w32-in" |
| 375 | "lib/makefile.w32-in" | 389 | "lib/makefile.w32-in" |
| 376 | "leim/makefile.w32-in" | 390 | "leim/makefile.w32-in" |
| 391 | "lisp/makefile.w32-in" | ||
| 377 | "src/makefile.w32-in" | 392 | "src/makefile.w32-in" |
| 378 | "nt/emacs-src.tags" | 393 | "nt/emacs-src.tags" |
| 379 | "doc/emacs/makefile.w32-in" | 394 | "doc/emacs/makefile.w32-in" |
| @@ -692,8 +707,9 @@ Changes to files in this list are not listed.") | |||
| 692 | "net/zone-mode.el" "xesam.el" | 707 | "net/zone-mode.el" "xesam.el" |
| 693 | "term/mac-win.el" "sup-mouse.el" | 708 | "term/mac-win.el" "sup-mouse.el" |
| 694 | "term/apollo.el" | 709 | "term/apollo.el" |
| 695 | "term/vt102.el" "term/vt125.el" "term/vt201.el" "term/vt220.el" "term/vt300.el" | 710 | "term/vt102.el" "term/vt125.el" "term/vt201.el" "term/vt220.el" |
| 696 | "term/vt320.el" "term/vt400.el" "term/vt420.el" | 711 | "term/vt240.el" "term/vt300.el" "term/vt320.el" "term/vt400.el" |
| 712 | "term/vt420.el" | ||
| 697 | "url-https.el" | 713 | "url-https.el" |
| 698 | "org-mac-message.el" "org-mew.el" "org-w3m.el" "org-vm.el" "org-wl.el" | 714 | "org-mac-message.el" "org-mew.el" "org-w3m.el" "org-vm.el" "org-wl.el" |
| 699 | "org-mks.el" "org-remember.el" "org-xoxo.el" "org-docbook.el" | 715 | "org-mks.el" "org-remember.el" "org-xoxo.el" "org-docbook.el" |
| @@ -738,6 +754,7 @@ Changes to files in this list are not listed.") | |||
| 738 | "emacsclient.c" "etags.c" "hexl.c" "make-docfile.c" "movemail.c" | 754 | "emacsclient.c" "etags.c" "hexl.c" "make-docfile.c" "movemail.c" |
| 739 | "test-distrib.c" "testfile" | 755 | "test-distrib.c" "testfile" |
| 740 | "tpu-edt.doc" ; see below | 756 | "tpu-edt.doc" ; see below |
| 757 | "lisp/obsolete/vc-mcvs.el" | ||
| 741 | ) | 758 | ) |
| 742 | "File names which are valid, but no longer exist (or cannot be found) | 759 | "File names which are valid, but no longer exist (or cannot be found) |
| 743 | in the repository.") | 760 | in the repository.") |
| @@ -829,11 +846,14 @@ in the repository.") | |||
| 829 | ("emulation/crisp.el" . "crisp.el") | 846 | ("emulation/crisp.el" . "crisp.el") |
| 830 | ("emulation/tpu-edt.el" . "tpu-edt.el") | 847 | ("emulation/tpu-edt.el" . "tpu-edt.el") |
| 831 | ("emulation/tpu-extras.el" . "tpu-extras.el") | 848 | ("emulation/tpu-extras.el" . "tpu-extras.el") |
| 849 | ("emulation/tpu-mapper.el" . "tpu-mapper.el") | ||
| 832 | ("emulation/vi.el" . "vi.el") | 850 | ("emulation/vi.el" . "vi.el") |
| 833 | ("emulation/vip.el" . "vip.el") | 851 | ("emulation/vip.el" . "vip.el") |
| 834 | ("emulation/ws-mode.el" . "ws-mode.el") | 852 | ("emulation/ws-mode.el" . "ws-mode.el") |
| 835 | ("mail/mailpost.el" . "mailpost.el") | 853 | ("mail/mailpost.el" . "mailpost.el") |
| 854 | ("net/eudcb-ph.el" . "eudcb-ph.el") | ||
| 836 | ("play/bruce.el" . "bruce.el") | 855 | ("play/bruce.el" . "bruce.el") |
| 856 | ("lisp/play/landmark.el" . "landmark.el") | ||
| 837 | ("play/yow.el" . "yow.el") | 857 | ("play/yow.el" . "yow.el") |
| 838 | ("patcomp.el" . "patcomp.el") | 858 | ("patcomp.el" . "patcomp.el") |
| 839 | ("emulation/ws-mode.el" . "ws-mode.el") | 859 | ("emulation/ws-mode.el" . "ws-mode.el") |
| @@ -914,6 +934,7 @@ in the repository.") | |||
| 914 | ("grammars" . "grammars") | 934 | ("grammars" . "grammars") |
| 915 | ;; Moved from lisp/emacs-lisp/ to admin/. | 935 | ;; Moved from lisp/emacs-lisp/ to admin/. |
| 916 | ("emacs-lisp/authors.el" . "authors.el") | 936 | ("emacs-lisp/authors.el" . "authors.el") |
| 937 | ("emacs-lisp/find-gc.el" . "admin/find-gc.el") | ||
| 917 | ;; From etc to lisp/cedet/semantic/. | 938 | ;; From etc to lisp/cedet/semantic/. |
| 918 | ("grammars/bovine-grammar.el" . "bovine/grammar.el") | 939 | ("grammars/bovine-grammar.el" . "bovine/grammar.el") |
| 919 | ("grammars/wisent-grammar.el" . "wisent/grammar.el") | 940 | ("grammars/wisent-grammar.el" . "wisent/grammar.el") |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 1956ee5503e..a7c1d0992de 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -1996,15 +1996,17 @@ newline. | |||
| 1996 | 1996 | ||
| 1997 | If the property value is @code{t}, the newline character has no | 1997 | If the property value is @code{t}, the newline character has no |
| 1998 | effect on the displayed height of the line---the visible contents | 1998 | effect on the displayed height of the line---the visible contents |
| 1999 | alone determine the height. This is useful for tiling small images | 1999 | alone determine the height. The @code{line-spacing} property, |
| 2000 | (or image slices) without adding blank areas between the images. | 2000 | described below, is also ignored in this case. This is useful for |
| 2001 | tiling small images (or image slices) without adding blank areas | ||
| 2002 | between the images. | ||
| 2001 | 2003 | ||
| 2002 | If the property value is a list of the form @code{(@var{height} | 2004 | If the property value is a list of the form @code{(@var{height} |
| 2003 | @var{total})}, that adds extra space @emph{below} the display line. | 2005 | @var{total})}, that adds extra space @emph{below} the display line. |
| 2004 | First Emacs uses @var{height} as a height spec to control extra space | 2006 | First Emacs uses @var{height} as a height spec to control extra space |
| 2005 | @emph{above} the line; then it adds enough space @emph{below} the line | 2007 | @emph{above} the line; then it adds enough space @emph{below} the line |
| 2006 | to bring the total line height up to @var{total}. In this case, the | 2008 | to bring the total line height up to @var{total}. In this case, any |
| 2007 | other ways to specify the line spacing are ignored. | 2009 | value of @code{line-spacing} property for the newline is ignored. |
| 2008 | 2010 | ||
| 2009 | @cindex height spec | 2011 | @cindex height spec |
| 2010 | Any other kind of property value is a height spec, which translates | 2012 | Any other kind of property value is a height spec, which translates |
| @@ -2054,9 +2056,10 @@ overrides line spacings specified for the frame. | |||
| 2054 | 2056 | ||
| 2055 | @kindex line-spacing @r{(text property)} | 2057 | @kindex line-spacing @r{(text property)} |
| 2056 | Finally, a newline can have a @code{line-spacing} text or overlay | 2058 | Finally, a newline can have a @code{line-spacing} text or overlay |
| 2057 | property that overrides the default frame line spacing and the buffer | 2059 | property that can enlarge the default frame line spacing and the |
| 2058 | local @code{line-spacing} variable, for the display line ending in | 2060 | buffer local @code{line-spacing} variable: if its value is larger than |
| 2059 | that newline. | 2061 | the buffer or frame defaults, that larger value is used instead, for |
| 2062 | the display line ending in that newline. | ||
| 2060 | 2063 | ||
| 2061 | One way or another, these mechanisms specify a Lisp value for the | 2064 | One way or another, these mechanisms specify a Lisp value for the |
| 2062 | spacing of each line. The value is a height spec, and it translates | 2065 | spacing of each line. The value is a height spec, and it translates |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 1285c1c69e6..368d882a4b8 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -799,10 +799,9 @@ if @var{parent} is @code{nil}. (Again, a @code{nil} value is | |||
| 799 | 799 | ||
| 800 | @item :group | 800 | @item :group |
| 801 | If this is specified, the value should be the customization group for | 801 | If this is specified, the value should be the customization group for |
| 802 | this mode. (Not all major modes have one.) Only the (still | 802 | this mode. (Not all major modes have one.) The command |
| 803 | experimental and unadvertised) command @code{customize-mode} currently | 803 | @code{customize-mode} uses this. @code{define-derived-mode} does |
| 804 | uses this. @code{define-derived-mode} does @emph{not} automatically | 804 | @emph{not} automatically define the specified customization group. |
| 805 | define the specified customization group. | ||
| 806 | 805 | ||
| 807 | @item :after-hook | 806 | @item :after-hook |
| 808 | This optional keyword specifies a single Lisp form to evaluate as the | 807 | This optional keyword specifies a single Lisp form to evaluate as the |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index fc356af51ba..4e4c239291e 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -668,7 +668,7 @@ The strings are compared by the numeric values of their characters. | |||
| 668 | For instance, @var{str1} is considered less than @var{str2} if | 668 | For instance, @var{str1} is considered less than @var{str2} if |
| 669 | its first differing character has a smaller numeric value. If | 669 | its first differing character has a smaller numeric value. If |
| 670 | @var{ignore-case} is non-@code{nil}, characters are converted to | 670 | @var{ignore-case} is non-@code{nil}, characters are converted to |
| 671 | lower-case before comparing them. Unibyte strings are converted to | 671 | upper-case before comparing them. Unibyte strings are converted to |
| 672 | multibyte for comparison (@pxref{Text Representations}), so that a | 672 | multibyte for comparison (@pxref{Text Representations}), so that a |
| 673 | unibyte string and its conversion to multibyte are always regarded as | 673 | unibyte string and its conversion to multibyte are always regarded as |
| 674 | equal. | 674 | equal. |
| @@ -685,7 +685,8 @@ specified portion) is less. | |||
| 685 | This function works like @code{assoc}, except that @var{key} must be a | 685 | This function works like @code{assoc}, except that @var{key} must be a |
| 686 | string or symbol, and comparison is done using @code{compare-strings}. | 686 | string or symbol, and comparison is done using @code{compare-strings}. |
| 687 | Symbols are converted to strings before testing. | 687 | Symbols are converted to strings before testing. |
| 688 | If @var{case-fold} is non-@code{nil}, it ignores case differences. | 688 | If @var{case-fold} is non-@code{nil}, @var{key} and the elements of |
| 689 | @var{alist} are converted to upper-case before comparison. | ||
| 689 | Unlike @code{assoc}, this function can also match elements of the alist | 690 | Unlike @code{assoc}, this function can also match elements of the alist |
| 690 | that are strings or symbols rather than conses. In particular, @var{alist} can | 691 | that are strings or symbols rather than conses. In particular, @var{alist} can |
| 691 | be a list of strings or symbols rather than an actual alist. | 692 | be a list of strings or symbols rather than an actual alist. |
diff --git a/etc/AUTHORS b/etc/AUTHORS index 9a4aaf6d554..dc5a28eac4c 100644 --- a/etc/AUTHORS +++ b/etc/AUTHORS | |||
| @@ -3682,7 +3682,7 @@ Prestoo Ten: changed screen.el | |||
| 3682 | 3682 | ||
| 3683 | Primoz Peterlin: changed TUTORIAL.sl | 3683 | Primoz Peterlin: changed TUTORIAL.sl |
| 3684 | 3684 | ||
| 3685 | Przemyslaw Wojnowski: changed cl-lib-tests.el | 3685 | Przemysław Wojnowski: changed cl-lib-tests.el |
| 3686 | 3686 | ||
| 3687 | Przemysław Wojnowski: wrote obarray-tests.el sgml-mode-tests.el | 3687 | Przemysław Wojnowski: wrote obarray-tests.el sgml-mode-tests.el |
| 3688 | and changed obarray.el sgml-mode.el | 3688 | and changed obarray.el sgml-mode.el |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index a1eb1d20016..60d07f9bc77 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -1072,9 +1072,10 @@ are shown; the contents of those subgroups are initially hidden." | |||
| 1072 | 1072 | ||
| 1073 | ;;;###autoload | 1073 | ;;;###autoload |
| 1074 | (defun customize-mode (mode) | 1074 | (defun customize-mode (mode) |
| 1075 | "Customize options related to the current major mode. | 1075 | "Customize options related to a major or minor mode. |
| 1076 | If a prefix \\[universal-argument] was given (or if the current major mode has no known group), | 1076 | By default the current major mode is used. With a prefix |
| 1077 | then prompt for the MODE to customize." | 1077 | argument or if the current major mode has no known group, prompt |
| 1078 | for the MODE to customize." | ||
| 1078 | (interactive | 1079 | (interactive |
| 1079 | (list | 1080 | (list |
| 1080 | (let ((completion-regexp-list '("-mode\\'")) | 1081 | (let ((completion-regexp-list '("-mode\\'")) |
| @@ -1083,8 +1084,8 @@ then prompt for the MODE to customize." | |||
| 1083 | major-mode | 1084 | major-mode |
| 1084 | (intern | 1085 | (intern |
| 1085 | (completing-read (if group | 1086 | (completing-read (if group |
| 1086 | (format "Major mode (default %s): " major-mode) | 1087 | (format "Mode (default %s): " major-mode) |
| 1087 | "Major mode: ") | 1088 | "Mode: ") |
| 1088 | obarray | 1089 | obarray |
| 1089 | 'custom-group-of-mode | 1090 | 'custom-group-of-mode |
| 1090 | t nil nil (if group (symbol-name major-mode)))))))) | 1091 | t nil nil (if group (symbol-name major-mode)))))))) |
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 744474ca113..c653d735543 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -1840,10 +1840,11 @@ If RECURSIVE, search recursively." | |||
| 1840 | (defvar shr-image-map) | 1840 | (defvar shr-image-map) |
| 1841 | 1841 | ||
| 1842 | (autoload 'widget-convert-button "wid-edit") | 1842 | (autoload 'widget-convert-button "wid-edit") |
| 1843 | (defvar widget-keymap) | ||
| 1843 | 1844 | ||
| 1844 | (defun mm-convert-shr-links () | 1845 | (defun mm-convert-shr-links () |
| 1845 | (let ((start (point-min)) | 1846 | (let ((start (point-min)) |
| 1846 | end) | 1847 | end keymap) |
| 1847 | (while (and start | 1848 | (while (and start |
| 1848 | (< start (point-max))) | 1849 | (< start (point-max))) |
| 1849 | (when (setq start (text-property-not-all start (point-max) 'shr-url nil)) | 1850 | (when (setq start (text-property-not-all start (point-max) 'shr-url nil)) |
| @@ -1851,10 +1852,16 @@ If RECURSIVE, search recursively." | |||
| 1851 | (widget-convert-button | 1852 | (widget-convert-button |
| 1852 | 'url-link start end | 1853 | 'url-link start end |
| 1853 | :help-echo (get-text-property start 'help-echo) | 1854 | :help-echo (get-text-property start 'help-echo) |
| 1854 | ;;; FIXME Should only use the image map on images. | 1855 | :keymap (setq keymap (copy-keymap shr-map)) |
| 1855 | :keymap shr-image-map | ||
| 1856 | (get-text-property start 'shr-url)) | 1856 | (get-text-property start 'shr-url)) |
| 1857 | (put-text-property start end 'local-map nil) | 1857 | ;; Remove keymap that `shr-urlify' adds. |
| 1858 | (put-text-property start end 'keymap nil) | ||
| 1859 | ;; Mask keys that launch `widget-button-click'. | ||
| 1860 | ;; Those bindings are provided by `widget-keymap' | ||
| 1861 | ;; that is a parent of `gnus-article-mode-map'. | ||
| 1862 | (dolist (key (where-is-internal #'widget-button-click widget-keymap)) | ||
| 1863 | (unless (lookup-key keymap key) | ||
| 1864 | (define-key keymap key #'ignore))) | ||
| 1858 | (dolist (overlay (overlays-at start)) | 1865 | (dolist (overlay (overlays-at start)) |
| 1859 | (overlay-put overlay 'face nil)) | 1866 | (overlay-put overlay 'face nil)) |
| 1860 | (setq start end))))) | 1867 | (setq start end))))) |
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 306b36ae951..ef7b77969e6 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -307,19 +307,7 @@ The string is based on `url-privacy-level' and `url-user-agent'." | |||
| 307 | ;; allows us to elide null lines directly, at the cost of making | 307 | ;; allows us to elide null lines directly, at the cost of making |
| 308 | ;; the layout less clear. | 308 | ;; the layout less clear. |
| 309 | (setq request | 309 | (setq request |
| 310 | ;; We used to concat directly, but if one of the strings happens | 310 | (concat |
| 311 | ;; to being multibyte (even if it only contains pure ASCII) then | ||
| 312 | ;; every string gets converted with `string-MAKE-multibyte' which | ||
| 313 | ;; turns the 127-255 codes into things like latin-1 accented chars | ||
| 314 | ;; (it would work right if it used `string-TO-multibyte' instead). | ||
| 315 | ;; So to avoid the problem we force every string to be unibyte. | ||
| 316 | (mapconcat | ||
| 317 | ;; FIXME: Instead of `string-AS-unibyte' we'd want | ||
| 318 | ;; `string-to-unibyte', so as to properly signal an error if one | ||
| 319 | ;; of the strings contains a multibyte char. | ||
| 320 | 'string-as-unibyte | ||
| 321 | (delq nil | ||
| 322 | (list | ||
| 323 | ;; The request | 311 | ;; The request |
| 324 | (or url-http-method "GET") " " | 312 | (or url-http-method "GET") " " |
| 325 | (if using-proxy (url-recreate-url url-http-target-url) real-fname) | 313 | (if using-proxy (url-recreate-url url-http-target-url) real-fname) |
| @@ -398,7 +386,10 @@ The string is based on `url-privacy-level' and `url-user-agent'." | |||
| 398 | "\r\n" | 386 | "\r\n" |
| 399 | ;; Any data | 387 | ;; Any data |
| 400 | url-http-data)) | 388 | url-http-data)) |
| 401 | "")) | 389 | ;; Bug#23750 |
| 390 | (unless (= (string-bytes request) | ||
| 391 | (length request)) | ||
| 392 | (error "Multibyte text in HTTP request: %s" request)) | ||
| 402 | (url-http-debug "Request is: \n%s" request) | 393 | (url-http-debug "Request is: \n%s" request) |
| 403 | request)) | 394 | request)) |
| 404 | 395 | ||
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 783ea89c6ce..e6fe0196d88 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el | |||
| @@ -1434,7 +1434,8 @@ The difference to vc-do-command is that this function always invokes | |||
| 1434 | (let ((coding-system-for-read | 1434 | (let ((coding-system-for-read |
| 1435 | (or coding-system-for-read vc-git-log-output-coding-system)) | 1435 | (or coding-system-for-read vc-git-log-output-coding-system)) |
| 1436 | (coding-system-for-write | 1436 | (coding-system-for-write |
| 1437 | (or coding-system-for-write vc-git-commits-coding-system))) | 1437 | (or coding-system-for-write vc-git-commits-coding-system)) |
| 1438 | (process-environment (cons "GIT_DIR" process-environment))) | ||
| 1438 | (apply 'vc-do-command (or buffer "*vc*") okstatus vc-git-program | 1439 | (apply 'vc-do-command (or buffer "*vc*") okstatus vc-git-program |
| 1439 | ;; http://debbugs.gnu.org/16897 | 1440 | ;; http://debbugs.gnu.org/16897 |
| 1440 | (unless (and (not (cdr-safe file-or-list)) | 1441 | (unless (and (not (cdr-safe file-or-list)) |
| @@ -1462,6 +1463,7 @@ The difference to vc-do-command is that this function always invokes | |||
| 1462 | (coding-system-for-write | 1463 | (coding-system-for-write |
| 1463 | (or coding-system-for-write vc-git-commits-coding-system)) | 1464 | (or coding-system-for-write vc-git-commits-coding-system)) |
| 1464 | (process-environment (cons "PAGER=" process-environment))) | 1465 | (process-environment (cons "PAGER=" process-environment))) |
| 1466 | (push "GIT_DIR" process-environment) | ||
| 1465 | (apply 'process-file vc-git-program nil buffer nil command args))) | 1467 | (apply 'process-file vc-git-program nil buffer nil command args))) |
| 1466 | 1468 | ||
| 1467 | (defun vc-git--out-ok (command &rest args) | 1469 | (defun vc-git--out-ok (command &rest args) |
diff --git a/src/callproc.c b/src/callproc.c index 07297820cac..7008b916dad 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1094,7 +1094,7 @@ add_env (char **env, char **new_env, char *string) | |||
| 1094 | char *p = *ep, *q = string; | 1094 | char *p = *ep, *q = string; |
| 1095 | while (ok) | 1095 | while (ok) |
| 1096 | { | 1096 | { |
| 1097 | if (*q != *p) | 1097 | if (*p && *q != *p) |
| 1098 | break; | 1098 | break; |
| 1099 | if (*q == 0) | 1099 | if (*q == 0) |
| 1100 | /* The string is a lone variable name; keep it for now, we | 1100 | /* The string is a lone variable name; keep it for now, we |
| @@ -226,7 +226,7 @@ Like in `substring', negative values are counted from the end. | |||
| 226 | The strings are compared by the numeric values of their characters. | 226 | The strings are compared by the numeric values of their characters. |
| 227 | For instance, STR1 is "less than" STR2 if its first differing | 227 | For instance, STR1 is "less than" STR2 if its first differing |
| 228 | character has a smaller numeric value. If IGNORE-CASE is non-nil, | 228 | character has a smaller numeric value. If IGNORE-CASE is non-nil, |
| 229 | characters are converted to lower-case before comparing them. Unibyte | 229 | characters are converted to upper-case before comparing them. Unibyte |
| 230 | strings are converted to multibyte for comparison. | 230 | strings are converted to multibyte for comparison. |
| 231 | 231 | ||
| 232 | The value is t if the strings (or specified portions) match. | 232 | The value is t if the strings (or specified portions) match. |
diff --git a/src/minibuf.c b/src/minibuf.c index 7bad6f0e018..efce7e26b29 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1838,8 +1838,8 @@ DEFUN ("assoc-string", Fassoc_string, Sassoc_string, 2, 3, 0, | |||
| 1838 | This returns the first element of LIST whose car matches the string or | 1838 | This returns the first element of LIST whose car matches the string or |
| 1839 | symbol KEY, or nil if no match exists. When performing the | 1839 | symbol KEY, or nil if no match exists. When performing the |
| 1840 | comparison, symbols are first converted to strings, and unibyte | 1840 | comparison, symbols are first converted to strings, and unibyte |
| 1841 | strings to multibyte. If the optional arg CASE-FOLD is non-nil, case | 1841 | strings to multibyte. If the optional arg CASE-FOLD is non-nil, both |
| 1842 | is ignored. | 1842 | KEY and the elements of LIST are upcased for comparison. |
| 1843 | 1843 | ||
| 1844 | Unlike `assoc', KEY can also match an entry in LIST consisting of a | 1844 | Unlike `assoc', KEY can also match an entry in LIST consisting of a |
| 1845 | single string, rather than a cons cell whose car is a string. */) | 1845 | single string, rather than a cons cell whose car is a string. */) |
diff --git a/test/ChangeLog.1 b/test/ChangeLog.1 index 3520f13df60..367ca74b7b9 100644 --- a/test/ChangeLog.1 +++ b/test/ChangeLog.1 | |||
| @@ -79,7 +79,7 @@ | |||
| 79 | * indent/js-indent-first-initialiser-dynamic.js: | 79 | * indent/js-indent-first-initialiser-dynamic.js: |
| 80 | New tests for `js-indent-first-initialiser'. | 80 | New tests for `js-indent-first-initialiser'. |
| 81 | 81 | ||
| 82 | 2015-03-10 Przemyslaw Wojnowski <esperanto@cumego.com> | 82 | 2015-03-10 Przemysław Wojnowski <esperanto@cumego.com> |
| 83 | 83 | ||
| 84 | * automated/cl-lib-tests.el: Add tests for plusp, second, ... | 84 | * automated/cl-lib-tests.el: Add tests for plusp, second, ... |
| 85 | (cl-lib-test-plusp, cl-lib-test-minusp) | 85 | (cl-lib-test-plusp, cl-lib-test-minusp) |
diff --git a/test/lisp/emulation/viper-tests.el b/test/lisp/emulation/viper-tests.el index 074dd637538..0d6095b2c92 100644 --- a/test/lisp/emulation/viper-tests.el +++ b/test/lisp/emulation/viper-tests.el | |||
| @@ -38,7 +38,7 @@ after itself, although it will leave a buffer called | |||
| 38 | ;; Select an expert-level for the same reason. | 38 | ;; Select an expert-level for the same reason. |
| 39 | (viper-expert-level 5) | 39 | (viper-expert-level 5) |
| 40 | ;; viper loads this even with -q so make sure it's empty! | 40 | ;; viper loads this even with -q so make sure it's empty! |
| 41 | (viper-custom-file-name (make-temp-file "viper-tests")) | 41 | (viper-custom-file-name (make-temp-file "viper-tests" nil ".elc")) |
| 42 | (before-buffer (current-buffer))) | 42 | (before-buffer (current-buffer))) |
| 43 | (unwind-protect | 43 | (unwind-protect |
| 44 | (progn | 44 | (progn |