aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2021-02-03 08:11:08 -0800
committerGlenn Morris2021-02-03 08:11:08 -0800
commit17f2be08f8fe2375cfa56d17d3a5482b3f6d6d58 (patch)
tree957a426e701db67c8ef97e7914b5b9e085ee88b2
parentb099f1d774a37c09cf4b990e2acd68cbcb070269 (diff)
parent74a71c41e03f28a6380a0537babfdd6c1edb929a (diff)
downloademacs-17f2be08f8fe2375cfa56d17d3a5482b3f6d6d58.tar.gz
emacs-17f2be08f8fe2375cfa56d17d3a5482b3f6d6d58.zip
Merge from origin/emacs-27
74a71c41e0 (tag: emacs-27.1.91) Update files for 27.1.91 pretest # Conflicts: # ChangeLog.3 # etc/AUTHORS # lisp/ldefs-boot.el
-rw-r--r--ChangeLog.31969
1 files changed, 1969 insertions, 0 deletions
diff --git a/ChangeLog.3 b/ChangeLog.3
index 22b45cb5a30..460a1d2ffa6 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -1,3 +1,1971 @@
12021-02-03 Eli Zaretskii <eliz@gnu.org>
2
3 Bump Emacs version to 27.1.91
4
5 * README:
6 * configure.ac:
7 * nt/README.W32:
8 * msdos/sed2v2.inp: Bump Emacs version to 27.1.91.
9
102021-02-03 Eli Zaretskii <eliz@gnu.org>
11
12 Improve documentation of 'read-regexp' and friends
13
14 * doc/emacs/glossary.texi (Glossary): Add "Tag" to the Glossary.
15 * doc/emacs/maintaining.texi (Xref): Mention that identifiers are
16 also known as "tags".
17
18 * lisp/replace.el (read-regexp, read-regexp-suggestions): Improve
19 wording of doc strings. (Bug#46088) (Bug#46089)
20
21 (cherry picked from commit 49eb03d6c8a181fd46adbbcf1f0a976d0a9efa87)
22
232021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
24
25 read-regexp-suggestions doc string improvement
26
27 * lisp/replace.el (read-regexp-suggestions): Add a link to the
28 manual to explain what a tag is (bug#46089).
29
30 (cherry picked from commit f9cc2d48246fe8370e9286866e6115ba8e2acf44)
31
322021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
33
34 Try to improve the read-regexp doc string
35
36 * lisp/replace.el (read-regexp): Attempt to clarify the semantics
37 (bug#46088).
38
39 (cherry picked from commit eded2a7ad7d456a417354a2797c18e9a578414d7)
40
412021-02-03 Dmitry Gutov <dgutov@yandex.ru>
42
43 Erase the buffer only after fetching the new contents
44
45 * lisp/progmodes/xref.el (xref-revert-buffer):
46 Erase the buffer only after fetching the new contents (bug#46042).
47
48 (cherry picked from commit 5821dee0949b2913c07970d6e4b8bb8e8a35f036)
49
502021-02-03 Eli Zaretskii <eliz@gnu.org>
51
52 Fix last change
53
54 * doc/lispref/text.texi (Undo): Add a cross-reference to the
55 description of 'undo-amalgamate-change-group'.
56 (Atomic Changes): Expand and improve the description of
57 'undo-amalgamate-change-group'. (Bug#42303)
58
592021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
60
61 Mention undo-amalgamate-change-group in the lispref manual
62
63 * doc/lispref/text.texi (Atomic Changes): Mention
64 undo-amalgamate-change-group (bug#42303).
65
66 (cherry picked from commit ba25a82855a2c03c25fec83f3056c166b692e94f)
67
682021-02-03 Eli Zaretskii <eliz@gnu.org>
69
70 Avoid sending systemd shutdown notifications if non-daemon
71
72 * src/emacs.c (Fkill_emacs): Send the shutdown notification only
73 in daemon mode. (Bug#46022)
74
752021-02-03 Eli Zaretskii <eliz@gnu.org>
76
77 * src/cmds.c (Fforward_line): Doc fix. (Bug#46027)
78
792021-02-03 Eli Zaretskii <eliz@gnu.org>
80
81 Improve documentation of sendmail.el defcustom's
82
83 * lisp/mail/sendmail.el (mail-archive-file-name)
84 (mail-default-reply-to, mail-self-blind, mail-default-headers):
85 Say in the doc string that 'message-default-mail-headers' shall be
86 customized when using 'message-mode' for email composition.
87 (Bug#46029)
88
892021-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 Don't let `maybe_quit` prevent resetting `consing_until_gc` (bug#43389)
92
93 * src/alloc.c (garbage_collect): Postpone `unblock_input` a bit.
94 * src/window.c (window_parameter): Avoid `maybe_quit`.
95
96 cherry picked from commit 420661af07448857f0a17e15dc27bceeb6aff541
97
982021-02-03 Juri Linkov <juri@linkov.net>
99
100 Remove one of recently added warnings abound binding keys in Isearch maps
101
102 * lisp/isearch.el (minibuffer-local-isearch-map): Remove comments
103 which warn against wantonly rebinding unbound keys from
104 irrelevant keymap.
105 https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00259.html
106
1072021-02-03 Martin Rudalics <rudalics@gmx.at>
108
109 Fix assertion failure in window_box_height (Bug#45737)
110
111 * lisp/window.el (window-sizable): Don't try to grow a mini window
112 when the root window's minimum height is already larger than its
113 actual height (Bug#45737).
114
1152021-02-03 Eli Zaretskii <eliz@gnu.org>
116
117 Fix cl-concatenate inlining
118
119 * lisp/emacs-lisp/seq.el (seq-concatenate): Auto-load it. Do not
120 merge to master. (Bug#45610)
121
1222021-02-03 Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
123
124 Fix infloop in 'pixel-scroll-mode'
125
126 * lisp/pixel-scroll.el (pixel-scroll-up, pixel-scroll-down): Avoid
127 inflooping when 'vertical-motion' doesn't move. (Bug#45628)
128
1292021-02-03 Eli Zaretskii <eliz@gnu.org>
130
131 Fix inhibiting the default.el loading in user init file
132
133 * lisp/startup.el (startup--load-user-init-file): Test the value
134 of 'inhibit-default-init', not just the LOAD-DEFAULTS argument,
135 because loading the user's init file could have set the value of
136 the former.
137 (command-line): Call 'startup--load-user-init-file' with last arg
138 t: there's no longer any need to test the value of
139 'inhibit-default-init' here, as it will be tested by the called
140 function. (Bug#45708)
141
1422021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
143
144 Fix problem with 8bit content-transfer-encoding in nndoc mbox files
145
146 * lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): If we're
147 reading an mbox file, it may contain messages that use
148 content-transfer-encoding 8bit, which means that we have to treat
149 the file as a sequence of byte (bug#42951). This avoids
150 double-decoding -- once by Emacs when inserting the mbox into the
151 buffer, and once by Gnus when displaying the articles.
152
1532021-02-03 Michael Albinus <michael.albinus@gmx.de>
154
155 * doc/misc/tramp.texi (Quick Start Guide): Fix thinko.
156
1572021-02-03 Robert Pluim <rpluim@gmail.com>
158
159 Tell people how to remove fontconfig customizations
160
1612021-02-03 Simen HeggestĂžyl <simenheg@gmail.com>
162
163 Remove extraneous closing paren
164
165 * doc/lispref/modes.texi (SMIE Indentation Example): Remove extraneous
166 closing paren.
167
1682021-02-03 Mauro Aranda <maurooaranda@gmail.com>
169
170 Update two user option names in the Widget manual
171
172 * doc/misc/widget.texi (Basic Types): The user options
173 widget-glyph-directory and widget-glyph-enable were renamed long ago
174 to widget-image-directory and widget-image-enable, but the manual
175 kept calling them by their old names. Update the names.
176
1772021-02-03 Paul Eggert <eggert@cs.ucla.edu>
178
179 Mention -lcurses problem on AIX
180
181 * etc/PROBLEMS: Describe problem with Emacs 27 and -lcurses.
182 Do not merge to master.
183
1842021-02-03 Paul Eggert <eggert@cs.ucla.edu>
185
186 Revert previous patch which was installed into wrong branch.
187
1882021-02-03 Paul Eggert <eggert@cs.ucla.edu>
189
190 Fix broken build on AIX 7.2
191
192 Without this fix, the build on AIX 7.2 with xlc fails in the ‘CCLD
193 temacs’ step with the diagnostic ‘ld: 0711-317 ERROR: Undefined
194 symbol: BC’. This is because -lcurses does not define BC etc.
195 * configure.ac: When building terminfo.o, define
196 TERMINFO_DEFINES_BC if the library defines BC etc.
197 * src/terminfo.c (UP, BC, PC): Define depending on
198 TERMINFO_DEFINES_BC, not on TERMINFO.
199
2002021-02-03 Eli Zaretskii <eliz@gnu.org>
201
202 Fix last change
203
204 * doc/lispref/strings.texi (Creating Strings): Improve wording of
205 last change. (Bug#45516)
206
2072021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
208
209 Add a reference between the Strings node and Search/Replace
210
211 * doc/lispref/strings.texi (Creating Strings): Mention
212 string-replace/replace-regexp-in-string (bug#45516).
213
214 (cherry picked from commit b9359d4183a1a6923122d3aa12b922ab89693354)
215
2162021-02-03 Eli Zaretskii <eliz@gnu.org>
217
218 Add warning comments abound binding keys in Isearch maps
219
220 * lisp/isearch.el (isearch-mode-map)
221 (minibuffer-local-isearch-map): Add comments which warn against
222 wantonly rebinding unbound keys.
223
2242021-02-03 Alan Third <alan@idiocy.org>
225
226 Fix crash in ns_mouse_position (bug#45541)
227
228 * src/nsterm.m (ns_mouse_position): Explicitly initialize f to NULL.
229
2302021-02-03 Paul Eggert <eggert@cs.ucla.edu>
231
232 Fix copyright years by hand
233
234 These are dates that admin/update-copyright did not update.
235
2362021-02-03 Paul Eggert <eggert@cs.ucla.edu>
237
238 Update copyright year to 2021
239
240 Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
241
2422021-02-03 Eli Zaretskii <eliz@gnu.org>
243
244 Improve documentation of 'network-lookup-address-info'
245
246 * src/process.c (Fnetwork_lookup_address_info):
247 * doc/lispref/processes.texi (Misc Network): Document the error
248 message emitted by 'network-lookup-address-info' when it fails.
249
2502021-02-03 Amin Bandali <bandali@gnu.org>
251
252 Display messages sent using ERC's /say
253
254 * lisp/erc/erc.el (erc-cmd-SAY): Call `erc-display-msg' to display the
255 user's message in the buffer, just like other [non-command] messages.
256
257 https://lists.gnu.org/r/help-gnu-emacs/2020-12/msg00066.html
258
2592021-02-03 Eli Zaretskii <eliz@gnu.org>
260
261 Fix Rmail summary display when From: header is malformed
262
263 * lisp/mail/rmailsum.el (rmail-header-summary): Remove newlines
264 from the "From:" value, to avoid producing corrupted summary
265 display.
266
2672021-02-03 Eli Zaretskii <eliz@gnu.org>
268
269 Add more details to the "word processor" section
270
271 * etc/TODO (Emacs as word processor): Add more details based on
272 recent discussions.
273
2742021-02-03 Philipp Stephani <phst@google.com>
275
276 * src/Makefile.in (DO_CODESIGN): Fix expected architecture name.
277
2782021-02-03 Itai Seggev <is+apple@cs.hmc.edu> (tiny change)
279
280 Codesign the executable on recene MacOS systems
281
282 * src/Makefile.in (temacs$(EXEEXT)): Codesign the executable on
283 recent (ARM) MacOS systems (bug#43878). Without this, building
284 Emacs fails.
285
2862021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
287
288 Support build of Emacs on ARM Macos machines
289
290 * configure.ac: Add support for aarch64-* on Macos (i.e., 64-bit
291 ARM) (bug#43369).
292
2932021-02-03 Bastien Guerry <bzg@gnu.org>
294
295 Update to Org 9.4.4
296
2972021-02-03 Stefan Kangas <stefan@marxist.se>
298
299 * lisp/so-long.el: Decrease use of passive voice.
300
301 Suggested by Richard Stallman <rms@gnu.org>.
302
3032021-02-03 Stefan Kangas <stefan@marxist.se>
304
305 * doc/misc/efaq.texi (New in Emacs 27): Add section.
306
307 * doc/misc/efaq.texi (Latest version of Emacs): Bump version.
308
3092021-02-03 Eli Zaretskii <eliz@gnu.org>
310
311 * lisp/face-remap.el (face-remap-set-base): Doc fix. (Bug#45264)
312
3132021-02-03 Vasilij Schneidermann <mail@vasilij.de>
314
315 Correct argument order in comment
316
317 * etc/ETAGS.EBNF (position): Correct comment.
318
3192021-02-03 Eli Zaretskii <eliz@gnu.org>
320
321 Update files for the 27.1.90 pretest
322
323 * README:
324 * configure.ac:
325 * nt/README.W32:
326 * msdos/sed2v2.inp: Bump Emacs version to 27.1.90.
327 * lisp/ldefs-boot.el: Update from loaddefs.el
328
3292021-02-03 Eli Zaretskii <eliz@fencepost.gnu.org>
330
331 * README:
332 * configure.ac:
333 * nt/README.W32:
334 * msdos/sed2v2.inp: Bump Emacs version to 27.1.90.
335
3362021-02-03 Eli Zaretskii <eliz@gnu.org>
337
338 Minor fixes in authors.el and in tarball-making instructions
339
340 * admin/authors.el (authors): Make the error message more helpful.
341 (authors-ignored-files, authors-renamed-files-alist): Update.
342
3432021-02-03 Eli Zaretskii <eliz@gnu.org>
344
345 Improve documentation of 'query-replace'
346
347 * doc/emacs/search.texi (Query Replace): Add 'E' to the list of
348 characters one can type at 'query-replace' prompt. (Bug#45273)
349
3502021-02-03 Bastien Guerry <bzg@gnu.org>
351
352 Update to Org 9.4.3
353
354 Fix #45259
355
3562021-02-03 Alan Third <alan@idiocy.org>
357
358 Fix error with fn key in NS port (bug#44533)
359
360 * src/nsterm.m ([EmacsView keyDown:]): Move the correction for fn key
361 handling to before the modifiers are calculated.
362
363 (cherry picked from commit 7970610d48701a949ce443c94c71eac47d044197)
364
3652021-02-03 Eli Zaretskii <eliz@gnu.org>
366
367 Fix point location when completing in gdb-mi.el
368
369 * lisp/progmodes/gdb-mi.el (def-gdb-auto-update-handler): Don't
370 force window-start position, so that redisplay doesn't move point
371 when popping completion window below the GUD one. (Bug#45052)
372
3732021-02-03 Bastien Guerry <bzg@gnu.org>
374
375 Update to Org 9.4.2
376
377 Mostly fixing compiler warnings.
378
3792021-02-03 Bastien Guerry <bzg@gnu.org>
380
381 Update to Org 9.4.1
382
3832021-02-03 Alan Third <alan@idiocy.org>
384
385 Fix crash in ns_mouse_position (bug#44313)
386
387 * src/nsterm.m (ns_destroy_window): Close the window before freeing
388 the frame resources so we don't end up accessing the frame struct
389 after it's been freed.
390
391 (cherry picked from commit 18a7267c32a909bb26bd93d24543155aeb10e042)
392
3932021-02-03 Alan Third <alan@idiocy.org>
394
395 Fix crash when using XRender and restoring image from X (bug#44930)
396
397 * src/dispextern.h (struct image): Add original dimension elements.
398 * src/image.c (image_set_transform): Store the original dimensions.
399 (image_get_x_image): If we're using transforms use the original
400 dimensions with XGetImage.
401
4022021-02-03 Tassilo Horn <tsdh@gnu.org>
403
404 Bind k to image-kill-buffer in doc-view-mode-map.
405
406 * lisp/doc-view.el (doc-view-mode-map): Bind k to image-kill-buffer.
407 The binding k -> doc-view-kill-proc-and-buffer has been removed in
408 2015 and the function been made an obsolete function alias to
409 image-kill-buffer (bug#45157).
410
4112021-02-03 Serge Tupchii <serge.tupchii@protonmail.com> (tiny change)
412
413 Fix crash (segfault) in etags on generating tags for Erlang files
414
415 * lib-src/etags.c: Set allocated and lastlen to zero, after
416 freeing last ptr in Erlang_functions to prevent dereferencing NULL
417 pointer (bug#45122).
418
419
420 (cherry picked from commit 2d8f0364fcd1d5dad2b82dd3a9af870b03854547)
421
4222021-02-03 Stefan Kangas <stefan@marxist.se>
423
424 Update publicsuffix.txt from upstream
425
426 * etc/publicsuffix.txt: Update from
427 https://publicsuffix.org/list/public_suffix_list.dat
428 dated 2020-11-30 21:57:25 UTC.
429
4302021-02-03 Juri Linkov <juri@linkov.net>
431
432 * lisp/vc/vc.el: Update args of backend API calls in the header comments
433
434 https://lists.gnu.org/archive/html/emacs-devel/2020-12/msg00283.html
435
4362021-02-03 Juri Linkov <juri@linkov.net>
437
438 Backport Handle read-char-from-minibuffer and y-or-n-p from pre-command-hook
439
440 * lisp/subr.el (read-char-from-minibuffer-insert-char)
441 (read-char-from-minibuffer-insert-other, y-or-n-p-insert-y)
442 (y-or-n-p-insert-n, y-or-n-p-insert-other):
443 Check for 'minibufferp' before executing the body.
444 (read-char-from-minibuffer, y-or-n-p): Let-bind this-command
445 before calling read-from-minibuffer. (Bug#45029)
446
4472021-02-03 Eli Zaretskii <eliz@gnu.org>
448
449 Improve documentation of streams in batch mode
450
451 * doc/lispref/os.texi (Batch Mode):
452 * doc/lispref/streams.texi (Input Streams, Output Streams): Better
453 documentation of I/O streams in batch mode, with more
454 cross-references.
455
4562021-02-03 Eli Zaretskii <eliz@gnu.org>
457
458 Support ks_c_5601-1987 encoding
459
460 * lisp/language/korean.el (ks_c_5601-1987): Define as an alias for
461 'korean-iso-8bit. (It is sometimes used in email messages.)
462
4632021-02-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
464
465 Fix Xaw widget text disappearing when built with cairo (bug#43418)
466
467 * lwlib/lwlib-utils.c (crxft_font_open_name): Use FcFontMatch to
468 get a pattern to pass to cairo_ft_font_face_create_for_pattern.
469
4702021-02-03 Eli Zaretskii <eliz@gnu.org>
471
472 Improve documentation of 'ps-print-color-p'
473
474 * doc/emacs/misc.texi (PostScript Variables): Improve and clarify
475 the description of 'ps-print-color-p'. (Bug#44962)
476
4772021-02-03 Dmitry Gutov <dgutov@yandex.ru>
478
479 Reset xref-show-xrefs-function temporarily
480
481 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
482 Make sure xref-show-xrefs-function has the necessary value (bug#44905).
483
4842021-02-03 Eli Zaretskii <eliz@gnu.org>
485
486 Don't show in 'view-lossage' responses to xterm feature queries
487
488 * lisp/term/xterm.el (xterm--read-event-for-query): Prevent
489 recording the characters read as the xterm response to a query,
490 so as not to show them in 'view-lossage'. (Bug#44908)
491
4922021-02-03 Michael Albinus <michael.albinus@gmx.de>
493
494 Adapt Tramp versions. Do not merge
495
496 * doc/misc/tramp.texi (Obtaining @value{tramp})
497 (Remote shell setup, Remote processes, Archive file names):
498 * doc/misc/trampver.texi:
499 * lisp/net/tramp.el:
500 * lisp/net/trampver.el (tramp-version)
501 (customize-package-emacs-version-alist): Adapt Tramp versions.
502
5032021-02-03 Akira Kyle <akira@akirakyle.com>
504
505 Return the correct suffix in eww-make-unique-file-name
506
507 * lisp/net/eww.el (eww-make-unique-file-name): Return the correct
508 suffix (bug#44936).
509
5102021-02-03 Karl Fogel <kfogel@red-bean.com>
511
512 Save bookmarks by using `write-file' (bug#12507)
513
514 Go back to using `write-file' to save bookmarks, instead of using
515 `write-region'. This means numbered backups of the bookmark file may
516 get made again, depending on the value of `bookmark-version-control'.
517
518 Thanks especially to Drew Adams and Eli Zaretskii for their
519 persistence in tracking down information relevant to this change.
520
5212021-02-03 Eli Zaretskii <eliz@gnu.org>
522
523 Fix filing messages when 'rmail-output-reset-deleted-flag' is non-nil
524
525 * lisp/mail/rmailout.el (rmail-output): Fix off-by-one error in
526 deciding when to advance to the next message under non-nil
527 'rmail-output-reset-deleted-flag'. (Bug#44839)
528
5292021-02-03 Michael Albinus <michael.albinus@gmx.de>
530
531 Make file copying in tramp-gvfs more robust
532
533 * test/lisp/net/tramp-tests.el (tramp-test11-copy-file)
534 (tramp-test12-rename-file): Do not skip for tramp-gvfs.el.
535
536 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
537 Add sanity checks.
538
5392021-02-03 Eli Zaretskii <eliz@gnu.org>
540
541 Revert "Fix incorrect handling of module runtime and environment pointers."
542
543 This reverts commit cdc632fbe6e149318147a98cccf1b7af191f2ce8.
544 Those changes are too significant and non-trivial to be
545 suitable for a release branch at this time.
546
5472021-02-03 Philipp Stephani <phst@google.com>
548
549 Fix incorrect handling of module runtime and environment pointers.
550
551 We used to store module runtime and environment pointers in the static
552 lists Vmodule_runtimes and Vmodule_environments. However, this is
553 incorrect because these objects have to be kept per-thread. With this
554 naive approach, interleaving module function calls in separate threads
555 leads to environments being removed in the wrong order, which in turn
556 can cause local module values to be incorrectly garbage-collected.
557
558 Instead, turn Vmodule_runtimes and Vmodule_environments into
559 hashtables keyed by the thread objects. The fix is relatively
560 localized and should therefore be safe enough for the release branch.
561
562 Module assertions now have to walk the pointer list for the current
563 thread, which is more correct since they now only find environments
564 for the current thread.
565
566 Also add a unit test that exemplifies the problem. It interleaves two
567 module calls in two threads so that the first call ends while the
568 second one is still active. Without this change, this test triggers
569 an assertion failure.
570
571 * src/emacs-module.c (Fmodule_load, initialize_environment)
572 (finalize_environment, finalize_runtime_unwind): Store runtime and
573 environment pointers in per-thread lists.
574 (syms_of_module): Initialize runtimes and environments hashtables.
575 (module_assert_runtime, module_assert_env, value_to_lisp): Consider
576 only objects for the current thread.
577 (module_gc_hash_table_size, module_hash_push, module_hash_pop): New
578 generic hashtable helper functions.
579 (module_objects, module_push_pointer, module_pop_pointer): New helper
580 functions to main thread-specific lists of runtime and environment
581 pointers.
582 (mark_modules): Mark all environments in all threads.
583
584 * test/data/emacs-module/mod-test.c (Fmod_test_funcall): New test
585 function.
586 (emacs_module_init): Bind it.
587
588 * test/src/emacs-module-tests.el (emacs-module-tests--variable): New
589 helper type to guard access to state in a thread-safe way.
590 (emacs-module-tests--wait-for-variable)
591 (emacs-module-tests--change-variable): New helper functions.
592 (emacs-module-tests/interleaved-threads): New unit test.
593
5942021-02-03 Alan Mackenzie <acm@muc.de>
595
596 CC Mode: Fix error in cache handling. This fixes bug #43481
597
598 * lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Handle correctly END
599 being before HERE by using parse-partial-sexp to get the end of the literal
600 containing HERE.
601
6022021-02-03 Martin Rudalics <rudalics@gmx.at>
603
604 Revert extra focus redirection in do_switch_frame (Bug#24803)
605
606 * src/frame.c (do_switch_frame): Do not also redirect frame
607 focus when FRAME has its minibuffer window on the selected
608 frame which was intended to fix Bug#24500. It may cause
609 Bug#24803 and lead to a nasty state where no active cursor is
610 shown on any frame, see
611 https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg01137.html.
612
6132021-02-03 Michael Albinus <michael.albinus@gmx.de>
614
615 Minor cleanup of tramp-tests.el on MS Windows
616
617 * test/lisp/net/tramp-tests.el (tramp-test29-start-file-process):
618 Do not test remote pty on MS Windows.
619
6202021-02-03 Basil L. Contovounesios <contovob@tcd.ie>
621
622 Fix handling of defcustom :local tag
623
624 For discussion, see the following emacs-devel thread:
625 https://lists.gnu.org/r/emacs-devel/2020-11/msg00734.html
626
627 * lisp/custom.el (custom-declare-variable): Delay call to
628 make-variable-buffer-local until after user option has been
629 initialized with a value. Otherwise the user option may be
630 initialized to nil.
631 * test/lisp/custom-tests.el (custom--test-local-option)
632 (custom--test-permanent-option): New :local user options.
633 (custom-test-local-option): New test for defcustom :local keyword.
634
6352021-02-03 Alan Mackenzie <acm@muc.de>
636
637 CC Mode. Fix an off by one error. Fixes bug #41809
638
639 * lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Change > to >= (twice).
640
6412021-02-03 Eli Zaretskii <eliz@gnu.org>
642
643 Fix display artifacts when 'display' properties cover newlines
644
645 * src/xdisp.c (pos_visible_p): Set glyph_row of scratch iterators
646 to NULL, to avoid producing glyphs while we figure out the layout.
647 (Bug#44826)
648
6492021-02-03 Stefan Kangas <stefankangas@gmail.com>
650
651 Sync latest SKK-JISYO.L
652
653 * leim/SKK-DIC/SKK-JISYO.L: Sync to current upstream version.
654
655 (cherry picked from commit 6a5f9700846551a7f3795e257356dbab865116f4)
656
6572021-02-03 Stefan Kangas <stefan@marxist.se>
658
659 Update publicsuffix.txt from upstream
660
661 * etc/publicsuffix.txt: Update from
662 https://publicsuffix.org/list/public_suffix_list.dat
663 dated 2020-10-09 08:23:34 UTC.
664
665 (cherry picked from commit 5b13afab0a903ead8363482529019d4fb80ec4b4)
666
6672021-02-03 Michael Albinus <michael.albinus@gmx.de>
668
669 Fix Bug#44481
670
671 * lisp/net/tramp.el (tramp-system-name): New defconst.
672 (tramp-default-host, tramp-restricted-shell-hosts-alist)
673 (tramp-local-host-regexp):
674 * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it. (Bug#44481)
675
6762021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
677
678 Minor Edebug manual keystroke clarifications
679
680 * doc/lispref/edebug.texi (Edebug Misc): Also mention the `a'
681 binding to abort (bug#44697). Also fix `d' function reference, and
682 add `P' reference.
683
684 (cherry picked from commit b613f25f97abf756101eaa2af90689a19c0b3350)
685
6862021-02-03 Eli Zaretskii <eliz@gnu.org>
687
688 Make ignoring modifiers on IME input optional
689
690 By default, ignore modifier keys on IME input, but add
691 a variable to get back old behavior.
692 * src/w32fns.c (syms_of_w32fns): New variable
693 w32-ignore-modifiers-on-IME-input.
694 (w32_wnd_proc): Use it to ignore modifier keys when IME input is
695 used. (Bug#44641)
696
697 * etc/NEWS: Announce the change and the new variable.
698
6992021-02-03 Masahiro Nakamura <tsuucat@icloud.com>
700
701 Ignore modifiers when processing WM_IME_CHAR messages
702
703 * src/w32fns.c (w32_wnd_proc): Ignore modifiers when processing
704 WM_IME_CHAR messages.
705
7062021-02-03 Eli Zaretskii <eliz@gnu.org>
707
708 Improve documentation of 'font-spec'
709
710 * doc/lispref/display.texi (Low-Level Font):
711 * src/font.c (Ffont_spec): Document 'font-spec' keys that are
712 supported, but were undocumented.
713
7142021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
715
716 Further doc fixes for dotimes about RESULT
717
718 * lisp/subr.el (dotimes): Be even more explicit about RESULT
719 (bug#16206).
720
721 (cherry picked from commit 5b0d8d0f288fd505ca90bd30df709a5e7ab540d6)
722
7232021-02-03 Eli Zaretskii <eliz@gnu.org>
724
725 Reformat argument commentary in etags.c
726
727 * lib-src/etags.c (pfnote, consider_token, C_entries): Resurrect
728 original format of comments to function arguments.
729
7302021-02-03 Alan Mackenzie <acm@muc.de>
731
732 Make the invocation of combine-change-calls in comment-region valid
733
734 This fixes bug #44581. The problem was that whitespace outside of the (BEG
735 END) region was being deleted, and this made the invocation of
736 combine-change-calls with (BEG END) invalid.
737
738 * lisp/newcomment.el (comment-region-default): Amend the second argument to
739 combine-change-calls.
740
7412021-02-03 Alan Mackenzie <acm@muc.de>
742
743 * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re): Fix wrong '-' in regexp
744
7452021-02-03 Eli Zaretskii <eliz@gnu.org>
746
747 Update the various INSTALL files
748
749 * nt/INSTALL.W64:
750 * nt/INSTALL:
751 * INSTALL: Update the installation information, in particular the
752 fact that HarfBuzz is now preferred as the shaping library.
753
7542021-02-03 Eli Zaretskii <eliz@gnu.org>
755
756 Don't leave lock files after 'replace-buffer-contents'
757
758 * src/editfns.c (Freplace_buffer_contents): Unlock the buffer's
759 file if no changes have been made. (Bug#44303)
760
761 (cherry picked from commit a5867ddfbd721568005175bf6c725f7834b21ea4)
762
7632021-02-03 Eli Zaretskii <eliz@gnu.org>
764
765 Fix input method translation near read-only text
766
767 * lisp/international/quail.el (quail-input-method): Don't disable
768 input method when the character after point has the read-only
769 property. Suggested by Evgeny Zajcev <lg.zevlg@gmail.com>
770 (Bug#44466)
771
772 * doc/emacs/mule.texi (Input Methods): Document that input methods
773 are inhibited in read-only text.
774
7752021-02-03 Eli Zaretskii <eliz@gnu.org>
776
777 Fix display of truncated R2L lines on TTY frames
778
779 * src/xdisp.c (extend_face_to_end_of_line): Use a while-loop, not
780 a do-while loop, to avoid appending an extra glyph at the end of a
781 line that is one character shorter than the window-width. This is
782 needed to fix display of reversed glyph rows that are almost as
783 wide as the window, because append_space_for_newline already added
784 one space glyph.
785
7862021-02-03 Eli Zaretskii <eliz@gnu.org>
787
788 Avoid crashes when a reversed glyph row starts with a composition
789
790 * src/dispnew.c (build_frame_matrix_from_leaf_window): Add an
791 assertion to prevent us from overwriting non-char glyphs with the
792 vertical border glyph.
793 * src/xdisp.c (extend_face_to_end_of_line): Account for one glyph
794 possibly inserted by append_space_for_newline. (Bug#44506)
795 Remove a kludgey correction for an off-by-one error in column
796 counting, which is no longer needed.
797
7982021-02-03 Eli Zaretskii <eliz@gnu.org>
799
800 Update information about refcards
801
802 * admin/release-process (refcards):
803 * admin/make-tarball.txt (refcards): Update information about
804 generating refcards and required TeX/LaTeX packages.
805
8062021-02-03 Eli Zaretskii <eliz@gnu.org>
807
808 Avoid crashes in the daemon due to user interaction
809
810 * src/minibuf.c (read_minibuf): Avoid crashes in the daemon if the
811 init file invokes some kind of minibuffer interaction, by not
812 updating the selected frame if it's the initial frame.
813 (Bug#44583)
814
8152021-02-03 Michael Albinus <michael.albinus@gmx.de>
816
817 Some minor changes to Tramp, do not merge with master
818
819 * lisp/net/tramp.el (tramp-handle-directory-files)
820 (tramp-handle-directory-files-and-attributes):
821 * lisp/net/tramp-adb.el
822 (tramp-adb-handle-directory-files-and-attributes):
823 * lisp/net/tramp-rclone.el (tramp-rclone-handle-directory-files):
824 * lisp/net/tramp-sh.el (tramp-sh-handle-directory-files-and-attributes):
825 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Add _COUNT.
826 Make the functions forward compatible.
827
828 * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled):
829 Increase `max-specpdl-size' temporarily.
830
831 * test/lisp/net/tramp-tests.el (tramp--test-share-p): New defun.
832 (tramp-test05-expand-file-name-relative): Use it.
833
8342021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
835
836 Add more doc-view requirements
837
838 * lisp/doc-view.el: Add more requirements.
839
8402021-02-03 Philipp Stephani <phst@google.com>
841
842 Fix undefined behavior when fetching glyphs from the display vector.
843
844 You can trigger this rather obscure bug by enabling selective display
845 if the second glyph in its display vector has an invalid face. For
846 example, evaluate
847
848 (set-display-table-slot standard-display-table
849 'selective-display [?A (?B . invalid)])
850
851 and then enable selective display.
852
853 * src/xdisp.c (next_element_from_display_vector): Check whether next
854 glyph code is valid before accessing it.
855
8562021-02-03 Mattias EngdegÄrd <mattiase@acm.org>
857
858 Fix pcase rx form snag with '?' and '??' (bug#44532)
859
860 This is a regression from Emacs 26.
861 Reported by Phillip Stephani.
862
863 * lisp/emacs-lisp/rx.el (rx--pcase-transform): Process ? and ?? correctly.
864 * test/lisp/emacs-lisp/rx-tests.el (rx-pcase): Add test case.
865
866 (cherry picked from commit 575b0681d926463960fc00d1e33decaa71d5c956)
867
8682021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
869
870 Update the doc-view header line
871
8722021-02-03 Eli Zaretskii <eliz@gnu.org>
873
874 Avoid breaking Arabic shaping in 'window-text-pixel-size'
875
876 * src/xdisp.c (CHAR_COMPOSED_P): If the bidi_p flag is not set,
877 pass -1 to composition_reseat_it, so that the shaping engine will
878 figure out the directionality of the text. This is important,
879 e.g., when using move_it_* functions in some context that is not
880 redisplay, such as 'window-text-pixel-size'. (Bug#44521)
881
8822021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
883
884 doc-view.el comment clarification
885
886 * lisp/doc-view.el: Make the commentary mention that it's not
887 limited to a narrow range of file formats (bug#44504).
888
8892021-02-03 Daniel MartĂ­n <mardani29@yahoo.es>
890
891 Update erc documentation about C-c C-b
892
893 * doc/misc/erc.texi (Keystroke Summary): C-c C-b runs
894 erc-switch-to-buffer, which is implemented in terms of
895 read-buffer (bug#44498).
896
8972021-02-03 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
898
899 Fix 'uudecode-decode-region-internal' in multibyte buffers
900
901 * lisp/mail/uudecode.el (uudecode-decode-region-internal): Fix
902 inserting the decoded string into a multibyte buffer. Optimize by
903 working with characters, not strings. (Bug#44411)
904
9052021-02-03 Eli Zaretskii <eliz@gnu.org>
906
907 Fix 'send-string-to-terminal' writing very long strings
908
909 * src/dispnew.c (Fsend_string_to_terminal): Prevent partial writes
910 by blocking SIGIO while 'fwrite' runs. (Bug#44320)
911
9122021-02-03 Eli Zaretskii <eliz@gnu.org>
913
914 * lisp/subr.el (read-char-from-minibuffer): Doc fix. (Bug#44451)
915
9162021-02-03 Earl Hyatt <ej32u@protonmail.com>
917
918 Fix documentation of 'windmove-swap-states-default-keybindings'
919
920 * doc/emacs/windows.texi (Window Convenience): Fix description of
921 'windmove-swap-states-default-keybindings' and related index
922 entry. (Bug#44441)
923
9242021-02-03 Martin Rudalics <rudalics@gmx.at>
925
926 Split windows evenly when 'min-margins' parameter was set (Bug#44483)
927
928 * lisp/window.el (split-window): Make new window inherit any
929 'min-margins' parameter from WINDOW so that horizontal splits
930 reliably produce windows of same width (Bug#44483).
931
9322021-02-03 Pip Cet <pipcet@gmail.com>
933
934 Handle Cairo errors in ftcrfont_open
935
936 * src/ftcrfont.c (ftcrfont_open): Handle Cairo errors (bug#41627).
937
938 (cherry picked from commit 954a4decfcc8e41084789516773b22d0adc11d91)
939
9402021-02-03 Stefan Kangas <stefan@marxist.se>
941
942 Backport: Fix exiting the finder-commentary buffer
943
944 Do not merge to master.
945
946 * lisp/finder.el (finder-exit): Fix exiting the finder-commentary
947 buffer. (Bug#44384)
948 (finder-buffer): New defconst.
949 (finder-list-keywords): Use above new defconst.
950
9512021-02-03 Eli Zaretskii <eliz@gnu.org>
952
953 * src/w32fns.c (Fw32_register_hot_key): Doc fix. (Bug#44456)
954
9552021-02-03 Eli Zaretskii <eliz@gnu.org>
956
957 Prevent redisplay from moving point behind user's back
958
959 * src/bidi.c (bidi_at_paragraph_end, bidi_find_paragraph_start):
960 Bind inhibit-quit to a non-nil value around calls to
961 fast_looking_at, to prevent breaking out of redisplay_window,
962 which temporarily moves point in buffers shown in non-selected
963 windows. (Bug#44448)
964
9652021-02-03 Mauro Aranda <maurooaranda@gmail.com>
966
967 Document that the :match function for a widget takes an external value
968
969 * doc/misc/widget.texi (Basic Types): Document what an external value
970 is. Document that a :match function expects the value to be in the
971 external format. (Bug#8717)
972
9732021-02-03 Stephen Berman <Stephen.Berman@gmx.net>
974
975 Don't render XML declaration of an HTML document (bug#44348)
976
977 * lisp/net/eww.el (eww--preprocess-html): Prevent converting the
978 left angle bracket in the sequence "<?" to an HTML entity.
979
9802021-02-03 Yasuhiro KIMURA <yasu@utahime.org> (tiny change)
981
982 Recover the contents of the schemas.xml file
983
984 * etc/schema/schemas.xml: Recover the file, which was apparently
985 (mostly) removed by mistake by commit 165f738382 (bug#42851).
986
9872021-02-03 Stefan Kangas <stefan@marxist.se>
988
989 Improve indexing of check-declare
990
991 * doc/lispref/functions.texi (Declaring Functions): Improve indexing.
992
9932021-02-03 Eli Zaretskii <eliz@gnu.org>
994
995 * doc/lispref/commands.texi (Key Sequence Input): Fix indexing.
996
997 (cherry picked from commit 41c4f337c8f798d4700dcd13b73ad4ccdb3257eb)
998
9992021-02-03 Jared Finder <jared@finder.org>
1000
1001 Updating docs with all special window prefix keys.
1002
1003 * doc/lispref/commands.texi (Key Sequence Input): Add documentation for
1004 missing special window areas. Explicitly call out window or frame.
1005
1006 (cherry picked from commit a105db13e11fd15cc72804bf33672122d1c3f2e1)
1007
10082021-02-03 Glenn Morris <rgm@gnu.org>
1009
1010 Improve reproducibility of generated -pkg.el files
1011
1012 * lisp/emacs-lisp/package.el (package-generate-description-file):
1013 Don't include the full name of the source file in the header,
1014 since that varies non-reproducibly according to the build directory.
1015 https://bugs.debian.org/972861
1016 Note that elpa.gnu.org's admin/archive-contents.el does this by hand
1017 and already only includes the nondirectory part.
1018
10192021-02-03 Noah Friedman <friedman@splode.com>
1020
1021 Make sure pixel sizes are zero when setting window size for ptys.
1022
1023 * sysdep.c (set_window_size): Initialize data to zero to avoid
1024 passing any garbage from the stack to ioctl.
1025
10262021-02-03 Ken Brown <kbrown@cornell.edu>
1027
1028 Fix failure of 'emacs --daemon' on Cygwin
1029
1030 * src/emacs.c (DAEMON_MUST_EXEC): Define unconditionally on
1031 Cygwin, not just if HAVE_NTGUI is defined. This fixes the failure
1032 of 'emacs --daemon' to start on the non-w32 Cygwin builds.
1033 (Bug#44285)
1034
10352021-02-03 Alan Mackenzie <acm@muc.de>
1036
1037 CC Mode: Only recognize foo (*bar) as a function pointer when followed by (
1038
1039 * lisp/progmodes/cc-engine.el (c-forward-over-decl-or-cast-1): (after CASE 2)
1040 test variables got-suffix-after-parens and at-decl-end before invoking
1041 c-fdoc-shift-type-backward.
1042
10432021-02-03 Clemens Radermacher <clemens.radermacher@posteo.de>
1044
1045 Fix NEWS entry for fix of Bug#44080
1046
10472021-02-03 Eli Zaretskii <eliz@gnu.org>
1048
1049 * src/buffer.c (syms_of_buffer) <fill-column>: Improve doc string.
1050
10512021-02-03 Clemens Radermacher <clemens.radermacher@posteo.de>
1052
1053 Don't skip empty lines when fitting mini frame to buffer (Bug#44080)
1054
1055 * lisp/window.el (fit-mini-frame-to-buffer,
1056 window--resize-mini-frame, fit-frame-to-buffer,
1057 fit-frame-to-buffer-1): By default, fit a mini frame without skipping its
1058 buffer's leading or trailing empty lines.
1059 * src/frame.c (resize-mini-frames): Update doc-string.
1060 * lisp/cus-start.el (resize-mini-frames): Update for customize.
1061 * doc/lispref/minibuf.texi (resize-mini-frames): Update description.
1062
10632021-02-03 Eli Zaretskii <eliz@gnu.org>
1064
1065 Improve documentation of display-fill-column-indicator
1066
1067 * lisp/display-fill-column-indicator.el
1068 (display-fill-column-indicator-mode): Mention the globalized
1069 version in the doc string.
1070
1071 * doc/emacs/display.texi (Displaying Boundaries): Improve and
1072 clarify the documentation of display-fill-column-indicator.
1073 Suggest using the minor mode as the primary means for turning the
1074 feature on.
1075
1076 * src/xdisp.c (syms_of_xdisp) <display-fill-column-indicator>
1077 <display-fill-column-indicator-character>: Doc fix. (Bug#44226)
1078
10792021-02-03 Michael Albinus <michael.albinus@gmx.de>
1080
1081 * INSTALL: Mention efaq.texi for installation of intlfonts.
1082
10832021-02-03 Paul Eggert <eggert@cs.ucla.edu> (tiny change)
1084 Qiantan Hong <qhong@mit.edu>
1085
1086 Use WebKit sandboxing
1087
1088 * src/xwidget.c (Fmake_xwidget): Enable sandboxing if WebKit 2.26
1089 or later. Do this early, as required for sandboxing (Bug#43071).
1090
10912021-02-03 Michael Albinus <michael.albinus@gmx.de>
1092
1093 Fix tramp-sh-handle-make-process; don't merge with master
1094
1095 * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Accept nil
1096 COMMAND. (Bug#44151)
1097
1098 * test/lisp/net/tramp-tests.el (tramp-test29-start-file-process):
1099 Extend test.
1100
11012021-02-03 Michael Albinus <michael.albinus@gmx.de>
1102
1103 Fix an error in tramp-sh-handle-make-process. Dont' merge with master
1104
1105 * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Don't use heredoc
1106 script whent the argument contains a string.
1107
11082021-02-03 Stefan Kangas <stefan@marxist.se>
1109
1110 Recommend lexical-binding in Coding Conventions
1111
1112 * doc/lispref/tips.texi (Coding Conventions, Library Headers):
1113 Recommend using lexical-binding.
1114
11152021-02-03 Eli Zaretskii <eliz@gnu.org>
1116
1117 Avoid rare crashes while producing line numbers
1118
1119 * src/xdisp.c (maybe_produce_line_number): Prevent freeing of
1120 realized faces for as long as we are using lnum_face_id and
1121 current_lnum_face_id for producing glyphs. (Bug#44111)
1122
11232021-02-03 Eli Zaretskii <eliz@gnu.org>
1124
1125 Improve documentation of 'Info-hide-note-references' in info.texi
1126
1127 * doc/misc/info.texi (Help-Xref): Improve the wording.
1128 (Emacs Info Variables): Update the documentation of
1129 'Info-hide-note-references'. (Bug#44043)
1130
11312021-02-03 Stefan Kangas <stefan@marxist.se>
1132
1133 * admin/release-process: Add note to update files from upstream.
1134
1135 (cherry picked from commit 86dd9d12aa5a273da2efd4ce8c6e35ae343f1494)
1136
11372021-02-03 Eli Zaretskii <eliz@gnu.org>
1138
1139 * lisp/info.el (Info-hide-note-references): Doc fix. (Bug#44043)
1140
11412021-02-03 Alan Mackenzie <acm@muc.de>
1142
1143 Make lisp/progmodes/js.el dependent on CC Mode in the Makefile.
1144
1145 This will prevent version mismatches between compile time and runtime
1146 versions. This fixes bug #43037.
1147
1148 * lisp/Makefile.in: Make js.el dependent on cc-{defs,engine,mode}.elc.
1149
11502021-02-03 Eli Zaretskii <eliz@gnu.org>
1151
1152 Yet another fix for 'set-minibuffer-message'
1153
1154 * lisp/minibuffer.el (set-minibuffer-message): Handle the case of
1155 separate minibuffer-only frame. Suggested by Gregory Heytings
1156 <ghe@sdf.org>.
1157
11582021-02-03 Eli Zaretskii <eliz@gnu.org>
1159
1160 Fix posn-at-x-y in builds --without-x
1161
1162 * src/keyboard.c (make_lispy_position): Don't exclude the
1163 window_or_frame = frame case from TTY-only builds. Reported by
1164 Jared Finder <jared@finder.org>.
1165
1166 * doc/lispref/commands.texi (Click Events): Document the format of
1167 POSITION in click events on the frame's internal border.
1168
11692021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1170
1171 Clarify the seq-reduce documentation
1172
1173 * doc/lispref/sequences.texi (Sequence Functions): Ditto.
1174
1175 * lisp/emacs-lisp/seq.el (seq-reduce): Clarify the order of the
1176 arguments (bug#43995).
1177
11782021-02-03 Michael Albinus <michael.albinus@gmx.de>
1179
1180 Make tramp-completion-reread-directory-timeout obsolete (Bug#43932)
1181
1182 * doc/misc/tramp.texi (File name completion, Frequently Asked Questions):
1183 Remove `tramp-completion-reread-directory-timeout'. (Bug#43932)
1184
1185 * etc/NEWS: Mention tramp-completion-reread-directory-timeout as obsolete.
1186
1187 * lisp/net/tramp.el (tramp-completion-reread-directory-timeout):
1188 Make it obsolete.
1189
11902021-02-03 Gregory Heytings <ghe@sdf.org> (tiny change)
1191
1192 Fix 'message' when there's active minibuffer on another frame
1193
1194 * lisp/minibuffer.el (set-minibuffer-message): Don't reuse the
1195 active minibuffer for displaying messages unless the active
1196 minibuffer is on the same frame as the selected window.
1197
11982021-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc tweak
1201
1202 Try and clarify the meaning of `init-value`.
1203
1204 (cherry picked from commit 46c0f28c0e4e212687e90ec0ecb239d994105a19)
1205
12062021-02-03 Eli Zaretskii <eliz@gnu.org>
1207
1208 A better fix for bug#43886
1209
1210 * src/xfaces.c (load_color2, Fcolor_distance): Revert last change.
1211 * src/term.c (clear_tty_hooks): Don't clear defined_color_hook.
1212
12132021-02-03 Eli Zaretskii <eliz@gnu.org>
1214
1215 Avoid crashes when a theme is loaded with one frame suspended
1216
1217 * src/xfaces.c (load_color2, Fcolor_distance): Don't try to call
1218 the frame's defined_color_hook if the frame is suspended.
1219 (Bug#43886)
1220
12212021-02-03 Pankaj Jangid <pankaj.jangid@gmail.com> (tiny change)
1222
1223 Removed an incorrectly placed extra word in the semantic docs
1224
1225 * doc/misc/semantic.texi (Parser code): Copy edit (bug#43861).
1226
12272021-02-03 Eli Zaretskii <eliz@gnu.org>
1228
1229 Fix current-line hscrolling when overlays change
1230
1231 * src/xdisp.c (redisplay_internal): Disable "optimization 1" when
1232 auto-hscrolling current line and we're redisplaying the selected
1233 window. (Bug#43835)
1234
12352021-02-03 Michael Albinus <michael.albinus@gmx.de>
1236
1237 Extend tests for shell-command-dont-erase-buffer
1238
1239 * test/lisp/simple-tests.el
1240 (simple-tests-shell-command-dont-erase-buffer): Extend test.
1241
1242 * test/lisp/net/tramp-tests.el
1243 (tramp-test32-shell-command-dont-erase-buffer): Adapt test. Tag
1244 it :unstable.
1245
12462021-02-03 Hong Xu <hong@hong.me>
1247
1248 Clarify what ``chrooted environment means'' for TRAMP
1249
1250 * doc/misc/tramp.texi (Frequently Asked Questions): Clarify what
1251 ``chrooted environment means'' for TRAMP (bug#43839).
1252
12532021-02-03 Daniel MartĂ­n <mardani29@yahoo.es>
1254
1255 Add missing full stop in MS-DOS processes documentation
1256
1257 * doc/emacs/msdos-xtra.texi (MS-DOS Processes): Minor copy edig
1258 (bug#43820).
1259
12602021-02-03 Eli Zaretskii <eliz@gnu.org>
1261
1262 Fix merging of region face for non-ASCII characters
1263
1264 * src/xdisp.c (extend_face_to_end_of_line): Restore the correct
1265 original face used by the iterator on this line, not the ASCII
1266 face. (Bug#43363)
1267
12682021-02-03 Alan Third <alan@idiocy.org>
1269 Daniel MartĂ­n <mardani29@yahoo.es>
1270
1271 Make drag and drop on NS open all URLs (bug#43470)
1272
1273 * lisp/term/ns-win.el (ns-drag-n-drop): Merge generic and copy
1274 actions.
1275
12762021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1277
1278 Fix electric-buffer-list buffer selection
1279
1280 * lisp/ebuff-menu.el (electric-buffer-list): Ensure that point is
1281 restored, which isn't always the case if
1282 global-display-line-numbers-mode (bug#43755). This enables
1283 selecting buffers again.
1284
12852021-02-03 Eli Zaretskii <eliz@gnu.org>
1286
1287 * doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug#43758)
1288
12892021-02-03 Robert Pluim <rpluim@gmail.com>
1290
1291 Don't error if no GPG signing key configured
1292
1293 * lisp/gnus/mml-sec.el (mml-secure-epg-sign): Partially revert
1294 "Make mml-secure-epg-sign bug out if we can't find an identity".
1295 It causes signing to fail for people who have not set up
1296 mml-secure-{smime,openpgp}-sign-with-sender, which is a regression
1297 from Emacs-26 (Bug#40118). In such a situation gpg will use its
1298 default key.
1299
1300 Do not merge to master. On master Emacs will query the user.
1301
13022021-02-03 Michael R. Mauger <michael@mauger.com>
1303
1304 2020-03-29 Michael R. Mauger <michael@mauger.com>
1305
1306 * lisp/progmodes/sql.el (sql-add-product): Re-correct argument
1307 spec. Previous change was due to my mistake; I have
1308 resolved back to the prior behavior (Bug#39960).
1309 * test/lisp/progmodes/sql-tests.el (sql-test-add-product): Added
1310 test to insure I don't make the same mistake again.
1311
13122021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1313
1314 Make aliases introduced in previous patch obsolete
1315
1316 * lisp/emacs-lisp/debug.el (debugger-toggle-locals):
1317 (debug-help-follow): Make reinstated aliases obsolete.
1318
13192021-02-03 Gemini Lasswell <gazally@runbox.com>
1320
1321 Restore some public debugging functions removed in Emacs 27
1322
1323 * lisp/emacs-lisp/backtrace.el (backtrace--to-string): New function.
1324 (backtrace-to-string): Use it. Fix whitespace (bug#40728).
1325 * lisp/emacs-lisp/debug.el (debugger-insert-backtrace): New function.
1326 Mark it as obsolete.
1327 (debugger-toggle-locals, debug-help-follow): New aliases.
1328
13292021-02-03 Michael Albinus <michael.albinus@gmx.de>
1330
1331 Clarification in Tramp manual
1332
1333 * doc/misc/tramp.texi: Harmonize "Git" spelling.
1334 (Frequently Asked Questions): Describe Emacs version mismatch.
1335
13362021-02-03 Michael Albinus <michael.albinus@gmx.de>
1337
1338 Check Emacs version used for Tramp compilation
1339
1340 * lisp/net/tramp-compat.el (tramp-compat-emacs-compiled-version):
1341 New defconst. Raise a warning, when it is not equal to the Emacs
1342 version.
1343
13442021-02-03 Eli Zaretskii <eliz@gnu.org>
1345
1346 Don't signal an error when saving files on WdebDAV volumes
1347
1348 * src/w32.c (acl_get_file): If get_file_security raises the
1349 ERROR_ACCESS_DENIED error, treat that like unsupported ACLs.
1350
13512021-02-03 Eli Zaretskii <eliz@gnu.org>
1352
1353 * lisp/hi-lock.el (hi-lock-find-patterns): Autoload it. (Bug#43670)
1354
13552021-02-03 Eli Zaretskii <eliz@gnu.org>
1356
1357 Minor copyedits in the Emacs user manual
1358
1359 * doc/emacs/emacs.texi (Top): Remove "real-time" from the Emacs
1360 description; add "advanced", to be consistent with what we say in
1361 the Introduction section. (Bug#43633)
1362
13632021-02-03 Eli Zaretskii <eliz@gnu.org>
1364
1365 Followup to a recent change in menu-bar.el
1366
1367 * lisp/fileloop.el (fileloop--operate-function): Mention in a
1368 comment that menu-bar.el relies on the default value.
1369
13702021-02-03 Eli Zaretskii <eliz@gnu.org>
1371
1372 Enable "Continue Tags Search" menu item only when it can be used
1373
1374 * lisp/menu-bar.el (menu-bar-search-menu) <tags-continue>: Enable
1375 only when there was a previous tags search. (Bug#43569)
1376 (menu-bar-replace-menu) <tags-repl-continue>: Enable only when
1377 there was a previous tags-replace.
1378
13792021-02-03 Paul Eggert <eggert@cs.ucla.edu>
1380
1381 Fix soap-client URL
1382
1383 * lisp/net/soap-client.el (soap-create-envelope):
1384 Fix URL that I broke in 2019-09-23T06:53:30Z!eggert@cs.ucla.edu.
1385 Problem reported by Thomas Fitzsimmons.
1386
13872021-02-03 Paul Eggert <eggert@cs.ucla.edu>
1388
1389 Fix out-of-source ‘make check’ emacs-module-tests
1390
1391 Problem reported by Koki Fukuda in:
1392 https://lists.gnu.org/r/emacs-devel/2020-07/msg00169.html
1393 * test/Makefile.in (MODULE_CFLAGS):
1394 Include from the same directories included from in ../src.
1395 * test/src/emacs-module-tests.el (module/describe-function-1):
1396 Strip path to source directory.
1397
1398 (cherry picked from commit c86f3fe0d023cdd25edbbce91c5b32654f2b734e)
1399
14002021-02-03 Eli Zaretskii <eliz@gnu.org>
1401
1402 Fix support for Zip64 zip files
1403
1404 * lisp/arc-mode.el (archive-zip-summarize): Fix detection of Zip64
1405 central directory. Support 64-bit file size field used by Zip64.
1406 (Bug#43597)
1407
14082021-02-03 Eli Zaretskii <eliz@gnu.org>
1409
1410 * lisp/hi-lock.el (hi-lock-auto-select-face): Doc fix. (Bug#43600)
1411
14122021-02-03 Eli Zaretskii <eliz@gnu.org>
1413
1414 Avoid infinite recursion with 'relative' line numbers display
1415
1416 * src/xdisp.c (display_count_lines_visually): Bind
1417 'display-line-numbers' to 'relative' around 'start_display' as
1418 well, since that can invoke 'move_it_to' internally, thus
1419 causing infinite recursion. (Bug#43589)
1420
14212021-02-03 Eli Zaretskii <eliz@gnu.org>
1422
1423 Minor improvement in the ELisp manual's Introduction
1424
1425 * doc/lispref/intro.texi (Printing Notation): Clarify what
1426 "execute code" means in this context. (Bug#43463)
1427
14282021-02-03 Eli Zaretskii <eliz@gnu.org>
1429
1430 Mention in PROBLEMS the problems with fonts and Uniscribe
1431
1432 * etc/PROBLEMS: Mention font-related problems with Uniscribe on
1433 MS-Windows. (Bug#39340)
1434
14352021-02-03 Eli Zaretskii <eliz@gnu.org>
1436
1437 Minor copyedits in 'line-height' documentation
1438
1439 * doc/lispref/display.texi (Line Height): Describe the possible
1440 values of the 'line-height' property in a more consistent format.
1441
14422021-02-03 Gregor Zattler <telegraph@gmx.net>
1443
1444 * doc/misc/eww.texi: Document the `w' key's double function
1445
1446 * doc/misc/eww.texi (Basics): Describe what the `w' command does
1447 in eww (bug#43517).
1448
14492021-02-03 Eli Zaretskii <eliz@gnu.org>
1450
1451 Fix a rare segfault in syntax.c
1452
1453 * src/syntax.c (Fforward_comment): Prevent the loop for COUNT < 0
1454 from going outside the valid range of character/byte positions.
1455 (Bug#43499)
1456
1457 * doc/lispref/syntax.texi (Syntax Class Table): Mention the
1458 "comment-fence" and "string-fence" as alternative names of 2
1459 syntax classes.
1460
14612021-02-03 Alan Mackenzie <acm@muc.de>
1462
1463 Add doc to syntax-propertize-function saying it must do a 100% job
1464
1465 and cannot be combined with other ways of applying syntax-table text
1466 properties.
1467
1468 * lisp/emacs-lisp/syntax.el (syntax-propertize-function): Amend doc string.
1469
1470 * doc/lispref/syntax.texi (Syntax Properties): Amend the description of the
1471 variable.
1472
14732021-02-03 Eli Zaretskii <eliz@gnu.org>
1474
1475 Minor copyedits of doc of 'with-silent-modifications'
1476
1477 * doc/lispref/text.texi (Changing Properties):
1478 * doc/lispref/buffers.texi (Buffer Modification): Improve
1479 documentation and indexing of 'with-silent-modifications'.
1480
14812021-02-03 Eli Zaretskii <eliz@gnu.org>
1482
1483 Improve documentation of 'max-mini-window-height'
1484
1485 * src/xdisp.c (syms_of_xdisp):
1486 * doc/lispref/minibuf.texi (Minibuffer Windows): More accurate
1487 wording in the documentation of 'max-mini-window-height', to
1488 clarify the meaning of an integer value.
1489
14902021-02-03 Daniel MartĂ­n <mardani29@yahoo.es>
1491
1492 Use modern constant names for the NS pasteboard
1493
1494 Use the same pasteboard constant names defined in
1495 ns_drag_types. (Bug#43470).
1496
1497 * src/nsterm.m: Rename NSURLPboardType to NSPasteboardTypeURL,
1498 NSStringPboardType to NSPasteboardTypeString, and
1499 NSTabularTextPboardType to NSPasteboardTypeTabularText
1500
15012021-02-03 Eli Zaretskii <eliz@gnu.org>
1502
1503 Fix doc string of 'toggle-menu-bar-mode-from-frame'
1504
1505 * lisp/menu-bar.el (toggle-menu-bar-mode-from-frame): Improve the
1506 wording of the doc string. (Bug#43383)
1507
15082021-02-03 Glenn Morris <rgm@gnu.org>
1509
1510 Make vc-bzr tests work with brz 3.1 (bug#43314)
1511
1512 * test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-bug9726)
1513 (vc-bzr-test-bug9781, vc-bzr-test-faulty-bzr-autoloads):
1514 Make them work with brz 3.1.
1515
15162021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1517
1518 diff-no-select doc string clarification
1519
1520 * lisp/vc/diff.el (diff-no-select): Update doc string from the trunk,
1521 don't merge.
1522
15232021-02-03 Eli Zaretskii <eliz@gnu.org>
1524
1525 Fix compilation on TERMINFO platforms with GCC 10
1526
1527 * src/terminfo.c [TERMINFO]: Don't redefine UP, BC, and CP, as
1528 that could cause linking errors due to multiple definitions.
1529 (Bug#43195)
1530
15312021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1532
1533 Fix the font-lock-debug-fontify NEWS entry
1534
1535 * etc/NEWS: Fix the name of `font-lock-debug-fontify' (bug#43319).
1536
15372021-02-03 Eli Zaretskii <eliz@gnu.org>
1538
1539 Avoid crashes when trying to load bad GIF files
1540
1541 * src/image.c (gif_load): Handle the case when GifErrorString
1542 returns NULL. (Bug#43281)
1543
15442021-02-03 Alan Mackenzie <acm@muc.de>
1545
1546 C++ Mode: handle comma separated brace initializers.
1547
1548 This includes both indentation and fontification.
1549
1550 * lisp/progmodes/cc-engine.el (c-do-declarators): Handle brace initializers
1551 without = correctly.
1552 (c-looking-at-or-maybe-in-bracelist): Use c-do-declarators with a simple
1553 inline function to check that after-type-id-pos points to the start of a
1554 declarator.
1555
1556 * lisp/progmodes/cc-langs.el (c-recognize-bare-brace-inits): New lang
1557 const/variable.
1558
15592021-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * lisp/display-fill-column-indicator.el: Fix bug#41145
1562
1563 (global-display-fill-column-indicator-mode): Specify the implicit
1564 defustom's group explicitly.
1565
1566 * lisp/cus-dep.el (custom-make-dependencies): Also look at
1567 define(-globalized)-minor-mode since it can also define custom vars.
1568
15692021-02-03 Michael Albinus <michael.albinus@gmx.de>
1570
1571 Backport recent change in tramp-tests.el from master, don't merge
1572
1573 * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name):
1574 No need to expect different results in Emacs 28 and later.
1575
15762021-02-03 Michael Albinus <michael.albinus@gmx.de>
1577
1578 Fix bug in dbus.el; do not merge with master
1579
1580 * lisp/net/dbus.el (dbus-register-property)
1581 (dbus-property-handler): Handle properties of the same interface
1582 at different object paths properly. (Bug#43146)
1583
15842021-02-03 Stefan Kangas <stefankangas@gmail.com>
1585
1586 Fix help message with help-window-select
1587
1588 * lisp/help.el (help-print-return-message):
1589 (help-window-display-message): Recommend 'scroll-up-command' instead
1590 of 'scroll-up' when 'help-window-select' is non-nil. (Bug#43122)
1591
15922021-02-03 Eric Abrahamsen <eric@ericabrahamsen.net>
1593
1594 Remove obsolete "Wide Characters" section of Gnus manual
1595
1596 * doc/misc/gnus.texi: This hasn't been valid since 2016.
1597
15982021-02-03 Stefan Kangas <stefankangas@gmail.com>
1599
1600 Fix typo in Introduction to Emacs Lisp
1601
1602 * doc/lispintro/emacs-lisp-intro.texi (type-of-animal in detail):
1603 Remove extraneous parenthesis.
1604
16052021-02-03 Stefan Kangas <stefankangas@gmail.com>
1606
1607 Update Elisp Manual reference to which-function-mode
1608
1609 * doc/lispref/modes.texi (Mode Line Top, Mode Line Variables)
1610 Don't refer to obsolete alias for 'which-function-mode'.
1611 (Bug#13716)
1612
16132021-02-03 Michael Albinus <michael.albinus@gmx.de>
1614
1615 Some precisions to bug handling
1616
1617 * admin/admin.el (reminder-for-release-blocking-bugs): Add date to subject.
1618
1619 * admin/notes/bug-triage:
1620 * admin/notes/bugtracker: Minor precisions.
1621
16222021-02-03 Alan Mackenzie <acm@muc.de>
1623
1624 CC Mode: Fix processing for when c-multiline-string-start-char is a character
1625
1626 * lisp/progmodes/cc-mode.el (c-pps-to-string-delim)
1627 (c-multiline-string-check-final-quote): Replace c-clear-char-property by
1628 c-clear-syn-tab.
1629 (c-multiline-string-check-final-quote): Replace c-put-char-property by
1630 c-put-syn-tab.
1631
16322021-02-03 Eli Zaretskii <eliz@gnu.org>
1633
1634 Fix description of %-constructs in 'mode-line-format'
1635
1636 * doc/lispref/modes.texi (%-Constructs): Document %@ and remove
1637 %M, which is no longer supported. (Bug#43092)
1638
16392021-02-03 Michael Albinus <michael.albinus@gmx.de>
1640
1641 Adapt tramp-tests.el, don't merge with master
1642
1643 * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name)
1644 (tramp-test05-expand-file-name-relative): Adapt tests.
1645 (tramp--test-emacs28-p): New defun.
1646
16472021-02-03 Michael Albinus <michael.albinus@gmx.de>
1648
1649 Adapt reminder-for-release-blocking-bugs
1650
1651 * admin/admin.el (reminder-for-release-blocking-bugs):
1652 Require `debbugs-gnu' also in `interactive' form.
1653
1654 * admin/release-process: Rename RELEASE-CRITICAL to RELEASE-BLOCKING.
1655 Adapt Emacs version. Describe `reminder-for-release-blocking-bugs'.
1656
16572021-02-03 Paul Eggert <eggert@cs.ucla.edu>
1658
1659 Fix replace-region-contents performance bug
1660
1661 Backport from master.
1662 * src/editfns.c (rbc_quitcounter): Remove; the quitcounter
1663 is now part of the context.
1664 (EXTRA_CONTEXT_FIELDS): Remove unused member early_abort_tests.
1665 Add jmp, quitcounter.
1666 (Freplace_buffer_contents): Use setjmp/longjmp to recover from
1667 a compareseq that runs too long. Omit unnecessary rarely_quit
1668 call.
1669 (buffer_chars_equal): Occasionally check for early abort and
1670 longjmp out if so (Bug#43016).
1671
16722021-02-03 Michael Albinus <michael.albinus@gmx.de>
1673
1674 * admin/admin.el (reminder-for-release-blocking-bugs): New command.
1675
16762021-02-03 Michael Albinus <michael.albinus@gmx.de>
1677
1678 Sync with Tramp 2.4.5-pre
1679
1680 * doc/misc/tramp.texi: Adapt Tramp and Emacs version numbers.
1681 (Remote processes): Describe `process-file-return-signal-string'
1682 and $INSIDE_EMACS.
1683 (Frequently Asked Questions): Mention Emacs 28.
1684 Describe `tramp-smb-options'.
1685
1686 * doc/misc/trampver.texi: Change version to "2.4.5-pre".
1687
1688 * lisp/net/tramp-adb.el (process-file-return-signal-string): Declare.
1689 (tramp-adb-handle-write-region): Flush the cache after the file
1690 has been written.
1691 (tramp-adb-handle-set-file-modes, tramp-adb-handle-set-file-times):
1692 Add optional _FLAG.
1693 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file)
1694 (tramp-adb-handle-process-file): Use `tramp-file-local-name'.
1695 (tramp-adb-get-signal-strings): New defun.
1696 (tramp-adb-handle-process-file): Use it.
1697 (tramp-adb-handle-make-process): Implement `stderr'. Use
1698 `insert-file-contents-literally'.
1699 (tramp-adb-send-command-and-check): Add optional argument
1700 EXIT-STATUS.
1701 (tramp-adb-handle-process-file): Use it.
1702
1703 * lisp/net/tramp-archive.el (tramp-archive-file-name-handler):
1704 Increase `max-specpdl-size' temporarily.
1705
1706 * lisp/net/tramp-cache.el (top):
1707 Use `insert-file-contents-literally'.
1708
1709 * lisp/net/tramp-cmds.el (tramp-rename-files):
1710 Use `tramp-file-local-name'.
1711
1712 * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Prevent crash for
1713 older Emacsen.
1714 (top): Adapt `tramp-gvfs-unload-hook'.
1715 (tramp-gvfs-handle-file-system-info): Fix error.
1716 (tramp-gvfs-handle-set-file-modes, tramp-gvfs-handle-set-file-times):
1717 Add optional _FLAG.
1718
1719 * lisp/net/tramp-rclone.el (tramp-rclone-flush-directory-cache):
1720 Fix a problem with older Emacsen.
1721
1722 * lisp/net/tramp-sh.el (process-file-return-signal-string): Declare.
1723 (tramp-sh-extra-args): Add "-noediting" as bash arg.
1724 (tramp-hexdump-encode, tramp-hexdump-awk-encode)
1725 (tramp-od-encode, tramp-od-awk-encode): New defconst.
1726 (tramp-awk-encode, tramp-awk-decode): Adapt.
1727 (tramp-awk-coding-test): Remove.
1728 (tramp-remote-coding-commands): Add hexdump/awk encoding. (Bug#35639)
1729 (tramp-find-inline-encoding): Adapt handling of awk, hexdump and od.
1730 (tramp-get-remote-busybox, tramp-get-remote-awk)
1731 (tramp-get-remote-hexdump, tramp-get-remote-od): New defuns.
1732 (tramp-sh-handle-make-symbolic-link):
1733 (tramp-do-copy-or-rename-file-directly)
1734 (tramp-sh-handle-process-file, tramp-set-remote-path)
1735 (tramp-find-inline-encoding, tramp-get-remote-touch):
1736 Use `tramp-file-local-name'.
1737 (tramp-do-file-attributes-with-stat): Simplify shell command.
1738 Suppress errors (interpret as nil).
1739 (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times):
1740 Add optional _FLAG.
1741 (tramp-sh-handle-make-process): Do not visit with
1742 `insert-file-contents'. Delete tmp file only if exists. Support
1743 `stderr' as file name. Delete temporary stderr file. Flush
1744 connection properties in time.
1745 (tramp-sh-get-signal-strings): New defun.
1746 (tramp-sh-handle-process-file): Use it.
1747 (tramp-sh-handle-write-region): Copy to temp file only if FILENAME
1748 exists. (Bug#40156)
1749 (tramp-set-remote-path): Send the command in several chunks if it
1750 is too large. (Bug#42538)
1751 (tramp-open-connection-setup-interactive-shell): Move up "set +o
1752 vi +o emacs" command. (Bug#39399)
1753 (tramp-send-command-and-read): Suppress `signal-hook-function'
1754 when reading expression.
1755 (tramp-send-command-and-check): Add optional argument EXIT-STATUS.
1756 (tramp-sh-handle-process-file): Use it. (Bug#41099)
1757
1758 * lisp/net/tramp-smb.el (tramp-smb-conf): Fix docstring.
1759 (tramp-smb-options): New defcustom.
1760 (tramp-smb-handle-copy-directory, tramp-smb-handle-file-acl)
1761 (tramp-smb-handle-set-file-acl, tramp-smb-maybe-open-connection):
1762 Use it.
1763 (tramp-smb-errors): Add "NT_STATUS_INVALID_PARAMETER".
1764 (tramp-smb-handle-make-symbolic-link)
1765 (tramp-smb-handle-process-file): Use `tramp-file-local-name'.
1766
1767 * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file):
1768 (tramp-sudoedit-handle-set-file-uid-gid):
1769 Use `tramp-unquote-file-local-name'.
1770 (tramp-sudoedit-handle-make-symbolic-link):
1771 Use `tramp-file-local-name'.
1772 (tramp-sudoedit-handle-file-system-info): Fix a scoping error.
1773 (tramp-sudoedit-handle-set-file-modes):
1774 (tramp-sudoedit-handle-set-file-times): Add optional _FLAG.
1775
1776 * lisp/net/tramp.el: Bump version to 2.4.5-pre.
1777 (tramp-file-local-name, tramp-unquote-file-local-name): New defuns.
1778 (tramp-set-connection-local-variables-for-buffer)
1779 (tramp-equal-remote, tramp-handle-make-auto-save-file-name):
1780 Use `tramp-tramp-file-p'.
1781 (tramp-parse-file): Use `insert-file-contents-literally'.
1782 (tramp-handle-file-modes, tramp-handle-file-times):
1783 Add optional _FLAG.
1784 (tramp-handle-shell-command): Fix `window-start' in output buffer.
1785 (Bug#39171)
1786 Handle `shell-command-dont-erase-buffer'. (Bug#39067)
1787 Reorganize error-buffer handling. Set `default-directory'.
1788 (Bug#39253)
1789 (tramp-handle-shell-command, tramp-handle-start-file-process):
1790 Implement asynchronous `error-buffer'.
1791 (tramp-action-process-alive): Read pending output.
1792 (tramp-read-passwd): Use `tramp-compat-temporary-file-directory'.
1793 (Bug#39389, Bug#39489)
1794 (tramp-interrupt-process): Improve command.
1795
1796 * lisp/net/trampver.el: Change version to "2.4.5-pre".
1797 (tramp-repository-branch, tramp-repository-version):
1798 Bind `debug-on-error' to nil.
1799
1800 * test/lisp/net/tramp-tests.el (tramp-get-remote-gid)
1801 (process-file-return-signal-string)
1802 (shell-command-dont-erase-buffer): Declare.
1803 (tramp-test10-write-region, tramp-test28-process-file)
1804 (tramp-test29-start-file-process, tramp-test30-make-process)
1805 (tramp-test31-interrupt-process, tramp-test32-shell-command):
1806 Extend test.
1807 (tramp-test10-write-region, tramp-test21-file-links): Use function
1808 symbols.
1809 (tramp-test18-file-attributes): Check `file-ownership-preserved-p'
1810 only if possible.
1811 (tramp--test-async-shell-command): New defun.
1812 (tramp--test-shell-command-to-string-asynchronously): Use it.
1813 (tramp-test32-shell-command-dont-erase-buffer): New test.
1814
18152021-02-03 Phillip Lord <phillip.lord@russet.org.uk>
1816
1817 Fix error in GMP test
1818
1819 * etc/w32-feature.el: Update to use system-configuration-features for
1820 GMP test.
1821
18222021-02-03 Phillip Lord <phillip.lord@russet.org.uk>
1823
1824 Add Feature testing for Windows binaries
1825
1826 * etc/w32-feature.el: New file
1827
18282021-02-03 Stefan Kangas <stefankangas@gmail.com>
1829
1830 Revert "; * etc/NEWS: Remove temporary note on documentation. (Bug#42917)"
1831
1832 This reverts commit 121be3e1181e609734fc4cc9d2d54cf7eec18ab2.
1833
18342021-02-03 Glenn Morris <rgm@gnu.org>
1835
1836 * admin/admin.el (set-version): Trap yet another NEWS error.
1837
18382021-02-03 Mattias EngdegÄrd <mattiase@acm.org>
1839
1840 Fix cond jump table compilation (bug#42919)
1841
1842 This bug affected compilation of
1843
1844 (cond ((member '(some list) variable) ...) ...)
1845
1846 While equal is symmetric, member is not; in the latter case the
1847 arguments must be a variable and a constant list, in that order.
1848
1849 Reported by Ikumi Keita.
1850
1851 * lisp/emacs-lisp/bytecomp.el (byte-compile--cond-switch-prefix):
1852 Don't treat equality and member predicates in the same way; only
1853 the former are symmetric in their arguments.
1854 * test/lisp/emacs-lisp/bytecomp-tests.el
1855 (byte-opt-testsuite-arith-data): Add test cases.
1856
18572021-02-03 Paul Eggert <eggert@cs.ucla.edu>
1858
1859 Let Emacs start even if curdir is inaccessible
1860
1861 * lisp/startup.el (normal-top-level): Also delete PWD if
1862 file-attributes fails for either $PWD or default-directory,
1863 instead of failing out of the top level.
1864 This fixes a regression from Emacs 26 (Bug#42903).
1865
18662021-02-03 Paul Eggert <eggert@cs.ucla.edu>
1867
1868 * etc/NEWS: Mention GnuPG 2.0 through 2.1.5 issue (Bug#42845).
1869
18702021-02-03 Robert Pluim <rpluim@gmail.com>
1871
1872 Fix bug with ~/Emacs file not being read at init
1873
1874 * src/xrdb.c (get_user_app): Put "/" between homedir
1875 and %L or %N (Bug#42827).
1876
18772021-02-03 Tino Calancha <tino.calancha@gmail.com>
1878
1879 Prevent from frozen frame after `C-z' in Lucid builds
1880
1881 Some WMs (e.g. mutter in Gnome Shell) don't unmap iconized windows,
1882 thus we won't get a MapNotify when deconifying them.
1883 Check if we are deconifying a window elsewhere (Bug#42655).
1884
1885 - src/xterm.c (handle_one_xevent):
1886 Check for window deconify when receiving a FocusIn signal.
1887
18882021-02-03 Eli Zaretskii <eliz@gnu.org>
1889
1890 Document the 'flex' completion style
1891
1892 * doc/emacs/mini.texi (Completion Styles): Document the 'flex'
1893 completion style. (Bug#42763)
1894
18952021-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1896
1897 Note that Emacs needs systemd support if systemd is used to stop/start
1898
1899 * etc/NEWS: Note that Emacs needs to be built with systemd support
1900 systemd is used to stop/start Emacs (bug#42242). Change suggested by
1901 Bhavin Gandhi <bhavin7392@gmail.com>
1902
19032021-02-03 Mattias EngdegÄrd <mattiase@acm.org>
1904
1905 Regexps cannot infloop; fix manual
1906
1907 * doc/lispref/searching.texi (Regexp Special): Edit erroneous
1908 statements about infinite looping in regexps.
1909
1910 (cherry picked from commit 63268253d21c57d991cba3f3b083d74f154a26fe)
1911
19122021-02-03 Paul Eggert <eggert@cs.ucla.edu>
1913
1914 Fix startup working dir bug on NeXTSTEP
1915
1916 * src/emacs.c (main) [NS_IMPL_COCOA]: Update emacs_wd
1917 after a NS GUI chdirs successfully (Bug#42836).
1918
19192021-02-03 Eli Zaretskii <eliz@gnu.org>
1920
1921 Improve documentation of function argument lists
1922
1923 * doc/lispref/functions.texi (Lambda Components)
1924 (Defining Functions): Add a cross-reference to "Argument List".
1925 (Argument List): Improve the section name. (Bug#42750)
1926
19272021-02-03 Eli Zaretskii <eliz@gnu.org>
1928
1929 Improve documentation of special events
1930
1931 * doc/lispref/commands.texi (Misc Events): Explain how to bind
1932 special events to commands.
1933
19342021-02-03 Eli Zaretskii <eliz@gnu.org>
1935
1936 Fix face merging at EOL when inherited face specifies :extend
1937
1938 * src/xfaces.c (merge_face_ref): Handle correctly faces that
1939 inherit from another, and in addition specify :extend.
1940 (Bug#42552)
1941
1942 (cherry picked from commit 39c90f8dfabe158ad7ac9243aa9b9dedb9409e19)
1943
19442021-02-03 Eli Zaretskii <eliz@gnu.org>
1945
1946 Fix face extension past EOL in overlay strings
1947
1948 * src/xdisp.c (face_at_pos): Pass ATTR_FILTER to
1949 face_for_overlay_string.
1950 * src/xfaces.c (face_for_overlay_string): Accept an additional
1951 argument ATTR_INDEX and pass it to merge_face_ref for merging the
1952 face at POS. This ensures a face from buffer text will not be
1953 merged unless it specifies the :extend attribute. (Bug#42552)
1954 * src/dispextern.h (face_for_overlay_string): Adjust prototype.
1955
1956 (cherry picked from commit 35564bea4d73bc266743216599d01d644aed6fd8)
1957
19582021-02-03 Phil Sainty <psainty@orcon.net.nz>
1959
1960 Fix comint-redirect-results-list regexp usage (Bug#42662)
1961
1962 * lisp/comint.el (comint-redirect-results-list-from-process):
1963 Don't treat the literal string argument COMMAND as a regexp.
1964
19652021-02-03 Nicolas Petton <nicolas@petton.fr>
1966
1967 * etc/HISTORY: Update the Emacs 27.1 release date.
1968
12020-08-03 Phil Sainty <psainty@orcon.net.nz> 19692020-08-03 Phil Sainty <psainty@orcon.net.nz>
2 1970
3 lisp/so-long.el: Improve support for major mode hooks 1971 lisp/so-long.el: Improve support for major mode hooks
@@ -142478,6 +144446,7 @@
142478 144446
142479This file records repository revisions from 144447This file records repository revisions from
142480commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 144448commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
1444492021-02-03d9244f7cbef9f91e697ad5fc0ce49ec97 (inclusive).
142481commit 1ca4da054be7eb340c511d817f3ec89c8b819db7 (inclusive). 144450commit 1ca4da054be7eb340c511d817f3ec89c8b819db7 (inclusive).
142482See ChangeLog.2 for earlier changes. 144451See ChangeLog.2 for earlier changes.
142483 144452