]> git.eshelyaron.com Git - emacs.git/log
emacs.git
3 years agoC++ Mode: Handle new keywords static_cast, etc., wrt angle brackets
Alan Mackenzie [Sun, 27 Jun 2021 12:59:18 +0000 (12:59 +0000)]
C++ Mode: Handle new keywords static_cast, etc., wrt angle brackets

* lisp/progmodes/cc-langs.el (c-<>-arglist-kwds): Add const_cast,
dynamic_cast, reinterpret_cast and static_cast into this lang const.

* lisp/progmodes/cc-engine.el (c-clear-<-pair-props, c-clear->-pair-props)
(c-clear-<-pair-props-if-match-after, c-clear->-pair-props-if-match-before)
(c-forward-<>-arglist-recur):
Invalidate caches with c-trunctate-lit-pos-cache.
(c-forward-<>-arglist-recur): If in a matching <...> expression, the < has a
syntax-table property, but the > not, remove that property.

3 years agoAnother improvement in documentation of "memory" profiler
Eli Zaretskii [Sat, 19 Jun 2021 13:08:50 +0000 (16:08 +0300)]
Another improvement in documentation of "memory" profiler

* lisp/profiler.el (profiler-start): Fix the doc string to better
explain what is "memory" profiler.

3 years agoImprove documentation of profiler
Eli Zaretskii [Sat, 19 Jun 2021 12:39:11 +0000 (15:39 +0300)]
Improve documentation of profiler

* doc/lispref/debugging.texi (Profiling): Stop misleading users
about what "memory" profiling really is.

3 years agoDocument 'ispell-program-name'
Eli Zaretskii [Tue, 15 Jun 2021 15:21:50 +0000 (18:21 +0300)]
Document 'ispell-program-name'

* doc/emacs/fixit.texi (Spelling): Document
'ispell-program-name'.  (Bug#49039)

3 years agoFix documentation of 'face-extend-p'
Eli Zaretskii [Sun, 13 Jun 2021 14:10:51 +0000 (17:10 +0300)]
Fix documentation of 'face-extend-p'

* doc/lispref/display.texi (Attribute Functions): Fix description
of 'face-extend-p'.  (Bug#48936)

3 years ago* src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak. (Bug#48884)
Eli Zaretskii [Mon, 7 Jun 2021 12:03:06 +0000 (15:03 +0300)]
* src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak.  (Bug#48884)

(cherry picked from commit 69a65212a233333ab0605374b4985ead23f4a541)

3 years ago; Fix typo in dynamic module functions docs.
Basil L. Contovounesios [Sun, 6 Jun 2021 06:52:01 +0000 (07:52 +0100)]
; Fix typo in dynamic module functions docs.

3 years ago; * src/composite.h: Improve comments for LGSTRING and LGLYPH.
Eli Zaretskii [Wed, 2 Jun 2021 14:50:57 +0000 (17:50 +0300)]
; * src/composite.h: Improve comments for LGSTRING and LGLYPH.

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 1 Jun 2021 13:12:39 +0000 (06:12 -0700)]
; Auto-commit of loaddefs files.

3 years agoImprove documentation of regexp ranges
Eli Zaretskii [Sun, 30 May 2021 10:20:02 +0000 (13:20 +0300)]
Improve documentation of regexp ranges

* doc/lispref/searching.texi (Regexp Special): Document the effect
of using octal escapes in regexp ranges.  (Bug#17758)

3 years agoImprove documentation of display tables
Eli Zaretskii [Fri, 21 May 2021 06:51:17 +0000 (09:51 +0300)]
Improve documentation of display tables

* doc/lispref/display.texi (Display Tables): Add a cross-reference
to the next section.

3 years ago* src/buffer.c (syms_of_buffer) <ctl-arrow>: Doc fix. (Bug#48539)
Eli Zaretskii [Fri, 21 May 2021 06:37:47 +0000 (09:37 +0300)]
* src/buffer.c (syms_of_buffer) <ctl-arrow>: Doc fix.  (Bug#48539)

3 years agoImprove documentation of Hexl mode
Eli Zaretskii [Tue, 11 May 2021 17:06:02 +0000 (20:06 +0300)]
Improve documentation of Hexl mode

* doc/emacs/misc.texi (Editing Binary Files): Explain that Hexl can
also be used for editing text, including non-ASCII text.

3 years ago; * etc/NEWS: Fix decoded-time-set-defaults typo.
Basil L. Contovounesios [Sun, 9 May 2021 13:46:27 +0000 (14:46 +0100)]
; * etc/NEWS: Fix decoded-time-set-defaults typo.

This was mistakenly applied to NEWS.27 on the master branch in
2021-05-09 "; Fix decoded-time-set-defaults typo in NEWS.27."
but that has now been reverted (bug#48298).

3 years agoFix compilation errors with latest w32 API headers
Eli Zaretskii [Sun, 9 May 2021 07:59:08 +0000 (10:59 +0300)]
Fix compilation errors with latest w32 API headers

* src/w32common.h: Rename OS_* to OS_SUBTYPE__*, as w32 API
headers started defining OS_NT, which breaks the use of the
enumeration.  All users changed.  (Bug#48303)

3 years agoImprove doc strings in log-edit.el
Eli Zaretskii [Fri, 7 May 2021 07:16:11 +0000 (10:16 +0300)]
Improve doc strings in log-edit.el

* lisp/vc/log-edit.el (log-edit-new-comment-index)
(log-edit-maximum-comment-ring-size, log-edit-previous-comment)
(log-edit-next-comment, log-edit-comment-search-backward)
(log-edit-comment-search-forward)
(log-edit-comment-to-change-log)
(log-edit-header-contents-regexp, log-edit-font-lock-gnu-style)
(log-edit, log-edit-mode, log-edit-fill-entry, log-edit-done)
(log-edit-kill-buffer, log-edit-insert-message-template)
(log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate)
(log-edit-rewrite-fixes, log-edit-add-to-changelog)
(log-edit-generate-changelog-from-diff)
(log-edit-insert-changelog, log-edit-narrow-changelog)
(log-edit-changelog-entry, log-edit-changelog-insert-entries)
(log-edit-extract-headers): Enhance and reword doc strings.

3 years ago; * etc/TODO (etc/DOC): Update the todo entries.
Eli Zaretskii [Thu, 6 May 2021 08:41:43 +0000 (11:41 +0300)]
; * etc/TODO (etc/DOC): Update the todo entries.

3 years agoFix code for newline-and-indent in skeleton language.
Philipp Stephani [Sun, 2 May 2021 18:57:38 +0000 (20:57 +0200)]
Fix code for newline-and-indent in skeleton language.

The code for this is the symbol 'n', which is usually spelled as '\n'
here, not the character ?\n.

* doc/misc/autotype.texi (Skeleton Language): Fix item for
newline-and-indent.

3 years ago* lisp/jka-compr.el (jka-compr-uninstall): Fix function reference.
Philipp Stephani [Sat, 1 May 2021 23:01:28 +0000 (01:01 +0200)]
* lisp/jka-compr.el (jka-compr-uninstall): Fix function reference.

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sat, 1 May 2021 13:11:33 +0000 (06:11 -0700)]
; Auto-commit of loaddefs files.

3 years agoFix GUD overlay arrows in M-x gdb when debugging over Tramp. Don't merge
Jim Porter [Sat, 1 May 2021 10:05:37 +0000 (12:05 +0200)]
Fix GUD overlay arrows in M-x gdb when debugging over Tramp.   Don't merge

* lisp/progmodes/gdb-mi.el (gdb-frame-handler): Use local part of
file name when setting `gud-last-frame'.

3 years agoFix setting breakpoints in M-x gdb for remote files. Don't merge
Jim Porter [Sat, 1 May 2021 09:56:19 +0000 (11:56 +0200)]
Fix setting breakpoints in M-x gdb for remote files.  Don't merge

* lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer): Fix modification
of GDB/MI "fullname" property for remote files

3 years agoImprove doc string of 'tab-width'.
Eli Zaretskii [Fri, 30 Apr 2021 10:48:13 +0000 (13:48 +0300)]
Improve doc string of 'tab-width'.

* src/buffer.c (syms_of_buffer) <tab-width>: Clarify doc string.
(Bug#48058)

3 years ago* lisp/emacs-lisp/elp.el: Doc fixes.
Stefan Kangas [Thu, 29 Apr 2021 15:17:50 +0000 (17:17 +0200)]
* lisp/emacs-lisp/elp.el: Doc fixes.

3 years ago* lisp/emacs-lisp/pp.el: Doc fixes.
Stefan Kangas [Thu, 29 Apr 2021 11:44:54 +0000 (13:44 +0200)]
* lisp/emacs-lisp/pp.el: Doc fixes.

3 years ago* admin/make-tarball.txt: Note to update more files on web page.
Stefan Kangas [Wed, 28 Apr 2021 13:22:11 +0000 (15:22 +0200)]
* admin/make-tarball.txt: Note to update more files on web page.

3 years ago* doc/misc/cl.texi (For Clauses): Minor copyedits.
Philipp Stephani [Sat, 24 Apr 2021 21:29:58 +0000 (23:29 +0200)]
* doc/misc/cl.texi (For Clauses): Minor copyedits.

3 years ago; * doc/lispref/files.texi (Directory Names): Add missing parenthesis
Philipp Stephani [Sat, 24 Apr 2021 21:22:44 +0000 (23:22 +0200)]
; * doc/lispref/files.texi (Directory Names): Add missing parenthesis

3 years agoMinor update for make-tarball.txt
Eli Zaretskii [Sat, 24 Apr 2021 12:17:40 +0000 (15:17 +0300)]
Minor update for make-tarball.txt

* admin/make-tarball.txt (UPDATING THE EMACS WEB PAGES AFTER A
RELEASE): Update and enhance the section to make it easier to find
the banner and verify the updated pages are in place.

3 years ago* doc/misc/cl.texi (Iteration Clauses): fix `never' clause typo
Jorge P. de Morais Neto [Thu, 22 Apr 2021 23:16:33 +0000 (20:16 -0300)]
* doc/misc/cl.texi (Iteration Clauses): fix `never' clause typo

This fixes bug#47962.

Copyright-paperwork-exempt: yes

3 years ago; Fix Texinfo in last change to minibuf.texi.
Basil L. Contovounesios [Tue, 20 Apr 2021 12:34:59 +0000 (13:34 +0100)]
; Fix Texinfo in last change to minibuf.texi.

3 years agoImprove filling-related documentation
Eli Zaretskii [Tue, 20 Apr 2021 12:12:10 +0000 (15:12 +0300)]
Improve filling-related documentation

* doc/emacs/text.texi (Auto Fill, Fill Commands): Mention special
line-breaking rules for CJK characters and the kinsoku rules.
(Bug#47856)

* lisp/textmodes/fill.el
(fill-separate-heterogeneous-words-with-space): Doc fix.

3 years ago; * doc/lispref/keymaps.texi (Easy Menu): Fix typo.
Philipp Stephani [Sat, 17 Apr 2021 21:13:57 +0000 (23:13 +0200)]
; * doc/lispref/keymaps.texi (Easy Menu): Fix typo.

3 years agoFix reference to "yanking" in the main Emacs manual
Daniel Martín [Sat, 17 Apr 2021 11:18:45 +0000 (13:18 +0200)]
Fix reference to "yanking" in the main Emacs manual

* doc/emacs/emacs.texi (Top): Yanking is alternatively known as
pasting, not copying.  (Bug#47839).

3 years agoImprove documentation of 'map-y-or-n-p'
Eli Zaretskii [Sat, 17 Apr 2021 08:24:04 +0000 (11:24 +0300)]
Improve documentation of 'map-y-or-n-p'

* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Doc fix.  (Bug#47833)

* doc/lispref/minibuf.texi (Multiple Queries): Fix the wording in
the description of 'map-y-or-n-p'.

3 years agoFix typos in manuals
Eli Zaretskii [Tue, 13 Apr 2021 12:30:02 +0000 (15:30 +0300)]
Fix typos in manuals

* doc/misc/eshell.texi (Completion):
* doc/lispref/objects.texi (Mutability): Fix typos.  (Bug#47738)

3 years agoFix description of momentary message display
Eli Zaretskii [Sat, 10 Apr 2021 10:41:48 +0000 (13:41 +0300)]
Fix description of momentary message display

* doc/emacs/mini.texi (Basic Minibuffer): Update the description
of momentary message display while minibuffer is active.
(Bug#47689)

3 years agoFix broken links in autorevert.el
Damien Cassou [Tue, 6 Apr 2021 17:31:56 +0000 (19:31 +0200)]
Fix broken links in autorevert.el

* lisp/autorevert.el (global-auto-revert-non-file-buffers):
Fix broken links.  (Bug#47621)

3 years ago* lisp/international/ja-dic-cnv.el (skkdic-convert): Doc fix.
Glenn Morris [Mon, 5 Apr 2021 15:49:07 +0000 (08:49 -0700)]
* lisp/international/ja-dic-cnv.el (skkdic-convert): Doc fix.

3 years agoFix crash when using menus and tramp on NS
Alan Third [Sat, 2 Jan 2021 22:27:53 +0000 (22:27 +0000)]
Fix crash when using menus and tramp on NS

; Fixes bug#24472, bug#37557 and bug#37922.

* src/nsterm.m (ns_select): Don't drain outerpool in this function.

(cherry picked from commit f14869cd70e61b1908ec88a5e3d4bf21c7d538a0)

3 years agoImprove doc strings in replace.el
Eli Zaretskii [Sat, 3 Apr 2021 07:16:34 +0000 (10:16 +0300)]
Improve doc strings in replace.el

* lisp/replace.el (occur, list-matching-lines-prefix-face)
(list-matching-lines-jump-to-current-line): Doc fixes.

3 years agoFix hang in autorevert-tests.el
Michael Albinus [Sun, 28 Mar 2021 19:06:24 +0000 (21:06 +0200)]
Fix hang in autorevert-tests.el

* test/lisp/autorevert-tests.el (auto-revert--wait-for-revert):
Apply more robust check, whether file notification is used.

3 years agoRevert "Clarify dired-do-shell-command doc string"
Lars Ingebrigtsen [Sun, 28 Mar 2021 15:06:01 +0000 (17:06 +0200)]
Revert "Clarify dired-do-shell-command doc string"

This reverts commit cf607c262e15c873961fdfcced254e6f8e82f8d7.

The doc string already explains this.

(cherry picked from commit 01cf0eb75786834b7a0ee5be34be53f6e8e14c11)

3 years agoClarify dired-do-shell-command doc string
Lars Ingebrigtsen [Sun, 28 Mar 2021 14:01:53 +0000 (16:01 +0200)]
Clarify dired-do-shell-command doc string

* lisp/dired-aux.el (dired-do-shell-command): Mention what happens
to FILE-LIST (bug#47432).

(cherry picked from commit cf607c262e15c873961fdfcced254e6f8e82f8d7)

3 years agoDoc fixes for 'face-foreground' and 'face-background'.
Eli Zaretskii [Sun, 28 Mar 2021 13:26:21 +0000 (16:26 +0300)]
Doc fixes for 'face-foreground' and 'face-background'.

* lisp/faces.el (face-foreground, face-background): Clarify how a
face specified in INHERIT arg is used.  (Bug#47437)

3 years ago; * admin/make-tarball.txt: Minor addition to the Web pages section.
Eli Zaretskii [Fri, 26 Mar 2021 06:37:56 +0000 (09:37 +0300)]
; * admin/make-tarball.txt: Minor addition to the Web pages section.

3 years ago* admin/admin.el (set-version): Handle malformed NEWS markup.
Glenn Morris [Thu, 25 Mar 2021 18:48:13 +0000 (11:48 -0700)]
* admin/admin.el (set-version): Handle malformed NEWS markup.

3 years agoadmin.el fix for bug#47394
Glenn Morris [Thu, 25 Mar 2021 18:23:17 +0000 (11:23 -0700)]
admin.el fix for bug#47394

* admin/admin.el (manual-html-fix-index-2): Handle Texinfo 6.7.

3 years ago; * etc/NEWS: Fix typo.
Michael Albinus [Thu, 25 Mar 2021 17:52:44 +0000 (18:52 +0100)]
; * etc/NEWS: Fix typo.

3 years ago; * admin/make-tarball.txt: Another minor addition.
Eli Zaretskii [Thu, 25 Mar 2021 17:22:55 +0000 (19:22 +0200)]
; * admin/make-tarball.txt: Another minor addition.

3 years agoBump Emacs version past 27.2
Eli Zaretskii [Thu, 25 Mar 2021 17:12:25 +0000 (19:12 +0200)]
Bump Emacs version past 27.2

* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp:
* etc/NEWS: Bump Emacs version to 27.2.50.

3 years ago* admin/make-tarball.txt: Improve and expand the instructions.
Eli Zaretskii [Thu, 25 Mar 2021 15:24:43 +0000 (17:24 +0200)]
* admin/make-tarball.txt: Improve and expand the instructions.

3 years agoFix preeditarea reporting wrong spot.
Amos Bird [Thu, 25 Mar 2021 06:50:46 +0000 (14:50 +0800)]
Fix preeditarea reporting wrong spot.

This patch adjust the x position of preeditarea with both left fringe
and left margin, which prevents IME preedit box (such as fcitx) from
placing at the wrong position in GUI emacs.
* src/xfns.c (xic_set_preeditarea): Adjust X for left margin width.
(Bug#47377)

3 years agoFix replace-buffer-contents undefined behavior
Paul Eggert [Mon, 22 Mar 2021 01:08:13 +0000 (18:08 -0700)]
Fix replace-buffer-contents undefined behavior

* src/editfns.c (Freplace_buffer_contents): Avoid undefined
behavior with competing side effects in parallel subexpressions.
Problem reported by Apple clang version 12.0.0 (clang-1200.0.32.29).

3 years agoFix filenotify-tests.el for Solaris (bug#47262), do not merge
Michael Albinus [Thu, 25 Mar 2021 14:36:33 +0000 (15:36 +0100)]
Fix filenotify-tests.el for Solaris (bug#47262), do not merge

* test/lisp/filenotify-tests.el (file-notify--test-read-event):
Check also for GFamDirectoryMonitor.
(file-notify--test-timeout): Increase cygwin timeout.
(file-notify--test-monitor): Use `alist-get'.
(file-notify--test-event-actions): New defun.
(file-notify--test-with-actions-explainer): Use it.
(file-notify--test-with-actions-check): Use it.  If
file-notify-debug is non-nil, trace received events instead of
checking them.
(file-notify-test03-events, file-notify-test05-file-validity)
(file-notify-test07-many-events, file-notify-test08-backup)
(file-notify-test09-watched-file-in-watched-dir):
Handle GFamFileMonitor and GFamDirectoryMonitor.

3 years ago; * ChangeLog.3: Update with the log of the last change. emacs-27.2 emacs-27.2-rc2
Eli Zaretskii [Fri, 19 Mar 2021 07:16:54 +0000 (03:16 -0400)]
; * ChangeLog.3: Update with the log of the last change.

3 years agoFix frame-inner-height in non-GUI builds
Basil L. Contovounesios [Thu, 18 Mar 2021 21:39:05 +0000 (21:39 +0000)]
Fix frame-inner-height in non-GUI builds

Include tab bar in frame's inner height in non-GUI builds that don't
define tab-bar-height.  This is consistent with the inclusion of the
menu bar in the calculated height.  It is also consistent with TTY
frames of GUI builds, for which tab-bar-height is always zero
anyway (bug#47234).  Fix suggested by Eli Zaretskii <eliz@gnu.org>.

* lisp/frame.el (frame-inner-height): Don't assume tab-bar-height is
defined in builds --without-x.

3 years agoPrepare the Emacs 27.2 release. emacs-27.2-rc1
Eli Zaretskii [Thu, 18 Mar 2021 12:43:54 +0000 (08:43 -0400)]
Prepare the Emacs 27.2 release.

* etc/HISTORY: Update for Emacs 27.2.

* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Set version to 27.2

3 years ago; * admin/make-tarball.txt: Advise to remove stale subdirectories.
Eli Zaretskii [Thu, 18 Mar 2021 10:49:02 +0000 (12:49 +0200)]
; * admin/make-tarball.txt: Advise to remove stale subdirectories.

3 years agoDocument that `buffer-string' retains text properties
Lars Ingebrigtsen [Thu, 18 Mar 2021 04:59:12 +0000 (05:59 +0100)]
Document that `buffer-string' retains text properties

* doc/lispref/text.texi (Buffer Contents): Mention text properties
in the `buffer-string' documentation.
* src/editfns.c (Fbuffer_string): Mention text properties in the
doc string (bug#47220).

(cherry picked from commit 60af754170f22f5d25510af069ed0ebfec95f992)

3 years agoRemove duplicate @table item from ELisp manual
Fabrice Bauzac [Tue, 16 Mar 2021 20:09:15 +0000 (21:09 +0100)]
Remove duplicate @table item from ELisp manual

* doc/lispref/objects.texi (Special Read Syntax): Remove duplicate
item "#@N" from the table of Special Read Syntax.  (Bug#47200)

3 years agoFix reference to 'diff-font-lock-syntax' in diff-mode documentation
Daniel Martín [Sun, 14 Mar 2021 01:25:53 +0000 (02:25 +0100)]
Fix reference to 'diff-font-lock-syntax' in diff-mode documentation

* doc/emacs/files.texi (Diff Mode): Add the omitted name of the
variable.  (Bug#47129)

3 years agoFix buffer overflow in xbm_scan (bug#47094)
Alan Third [Sat, 13 Mar 2021 21:59:59 +0000 (21:59 +0000)]
Fix buffer overflow in xbm_scan (bug#47094)

* src/image.c (xbm_scan): Ensure reading a string doesn't overflow the
buffer.

(cherry picked from commit ebc3b25409dd614c1814a0643960452683e37aa3)

3 years agoFix typos and omissions for (elisp)Button Buffer Commands
Matt Armstrong [Wed, 10 Mar 2021 17:24:43 +0000 (09:24 -0800)]
Fix typos and omissions for (elisp)Button Buffer Commands

* doc/lispref/display.texi (Button Buffer Commands): Minor
typo and omission fixes `backward-button' and
`forward-button'.  (Bug#47051)

3 years agoTeach Rmail about NBSP in "Re:"
Eli Zaretskii [Sat, 13 Mar 2021 09:22:01 +0000 (11:22 +0200)]
Teach Rmail about NBSP in "Re:"

* lisp/mail/rmail.el (rmail-simplified-subject)
(rmail-reply-regexp): Allow NBSP in "RE:" prefixes.

3 years agoRevert "* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double"
Stefan Monnier [Fri, 12 Mar 2021 19:30:47 +0000 (14:30 -0500)]
Revert "* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double"

This reverts commit 02a5cfce471613f671722b35536d2a78f17b0429.
That commit breaks because of a missing patch to `parse_modifiers_uncached`
in `src/keyboard.c`.  IOW, too risky for `emacs-27`.

Don't merge to `master`.

3 years ago* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double
Stefan Monnier [Thu, 11 Mar 2021 16:41:53 +0000 (11:41 -0500)]
* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double

This functionality was broken by commit 3d5e31eceb9dc1fb62b2b2,
the problem being that we end up considering as distinct the events
`down-double-mouse-1` and `double-down-mouse-1`.

Reported by Eyal Soha <eyalsoha@gmail.com>

(mouse--click-1-maybe-follows-link): Make sure the last element of
the list passed to `event-convert-list` is indeed a "basic" event.

3 years ago* lisp/emacs-lisp/gv.el (edebug-after): Don't run the getter in the setter
Stefan Monnier [Fri, 5 Mar 2021 17:39:27 +0000 (12:39 -0500)]
* lisp/emacs-lisp/gv.el (edebug-after): Don't run the getter in the setter

This fixes bug#46573 which was introduced by commit
d79cf638f278e50c22feb53d6ba556f5ce9d7853.
The new code is a middle ground, which makes sure the instrumentation
point is used (so the coverage checker won't have ghost unreachable
instrumentation points) yet without artificially running the getter
when we only need to run the setter.

3 years ago* doc/misc/tramp.texi (Remote shell setup): Fix reference. (Do not merge)
Masahiro Nakamura [Fri, 5 Mar 2021 16:42:46 +0000 (17:42 +0100)]
* doc/misc/tramp.texi (Remote shell setup): Fix reference. (Do not merge)

3 years agoFix initialization of 'while-no-input-ignore-events'
Eli Zaretskii [Fri, 5 Mar 2021 12:42:22 +0000 (14:42 +0200)]
Fix initialization of 'while-no-input-ignore-events'

* src/keyboard.c (syms_of_keyboard_for_pdumper): Don't reset
'while-no-input-ignore-events' after loading the dump file.
(Bug#46940)

3 years agoUpdate documentation of reading passwords
Eli Zaretskii [Thu, 4 Mar 2021 13:30:10 +0000 (15:30 +0200)]
Update documentation of reading passwords

* doc/emacs/mini.texi (Passwords): Update to match the modified
implementation.  (Bug#46902)  Add indexing.

3 years agoImprove the 'dired-do-kill-lines' doc string
Lars Ingebrigtsen [Tue, 2 Mar 2021 07:07:59 +0000 (08:07 +0100)]
Improve the 'dired-do-kill-lines' doc string

* lisp/dired-aux.el (dired-do-kill-lines): Document the FMT
parameter (bug#46867).

(cherry picked from commit b9cb3b904008a80c69ab433f4851377967b100db)

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Mon, 1 Mar 2021 14:13:59 +0000 (06:13 -0800)]
; Auto-commit of loaddefs files.

3 years agoAvoid crashes in Mew due to corrupted tool-bar label
Eli Zaretskii [Sat, 27 Feb 2021 07:26:55 +0000 (09:26 +0200)]
Avoid crashes in Mew due to corrupted tool-bar label

* src/gtkutil.c (update_frame_tool_bar): Don't keep around a
'char *' pointer to a Lisp string's contents when calling Lisp,
because that could relocate string data; keep the Lisp string
itself instead.  This avoids crashes in Mew.  (Bug#46791)

3 years ago* lisp/tooltip.el (tooltip): Doc fix for GTK.
Stefan Kangas [Fri, 26 Feb 2021 04:46:26 +0000 (05:46 +0100)]
* lisp/tooltip.el (tooltip): Doc fix for GTK.

3 years ago* lisp/help.el (help-for-help-internal): Doc fix; use imperative.
Stefan Kangas [Sat, 20 Feb 2021 14:25:32 +0000 (15:25 +0100)]
* lisp/help.el (help-for-help-internal): Doc fix; use imperative.

3 years agoMore accurate documentation of the "r" interactive spec
Eli Zaretskii [Fri, 19 Feb 2021 13:16:31 +0000 (15:16 +0200)]
More accurate documentation of the "r" interactive spec

* doc/lispref/commands.texi (Interactive Codes): Describe the
effect of 'mark-even-if-inactive'.

3 years agoMention the GNU Kind Communications Guidelines in the FAQ
Stefan Kangas [Fri, 19 Feb 2021 09:21:14 +0000 (10:21 +0100)]
Mention the GNU Kind Communications Guidelines in the FAQ

* doc/misc/efaq.texi (Guidelines for newsgroup postings): Mention
the GNU Kind Communications Guidelines.

3 years ago; * CONTRIBUTE: Another wording change regarding tiny changes.
Eli Zaretskii [Thu, 18 Feb 2021 14:07:34 +0000 (16:07 +0200)]
; * CONTRIBUTE: Another wording change regarding tiny changes.

3 years agoAllow newlines in password prompts again in comint
Ryan Prior [Thu, 18 Feb 2021 11:48:28 +0000 (12:48 +0100)]
Allow newlines in password prompts again in comint

* lisp/comint.el (comint-password-prompt-regexp): Match all
whitespace (including newline) at the end of the passphrase, not
just space and \t (bug#46609).
(comint-watch-for-password-prompt): Remove trailing newlines from
the prompt (bug#46609).

Copyright-paperwork-exempt: yes

3 years agoAvoid point movement when visiting image files
Eli Zaretskii [Tue, 16 Feb 2021 16:20:06 +0000 (18:20 +0200)]
Avoid point movement when visiting image files

* lisp/image-mode.el (image-toggle-display-image): Preserve point
around the call to exif-parse-buffer, to prevent it from moving
into the image data.  (Bug#46552)

3 years ago; * CONTRIBUTE: Yet another clarification of significant changes.
Eli Zaretskii [Fri, 12 Feb 2021 07:25:13 +0000 (09:25 +0200)]
; * CONTRIBUTE: Yet another clarification of significant changes.

3 years agoAvoid assertion violation in callproc.c
Eli Zaretskii [Wed, 10 Feb 2021 18:04:26 +0000 (20:04 +0200)]
Avoid assertion violation in callproc.c

* src/callproc.c (call_process): Avoid assertion violation when
DESTINATION is a cons cell '(:file . "FOO")'.  (Bug#46426)

3 years ago; * CONTRIBUTE: Clarify the "15-lines" rule a bit more.
Eli Zaretskii [Mon, 8 Feb 2021 16:09:21 +0000 (18:09 +0200)]
; * CONTRIBUTE: Clarify the "15-lines" rule a bit more.

3 years agoClarify "changes" in CONTRIBUTE
Lars Ingebrigtsen [Mon, 8 Feb 2021 06:30:18 +0000 (07:30 +0100)]
Clarify "changes" in CONTRIBUTE

* CONTRIBUTE: Clarify that "changes" doesn't include removing code
(bug#44834).

(cherry picked from commit 33c9556c9db9b8c62dcd80dd3cc665e669ea66d4)

3 years agoClarify when activate-mark-hook is run
Lars Ingebrigtsen [Sun, 7 Feb 2021 21:01:34 +0000 (22:01 +0100)]
Clarify when activate-mark-hook is run

* doc/lispref/markers.texi (The Mark):
* lisp/simple.el (activate-mark-hook): Clarify when the hook is
run (bug#23444).

3 years agoFix language-environment and font selection on MS-Windows
Eli Zaretskii [Sun, 7 Feb 2021 15:52:30 +0000 (17:52 +0200)]
Fix language-environment and font selection on MS-Windows

These changes improve setting the language-environment and font
selection when MS-Windows returns useless "ZZZ" as the "language
name", which then disrupts all the setup of the locale-dependent
stuff, and in particular font selection.
* lisp/w32-fns.el (w32-charset-info-alist): Add an element for
"iso8859-5", in case LANG is set to something unusable, like
"ZZZ".  This allows fonts capable of displaying Cyrillic
characters to be used even when language preferences are screwed.

* src/w32.c (init_environment): If GetLocaleInfo returns "ZZZ" as
the "language name" for LOCALE_USER_DEFAULT, try again with locale
ID based on what GetUserDefaultUILanguage returns.  (Bug#39286)

3 years agoFix example in Sequence Functions node in the manual
Petteri Hintsanen [Sun, 7 Feb 2021 12:10:19 +0000 (13:10 +0100)]
Fix example in Sequence Functions node in the manual

* doc/lispref/sequences.texi (Sequence Functions): Fix the result
from the example.

3 years agoImprove doc string of 'text-scale-adjust'
Eli Zaretskii [Sat, 6 Feb 2021 12:31:51 +0000 (14:31 +0200)]
Improve doc string of 'text-scale-adjust'

* lisp/face-remap.el (text-scale-adjust): Clarify that "default
face height" refers to the 'default' face.  (Bug#25168)

3 years agoClarify the indent-rigidly doc string
Lars Ingebrigtsen [Sat, 6 Feb 2021 10:46:58 +0000 (11:46 +0100)]
Clarify the indent-rigidly doc string

* lisp/indent.el (indent-rigidly): Clarify exiting the transient
mode (bug#46296).

3 years agoFix two small tab bar issues
Martin Rudalics [Sat, 6 Feb 2021 08:28:40 +0000 (09:28 +0100)]
Fix two small tab bar issues

* lisp/cus-start.el (frame-inhibit-implied-resize): Update version tag.
* lisp/frame.el (frame-inner-height): Do not count in tab bar.

3 years agoFix last change in syntax.texi
Eli Zaretskii [Fri, 5 Feb 2021 11:06:07 +0000 (13:06 +0200)]
Fix last change in syntax.texi

* doc/lispref/syntax.texi (Syntax Properties): Fix wording in last
change.  (Bug#46274)

3 years agoCorrect the lispref manual about flushing ppss info
Lars Ingebrigtsen [Fri, 5 Feb 2021 08:36:58 +0000 (09:36 +0100)]
Correct the lispref manual about flushing ppss info

* doc/lispref/syntax.texi (Syntax Properties): Correct the
information about flushing the state by copying the text from the
doc string (bug#46274).

(cherry picked from commit ff701ce2b261acce1dfcd1fe137268d87d5eab35)

3 years agoClarify how transient indentation modes are exited in the manual
Lars Ingebrigtsen [Fri, 5 Feb 2021 10:00:07 +0000 (11:00 +0100)]
Clarify how transient indentation modes are exited in the manual

* doc/emacs/indent.texi (Indentation Commands): Clarify that the
other keys don't just exit the transient mode, but are also
handled as normally (bug#46296).

3 years agoFix the previous change
Dmitry Gutov [Thu, 4 Feb 2021 23:17:09 +0000 (01:17 +0200)]
Fix the previous change

* lisp/progmodes/project.el (project-find-regexp):
Fix the previous change (project-root is not defined in this version).
(project-or-external-find-regexp): Same.

3 years agoBind default-directory to the project root
Dmitry Gutov [Thu, 4 Feb 2021 01:38:27 +0000 (03:38 +0200)]
Bind default-directory to the project root

* lisp/progmodes/project.el (project-find-regexp):
Bind default-directory to the project root, to save this value
in the resulting buffer (esp. if the project selector was used,
(https://lists.gnu.org/archive/html/emacs-devel/2021-02/msg00140.html).
(project-or-external-find-regexp): Same.

(cherry picked from commit c07ebfcbe084e8219d8c2588f23f77ba4ef39087)

3 years agoMake sure default-directory relates to the originating buffer
Dmitry Gutov [Sat, 9 Jan 2021 00:08:59 +0000 (02:08 +0200)]
Make sure default-directory relates to the originating buffer

* lisp/progmodes/xref.el (xref--show-xref-buffer):
Pick up default-directory value from the caller
(https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00551.html).
(xref-show-definitions-buffer-at-bottom): Same.

(cherry picked from commit 6e73e07a6f5cbdd1c5ae6e0f3fbd0f8f56813f1a)

3 years agoInitialize signal descriptions after pdumping
Eli Zaretskii [Thu, 4 Feb 2021 18:21:18 +0000 (20:21 +0200)]
Initialize signal descriptions after pdumping

* src/sysdep.c (init_signals) [!HAVE_DECL_SYS_SIGLIST]: Reinit
sys_siglist also after pdumping.  (Bug#46284)

3 years agoClarify the "Sentinels" node in the lispref manual
Lars Ingebrigtsen [Thu, 4 Feb 2021 11:02:53 +0000 (12:02 +0100)]
Clarify the "Sentinels" node in the lispref manual

* doc/lispref/processes.texi (Sentinels): Mention "run" and that
the strings can be anything (bug#30461).

(cherry picked from commit 859a4cb6b22f75a3456e29d08fcfe9b8940fbe8b)

3 years agoFix problem with non-ASCII characters in nnmaildir
Alexandre Duret-Lutz [Mon, 11 Jan 2021 14:27:54 +0000 (15:27 +0100)]
Fix problem with non-ASCII characters in nnmaildir

* lisp/gnus/nnmaildir.el (nnmaildir-request-article): Enable
multipart 8bit-content-transfer-encoded files to be displayed
correctly by reading as `raw-text' instead of having Emacs
(incorrectly) decode the files (bug#44307).

Copyright-paperwork-exempt: yes