diff options
| author | Glenn Morris | 2019-06-15 09:50:32 -0700 |
|---|---|---|
| committer | Glenn Morris | 2019-06-15 09:50:32 -0700 |
| commit | 689e7c0070827033a0f9ef954eb006778acde0cf (patch) | |
| tree | e6b21e7f07fa3ab326d1e0bb7ed75e3a04383a8c | |
| parent | ca0b4edf1364fd8d894f91c6032634e49b797c26 (diff) | |
| parent | f53ce87b07cf845b14774ca24aef1e4285e54f78 (diff) | |
| download | emacs-689e7c0070827033a0f9ef954eb006778acde0cf.tar.gz emacs-689e7c0070827033a0f9ef954eb006778acde0cf.zip | |
Merge from origin/emacs-26
f53ce87 ; ChangeLog.3 update
eca2677 Fix description of 'display-buffer-in-previous-window' again ...
7be50cd Consistently use @minus{} for negative arguments
# Conflicts:
# ChangeLog.3
| -rw-r--r-- | ChangeLog.3 | 877 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/killing.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/mark.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 11 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/searching.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 50 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 2 | ||||
| -rw-r--r-- | lisp/window.el | 22 |
10 files changed, 942 insertions, 34 deletions
diff --git a/ChangeLog.3 b/ChangeLog.3 index fbaf8138528..c04940257fa 100644 --- a/ChangeLog.3 +++ b/ChangeLog.3 | |||
| @@ -1,3 +1,878 @@ | |||
| 1 | 2019-06-15 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | Fix description of 'display-buffer-in-previous-window' again (Bug#36161) | ||
| 4 | |||
| 5 | * lisp/window.el (display-buffer-in-previous-window): Make | ||
| 6 | doc-string more explicit (Bug#36161). | ||
| 7 | * doc/lispref/windows.texi (Buffer Display Action Functions): | ||
| 8 | Make description of 'display-buffer-in-previous-window' more | ||
| 9 | explicit. | ||
| 10 | (Buffer Display Action Alists): Mention | ||
| 11 | 'display-buffer-in-previous-window' in description of | ||
| 12 | 'reusable-frames' entry. | ||
| 13 | |||
| 14 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 15 | |||
| 16 | Consistently use @minus{} for negative arguments | ||
| 17 | |||
| 18 | * doc/emacs/mark.texi (Marking Objects): | ||
| 19 | * doc/misc/gnus.texi (Selecting a Group): | ||
| 20 | * doc/emacs/programs.texi (Comment Commands): | ||
| 21 | * doc/emacs/killing.texi (Deletion): | ||
| 22 | * doc/emacs/display.texi (Recentering): | ||
| 23 | * doc/lispref/display.texi (Face Attributes): | ||
| 24 | * doc/lispref/searching.texi (String Search, Regexp Search): | ||
| 25 | Make the markup of "-N" use @minus{} uniformly. (Bug#35885) | ||
| 26 | |||
| 27 | 2019-06-15 Martin Rudalics <rudalics@gmx.at> | ||
| 28 | |||
| 29 | Fix doc of 'display-buffer-in-previous-window' (Bug#36161) | ||
| 30 | |||
| 31 | * doc/lispref/windows.texi (Buffer Display Action Functions): | ||
| 32 | * lisp/window.el (display-buffer-in-previous-window): Tell | ||
| 33 | that 'display-buffer-in-previous-window' prefers | ||
| 34 | non-selected windows (Bug#36161). | ||
| 35 | |||
| 36 | 2019-06-15 Juanma Barranquero <lekktu@gmail.com> | ||
| 37 | |||
| 38 | lisp/*.el: Minor docstring fixes | ||
| 39 | |||
| 40 | * lisp/subr.el (definition-prefixes): Reflow docstring. | ||
| 41 | |||
| 42 | * lisp/svg.el (svg-create): Doc fix to allow arg higlighting. | ||
| 43 | (svg-gradient, svg-rectangle): Improve docstring formatting. | ||
| 44 | |||
| 45 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 46 | |||
| 47 | Avoid assertion violation when comparing with main-thread | ||
| 48 | |||
| 49 | * src/thread.c (unmark_main_thread): New function. | ||
| 50 | * src/lisp.h (unmark_main_thread): Prototype it. | ||
| 51 | * src/alloc.c (garbage_collect_1): Call it after sweeping. | ||
| 52 | (Bug#33073) | ||
| 53 | |||
| 54 | * test/src/thread-tests.el (threads-test-bug33073): New test. | ||
| 55 | |||
| 56 | 2019-06-15 Andreas Schwab <schwab@linux-m68k.org> | ||
| 57 | |||
| 58 | Revert "Don't mark main_thread (Bug#36155)" | ||
| 59 | |||
| 60 | This reverts commit 1877b7b4d79b3434379fd5a4abd85906c25df00c. | ||
| 61 | |||
| 62 | 2019-06-15 Andreas Schwab <schwab@linux-m68k.org> | ||
| 63 | |||
| 64 | Don't mark main_thread (Bug#36155) | ||
| 65 | |||
| 66 | * src/thread.c (mark_threads_callback): Don't mark main_thread. | ||
| 67 | |||
| 68 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 69 | |||
| 70 | More quotation fixes (Bug#35885) | ||
| 71 | |||
| 72 | * doc/emacs/text.texi (Quotation Marks): Fix a typo. | ||
| 73 | * doc/emacs/modes.texi (Minor Modes): Fix another case of | ||
| 74 | showing quotations. | ||
| 75 | |||
| 76 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 77 | |||
| 78 | Minor copyedits in efaq-w32 | ||
| 79 | |||
| 80 | * doc/misc/efaq-w32.texi (Grep, Recursive grep): More accurate | ||
| 81 | description of using 'findstr' as a poor-man's replacement for | ||
| 82 | 'grep'. Reported by 范凯 <m_pupil@163.com> | ||
| 83 | |||
| 84 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 85 | |||
| 86 | Tiny improvement of documentation of major mode conventions | ||
| 87 | |||
| 88 | * doc/lispref/modes.texi (Major Mode Conventions): More | ||
| 89 | accurate advice regarding customization of 'C-M-a' by major | ||
| 90 | modes. | ||
| 91 | |||
| 92 | 2019-06-15 Juanma Barranquero <lekktu@gmail.com> | ||
| 93 | |||
| 94 | * nt/addpm.c (main): Fix buffer overflow | ||
| 95 | |||
| 96 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 97 | |||
| 98 | Resurrect display-line-number-mode in client frames | ||
| 99 | |||
| 100 | * lisp/linum.el (linum-on): Mention bug#35726 in a comment. | ||
| 101 | * lisp/display-line-numbers.el | ||
| 102 | (display-line-numbers--turn-on): Don't check for daemon. | ||
| 103 | (Bug#35726) | ||
| 104 | |||
| 105 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 106 | |||
| 107 | * src/fns.c (Fmapconcat): Doc fix. (Bug#35710) | ||
| 108 | |||
| 109 | 2019-06-15 Phillip Lord <phillip.lord@russet.org.uk> | ||
| 110 | |||
| 111 | Fix typo | ||
| 112 | |||
| 113 | * nt/README.W32: | ||
| 114 | |||
| 115 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 116 | |||
| 117 | * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36083) | ||
| 118 | |||
| 119 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 120 | |||
| 121 | Fix styling of Unicode codepoints in manuals | ||
| 122 | |||
| 123 | * doc/lispref/nonascii.texi (Character Properties): | ||
| 124 | * doc/lispref/display.texi (Glyphless Chars) | ||
| 125 | (Bidirectional Display): | ||
| 126 | * doc/emacs/search.texi (Lax Search): | ||
| 127 | * doc/emacs/text.texi (Quotation Marks): | ||
| 128 | * doc/emacs/basic.texi (Inserting Text): Canonicalize the | ||
| 129 | style of "U+NNNN CHARACTER NAME". (Bug#35885) | ||
| 130 | |||
| 131 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 132 | |||
| 133 | Fix a few uses of quotes in user manual | ||
| 134 | |||
| 135 | * doc/emacs/text.texi (Quotation Marks): | ||
| 136 | * doc/emacs/display.texi (Text Display): | ||
| 137 | * doc/emacs/basic.texi (Inserting Text): Fix some more | ||
| 138 | quotes. (Bug#35885) | ||
| 139 | |||
| 140 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 141 | |||
| 142 | More minor copyedits in the Emacs manual | ||
| 143 | |||
| 144 | * doc/emacs/basic.texi (Arguments): | ||
| 145 | * doc/emacs/display.texi (Recentering, Text Display): | ||
| 146 | * doc/emacs/regs.texi (Text Registers, Rectangle Registers): | ||
| 147 | * doc/emacs/mark.texi (Disabled Transient Mark): Fix | ||
| 148 | inaccuracies and typos. (Bug#35885) | ||
| 149 | |||
| 150 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 151 | |||
| 152 | Fix minor issues in the Emacs manual | ||
| 153 | |||
| 154 | * doc/emacs/search.texi (Regexp Replace, Regexps): | ||
| 155 | * doc/emacs/kmacro.texi (Keyboard Macro Query) | ||
| 156 | (Save Keyboard Macro): Fix inaccuracies and typos. | ||
| 157 | (Bug#35885) | ||
| 158 | |||
| 159 | 2019-06-15 Martin Rudalics <rudalics@gmx.at> | ||
| 160 | |||
| 161 | Try to improve text on atomic windows in Elisp manual | ||
| 162 | |||
| 163 | * doc/lispref/windows.texi (Deleting Windows): Mention how | ||
| 164 | 'delete-window' and 'delete-other-windows' handle atomic | ||
| 165 | windows. Minor rewrite. | ||
| 166 | (Quitting Windows): Mention how 'quit-restore-window' handles | ||
| 167 | atomic windows and that it tries to avoid raising an error. | ||
| 168 | (Atomic Windows): Tell how to dissolve atomic windows. | ||
| 169 | |||
| 170 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 171 | |||
| 172 | Don't recommend insert-before-markers in process filters | ||
| 173 | |||
| 174 | See <https://lists.gnu.org/r/emacs-devel/2019-05/msg00062.html> and | ||
| 175 | Bug#35334. | ||
| 176 | * doc/lispref/processes.texi (Filter Functions): Go back to using | ||
| 177 | plain insert in the example filter. Add note about updating window | ||
| 178 | point. | ||
| 179 | |||
| 180 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 181 | |||
| 182 | Disable byte-compile-cond-use-jump-table (Bug#35770) | ||
| 183 | |||
| 184 | * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): Set | ||
| 185 | to nil by default. | ||
| 186 | |||
| 187 | Don't merge to master, the bug is already fixed there. | ||
| 188 | |||
| 189 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 190 | |||
| 191 | Allow macros autoloaded as functions during bytecomp (Bug#36022) | ||
| 192 | |||
| 193 | * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't pass | ||
| 194 | symbols which don't have a known definition to | ||
| 195 | byte-compile--function-signature, it fails to compile code which | ||
| 196 | previously compiled successfully (for example, gnus.el until | ||
| 197 | 2019-06-01 "* lisp/gnus/gnus.el: Mark autoloaded macros as such" which | ||
| 198 | autoloads some macros as if they were functions). | ||
| 199 | |||
| 200 | 2019-06-15 Glenn Morris <rgm@gnu.org> | ||
| 201 | |||
| 202 | * lisp/gnus/gnus.el: Mark autoloaded macros as such. | ||
| 203 | |||
| 204 | This avoids a build failure. | ||
| 205 | |||
| 206 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 207 | |||
| 208 | Speed up redisplay of HELLO | ||
| 209 | |||
| 210 | * etc/HELLO: Set 'inhibit-compacting-font-caches' non-nil | ||
| 211 | locally. (Bug#36032) | ||
| 212 | |||
| 213 | * lisp/files.el: Add 'inhibit-compacting-font-caches' to the | ||
| 214 | list of built-in variables for which we set up | ||
| 215 | 'safe-local-variable' properties. | ||
| 216 | |||
| 217 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 218 | |||
| 219 | Improve documentation of 'safe-local-variable' property | ||
| 220 | |||
| 221 | * doc/lispref/variables.texi (File Local Variables): Document | ||
| 222 | how to define 'safe-local-variable' properties for built-in | ||
| 223 | variables. | ||
| 224 | |||
| 225 | 2019-06-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 226 | |||
| 227 | * lisp/emacs-lisp/package.el: Obey buffer-file-coding-system (bug#35739) | ||
| 228 | |||
| 229 | `url-insert-file-contents` saves in buffer-file-coding-system | ||
| 230 | the coding-system used to decode the contents. Preserve this | ||
| 231 | as the contents is moved from buffer to string to buffer, and use | ||
| 232 | it when saving the contents to file, so as to try and better preserve | ||
| 233 | the original byte sequence. | ||
| 234 | |||
| 235 | (package--buffer-string, package--cs): New functions. | ||
| 236 | (package--check-signature): Encode `string` if a coding-system | ||
| 237 | was specified in buffer-file-coding-system. | ||
| 238 | (package--download-one-archive, package-install-from-archive): | ||
| 239 | Obey and preserve the buffer-file-coding-system if specified. | ||
| 240 | |||
| 241 | Do not merge. | ||
| 242 | |||
| 243 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 244 | |||
| 245 | Warn about wrong number of args for subrs (Bug#35767) | ||
| 246 | |||
| 247 | * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't | ||
| 248 | assume byte-compile-fdefinition will return non-nil. | ||
| 249 | * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-warn-wrong-args) | ||
| 250 | (bytecomp-warn-wrong-args-subr): New tests. | ||
| 251 | |||
| 252 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 253 | |||
| 254 | Use plain symbols for eieio type descriptors (Bug#29220) | ||
| 255 | |||
| 256 | Since Emacs 26, eieio objects use a class record (with circular | ||
| 257 | references) as the type descriptor of the object record. This causes | ||
| 258 | problems when reading back an object from a string, because the class | ||
| 259 | record is not `eq' to the canonical one (which means that read objects | ||
| 260 | don't satisfy the foo-p predicate). | ||
| 261 | * lisp/emacs-lisp/eieio.el (make-instance): As a (partial) fix, set | ||
| 262 | the record's type descriptor to a plain symbol for the type descriptor | ||
| 263 | when eieio-backward-compatibility is non-nil (the default). | ||
| 264 | * lisp/emacs-lisp/eieio-core.el (eieio--object-class): Call | ||
| 265 | eieio--class-object on the type tag when eieio-backward-compatibility | ||
| 266 | is non-nil. | ||
| 267 | (eieio-object-p): Use eieio--object-class instead of | ||
| 268 | eieio--object-class-tag. | ||
| 269 | * test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el | ||
| 270 | (eieio-test-persist-hash-and-vector) | ||
| 271 | (eieio-test-persist-interior-lists): Make into functions. | ||
| 272 | (eieio-persist-hash-and-vector-backward-compatibility) | ||
| 273 | (eieio-persist-hash-and-vector-no-backward-compatibility) | ||
| 274 | (eieio-test-persist-interior-lists-backward-compatibility) | ||
| 275 | (eieio-test-persist-interior-lists-no-backward-compatibility): New | ||
| 276 | tests which call them, eieio-backward-compatibility let-bound. | ||
| 277 | |||
| 278 | 2019-06-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 279 | |||
| 280 | Pacify GCC 9 -Wredundant-decls | ||
| 281 | |||
| 282 | * src/gmalloc.c (_fraghead) [!HYBRID_MALLOC]: | ||
| 283 | Make it static in this case, too. This avoids having both | ||
| 284 | ‘extern struct list _fraghead[];’ and | ||
| 285 | ‘static struct list _fraghead[BLOCKLOG];’, which | ||
| 286 | GCC 9 complains about. | ||
| 287 | |||
| 288 | 2019-06-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 289 | |||
| 290 | Pacify librsvg 2.45.1 and later | ||
| 291 | |||
| 292 | * src/image.c (svg_load_image): Pacify librsvg 2.45.1 and later, | ||
| 293 | and add a FIXME comment about the deprecated librsvg functions. | ||
| 294 | Backport from master. | ||
| 295 | |||
| 296 | 2019-06-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 297 | |||
| 298 | Simplify xd_signature to pacify GCC 9 | ||
| 299 | |||
| 300 | * src/dbusbind.c (xd_signature): Use simpler way to set up | ||
| 301 | the subsignature. This also pacifies GCC 9 on Fedora 30 x86-64. | ||
| 302 | Backport from master. | ||
| 303 | |||
| 304 | 2019-06-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 305 | |||
| 306 | Pacify GCC when compiling unexelf.c on Fedora 30 | ||
| 307 | |||
| 308 | * src/unexelf.c (unexec): Pacify GCC 9. | ||
| 309 | |||
| 310 | 2019-06-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 311 | |||
| 312 | Suppress GCC 9 “no longer supported” messages | ||
| 313 | |||
| 314 | * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Remove -Wchkp. | ||
| 315 | This suppresses a boatload of warnings of the form | ||
| 316 | “gcc: warning: switch ‘-Wchkp’ is no longer supported”. | ||
| 317 | when using GCC 9. Do not merge to master. | ||
| 318 | |||
| 319 | 2019-06-15 Stefan Kangas <stefankangas@gmail.com> | ||
| 320 | |||
| 321 | Fix docstring of bookmark-get-bookmark | ||
| 322 | |||
| 323 | * lisp/bookmark.el (bookmark-get-bookmark): Document optional | ||
| 324 | argument NOERROR. (bug#20148) | ||
| 325 | |||
| 326 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 327 | |||
| 328 | Avoid infloop in read-multiple-choice (Bug#32257) | ||
| 329 | |||
| 330 | * lisp/emacs-lisp/rmc.el (read-multiple-choice): When `read-char' | ||
| 331 | signals an error "Non-character input-event", call `read-event' to | ||
| 332 | take the non-character event out of the queue. Don't merge to master, | ||
| 333 | we just use `read-event' directly there, rather than this solution | ||
| 334 | which relies a particular error message. | ||
| 335 | |||
| 336 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 337 | |||
| 338 | Improve documentation of decoding into a unibyte buffer | ||
| 339 | |||
| 340 | * doc/lispref/nonascii.texi (Explicit Encoding): Document what | ||
| 341 | happens when DESTINATION of decoding is a unibyte buffer. | ||
| 342 | |||
| 343 | * src/coding.c (Fdecode_coding_region) | ||
| 344 | (Fdecode_coding_string): Document what happens if DESTINATION | ||
| 345 | is a unibyte buffer. | ||
| 346 | |||
| 347 | 2019-06-15 Mauro Aranda <maurooaranda@gmail.com> | ||
| 348 | |||
| 349 | Remove redundants "See" before @xref or @pxref (Bug#35793) | ||
| 350 | |||
| 351 | * doc/lispref/control.texi (Control Structures): | ||
| 352 | * doc/lispref/modes.texi (Search-based Fontification): | ||
| 353 | * doc/misc/cc-mode.texi (Filling and Line Breaking Commands) | ||
| 354 | (Auto-newline Insertion, Other Special Indentations): | ||
| 355 | * doc/misc/dbus.texi (Errors and Events): | ||
| 356 | * doc/misc/dired-x.texi (Find File At Point): | ||
| 357 | * doc/misc/eudc.texi (Display of Query Results, Inline Query Expansion): | ||
| 358 | * doc/misc/gnus-faq.texi (FAQ 3-11): | ||
| 359 | * doc/misc/gnus.texi (Group Parameters, Posting Styles) | ||
| 360 | (Spam Package Introduction): | ||
| 361 | * doc/misc/org.texi (LaTeX fragments, Previewing LaTeX fragments): | ||
| 362 | * doc/misc/reftex.texi (Commands): | ||
| 363 | Remove redundant "See" before cross references. | ||
| 364 | * doc/lispref/functions.texi (Function Safety): Redundant "see" is in | ||
| 365 | ignored text, but remove it anyway. | ||
| 366 | * doc/lispref/positions.texi (Skipping Characters): Remove redundant | ||
| 367 | "See" before cross references. Change @xref to @pxref, which is | ||
| 368 | more suitable when at the end of a sentence. | ||
| 369 | |||
| 370 | Most of the redundants "See" found by Noam Postavsky. | ||
| 371 | |||
| 372 | 2019-06-15 Dario Gjorgjevski <dario.gjorgjevski@gmail.com> | ||
| 373 | |||
| 374 | Fix customization type of recentf-max-saved-items | ||
| 375 | |||
| 376 | Change the customization type of recentf-max-saved-items to include | ||
| 377 | nil, as it is an allowed value (Bug#35771). | ||
| 378 | * lisp/recentf.el (recentf-max-saved-items): Change the customization | ||
| 379 | type in the defcustom. | ||
| 380 | |||
| 381 | 2019-06-15 Tom Levy <tomlevy93@gmail.com> (tiny change) | ||
| 382 | |||
| 383 | Fix a typo in ELisp manual | ||
| 384 | |||
| 385 | * doc/lispref/sequences.texi (Sequence Functions): Fix a typo. | ||
| 386 | (Bug#35817) | ||
| 387 | |||
| 388 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 389 | |||
| 390 | Add option to disable help completion autoloading (Bug#28607) | ||
| 391 | |||
| 392 | * lisp/help-fns.el (help-enable-completion-auto-load): New option. | ||
| 393 | (help--symbol-completion-table): Consult it. | ||
| 394 | * doc/emacs/building.texi (Lisp Libraries): Document it. | ||
| 395 | * etc/NEWS: Announce it. | ||
| 396 | * doc/lispref/loading.texi (Autoload by Prefix): New section. | ||
| 397 | (Autoload): Reference it. | ||
| 398 | |||
| 399 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 400 | |||
| 401 | Don't segfault on force-window-update of deleted window | ||
| 402 | |||
| 403 | * src/window.c (Fforce_window_update): Do nothing for deleted | ||
| 404 | windows (Bug#35784). | ||
| 405 | |||
| 406 | 2019-06-15 Mauro Aranda <maurooaranda@gmail.com> | ||
| 407 | |||
| 408 | Fix typo in ELisp manual | ||
| 409 | |||
| 410 | * doc/lispref/variables.texi (Directory Local Variables): Fix typo in | ||
| 411 | dir-locals-set-class-variables description. (Bug#35799) | ||
| 412 | |||
| 413 | 2019-06-15 Mauro Aranda <maurooaranda@gmail.com> | ||
| 414 | |||
| 415 | Remove repeated function call in picture.el | ||
| 416 | |||
| 417 | * lisp/textmodes/picture.el (picture-mode-map): Remove repeated | ||
| 418 | define-key call. (Bug#35772) | ||
| 419 | |||
| 420 | 2019-06-15 Basil L. Contovounesios <contovob@tcd.ie> | ||
| 421 | |||
| 422 | Fix Hideshow key binding typo in Emacs manual | ||
| 423 | |||
| 424 | * doc/emacs/programs.texi (Hideshow): Add missing function and key | ||
| 425 | index entries. Fix hs-toggle-hiding binding typo. (bug#35798) | ||
| 426 | |||
| 427 | 2019-06-15 Eric Abrahamsen <eric@ericabrahamsen.net> | ||
| 428 | |||
| 429 | Backport: Fix name of gnus-summary-sort-by-mark(s) | ||
| 430 | |||
| 431 | * lisp/gnus/gnus-sum.el (gnus-summary-sort-by-marks): Needs the | ||
| 432 | "s", according to docs and keymap both. (bug#35765) | ||
| 433 | |||
| 434 | (cherry picked from commit 13248f7444630508cfc3b78a07e8d96613af11c8) | ||
| 435 | |||
| 436 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 437 | |||
| 438 | Remove from docs references to obsolete MULE variables | ||
| 439 | |||
| 440 | * src/search.c (search_buffer): Remove obsolete text from a | ||
| 441 | comment. | ||
| 442 | * src/fns.c (Fstring_make_unibyte): Remove obsolete text from | ||
| 443 | a doc string. | ||
| 444 | |||
| 445 | 2019-06-15 Konstantin Kharlamov <Hi-Angel@yandex.ru> | ||
| 446 | |||
| 447 | Do potentially destructive operations in prepare-commit-msg | ||
| 448 | |||
| 449 | * build-aux/git-hooks/prepare-commit-msg: If someone occasionally puts | ||
| 450 | Signed-off line, it will likely get there through -s option of git. | ||
| 451 | Exploit this fact to abort before a user got a chance to type commit | ||
| 452 | message. (Bug#35368) | ||
| 453 | |||
| 454 | 2019-06-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 455 | |||
| 456 | Backport: fix broken build on m68k | ||
| 457 | |||
| 458 | The GCC + valgrind fix caused the m68k build to fail (Bug#35711). | ||
| 459 | Simplify string allocation a bit to make similar problems less | ||
| 460 | likely in the future. | ||
| 461 | * src/alloc.c (sdata, SDATA_NBYTES, SDATA_DATA) [GC_CHECK_STRING_BYTES]: | ||
| 462 | Use the same implementation as with !GC_CHECK_STRING_BYTES, | ||
| 463 | as the special case is no longer needed. | ||
| 464 | (SDATA_ALIGN): New constant. | ||
| 465 | (SDATA_SIZE): Remove this macro, replacing with ... | ||
| 466 | (sdata_size): ... this new function. All uses changed. | ||
| 467 | Properly account for sizes and alignments even in the m68k case, | ||
| 468 | and even if GC_CHECK_STRING_BYTES is not defined. | ||
| 469 | |||
| 470 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 471 | |||
| 472 | Handle GNUTLS_E_AGAIN in emacs_gnutls_read (Bug#34341) | ||
| 473 | |||
| 474 | Don't merge to master, this has already been fixed there by 2019-01-15 | ||
| 475 | "Fix unlikely races with GnuTLS, datagrams". | ||
| 476 | * src/gnutls.c (emacs_gnutls_read): Similar to emacs_gnutls_write, | ||
| 477 | when gnutls_record_recv returns GNUTLS_E_AGAIN set errno to EGAIN. | ||
| 478 | |||
| 479 | 2019-06-15 Neil Roberts <bpeeluk@yahoo.co.uk> | ||
| 480 | |||
| 481 | Let dir locals for more specific modes override those from less | ||
| 482 | |||
| 483 | The list of dir local variables to apply is now sorted by the number | ||
| 484 | of parent modes of the mode used as the key in the association list. | ||
| 485 | That way when the variables are applied in order the variables from | ||
| 486 | more specific modes will override those from less specific modes. | ||
| 487 | |||
| 488 | If there are directory entries in the list then they are sorted in | ||
| 489 | order of name length. The list of modes for that dir is then | ||
| 490 | recursively sorted with the same mechanism. That way variables tied | ||
| 491 | to a particular subdirectory override those in in a parent directory. | ||
| 492 | |||
| 493 | Previously the behaviour didn’t seem to be well defined anyway and was | ||
| 494 | dependent on the order they appeared in the file. However this order | ||
| 495 | was changed in version 26.1 and it probably also depended on the | ||
| 496 | number of dir-local files that are merged. | ||
| 497 | |||
| 498 | Bug#33400 | ||
| 499 | |||
| 500 | * lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables) | ||
| 501 | (dir-locals-read-from-dir): Sort the dir locals so that more precise | ||
| 502 | modes and directory-specific entries have override lesser ones. | ||
| 503 | * doc/emacs/custom.texi (Directory Variables): Document the priority. | ||
| 504 | |||
| 505 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 506 | |||
| 507 | Improve documentation of Hexl mode | ||
| 508 | |||
| 509 | * doc/emacs/misc.texi (Editing Binary Files): Clarify | ||
| 510 | "insertion". Improve wording. Add a few Hexl commands. | ||
| 511 | (Bug#35580) | ||
| 512 | |||
| 513 | 2019-06-15 Alan Mackenzie <acm@muc.de> | ||
| 514 | |||
| 515 | Fix description of (move-to-column <n> t) when column <n> is inside a tab | ||
| 516 | |||
| 517 | This fixes bug #35647. State that when indent-tabs-mode is non-nil, spaces | ||
| 518 | are inserted before the tab rather than the tab being replaced by spaces. | ||
| 519 | |||
| 520 | * doc/lispref/text.texi (columns) | ||
| 521 | * src/indent.c (move-to-column): Make the above documentation amendment. | ||
| 522 | |||
| 523 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 524 | |||
| 525 | Recognize single quote attribute values in nxml and sgml (Bug#35381) | ||
| 526 | |||
| 527 | * lisp/textmodes/sgml-mode.el (sgml-specials): Add single quote. | ||
| 528 | (sgml-syntax-propertize-rules): Handle single quote. | ||
| 529 | * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-font-lock-quotes): New | ||
| 530 | test. | ||
| 531 | * test/lisp/textmodes/sgml-mode-tests.el | ||
| 532 | (sgml-delete-tag-bug-8203-should-not-delete-apostrophe): Now passes. | ||
| 533 | |||
| 534 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 535 | |||
| 536 | Disable extra display of in nxml-mode (Bug#32897) | ||
| 537 | |||
| 538 | * lisp/nxml/nxml-mode.el (nxml-char-ref-display-extra): Don't put | ||
| 539 | display for the newline, it makes the indentation look wrong. | ||
| 540 | |||
| 541 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 542 | |||
| 543 | Fix nxml-get-inside (Bug#32003) | ||
| 544 | |||
| 545 | The change from 2016-01-16 "lisp/nxml: Use syntax-tables for comments" | ||
| 546 | made nxml-get-inside return non-nil for any string or comment, | ||
| 547 | including attribute strings. This caused incorrect and therefore | ||
| 548 | indentation. | ||
| 549 | * lisp/nxml/nxml-rap.el: Update commentary to reflect changes to | ||
| 550 | nxml-mode parsing. | ||
| 551 | (nxml-get-inside): Only return non-nil when inside comments and | ||
| 552 | generic strings, not normal quote-delimited strings. | ||
| 553 | * test/lisp/nxml/nxml-mode-tests.el: New tests. | ||
| 554 | |||
| 555 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 556 | |||
| 557 | Fix positioning client buffer as instructed by emacsclient | ||
| 558 | |||
| 559 | * lisp/server.el (server-switch-buffer): Let-bind | ||
| 560 | switch-to-buffer-preserve-window-point to nil when switching | ||
| 561 | to the client buffer, when the client requested a specific | ||
| 562 | position. (Bug#35602) | ||
| 563 | |||
| 564 | 2019-06-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 565 | |||
| 566 | * etc/package-keyring.gpg: Add the 2019 key (backport) | ||
| 567 | |||
| 568 | 2019-06-15 Vitalie Spinu <spinuvit@gmail.com> | ||
| 569 | |||
| 570 | Fix incorrect cloning of eieio-instance-inheritor objects (Bug#34840) | ||
| 571 | |||
| 572 | * lisp/emacs-lisp/eieio-base.el (clone): Unbound slots of | ||
| 573 | eieio-instance-inheritor objects as documented in the docs string | ||
| 574 | and implemented in the original eieio implementation. | ||
| 575 | |||
| 576 | 2019-06-15 Vitalie Spinu <spinuvit@gmail.com> | ||
| 577 | |||
| 578 | Fix cloning of eieio-named objects (Bug#22840) | ||
| 579 | |||
| 580 | * lisp/emacs-lisp/eieio-base.el (clone): Correctly set the name of the | ||
| 581 | cloned objects from eieio-named instances. | ||
| 582 | |||
| 583 | 2019-06-15 Basil L. Contovounesios <contovob@tcd.ie> | ||
| 584 | |||
| 585 | Fix ibuffer-unmark-backward synopsis (bug#35572) | ||
| 586 | |||
| 587 | * lisp/ibuffer.el (ibuffer-mode): Fix synopsis of | ||
| 588 | ibuffer-unmark-backward along with other minor copy-edits. | ||
| 589 | |||
| 590 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 591 | |||
| 592 | Clarify handling of long options (Bug#24949) | ||
| 593 | |||
| 594 | * doc/emacs/cmdargs.texi (Emacs Invocation): Note that space can be | ||
| 595 | used instead of "=" only if an option requires an argument. | ||
| 596 | |||
| 597 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 598 | |||
| 599 | Improve documentation of the daemon and emacsclient | ||
| 600 | |||
| 601 | * doc/emacs/misc.texi (emacsclient Options): | ||
| 602 | * doc/emacs/cmdargs.texi (Initial Options): Document that | ||
| 603 | using --daemon=NAME will need to specify the same NAME when | ||
| 604 | invoking 'emacscilent'. (Bug#35547) | ||
| 605 | |||
| 606 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 607 | |||
| 608 | * etc/NEWS.24: Belatedly announce delete-consecutive-dups. | ||
| 609 | |||
| 610 | 2019-06-15 Glenn Morris <rgm@gnu.org> | ||
| 611 | |||
| 612 | * admin/update_autogen: Handle git worktree. | ||
| 613 | |||
| 614 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 615 | |||
| 616 | Update process filter example (Bug#35044) | ||
| 617 | |||
| 618 | * doc/lispref/processes.texi (Filter Functions): Use | ||
| 619 | insert-before-markers in the "ordinary" filter example, like | ||
| 620 | internal-default-process-filter does. | ||
| 621 | |||
| 622 | 2019-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 623 | |||
| 624 | * src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW. | ||
| 625 | |||
| 626 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 627 | |||
| 628 | Recommend using font-lock-face over face (Bug#35044) | ||
| 629 | |||
| 630 | * doc/lispref/modes.texi (Precalculated Fontification): Explain | ||
| 631 | advantages of using font-lock-face over face. | ||
| 632 | |||
| 633 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 634 | |||
| 635 | Check if mouse_face_overlay was deleted (Bug#35273) | ||
| 636 | |||
| 637 | * src/xdisp.c (note_mouse_highlight): Check if the mouse_face_overlay | ||
| 638 | actually points to a buffer, before calling | ||
| 639 | mouse_face_overlay_overlaps on it. | ||
| 640 | |||
| 641 | 2019-06-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 642 | |||
| 643 | Port to platforms where tputs is in libtinfow | ||
| 644 | |||
| 645 | * configure.ac (tputs_library): Also try tinfow, ncursesw (Bug#33977). | ||
| 646 | |||
| 647 | (cherry picked from commit a3d52b3057c98bce581bc94912ef3ced6fad6f14) | ||
| 648 | |||
| 649 | 2019-06-15 Glenn Morris <rgm@gnu.org> | ||
| 650 | |||
| 651 | * admin/admin.el (set-version): Check for increase in version length, | ||
| 652 | rather than a .50 version. | ||
| 653 | |||
| 654 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 655 | |||
| 656 | Be more careful about indent-sexp going over eol (Bug#35286) | ||
| 657 | |||
| 658 | * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only go over multiple | ||
| 659 | sexps if the end of line is within a sexp. | ||
| 660 | * test/lisp/emacs-lisp/lisp-mode-tests.el | ||
| 661 | (indent-sexp-stop-before-eol-comment) | ||
| 662 | (indent-sexp-stop-before-eol-non-lisp): New tests. | ||
| 663 | |||
| 664 | 2019-06-15 Basil L. Contovounesios <contovob@tcd.ie> | ||
| 665 | |||
| 666 | Backport: Improve pure and side-effect-free docs | ||
| 667 | |||
| 668 | For discussion, see thread starting at: | ||
| 669 | https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00316.html | ||
| 670 | * doc/lispref/customize.texi (Composite Types): Do not overspecify | ||
| 671 | :match-alternatives predicates. | ||
| 672 | * doc/lispref/eval.texi (Intro Eval): Anchor definition of "side | ||
| 673 | effect" for cross-referencing... | ||
| 674 | * doc/lispref/functions.texi (What Is a Function): ...from here. | ||
| 675 | Define what a pure function is. | ||
| 676 | * doc/lispref/internals.texi (Writing Emacs Primitives): Describe | ||
| 677 | currently preferred approach to marking primitives as pure and | ||
| 678 | side-effect-free. | ||
| 679 | * doc/lispref/symbols.texi (Standard Properties): Expand description | ||
| 680 | of pure and side-effect-free properties. | ||
| 681 | |||
| 682 | (cherry picked from commit 4430a9b54fca266e48d0eb8b72d83706910f10b8) | ||
| 683 | |||
| 684 | 2019-06-15 Basil L. Contovounesios <contovob@tcd.ie> | ||
| 685 | |||
| 686 | Backport: Avoid using obsolete indent-relative-maybe | ||
| 687 | |||
| 688 | * lisp/electric.el (electric-indent-functions-without-reindent): | ||
| 689 | * lisp/indent.el (indent-according-to-mode): Check for | ||
| 690 | indent-relative-first-indent-point in addition to its obsolete alias | ||
| 691 | indent-relative-maybe. | ||
| 692 | * lisp/obsolete/vi.el (vi-com-map): Use | ||
| 693 | indent-relative-first-indent-point in place of its obsolete alias | ||
| 694 | indent-relative-maybe. | ||
| 695 | |||
| 696 | (cherry picked from commit 0e468a620458fecd003c396050aa6deb722982c1) | ||
| 697 | |||
| 698 | 2019-06-15 Mauro Aranda <maurooaranda@gmail.com> | ||
| 699 | |||
| 700 | Avoid false positives and false negatives of Info-quoted face | ||
| 701 | |||
| 702 | * lisp/info.el (Info-mode-font-lock-keywords): Modify the regexp, for | ||
| 703 | matching single quotes of opening single quote and closing single | ||
| 704 | quote, and avoid matching text followed by a curly quote when it is | ||
| 705 | not quoting. (Bug#35202) | ||
| 706 | |||
| 707 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 708 | |||
| 709 | Fix markup related to quoting in Info | ||
| 710 | |||
| 711 | * doc/misc/sc.texi (Citations): Fix markup of '>'. | ||
| 712 | * doc/misc/mh-e.texi (Speedbar): Fix markup in a @table. | ||
| 713 | * doc/misc/calc.texi (Yacas Language Mode): Fix a typo. | ||
| 714 | * doc/emacs/mark.texi (Setting Mark): Remove duplicate | ||
| 715 | quoting. (Bug#35202) | ||
| 716 | |||
| 717 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 718 | |||
| 719 | Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346) | ||
| 720 | |||
| 721 | * configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than | ||
| 722 | AC_SEARCH_LIBS. | ||
| 723 | * src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure, | ||
| 724 | instead of just LIBLCMS2. | ||
| 725 | |||
| 726 | (cherry picked from commit cb3863370cbe574810f796726faa39ba0de0a429) | ||
| 727 | |||
| 728 | 2019-06-15 Glenn Morris <rgm@gnu.org> | ||
| 729 | |||
| 730 | Add a package: line to c-submit-bug-report. | ||
| 731 | |||
| 732 | * lisp/progmodes/cc-mode.el (c-submit-bug-report): | ||
| 733 | Add a Package: line for mail clients that do not support X- headers. | ||
| 734 | |||
| 735 | 2019-06-15 Glenn Morris <rgm@gnu.org> | ||
| 736 | |||
| 737 | * admin/admin.el (set-version): Add NEWS headers for a .50 version. | ||
| 738 | |||
| 739 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 740 | |||
| 741 | Backport doc improvement in ELisp manual | ||
| 742 | |||
| 743 | * doc/lispref/processes.texi (Accepting Output): Backport: | ||
| 744 | document how do avoid race conditions while waiting for all of | ||
| 745 | the process's output to arrive. | ||
| 746 | |||
| 747 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 748 | |||
| 749 | Document insert-image-file's return value (Bug#32978) | ||
| 750 | |||
| 751 | * lisp/image-file.el (insert-image-file): Document return value. | ||
| 752 | |||
| 753 | 2019-06-15 Braun Gábor <braungb88@gmail.com> (tiny change) | ||
| 754 | |||
| 755 | Autoload cua-toggle-rectangle-mark (Bug#34947) | ||
| 756 | |||
| 757 | * lisp/emulation/cua-base.el (cua-toggle-rectangle-mark): Autoload it. | ||
| 758 | Library cua-base.el binds cua-toggle-rectangle-mark to a key in the | ||
| 759 | :set function in (defcustom cua-rectangle-mark-key ...), so it should | ||
| 760 | ensure that the command is defined. | ||
| 761 | |||
| 762 | 2019-06-15 Noam Postavsky <npostavs@gmail.com> | ||
| 763 | |||
| 764 | Tell xclip not to expect job-control under eshell (Bug#35257) | ||
| 765 | |||
| 766 | * lisp/eshell/esh-proc.el (eshell-needs-pipe): Add "xclip" and other | ||
| 767 | programs that xclip.el (in GNU ELPA) calls with | ||
| 768 | `process-connection-type' bound to nil. | ||
| 769 | |||
| 770 | 2019-06-15 Basil L. Contovounesios <contovob@tcd.ie> | ||
| 771 | |||
| 772 | Fix off-by-one-link error in image--set-property | ||
| 773 | |||
| 774 | * lisp/image.el (image--set-property): Ensure new value is set even | ||
| 775 | in the unlikely case that the plist is empty. Fix off-by-one-link | ||
| 776 | error when deleting a property. (bug#35285) | ||
| 777 | * test/lisp/image-tests.el: New file. | ||
| 778 | (image--set-property): New test. | ||
| 779 | |||
| 780 | 2019-06-15 Glenn Morris <rgm@gnu.org> | ||
| 781 | |||
| 782 | * admin/admin.el (make-manuals-dist--1): | ||
| 783 | Update for incompatible copy-file change re "directories". | ||
| 784 | |||
| 785 | 2019-06-15 Robert Pluim <rpluim@gmail.com> | ||
| 786 | |||
| 787 | Document some compilation-mode faces | ||
| 788 | |||
| 789 | * doc/emacs/building.texi (Compilation Mode): Describe faces | ||
| 790 | available to affect appearance of compilation-mode buffers. | ||
| 791 | |||
| 792 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 793 | |||
| 794 | Mention the assignment form in "Copyright Assignment" | ||
| 795 | |||
| 796 | * doc/emacs/trouble.texi (Copyright Assignment): Mention the | ||
| 797 | copyright assignment form explicitly. Suggested by Konstantin | ||
| 798 | Kharlamov <hi-angel@yandex.ru>. | ||
| 799 | |||
| 800 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 801 | |||
| 802 | Fix confusing wording in the user manual | ||
| 803 | |||
| 804 | * doc/emacs/maintaining.texi (VC Undo): Remove a potentially | ||
| 805 | inaccurate, outdated, and/or confusing sentence. (Bug#35290) | ||
| 806 | |||
| 807 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 808 | |||
| 809 | Fix the MSDOS build when running under CWSDPMI | ||
| 810 | |||
| 811 | * src/msdos.c (the_only_tty_output): Define. | ||
| 812 | * src/msdos.h (the_only_tty_output): Declare. | ||
| 813 | * src/frame.c (make_terminal_frame) [MSDOS]: | ||
| 814 | * src/dispnew.c (init_display) [MSDOS]: Set up | ||
| 815 | f->output_data.tty pointer using the_only_tty_output, before | ||
| 816 | dereferencing the pointer. This prevents crashes with DPMI | ||
| 817 | servers that provide NULL pointer protection. | ||
| 818 | |||
| 819 | 2019-06-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 820 | |||
| 821 | * lisp/progmodes/python.el: Be more careful about temp file removal | ||
| 822 | |||
| 823 | (python-shell-prompt-detect): Use unwind-protect to try and not leave | ||
| 824 | file behind in case of error. | ||
| 825 | |||
| 826 | 2019-06-15 Alexander Gramiak <agrambot@gmail.com> | ||
| 827 | |||
| 828 | Backport: Plug memory leak in GTK x-display-monitor-attributes-list | ||
| 829 | |||
| 830 | * src/frame.c (free_monitors) [USE_GTK]: Define in the GTK case as | ||
| 831 | well. | ||
| 832 | |||
| 833 | * src/xfns.c (x-display-monitor-attributes-list) [USE_GTK]: Plug | ||
| 834 | memory leak. Use dupstring over xstrdup as gdk_monitor_get_model may | ||
| 835 | return NULL. | ||
| 836 | |||
| 837 | 2019-06-15 Alexander Gramiak <agrambot@gmail.com> | ||
| 838 | |||
| 839 | Backport: * lisp/frame.el (frame--size-history): Fix infloop. (Bug#35272) | ||
| 840 | |||
| 841 | 2019-06-15 Robert Pluim <rpluim@gmail.com> | ||
| 842 | |||
| 843 | Downcase charset | ||
| 844 | |||
| 845 | RFC 2046 specifies that the charset parameter is case-insensitive. | ||
| 846 | |||
| 847 | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-with-decoded-handle): | ||
| 848 | Downcase charset. Suggested by Christophe TROESTLER | ||
| 849 | <Christophe.TROESTLER@umons.ac.be>. (Bug#35265). | ||
| 850 | |||
| 851 | 2019-06-15 Phillip Lord <phillip.lord@russet.org.uk> | ||
| 852 | |||
| 853 | Update for Emacs-26 | ||
| 854 | |||
| 855 | * nt/README.W32: Update details about packaging which changed for | ||
| 856 | Emacs-26. | ||
| 857 | |||
| 858 | 2019-06-15 Eli Zaretskii <eliz@gnu.org> | ||
| 859 | |||
| 860 | * doc/lispref/display.texi (Showing Images): Fix a typo. (Bug#35240 | ||
| 861 | |||
| 862 | 2019-06-15 Nicolas Petton <nicolas@petton.fr> | ||
| 863 | |||
| 864 | Bump Emacs version to 26.2 | ||
| 865 | |||
| 866 | * README: | ||
| 867 | * configure.ac: | ||
| 868 | * msdos/sed2v2.inp: | ||
| 869 | * nt/README.W32: Bump Emacs version to 26.2. | ||
| 870 | |||
| 871 | 2019-06-15 Nicolas Petton <nicolas@petton.fr> | ||
| 872 | |||
| 873 | * etc/HISTORY: Update for Emacs 26.2 release. | ||
| 874 | |||
| 875 | * etc/AUTHORS: Update. | ||
| 1 | 2019-05-25 Eric S. Raymond <esr@thyrsus.com> | 876 | 2019-05-25 Eric S. Raymond <esr@thyrsus.com> |
| 2 | 877 | ||
| 3 | Implement and document XDG-style startup files under ~/.config. | 878 | Implement and document XDG-style startup files under ~/.config. |
| @@ -65099,7 +65974,7 @@ | |||
| 65099 | 65974 | ||
| 65100 | This file records repository revisions from | 65975 | This file records repository revisions from |
| 65101 | commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to | 65976 | commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to |
| 65102 | commit 85829363f728c410e33ffdc3839202977b2115cc (inclusive). | 65977 | commit eca2677b1db94a126b6d2871526a1d6fce98353d (inclusive). |
| 65103 | See ChangeLog.1 for earlier changes. | 65978 | See ChangeLog.1 for earlier changes. |
| 65104 | 65979 | ||
| 65105 | ;; Local Variables: | 65980 | ;; Local Variables: |
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index b9449f812a2..f92f7529ea9 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -202,7 +202,7 @@ screen lines between point and the top or bottom of the window | |||
| 202 | argument, @kbd{C-u C-l}, simply recenters the line showing point. A | 202 | argument, @kbd{C-u C-l}, simply recenters the line showing point. A |
| 203 | positive argument @var{n} moves line showing point @var{n} lines down | 203 | positive argument @var{n} moves line showing point @var{n} lines down |
| 204 | from the top of the window. An argument of zero moves point's line to | 204 | from the top of the window. An argument of zero moves point's line to |
| 205 | the top of the window. A negative argument @var{-n} moves point's | 205 | the top of the window. A negative argument @minus{}@var{n} moves point's |
| 206 | line @var{n} lines from the bottom of the window. When given an | 206 | line @var{n} lines from the bottom of the window. When given an |
| 207 | argument, @kbd{C-l} does not clear the screen or cycle through | 207 | argument, @kbd{C-l} does not clear the screen or cycle through |
| 208 | different screen positions. | 208 | different screen positions. |
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi index 2d56f1d26e1..9b9c890331e 100644 --- a/doc/emacs/killing.texi +++ b/doc/emacs/killing.texi | |||
| @@ -124,7 +124,7 @@ point, regardless of the number of spaces that existed previously | |||
| 124 | (even if there were none before). With a numeric argument @var{n}, it | 124 | (even if there were none before). With a numeric argument @var{n}, it |
| 125 | leaves @var{n} spaces before point if @var{n} is positive; if @var{n} | 125 | leaves @var{n} spaces before point if @var{n} is positive; if @var{n} |
| 126 | is negative, it deletes newlines in addition to spaces and tabs, | 126 | is negative, it deletes newlines in addition to spaces and tabs, |
| 127 | leaving @var{-n} spaces before point. The command @code{cycle-spacing} | 127 | leaving @minus{}@var{n} spaces before point. The command @code{cycle-spacing} |
| 128 | acts like a more flexible version of @code{just-one-space}. It | 128 | acts like a more flexible version of @code{just-one-space}. It |
| 129 | does different things if you call it repeatedly in succession. | 129 | does different things if you call it repeatedly in succession. |
| 130 | The first call acts like @code{just-one-space}, the next removes | 130 | The first call acts like @code{just-one-space}, the next removes |
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi index 8ad5fc7c9e4..bbeb4cb039e 100644 --- a/doc/emacs/mark.texi +++ b/doc/emacs/mark.texi | |||
| @@ -193,8 +193,8 @@ located before point, @kbd{M-@@} moves the mark backwards from its | |||
| 193 | current position one word at a time. | 193 | current position one word at a time. |
| 194 | 194 | ||
| 195 | This command also accepts a numeric argument @var{n}, which tells it | 195 | This command also accepts a numeric argument @var{n}, which tells it |
| 196 | to advance the mark by @var{n} words. A negative argument moves the | 196 | to advance the mark by @var{n} words. A negative argument |
| 197 | mark back by @var{n} words. | 197 | @minus{}@var{n} moves the mark back by @var{n} words. |
| 198 | 198 | ||
| 199 | @kindex C-M-@@ | 199 | @kindex C-M-@@ |
| 200 | @findex mark-sexp | 200 | @findex mark-sexp |
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 28bfa5b578f..fe5093147b0 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -969,7 +969,7 @@ delimiters to enclose the text in the region. | |||
| 969 | If you supply a prefix argument to @kbd{M-;} when a region is | 969 | If you supply a prefix argument to @kbd{M-;} when a region is |
| 970 | active, that specifies the number of comment delimiters to add or | 970 | active, that specifies the number of comment delimiters to add or |
| 971 | delete. A positive argument @var{n} adds @var{n} delimiters, while a | 971 | delete. A positive argument @var{n} adds @var{n} delimiters, while a |
| 972 | negative argument @var{-n} removes @var{n} delimiters. | 972 | negative argument @minus{}@var{n} removes @var{n} delimiters. |
| 973 | 973 | ||
| 974 | If the region is not active, and there is no existing comment on the | 974 | If the region is not active, and there is no existing comment on the |
| 975 | current line, @kbd{M-;} adds a new comment to the current line. If | 975 | current line, @kbd{M-;} adds a new comment to the current line. If |
| @@ -1000,10 +1000,11 @@ lines. When a region is active (@pxref{Mark}), @kbd{C-x C-;} either | |||
| 1000 | comments or uncomments the lines in the region. If the region is not | 1000 | comments or uncomments the lines in the region. If the region is not |
| 1001 | active, this command comments or uncomments the line point is on. | 1001 | active, this command comments or uncomments the line point is on. |
| 1002 | With a positive prefix argument @var{n}, it operates on @var{n} lines | 1002 | With a positive prefix argument @var{n}, it operates on @var{n} lines |
| 1003 | starting with the current one; with a negative @var{n}, it affects | 1003 | starting with the current one; with a negative argument |
| 1004 | @var{n} preceding lines. After invoking this command with a negative | 1004 | @minus{}@var{n}, it affects @var{n} preceding lines. After invoking |
| 1005 | argument, successive invocations with a positive argument will operate | 1005 | this command with a negative argument, successive invocations with a |
| 1006 | on preceding lines as if the argument were negated. | 1006 | positive argument will operate on preceding lines as if the argument |
| 1007 | were negated. | ||
| 1007 | 1008 | ||
| 1008 | @findex comment-kill | 1009 | @findex comment-kill |
| 1009 | @kindex C-u M-; | 1010 | @kindex C-u M-; |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 93c5217c362..68d308c7f79 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -2409,7 +2409,7 @@ Draw a box with lines of width 1, in color @var{color}. | |||
| 2409 | @item @code{(:line-width @var{width} :color @var{color} :style @var{style})} | 2409 | @item @code{(:line-width @var{width} :color @var{color} :style @var{style})} |
| 2410 | This way you can explicitly specify all aspects of the box. The value | 2410 | This way you can explicitly specify all aspects of the box. The value |
| 2411 | @var{width} specifies the width of the lines to draw; it defaults to | 2411 | @var{width} specifies the width of the lines to draw; it defaults to |
| 2412 | 1. A negative width @var{-n} means to draw a line of width @var{n} | 2412 | 1. A negative width @minus{}@var{n} means to draw a line of width @var{n} |
| 2413 | whose top and bottom parts occupy the space of the underlying text, | 2413 | whose top and bottom parts occupy the space of the underlying text, |
| 2414 | thus avoiding any increase in the character height. | 2414 | thus avoiding any increase in the character height. |
| 2415 | 2415 | ||
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 24f30b4dac6..33455114dac 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -101,7 +101,7 @@ previous match. If all these successive searches succeed, the | |||
| 101 | function call succeeds, moving point and returning its new value. | 101 | function call succeeds, moving point and returning its new value. |
| 102 | Otherwise the function call fails, with results depending on the value | 102 | Otherwise the function call fails, with results depending on the value |
| 103 | of @var{noerror}, as described above. If @var{count} is a negative | 103 | of @var{noerror}, as described above. If @var{count} is a negative |
| 104 | number -@var{n}, the search is done @var{n} times in the opposite | 104 | number @minus{}@var{n}, the search is done @var{n} times in the opposite |
| 105 | (backward) direction. | 105 | (backward) direction. |
| 106 | @end deffn | 106 | @end deffn |
| 107 | 107 | ||
| @@ -1130,7 +1130,7 @@ previous match. If all these successive searches succeed, the | |||
| 1130 | function call succeeds, moving point and returning its new value. | 1130 | function call succeeds, moving point and returning its new value. |
| 1131 | Otherwise the function call fails, with results depending on the value | 1131 | Otherwise the function call fails, with results depending on the value |
| 1132 | of @var{noerror}, as described above. If @var{count} is a negative | 1132 | of @var{noerror}, as described above. If @var{count} is a negative |
| 1133 | number -@var{n}, the search is done @var{n} times in the opposite | 1133 | number @minus{}@var{n}, the search is done @var{n} times in the opposite |
| 1134 | (backward) direction. | 1134 | (backward) direction. |
| 1135 | 1135 | ||
| 1136 | In the following example, point is initially before the @samp{T}. | 1136 | In the following example, point is initially before the @samp{T}. |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 860c439d9a0..a6cb86eb84c 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -2582,25 +2582,47 @@ operations (@pxref{Preserving Window Sizes}). | |||
| 2582 | This function fails if no window can be split. More often than not, | 2582 | This function fails if no window can be split. More often than not, |
| 2583 | this happens because no window is large enough to allow splitting. | 2583 | this happens because no window is large enough to allow splitting. |
| 2584 | Setting @code{split-height-threshold} or @code{split-width-threshold} | 2584 | Setting @code{split-height-threshold} or @code{split-width-threshold} |
| 2585 | to lower values may help in this regard. Spliting also fails when the | 2585 | to lower values may help in this regard. Splitting also fails when |
| 2586 | selected frame has an @code{unsplittable} frame parameter; | 2586 | the selected frame has an @code{unsplittable} frame parameter; |
| 2587 | @pxref{Buffer Parameters}. | 2587 | @pxref{Buffer Parameters}. |
| 2588 | @end defun | 2588 | @end defun |
| 2589 | 2589 | ||
| 2590 | @defun display-buffer-in-previous-window buffer alist | 2590 | @defun display-buffer-in-previous-window buffer alist |
| 2591 | This function tries to display @var{buffer} in a window where it was | 2591 | This function tries to display @var{buffer} in a window where it was |
| 2592 | previously displayed. If @var{alist} has a non-@code{nil} | 2592 | displayed previously. |
| 2593 | @code{inhibit-same-window} entry, the selected window is not eligible | 2593 | |
| 2594 | for reuse. If @var{alist} contains a @code{reusable-frames} entry, | 2594 | If @var{alist} contains a non-@code{nil} @code{inhibit-same-window} |
| 2595 | its value determines which frames to search for a suitable window. | 2595 | entry, the selected window is not eligible for use. A dedicated |
| 2596 | 2596 | window is usable only if it already shows @var{buffer}. If | |
| 2597 | If @var{alist} has a @code{previous-window} entry and the window | 2597 | @var{alist} contains a @code{previous-window} entry, the window |
| 2598 | specified by that entry is live and not dedicated to another buffer, | 2598 | specified by that entry is usable even if it never showed @var{buffer} |
| 2599 | that window will be preferred, even if it never showed @var{buffer} | ||
| 2600 | before. | 2599 | before. |
| 2601 | 2600 | ||
| 2602 | This function will not choose the selected window if it finds another | 2601 | If @var{alist} contains a @code{reusable-frames} entry (@pxref{Buffer |
| 2603 | eligible window that has shown @var{buffer} previously. | 2602 | Display Action Alists}), its value determines which frames to search |
| 2603 | for a suitable window. If @var{alist} contains no | ||
| 2604 | @code{reusable-frames} entry, this function searches just the selected | ||
| 2605 | frame if @code{display-buffer-reuse-frames} and @code{pop-up-frames} | ||
| 2606 | are both @code{nil}; it searches all frames on the current terminal if | ||
| 2607 | either of those variables is non-@code{nil}. | ||
| 2608 | |||
| 2609 | If more than one window qualifies as usable according to these rules, | ||
| 2610 | this function makes a choice in the following order of preference: | ||
| 2611 | |||
| 2612 | @itemize @bullet | ||
| 2613 | @item | ||
| 2614 | The window specified by any @code{previous-window} @var{alist} entry, | ||
| 2615 | provided it is not the selected window. | ||
| 2616 | |||
| 2617 | @item | ||
| 2618 | A window that showed @var{buffer} before, provided it is not the | ||
| 2619 | selected window. | ||
| 2620 | |||
| 2621 | @item | ||
| 2622 | The selected window if it is either specified by a | ||
| 2623 | @code{previous-window} @var{alist} entry or showed @var{buffer} | ||
| 2624 | before. | ||
| 2625 | @end itemize | ||
| 2604 | @end defun | 2626 | @end defun |
| 2605 | 2627 | ||
| 2606 | @defun display-buffer-use-some-window buffer alist | 2628 | @defun display-buffer-use-some-window buffer alist |
| @@ -2850,7 +2872,9 @@ Ordering}). | |||
| 2850 | 2872 | ||
| 2851 | A major client of this is @code{display-buffer-reuse-window}, but all | 2873 | A major client of this is @code{display-buffer-reuse-window}, but all |
| 2852 | other action functions that try to reuse a window are affected as | 2874 | other action functions that try to reuse a window are affected as |
| 2853 | well. | 2875 | well. @code{display-buffer-in-previous-window} consults it when |
| 2876 | searching for a window that previosuly displayed the buffer on another | ||
| 2877 | frame. | ||
| 2854 | 2878 | ||
| 2855 | @vindex inhibit-switch-frame@r{, a buffer display action alist entry} | 2879 | @vindex inhibit-switch-frame@r{, a buffer display action alist entry} |
| 2856 | @item inhibit-switch-frame | 2880 | @item inhibit-switch-frame |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 11ee62d5462..6f339140ad2 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -2126,7 +2126,7 @@ considered big. The default value is 200. If the group has more | |||
| 2126 | (unread and/or ticked) articles than this, Gnus will query the user | 2126 | (unread and/or ticked) articles than this, Gnus will query the user |
| 2127 | before entering the group. The user can then specify how many | 2127 | before entering the group. The user can then specify how many |
| 2128 | articles should be fetched from the server. If the user specifies a | 2128 | articles should be fetched from the server. If the user specifies a |
| 2129 | negative number (@var{-n}), the @var{n} oldest articles will be | 2129 | negative number (@minus{}@var{n}), the @var{n} oldest articles will be |
| 2130 | fetched. If it is positive, the @var{n} articles that have arrived | 2130 | fetched. If it is positive, the @var{n} articles that have arrived |
| 2131 | most recently will be fetched. | 2131 | most recently will be fetched. |
| 2132 | 2132 | ||
diff --git a/lisp/window.el b/lisp/window.el index 7117d4aacd6..a2335a6798c 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -7767,10 +7767,13 @@ selected frame." | |||
| 7767 | (defun display-buffer-in-previous-window (buffer alist) | 7767 | (defun display-buffer-in-previous-window (buffer alist) |
| 7768 | "Display BUFFER in a window previously showing it. | 7768 | "Display BUFFER in a window previously showing it. |
| 7769 | If ALIST has a non-nil `inhibit-same-window' entry, the selected | 7769 | If ALIST has a non-nil `inhibit-same-window' entry, the selected |
| 7770 | window is not eligible for reuse. | 7770 | window is not usable. A dedicated window is usable only if it |
| 7771 | already shows BUFFER. If ALIST contains a `previous-window' | ||
| 7772 | entry, the window specified by that entry is usable even if it | ||
| 7773 | never showed BUFFER before. | ||
| 7771 | 7774 | ||
| 7772 | If ALIST contains a `reusable-frames' entry, its value determines | 7775 | If ALIST contains a `reusable-frames' entry, its value determines |
| 7773 | which frames to search for a reusable window: | 7776 | which frames to search for a usable window: |
| 7774 | nil -- the selected frame (actually the last non-minibuffer frame) | 7777 | nil -- the selected frame (actually the last non-minibuffer frame) |
| 7775 | A frame -- just that frame | 7778 | A frame -- just that frame |
| 7776 | `visible' -- all visible frames | 7779 | `visible' -- all visible frames |
| @@ -7782,12 +7785,17 @@ selected frame if `display-buffer-reuse-frames' and | |||
| 7782 | `pop-up-frames' are both nil; search all frames on the current | 7785 | `pop-up-frames' are both nil; search all frames on the current |
| 7783 | terminal if either of those variables is non-nil. | 7786 | terminal if either of those variables is non-nil. |
| 7784 | 7787 | ||
| 7785 | If ALIST has a `previous-window' entry, the window specified by | 7788 | If more than one window is usable according to these rules, |
| 7786 | that entry may override any other window found by the methods | 7789 | apply the following order of preference: |
| 7787 | above, even if that window never showed BUFFER before. | 7790 | |
| 7791 | - Use the window specified by any 'previous-window' ALIST entry, | ||
| 7792 | provided it is not the selected window. | ||
| 7793 | |||
| 7794 | - Use a window that showed BUFFER before, provided it is not the | ||
| 7795 | selected window. | ||
| 7788 | 7796 | ||
| 7789 | Avoid using the selected window if another eligible window has | 7797 | - Use the selected window if it is either specified by a |
| 7790 | shown BUFFER before." | 7798 | 'previous-window' ALIST entry or showed BUFFER before." |
| 7791 | (let* ((alist-entry (assq 'reusable-frames alist)) | 7799 | (let* ((alist-entry (assq 'reusable-frames alist)) |
| 7792 | (inhibit-same-window | 7800 | (inhibit-same-window |
| 7793 | (cdr (assq 'inhibit-same-window alist))) | 7801 | (cdr (assq 'inhibit-same-window alist))) |