aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog.3
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog.3')
-rw-r--r--ChangeLog.31090
1 files changed, 1089 insertions, 1 deletions
diff --git a/ChangeLog.3 b/ChangeLog.3
index fc41c1f7dc3..c5bc7b3120d 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -1,3 +1,1091 @@
12020-04-14 Mattias Engdegård <mattiase@acm.org>
2
3 Fix edge case errors in filename-matching regexps
4
5 These changes fix actual or latent bugs in regexps that match
6 file names, such as PATTERN arguments to 'directory-files'. See
7 https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00265.html
8
9 * admin/authors.el (authors-obsolete-files-regexps)
10 (authors-renamed-files-regexps):
11 * lisp/auth-source-pass.el (auth-source-pass-entries):
12 * lisp/calendar/todo-mode.el (todo-show, todo-find-filtered-items-file)
13 (todo-filter-items, todo-reset-nondiary-marker, todo-reset-done-string)
14 (todo-reset-comment-string, todo-reset-highlight-item):
15 * lisp/cedet/semantic/db-ebrowse.el (semanticdb-load-ebrowse-caches):
16 * lisp/cedet/semantic/texi.el (semantic-texi-associated-files):
17 * lisp/cedet/srecode/map.el (srecode-map-update-map):
18 * lisp/dired.el (dired-re-no-dot):
19 * lisp/emacs-lisp/autoload.el (update-directory-autoloads):
20 * lisp/emacs-lisp/shadow.el (load-path-shadows-find):
21 * lisp/files.el (auto-mode-alist, directory-files-no-dot-files-regexp):
22 * lisp/finder.el (finder-compile-keywords):
23 * lisp/generic-x.el (inetd-conf-generic-mode, named-boot-generic-mode)
24 (resolve-conf-generic-mode, etc-modules-conf-generic-mode):
25 * lisp/gnus/gnus-agent.el (gnus-agent-read-agentview)
26 (gnus-agent-regenerate-group, gnus-agent-update-files-total-fetched-for):
27 * lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group):
28 * lisp/gnus/gnus-score.el (gnus-score-search-global-directories):
29 * lisp/gnus/gnus-util.el (gnus-delete-directory):
30 * lisp/gnus/gnus-uu.el (gnus-uu-dir-files):
31 * lisp/gnus/nndraft.el (nndraft-request-group):
32 * lisp/gnus/nnmh.el (nnmh-request-group, nnmh-request-create-group):
33 (nnmh-request-delete-group, nnmh-active-number, nnmh-update-gnus-unreads):
34 * lisp/gnus/nnspool.el (nnspool-request-group):
35 * lisp/gnus/spam-stat.el (spam-stat-process-directory)
36 (spam-stat-test-directory):
37 * lisp/help-fns.el (help-fns--first-release):
38 * lisp/help.el (view-emacs-news):
39 * lisp/international/quail.el (quail-update-leim-list-file):
40 * lisp/international/titdic-cnv.el (batch-titdic-convert):
41 * lisp/mail/mspools.el (mspools-set-vm-spool-files)
42 (mspools-get-spool-files):
43 * lisp/mail/rmail.el (rmail-secondary-file-regexp)
44 (rmail-speedbar-match-folder-regexp):
45 * lisp/net/ange-ftp.el (ange-ftp-delete-directory):
46 * lisp/net/tramp.el (tramp-use-absolute-autoload-file-names):
47 * lisp/obsolete/gulp.el (gulp-send-requests):
48 * lisp/obsolete/vc-arch.el (vc-arch-trim-revlib):
49 * lisp/org/ob-core.el (org-babel-remove-temporary-directory):
50 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp, ebnf-style-database):
51 * lisp/progmodes/executable.el (executable-command-find-posix-p):
52 * lisp/startup.el (command-line):
53 * lisp/textmodes/refer.el (refer-get-bib-files):
54 * lisp/url/url-about.el (url-probe-protocols):
55 * lisp/vc/vc-rcs.el (vc-rcs-register, vc-rcs-unregister):
56 * test/lisp/net/tramp-archive-tests.el
57 (tramp-archive-test19-directory-files-and-attributes):
58 * test/lisp/net/tramp-tests.el (tramp-test19-directory-files-and-attributes):
59 Replace ^ and $ with \` and \', respectively.
60 Use (rx (or (not ".") "...")), translated into "[^.]\\|\\.\\.\\.",
61 to match anything but "." and "..", instead of several incorrect
62 regexps.
63
642020-04-14 Eli Zaretskii <eliz@gnu.org>
65
66 Clarify the doc string of 'yank'
67
68 * lisp/simple.el (yank): Mention 'current-kill' in the doc string,
69 so that people could find all the gory details of what is "the most
70 recent kill" for this purpose. (Bug#40375)
71
722020-04-14 Amin Bandali <bandali@gnu.org>
73
74 New function erc-track-switch-buffer-other-window
75
76 * lisp/erc/erc-track.el (erc-track-switch-buffer): Factor out the
77 implementation from here ...
78 (erc-track--switch-buffer): ... to here.
79 (erc-track-switch-buffer-other-window): New function, like
80 `erc-track-switch-buffer', but uses `switch-to-buffer-other-window'
81 instead, to open the buffer in another window.
82
832020-04-14 Amin Bandali <bandali@gnu.org>
84
85 New function erc-switch-to-buffer-other-window
86
87 * lisp/erc/erc.el (erc-switch-to-buffer): Factor out the buffer choice
88 implementation from here ...
89 (erc--switch-to-buffer): ... to here.
90 (erc-switch-to-buffer-other-window): New function, like
91 `erc-switch-to-buffer', but uses `switch-to-buffer-other-window'
92 instead, to open the buffer in another window.
93
942020-04-13 Štěpán Němec <stepnem@gmail.com>
95
96 Clarify documentation on inhibit-modification-hooks intended usage
97
98 Cf. bug#40332 and the discussion at
99 https://lists.gnu.org/archive/html/emacs-devel/2020-03/msg00921.html
100
101 * doc/lispref/text.texi (Change Hooks):
102 * src/insdel.c (syms_of_insdel): Clarify the intended usage of
103 'inhibit-modification-hooks'.
104
1052020-04-13 Štěpán Němec <stepnem@gmail.com>
106
107 gnus-shorten-url: Improve and avoid args-out-of-range error
108
109 'gnus-shorten-url' (used by 'gnus-summary-browse-url') ignored
110 fragment identifiers and didn't check substring bounds, in some cases
111 leading to runtime errors, e.g.:
112
113 (gnus-shorten-url "https://some.url.with/path/and#also_a_long_target" 40)
114 ;; => Lisp error: (args-out-of-range "/path/and" -18 nil)
115
116 This commit makes it account for #fragments and fixes faulty string
117 computation. (bug#39980)
118
119 Do not merge to master, where the helper is put to subr-x.el.
120
121 * lisp/gnus/gnus-sum.el (gnus--string-truncate-left): New helper
122 function (copied from 'ediff-truncate-string-left').
123 (gnus-shorten-url): Use it and don't drop #fragments.
124
1252020-04-13 Eli Zaretskii <eliz@gnu.org>
126
127 Minor wording change in Introduction to Programming in Emacs Lisp
128
129 * doc/lispintro/emacs-lisp-intro.texi (Prevent confusion): Mention
130 that dynamic scoping is only the default in Emacs Lisp, not the
131 only scoping rule. (Bug#40594)
132
1332020-04-13 Eli Zaretskii <eliz@gnu.org>
134
135 Fix 'flymake-show-diagnostics-buffer' when line numbers are displayed
136
137 * lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries):
138 Do nothing if 'flymake--diagnostics-buffer-source' is not a
139 buffer. (Bug#40529)
140
1412020-04-12 Eli Zaretskii <eliz@gnu.org>
142
143 Fix last changes describing mail commands
144
145 * doc/emacs/sending.texi (Sending Mail): Fix the description of
146 the behavior of 'C-x m' without prefix argument. (Bug#40561)
147
1482020-04-12 João Távora <joaotavora@gmail.com>
149
150 Do setup Flymake in file-less Elisp buffers
151
152 (Bug#40573)
153
154 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Change
155 condition for setting flymake-diagnostic-functions.
156
1572020-04-12 Philipp Stephani <phst@google.com>
158
159 Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)
160
161 * lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious
162 format specifiers.
163
1642020-04-12 Eli Zaretskii <eliz@gnu.org>
165
166 Fix and improve documentation of mail-related features
167
168 * lisp/simple.el (compose-mail): Clarify the effect of the
169 CONTINUE argument.
170 * lisp/mail/sendmail.el (mail-from-style): Update the RFC value in
171 the obsolescence warning text.
172
173 * doc/emacs/sending.texi (Sending Mail): Fix the description of
174 the behavior of 'C-x m' wrt prefix argument.
175 (Mail Headers): Remove the description of 'mail-from-style'.
176
177 * etc/NEWS: Mention that 'mail-from-style' is obsolete.
178
179 (Bug#40561)
180
1812020-04-12 Martin Rudalics <rudalics@gmx.at>
182
183 Fix build failure with Fx_gtk_debug
184
185 * src/xfns.c (Fx_gtk_debug, Sx_gtk_debug): Define only for GTK
186 versions >= 3.14.0 so gtk_window_set_interactive_debugging is
187 defined. Reported by Andreas Schwab <schwab@linux-m68k.org>.
188
1892020-04-11 Alan Mackenzie <acm@muc.de>
190
191 Mention jit-lock deferred as an alternative to fast-but-imprecise-scrolling
192
193 * doc/emacs/display.texi (Scrolling): Add a paragraph on using jit-lock
194 deferred fontification as a way of obviating Emacs hanging after
195 auto-repeated scrolling.
196
1972020-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * doc/lispref/keymaps.texi (Extended Menu Items): Tweak :key-sequence
200
201 Don't make it sound like `:key-sequence nil` is any different than the
202 absence of `:key-sequence`. And the performance advantage of
203 `:key-sequence` disappeared long ago.
204
2052020-04-10 Eli Zaretskii <eliz@gnu.org>
206
207 Fix redisplay when scrolling under redisplay-dont-pause
208
209 * src/dispnew.c (update_window): Reset the window's
210 'must_be_updated_p' flag if the window's update was completed
211 without interruption. This fixes redisplay glitches when
212 'redisplay-dont-pause' is nil, at least on MS-Windows, because
213 'expose_window' doesn't redraw the exposed rectangle when the
214 window's 'must_be_updated_p' flag is set.
215
2162020-04-09 Eli Zaretskii <eliz@gnu.org>
217
218 Fix face extension in pulse.el
219
220 * lisp/cedet/pulse.el (pulse-reset-face): Propagate the :extend
221 attribute of FACE to the face used for displaying the pulse.
222 Reported by Adam Porter <adam@alphapapa.net>.
223
2242020-04-09 Michael Albinus <michael.albinus@gmx.de>
225
226 * doc/misc/tramp.texi (Bug Reports): Avoid line breaks in traces.
227
2282020-04-09 Eli Zaretskii <eliz@gnu.org>
229
230 Avoid assertion violation in intervals.c
231
232 * src/intervals.c (delete_interval): Allow negative values of
233 LENGTH (i). This happens when delete_interval is called from
234 set_intervals_multibyte_1, because the caller zeroes out the
235 total_length field of the interval to be deleted. See
236 https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00131.html
237 for more details. See also a related old discussion at
238 https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00399.html.
239
2402020-04-08 Eli Zaretskii <eliz@gnu.org>
241
242 Improve documentation of 'jit-lock-contextually'
243
244 * lisp/jit-lock.el (jit-lock-contextually): Clarify the jit-lock
245 operation when 'jit-lock-contextually' is non-nil and non-t.
246
247 * doc/lispref/modes.texi (Syntactic Font Lock)
248 (Other Font Lock Variables): Document the relation between
249 'jit-lock-register', 'font-lock-keywords-only', and syntactic
250 refontification.
251
2522020-04-08 Dmitry Gutov <dgutov@yandex.ru>
253
254 Speed up 'resize-mode' child frames a little
255
256 * src/gtkutil.c (xg_frame_set_char_size): Skip resizing if the
257 target dimensions are unchanged for child frames with
258 'resize-mode' resize policy as well.
259
2602020-04-06 Martin Rudalics <rudalics@gmx.at>
261
262 Fix some problems with moving and resizing child frames
263
264 (1) Provide new option 'x-gtk-resize-child-frames' which allows
265 to either hide a child frame during resizing or asks GTK to
266 resize it "immediately". This is needed because desktops like
267 GNOME shell otherwise won't allow resizing child frames at all.
268 (2) Do not try to synchronize the position of a child frame
269 after moving it. Needed because the present implementation
270 introduces a 0.5 secs delay which makes dragging child frames
271 virtually impossible with Lucid and Motif toolkits on desktops
272 like GNOME shell that use invisible outer frame borders.
273
274 For further information see the thread starting with
275 https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00343.html
276
277 * src/frame.c (syms_of_frame): New symbol Qxg_frame_set_char_size_4.
278 * src/gtkutil.c (xg_frame_set_char_size): Hide child frame
279 during resizing when 'x-gtk-resize-child-frames' equals 'hide'.
280 * src/xfns.c (x_set_parent_frame, Fx_create_frame): Set
281 gtk_container_resize_mode to GTK_RESIZE_IMMEDIATE for child
282 frames when'x-gtk-resize-child-frames' equals 'resize-mode'.
283 (Fx_gtk_debug): New function to toggle interactive GTK debugging
284 from within Emacs.
285 (syms_of_xfns): New symbols Qhide and Qresize_mode.
286 (x-gtk-resize-child-frames): New option that allows to resize
287 child frames on desktops like GNOME shell (with the mutter WM)
288 that otherwise refuse to resize them.
289 * src/xterm.c (x_set_offset): Don't x_sync_with_move for child
290 frames, it makes moving child frames virtually impossible with
291 the Lucid and Motif toolkits.
292
2932020-04-05 Philipp Stephani <phst@google.com>
294
295 Fix syntax error in man page.
296
297 * doc/man/emacs.1.in: Fix syntax of --script argument. The Info
298 manual states that --script has to be followed by a space, and the
299 syntax with the equals sign doesn't actually work.
300
3012020-04-05 Noam Postavsky <npostavs@gmail.com>
302
303 Handle filling of indented ChangeLog function entries
304
305 * lisp/vc/log-edit.el (log-edit-fill-entry): Relax regexp a bit to
306 recognize function entries with leading blanks.
307 * test/lisp/vc/log-edit-tests.el: New test.
308
3092020-04-05 Noam Postavsky <npostavs@gmail.com>
310
311 Fix void-variable n-reb in re-builder (Bug#40409)
312
313 * lisp/emacs-lisp/re-builder.el (reb-while): Take the current value of
314 the counter instead of its name.
315 (reb-mark-non-matching-parenthesis): Bind n-reb to 0 at the start and
316 don't wrongly treat it as dynamicly bound.
317
3182020-04-03 Philipp Stephani <phst@google.com>
319
320 Fix small bug in copy_string_contents.
321
322 * src/emacs-module.c (module_copy_string_contents): Fix incorrect
323 variable use. In this branch 'lisp_str_utf8' is always nil, so it
324 makes little sense to add it as error data.
325
3262020-04-03 Eli Zaretskii <eliz@gnu.org>
327
328 Fix invocations of gpg from Gnus
329
330 * lisp/epg-config.el (epg-config--make-gpg-configuration): Bind
331 coding-system-for-read/write to 'undecided', to countermand
332 possible values of 'no-conversion' or somesuch by the callers.
333 (Bug#40248)
334
3352020-04-03 Martin Rudalics <rudalics@gmx.at>
336
337 Don't draw GTK's internal border and tab bar on top of each other
338
339 * src/xterm.c (x_clear_under_internal_border): For GTK builds
340 have 'margin' count in the height of the tab bar to avoid that
341 tab bar and internal border are drawn on top of each other.
342
3432020-04-03 Amin Bandali <bandali@gnu.org>
344
345 Tweak htmlfontify's generated output
346
347 * lisp/htmlfontify.el (hfy-default-header): declare the character
348 encoding for the generated HTML file. This helps browsers display
349 UTF-8 characters like the copyright symbol correctly.
350 (hfy-sprintf-stylesheet): apply the default style to all of the text
351 consistently, so that unstyled bits (which are not wrapped in span
352 tags and are directly part of the surrounding pre tag's "innerHTML")
353 have a look consistent with the rest of the document.
354
3552020-03-30 Dmitry Gutov <dgutov@yandex.ru>
356
357 Handle project--files-in-directory finding no files better
358
359 * lisp/progmodes/project.el (project--find-regexp-in-files):
360 Signal user-error when passed an empty list of files.
361
362 * lisp/progmodes/xref.el (xref-matches-in-files):
363 Make sure FILES is not empty.
364
3652020-03-30 Alan Mackenzie <acm@muc.de>
366
367 Let imenu to work on the menu bar when its list is a single non-nested member.
368
369 * lisp/imenu.el (imenu-update-menubar): No longer accept a list of length 1 as
370 being sufficient evidence for a nested list structure. Instead, additionally
371 check whether or not certain elements are atoms.
372
3732020-03-30 Juri Linkov <juri@linkov.net>
374
375 * lisp/image/image-converter.el: Fix customization of image-converter.
376
377 * lisp/image/image-converter.el (image-convert-p): Update
378 image-converter-regexp when image-converter was customized (bug#39994).
379
3802020-03-29 Andreas Schwab <schwab@linux-m68k.org>
381
382 Fix url-cookie.el for lexical binding
383
384 * lisp/url/url-cookie.el (url-cookie-handle-set-cookie): Use setq
385 instead of set to modify lexical binding.
386
3872020-03-29 Noam Postavsky <npostavs@gmail.com>
388
389 Don't suggest setting face-remapping-alist to a literal (Bug#39812)
390
391 * src/xfaces.c (syms_of_xfaces) <face-remapping-alist>: Use copy-tree
392 in the costring example code, and note why.
393
3942020-03-27 Mattias Engdegård <mattiase@acm.org>
395
396 Calc: don't treat nil as an integer (bug#40155)
397
398 Make Math-num-integerp return false for nil, following Math-integerp
399 which was changed in the bignum reform. This fixes a crash in
400 calc-graph-fast.
401
402 Reported by Narendra Joshi.
403
404 * lisp/calc/calc-macs.el (Math-num-integerp): Not true for nil.
405 * test/lisp/calc/calc-tests.el (calc-Math-integerp): New tests.
406
4072020-03-25 Eli Zaretskii <eliz@gnu.org>
408
409 * lisp/files.el (directory-files-recursively): Doc fix. (Bug#40202)
410
4112020-03-25 Michael Albinus <michael.albinus@gmx.de>
412
413 Document how to disable Tramp file archives
414
415 * doc/misc/tramp.texi (Archive file names): Explain how to disable
416 file archives.
417
4182020-03-24 Lars Ingebrigtsen <larsi@gnus.org>
419
420 Don't add repeated xlmns:xlink declarations in svg-create
421
422 * lisp/svg.el (svg-create): Fix previous unconditional addition of
423 the xmlns:xlink declaration -- callers may already add one, and
424 having it twice is something most svg libraries doesn't like.
425
4262020-03-23 Mattias Engdegård <mattiase@acm.org>
427
428 Calc: Declare dynamic variable bound in lexbind code (bug#40185)
429
430 * lisp/calc/calc.el: Declare math-comp-selected as dynamic.
431
4322020-03-23 Eli Zaretskii <eliz@gnu.org>
433
434 Don't build the Gnulib 'utimens' module on MinGW
435
436 * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_utimens): Omit the
437 'utimens' module in the MinGW build: 'utimens' is not used by
438 Emacs, and 'fdutimens' is implemented in w32.c.
439
4402020-03-23 Phillip Lord <phillip.lord@russet.org.uk>
441
442 Add Harfbuzz dependency
443
444 * admin/nt/dist-build/build-dep-zips.py: Add harfbuzz as a dependency.
445
4462020-03-23 Noam Postavsky <npostavs@gmail.com>
447
448 Don't signal during backtrace unrewind (Bug#40088)
449
450 backtrace_eval_unrewind is used to temporarily reverse
451 let-bindings (it's called with a positive argument to reverse
452 bindings, and then a negative argument to re-apply them) by
453 backtrace--locals and backtrace-eval. For the SPECPDL_LET_DEFAULT and
454 SPECPDL_LET_LOCAL cases (which occur for let-bindings on buffer-local
455 variables), the code calls Fdefault_value and Fbuffer_local_value on
456 the symbol.
457
458 For symbols which are unbound at top-level, the first (with positive
459 argument) call to backtrace_eval_unrewind will set the symbol's value
460 to unbound (putting the current value in the specpdl's "old value"
461 slot). On the second (with negative argument) call,
462 backtrace_eval_unrewind attempts to retrieve the symbol's value with
463 Fdefault_value or Fbuffer_local_value, but that raises a void-variable
464 signal. This interrupts the restoration of the let-bindings, so any
465 other variables more recent on the stack will now have the wrong
466 value.
467
468 * src/data.c (default_value): Make non-static.
469 * src/lisp.h: Declare it.
470 * src/eval.c (backtrace_eval_unrewind): Replace the calls to
471 Fdefault_value and Fbuffer_local_value with default_value and
472 buffer_local_value, respectively. The latter do exactly the same as
473 the former, except if the symbol's value is Qunbound they just return
474 it instead of signaling void-variable.
475
4762020-03-23 Noam Postavsky <npostavs@gmail.com>
477
478 Fix a couple of problems in changelog generating functions
479
480 * lisp/vc/diff-mode.el (diff-add-log-current-defuns): If there is a
481 scan-error when calling end-of-defun, go to end of hunk. This can
482 easily happen since we are calling end-of-defun on a partial code
483 fragment from a diff.
484 * lisp/vc/log-edit.el (log-edit-generate-changelog-from-diff): Bind
485 display-buffer-overriding-action around the log-edit-show-diff call
486 only. Otherwise, it can affect, for example, debugger windows
487 triggered by the diff-add-log-current-defuns call.
488
4892020-03-23 Noam Postavsky <npostavs@gmail.com>
490
491 Fix cl-concatenate (Bug#40180)
492
493 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use apply, to avoid
494 adding extra nesting of args.
495 * test/lisp/emacs-lisp/cl-extra-tests.el (cl-concatenate): New test.
496
4972020-03-21 Eli Zaretskii <eliz@gnu.org>
498
499 Improve documentation of project.el commands
500
501 * lisp/progmodes/project.el (project-find-regexp): Require 'grep'
502 to be able to call 'grep-read-files'.
503 (project-search, project-query-replace-regexp): Doc fixes.
504
505 * doc/emacs/maintaining.texi (Projects): New section.
506 * doc/emacs/emacs.texi (Top): Add "Projects" to the detailed menu.
507
5082020-03-20 Zhu Zihao <all_but_last@163.com> (tiny change)
509
510 Make svg images with links valid
511
512 * lisp/svg.el (svg-create): Specify xlink namespace for svg images
513 (bug#40010).
514
5152020-03-20 Juri Linkov <juri@linkov.net>
516
517 * lisp/tab-line.el (tab-line-new-button-show): New defcustom.
518
519 * lisp/tab-line.el (tab-line-format-template): Use tab-line-new-button-show.
520 (tab-line-new-tab-choice): Remove choice 'nil' with "No button".
521 (tab-line-separator): Add docstring.
522
5232020-03-19 Lars Ingebrigtsen <larsi@gnus.org>
524
525 Don't have exif bugging out on short strings
526
527 * lisp/image/exif.el (exif--direct-ascii-value): New function
528 (bug#40127).
529 (exif--parse-directory): Use it to get the correct values for
530 in-directory (i.e., shorter than 4 octets) strings.
531
5322020-03-19 Robert Pluim <rpluim@gmail.com>
533
534 Use correct registry name for windows-1251 charset
535
536 * src/ftfont.c (fc_charset_table): The registry to use to lookup
537 windows-1251 charset is microsoft-cp1251, not windows-1251.
538 (Bug#40097)
539
5402020-03-19 Amin Bandali <bandali@gnu.org>
541
542 ERC: Update maintainer address
543
5442020-03-18 Philipp Stephani <phst@google.com>
545
546 Remove raw carriage return characters from test file.
547
548 This protects against tools that mangle newline characters in text
549 files.
550
551 * test/lisp/electric-tests.el (electric-pair-mode-newline-between-parens)
552 (electric-layout-mode-newline-between-parens-without-e-p-m)
553 (electric-layout-mode-newline-between-parens-without-e-p-m-2): Escape
554 carriage return characters.
555
5562020-03-17 Robert Pluim <rpluim@gmail.com>
557
558 Recalculate default font when switching font backend
559
560 This is an updated version of the patch by Dmitry Antipov
561 <dmantipov@yandex.ru> in
562 <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23386#43>.
563
564 Fixes Bug#23386
565
566 * src/dispextern.h (struct redisplay_interface): New member
567 default_font_parameter.
568 * src/xterm.h: Add prototype for x_default_font_parameter.
569 * src/xterm.c (x_redisplay_interface): Initialize
570 default_font_parameter member.
571 * src/xfns.c (x_default_font_parameter): Make non-static.
572 * src/w32term.h: Add prototype for w32_default_font_parameter
573 * src/w32fns.c (w32_default_font_parameter): Make non-static.
574 * src/w32term.c (w32_redisplay_interface): Initialize
575 default_font_parameter member.
576 * src/nsterm.m (ns_redisplay_interface): Add dummy
577 ns_default_font_parameter (there is currently only one possible font
578 backend on macOS). Initialize default_font_parameter member.
579 * src/frame.c (gui_set_font_backend): Recalculate default font using
580 RIF default_font_parameter to avoid crash when changing font backend.
581
5822020-03-17 Juri Linkov <juri@linkov.net>
583
584 * lisp/tab-line.el: Fix tab-line-format and tab-line-format-template.
585
586 * lisp/tab-line.el (tab-line-format): Use buffer-name in the cache key
587 instead of just buffer object to invalidate the cache on buffer renaming.
588 (tab-line-format-template): Always leave the separator after the last tab
589 like tab-bar.el already does.
590
5912020-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * etc/NEWS: Make the `--eval` example slightly more precise
594
5952020-03-15 Juri Linkov <juri@linkov.net>
596
597 * lisp/image/image-converter.el: Support more ImageMagick versions (bug#39994)
598
599 * lisp/image/image-converter.el (image-converter--probe): Match
600 a possible additional second column in some ImageMagick versions
601 of "convert -list format".
602
6032020-03-14 Eli Zaretskii <eliz@gnu.org>
604
605 Support Unicode 13.0
606
607 * admin/unidata/BidiBrackets.txt:
608 * admin/unidata/BidiMirroring.txt:
609 * admin/unidata/Blocks.txt:
610 * admin/unidata/NormalizationTest.txt:
611 * admin/unidata/SpecialCasing.txt:
612 * admin/unidata/UnicodeData.txt:
613 * admin/unidata/copyright.html:
614 * test/manual/BidiCharacterTest.txt: Updated files imported from
615 Unicode v13.0.
616
617 * admin/unidata/blocks.awk: Add "Symbols for Legacy Computing" to
618 known aliases.
619
620 * lisp/international/fontset.el (script-representative-chars)
621 (setup-default-fontset): Add new scripts.
622 * lisp/international/characters.el: Set syntax for Symbols for
623 Legacy Computing characters. Update setting of char-width-table.
624 * lisp/international/mule-cmds.el (ucs-names): Update ranges of
625 characters for which we want names in 'ucs-names'.
626
627 * test/lisp/international/ucs-normalize-tests.el
628 (ucs-normalize-tests--failing-lines-part1)
629 (ucs-normalize-tests--failing-lines-part2): Update according to
630 'ucs-normalize-check-failing-lines'.
631
6322020-03-14 Lars Ingebrigtsen <larsi@gnus.org>
633
634 Fix regression in wisent-total-conflicts
635
636 * lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts):
637 There may not be a current source file. In that case, don't try
638 to keep track of the number of expected conflicts (bug#39911).
639
6402020-03-14 Alan Mackenzie <acm@muc.de>
641
642 * lisp/progmodes/cc-defs.el (c-version): update to 5.34.1 for Emacs 27.1
643
644 Don't merge to master.
645
6462020-03-14 Philipp Stephani <phst@google.com>
647
648 * lisp/textmodes/fill.el (fill-nobreak-predicate): Fix documentation.
649
6502020-03-14 Stefan Kangas <stefankangas@gmail.com>
651
652 Improve Package Menu hiding docstrings
653
654 * lisp/emacs-lisp/package.el (package-menu-toggle-hiding): Add
655 reference to 'package-menu-hidden-regexps'.
656 * lisp/emacs-lisp/package.el (package-menu-hide-package): Improve
657 docstring to say that hiding is saved in a user option. Fix a
658 typo. (Bug#39436)
659
6602020-03-14 Eli Zaretskii <eliz@gnu.org>
661
662 Fix display of Big5 characters when using Fontconfig
663
664 * src/ftfont.c (fc_charset_table): Fix the value of the big-5
665 representative codepoint. Reported by Brian Schack
666 <bschack-cocoa@usa.net>. (Bug#40057)
667
668 * src/macfont.m (cf_charset_table): Adjust the comment.
669
6702020-03-13 Eli Zaretskii <eliz@gnu.org>
671
672 Fix a recent documentation change
673
674 * doc/emacs/frames.texi (Mouse Commands): More detailed
675 description of how tilting the mouse-wheel works.
676
677 * lisp/mwheel.el (mouse-wheel-tilt-scroll)
678 (mouse-wheel-flip-direction): Fix the wording of doc strings.
679 (Bug#39979)
680
6812020-03-13 Eli Zaretskii <eliz@gnu.org>
682
683 Fix last change
684
685 * lisp/tab-bar.el (tab-bar-new-button-show): Fix wording of the
686 doc string.
687
6882020-03-13 Juri Linkov <juri@linkov.net>
689
690 * lisp/tab-bar.el: Last-minute changes.
691
692 * lisp/tab-bar.el (tab-bar-mode): Check for non-nil
693 tab-bar-new-button and tab-bar-close-button.
694 (tab-bar-new-button-show): New defcustom.
695 (tab-bar-make-keymap-1): Check for tab-bar-new-button-show.
696 (tab-bar-separator): Add docstring.
697
6982020-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * lisp/subr.el (cancel-change-group): Fix bug#39680
701
702 Don't re-use an existing `pending-undo-list` even if (eq last-command 'undo)
703 since there might have been changes to the buffer since that `undo` command
704 and the `pending-undo-list` can hence be invalid for the current
705 buffer contents.
706
7072020-03-12 İ. Göktuğ Kayaalp <self@gkayaalp.com>
708
709 Improve docs for horizontal scrolling with mouse and touchpad (Bug#39979)
710
711 * lisp/mwheel.el (mouse-wheel-tilt-scroll,
712 mouse-wheel-flip-direction): Improve docstrings.
713 * doc/emacs/frames.texi (Mouse Commands): Mention touchpads.
714
7152020-03-10 Juri Linkov <juri@linkov.net>
716
717 * lisp/emacs-lisp/package.el (package-install): Fix typo in docstring.
718
7192020-03-09 Paul Eggert <eggert@cs.ucla.edu>
720
721 Port .gdbinit to clang with -gdwarf-4
722
723 * src/.gdbinit (xgetsym): Port to clang with -gdwarf-4, which
724 doesn’t output the type of lispsym anywhere other than emacs.o
725 (Bug#39962).
726
7272020-03-09 Mattias Engdegård <mattiase@acm.org>
728
729 Simplify rx example in manual
730
731 * doc/lispref/searching.texi (Rx Notation):
732 Use the 'not' shorthand introduced in Emacs 27.
733
7342020-03-09 Paul Eggert <eggert@cs.ucla.edu>
735
736 * src/timefns.c: Add comments.
737
7382020-03-08 Paul Eggert <eggert@cs.ucla.edu>
739
740 * src/timefns.c: Add comments.
741
7422020-03-08 Andrew Eggenberger <andrew.eggenberger@gmail.com> (tiny change)
743
744 Eliminate use of cl-concatenate in 'seq' package
745
746 Fixes (Bug#39761) by making cl-extra dependent on seq rather than
747 vice versa.
748 * lisp/emacs-lisp/seq.el (seq-concatenate): Move cl-concatenate's
749 code here instead of calling it.
750 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use cl-concatenate.
751
7522020-03-07 Paul Eggert <eggert@cs.ucla.edu>
753
754 Fix bug with JIT stealth timers
755
756 * lisp/emacs-lisp/timer.el (run-at-time): Don’t assume that Lisp
757 time values must be conses (Bug#39944).
758
7592020-03-07 Paul Eggert <eggert@cs.ucla.edu>
760
761 * doc/lispref/os.texi (time-subtract): Doc fix.
762
7632020-03-07 Alan Third <alan@idiocy.org>
764
765 NS port documentation updates
766
767 * doc/emacs/macos.texi (Mac / GNUstep Customization): Document some
768 more of the ns- variables and remove incorrect font back-end
769 information.
770 * etc/NEWS: Update the documentation status of macOS news entries.
771
7722020-03-07 João Távora <joaotavora@gmail.com>
773
774 Let fido-mode users force a minibuffer-exit
775
776 * lisp/icomplete.el (icomplete-fido-exit):
777 Add FORCE arg. Rewrite docstring. (bug#38992)
778
7792020-03-07 Dmitry Gutov <dgutov@yandex.ru>
780
781 icomplete-fido-exit: New command for the M-j binding
782
783 * lisp/icomplete.el (icomplete-fido-exit): New command.
784 (icomplete-fido-mode-map): Use it (bug#38992).
785
7862020-03-07 Dmitry Gutov <dgutov@yandex.ru>
787
788 minibuffer-force-complete-and-exit: Allow input with no matches
789
790 * lisp/minibuffer.el (minibuffer--require-match): New variable.
791 (completing-read-default): Bind it to the REQUIRE-MATCH value.
792 (minibuffer-force-complete-and-exit): Consult it to allow input
793 with no matches when a match is not required (bug#38992).
794
795 * lisp/icomplete.el (icomplete-exhibit): Use it to render the
796 correct parens around matches.
797
7982020-03-07 Eli Zaretskii <eliz@gnu.org>
799
800 Document that 'byte-compile-dynamic' is obsolete
801
802 * doc/lispref/compile.texi (Dynamic Loading): Document that this
803 is deprecated.
804
805 * etc/NEWS: mark the 'byte-compile-dynamic' entry as documented.
806
8072020-03-07 Eli Zaretskii <eliz@gnu.org>
808
809 Document the changes in 'read-answer'
810
811 * doc/lispref/minibuf.texi (Multiple Queries): Document the
812 fact that 'read-answer' can now accept non-character input
813 events.
814
8152020-03-07 Eli Zaretskii <eliz@gnu.org>
816
817 Document changes in lexical-binding
818
819 * doc/lispref/variables.texi (Using Lexical Binding): Document
820 that lexical-binding is now turned on by default in more cases.
821
822 * etc/NEWS: Fix wording of the NEWS entry about the above, and mark it
823 as fully documented.
824
8252020-03-06 Amin Bandali <mab@gnu.org>
826
827 Update ERC mailing list address
828
829 * lisp/erc/erc.el (erc-official-location): As part of bringing ERC
830 under the Emacs umbrella, erc-discuss has been renamed to emacs-erc,
831 and will be *the* mailing list for discussions and announcements about
832 ERC going forward. The other two lists, erc-announce and erc-commit,
833 are now retired. For more details, see the announcement at
834 <https://lists.gnu.org/archive/html/emacs-erc/2020-03/msg00001.html>.
835
8362020-03-06 Roland Winkler <winkler@gnu.org>
837
838 Use regexp-opt to define bibtex-autokey-transcriptions. (Bug#39686)
839
8402020-03-06 Eli Zaretskii <eliz@gnu.org>
841
842 Improve documentation of 'table-generate-source'
843
844 * lisp/textmodes/table.el (table-generate-source): Doc fix.
845 (Bug#39935)
846
847 * etc/NEWS: Fix wording of the 'table-generate-source' entry and
848 mark it as documented.
849
8502020-03-06 Eli Zaretskii <eliz@gnu.org>
851
852 Attempt to avoid rare segfaults in show_mouse_face
853
854 * src/xdisp.c (show_mouse_face): Don't display the active region
855 if called on a frame different from the one recorded in HLINFO.
856 (Bug#37671)
857
8582020-03-05 Eli Zaretskii <eliz@gnu.org>
859
860 Avoid crashes when a fontset has strange entries
861
862 * src/fontset.c (reorder_font_vector): Skip nil entries in the
863 loop that assigns scores to rfont_def's.
864 (fontset_compare_rfontdef): Cope with nil. This has the effect of
865 moving any nil entries to the end of the font-group, and avoids
866 crashing if an element other than the last in the font-group is
867 nil. (Bug#39892)
868
8692020-03-05 Mattias Engdegård <mattiase@acm.org>
870
871 Fix rx error with ? and ??
872
873 The ? and ?? rx operators are special in that they can be written as
874 characters (space and '?' respectively). This confused the definition
875 look-up mechanism in rare cases.
876
877 * lisp/emacs-lisp/rx.el (rx--expand-def): Don't look up non-symbols.
878 * test/lisp/emacs-lisp/rx-tests.el (rx-charset-or): Test.
879
8802020-03-05 Mattias Engdegård <mattiase@acm.org>
881
882 * lisp/emacs-lisp/rx.el (rx--string-to-intervals): Fix error string.
883
8842020-03-05 Justin Burkett <justin@burkett.cc> (tiny change)
885
886 Fix args in 'window-text-pixel-size' call in 'fit-window-to-buffer'
887
888 * lisp/window.el (fit-window-to-buffer): Fix arguments in
889 'window-text-pixel-size' call.
890
8912020-03-04 João Távora <joaotavora@gmail.com>
892
893 Have pulse.el preserve existing overlay priorities
894
895 (Bug#39821)
896
897 * lisp/cedet/pulse.el (pulse-momentary-highlight-overlay): Save
898 overlay priority.
899 (pulse-momentary-unhighlight): Restore.
900
9012020-03-04 Alan Mackenzie <acm@muc.de>
902
903 CC Mode: Fix the handling of two adjacent after-change-functionses.
904
905 The bug involved failing to set c-new-END correctly, which lead to an
906 args-out-of-range error when after-change-functions was invoked twice without
907 an intervening invocation of before-change-functions.
908
909 * lisp/progmodes/cc-mode.el (c-after-change): Correct a coding error in the
910 handling of c-just-done-before-change.
911
9122020-03-04 Alan Mackenzie <acm@muc.de>
913
914 Fix combine-change-calls-1 for when buffer-undo-list is t
915
916 * lisp/subr.el (combine-change-calls-1): Bind before/after-change-functions to
917 nil also when buffer-undo-list is t.
918
9192020-03-04 Mattias Engdegård <mattiase@acm.org>
920
921 Don't misinterpret doc string as initial value
922
923 * lisp/loadhist.el (loadhist--restore-autoload):
924 * lisp/progmodes/vhdl-mode.el (vhdl-font-lock-keywords-0):
925 Prevent the doc string from being used as initial value.
926
9272020-03-04 Stefan Kangas <stefankangas@gmail.com>
928
929 Bump checkdoc-version to match library header
930
931 * lisp/emacs-lisp/checkdoc.el (checkdoc-version): Bump version.
932
9332020-03-04 Noam Postavsky <npostavs@gmail.com>
934
935 Explain how to unset mode bindings (Bug#39802)
936
937 * doc/emacs/custom.texi (Init Rebinding): Explain that passing nil to
938 define-key will unbind keys, and extend the example accordingly.
939
9402020-03-04 Noam Postavsky <npostavs@gmail.com>
941
942 Fix describe-variable on values with circular syntax (Bug#39805)
943
944 * lisp/help-fns.el (describe-variable): Set syntax tables before
945 calling pp-buffer.
946
9472020-03-04 Juri Linkov <juri@linkov.net>
948
949 Improve documentation of next-error-highlight-no-select (bug#38778)
950
951 * doc/emacs/building.texi (Compilation Mode):
952 Mention next-error-highlight-no-select.
953
954 * lisp/simple.el (next-error-highlight): Add reference to
955 next-error-highlight-no-select.
956 (next-error-highlight-no-select): Add reference to
957 next-error-highlight.
958
9592020-03-03 Andreas Schwab <schwab@linux-m68k.org>
960
961 Fix implicit declaration of getenv and atol
962
963 * src/gtkutil.c: Include <stdlib.h>.
964
9652020-03-03 Eli Zaretskii <eliz@gnu.org>
966
967 Fix handling MS-Windows keyboard input above the BMP
968
969 * src/w32term.c (w32_read_socket): If we get a WM_UNICHAR message
970 with a surrogate codepoint, assemble the corresponding character
971 code above the BMP from its UTF-16 encoding, communicated in two
972 consecutive WM_UNICHAR messages.
973
9742020-03-03 Mattias Engdegård <mattiase@acm.org>
975
976 * etc/NEWS: More complete description of rx 'not' changes.
977
9782020-03-02 Juri Linkov <juri@linkov.net>
979
980 * doc/emacs/mini.texi (Yes or No Prompts): 'y-or-n-p' now uses the minibuffer.
981
9822020-03-02 Robert Pluim <rpluim@gmail.com>
983
984 Don't attempt to cache glyph metrics for FONT_INVALID_CODE
985
986 This was causing massive slowdown in redisplay when eg #xfe0f
987 (VARIATION SELECTOR-16) was present, as the cache ended up very large,
988 unused, and being recreated on every call to font_fill_lglyph_metrics
989 (Bug#39133).
990
991 * src/composite.c (fill_gstring_body): Hoist FONT_OBJECT_P check out
992 of loop. Calculate glyph code and check for FONT_INVALID_CODE before
993 calling font_fill_lglyph_metrics. Pass glyph code to it.
994
995 * src/font.c (font_fill_lglyph_metrics): Add code parameter, move
996 glyph code calculation up the call stack into fill_gstring_body.
997
998 * src/font.h: Adjust font_fill_lglyph_metrics prototype.
999
10002020-03-01 Sergey Trofimov <sarg@sarg.org.ru> (tiny change)
1001
1002 Fix fit-frame-to-buffer for multi-monitor setup
1003
1004 * lisp/window.el (fit-frame-to-buffer): Call
1005 'frame-monitor-attributes' instead of
1006 'display-monitor-attributes-list'. Fix geometry calculations for
1007 multiple monitors.
1008
10092020-03-01 Mattias Engdegård <mattiase@acm.org>
1010
1011 rx: Improve 'or' compositionality (bug#37659)
1012
1013 Perform 'regexp-opt' on nested 'or' forms, and after expansion of
1014 user-defined and 'eval' forms. Characters are now turned into strings
1015 for wider 'regexp-opt' scope. This preserves the longest-match
1016 semantics for string in 'or' forms over composition.
1017
1018 * doc/lispref/searching.texi (Rx Constructs): Document.
1019 * lisp/emacs-lisp/rx.el (rx--normalise-or-arg)
1020 (rx--all-string-or-args): New.
1021 (rx--translate-or): Normalise arguments first, and check for strings
1022 in subforms.
1023 (rx--expand-eval): Extracted from rx--translate-eval.
1024 (rx--translate-eval): Call rx--expand-eval.
1025 * test/lisp/emacs-lisp/rx-tests.el (rx-or, rx-def-in-or): Add tests.
1026 * etc/NEWS: Announce.
1027
10282020-02-29 Juri Linkov <juri@linkov.net>
1029
1030 * lisp/tab-line.el: Fix auto-hscrolling (bug#39649)
1031
1032 Distinguish offsets between manual-vs-automatic scrolling
1033 as integers-vs-floats instead of positive-vs-negative integers.
1034
1035 * lisp/tab-line.el (tab-line-format-template): Use 'numberp'
1036 instead of 'integerp', and 'truncate' instead of 'abs'.
1037 (tab-line-format): When the window-buffer was updated, set window-parameter
1038 to float to enable auto-hscroll after it was disabled on manual scrolling.
1039 (tab-line-auto-hscroll-buffer): New variable with internal buffer.
1040 (tab-line-auto-hscroll): Erase in tab-line-auto-hscroll-buffer.
1041 Use 'numberp' instead of 'integerp', 'truncate' instead of 'abs',
1042 and 'float' instead of '-'.
1043 (tab-line-hscroll): Use 'numberp' instead of 'integerp',
1044 and 'truncate' instead of 'abs'.
1045
10462020-02-29 Mattias Engdegård <mattiase@acm.org>
1047
1048 Fix rx charset generation
1049
1050 * lisp/emacs-lisp/rx.el (rx--charset-p): Don't overquote.
1051 (rx--generate-alt): Generate '.' for negated newline.
1052 * test/lisp/emacs-lisp/rx-tests.el (rx-any, rx-charset-or): Test.
1053
10542020-02-28 Mattias Engdegård <mattiase@acm.org>
1055
1056 Fix overquoting in mule.el
1057
1058 * lisp/international/mule.el (sgml-xml-auto-coding-function):
1059 Remove accidental quote.
1060
10612020-02-28 Paul Eggert <eggert@cs.ucla.edu>
1062
1063 * src/timefns.c (time_arith): Omit incorrect comment.
1064
10652020-02-28 Mattias Engdegård <mattiase@acm.org>
1066
1067 * lisp/vc/vc-cvs.el (vc-cvs-ignore): Copy-edit doc string
1068
10692020-02-28 Štěpán Němec <stepnem@gmail.com>
1070
1071 checkdoc: Don't mistake "cf." for sentence end
1072
1073 * lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1074 Recognize "cf." as an abbreviation, not a sentence end.
1075
10762020-02-27 Nicolas Petton <nicolas@petton.fr>
1077
1078 Bump Emacs version to 27.0.90
1079
1080 * README:
1081 * configure.ac:
1082 * msdos/sed2v2.inp:
1083 * nt/README.W32: Bump Emacs version.
1084
10852020-02-27 Nicolas Petton <nicolas@petton.fr>
1086
1087 * etc/AUTHORS: Update.
1088
12020-02-27 Nicolas Petton <nicolas@petton.fr> 10892020-02-27 Nicolas Petton <nicolas@petton.fr>
2 1090
3 * admin/authors.el (authors-ignored-files): Fix entries. 1091 * admin/authors.el (authors-ignored-files): Fix entries.
@@ -139450,7 +140538,7 @@
139450 140538
139451This file records repository revisions from 140539This file records repository revisions from
139452commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 140540commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
139453commit 9261b1ed49755284bb9dc194b6c2a9b407151ee5 (inclusive). 140541commit 4acdd7fe58ae9f94102afeca67b0383141d597da (inclusive).
139454See ChangeLog.2 for earlier changes. 140542See ChangeLog.2 for earlier changes.
139455 140543
139456;; Local Variables: 140544;; Local Variables: