]> git.eshelyaron.com Git - emacs.git/log
emacs.git
2 years ago; * doc/lispref/display.texi (Overlay Arrow): More accurate text.
Eli Zaretskii [Thu, 17 Mar 2022 12:55:59 +0000 (14:55 +0200)]
; * doc/lispref/display.texi (Overlay Arrow): More accurate text.

2 years ago* doc/misc/transient.texi: Fix @dircategory to "Emacs misc features" for dir.
Juri Linkov [Tue, 15 Mar 2022 17:28:50 +0000 (19:28 +0200)]
* doc/misc/transient.texi: Fix @dircategory to "Emacs misc features" for dir.

2 years agoFix evaluation of negated argument predicates in Eshell
Jim Porter [Sun, 13 Mar 2022 14:36:37 +0000 (15:36 +0100)]
Fix evaluation of negated argument predicates in Eshell

* lisp/eshell/em-pred.el (eshell-add-pred-func): Let-bind 'pred' so
the lambdas see the original value (bug#54369).

Committed on the wrong branch.

Do not merge to master.

2 years ago; * admin/make-tarball.txt: Minor updates.
Eli Zaretskii [Sun, 13 Mar 2022 07:53:59 +0000 (09:53 +0200)]
; * admin/make-tarball.txt: Minor updates.

2 years agoEmacs pretest 28.0.92 emacs-28.0.92
Eli Zaretskii [Sat, 12 Mar 2022 09:44:46 +0000 (04:44 -0500)]
Emacs pretest 28.0.92

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

* etc/AUTHORS:
* lisp/ldefs-boot.el: Update for pretest 28.0.92.

* ChangeLog.3: Regenerate.

2 years ago; * admin/authors.el (authors-canonical-file-name): Remove debug leftover.
Eli Zaretskii [Sat, 12 Mar 2022 08:32:47 +0000 (03:32 -0500)]
; * admin/authors.el (authors-canonical-file-name): Remove debug leftover.

2 years ago; Fix data structures in authors.el
Eli Zaretskii [Sat, 12 Mar 2022 08:28:45 +0000 (03:28 -0500)]
; Fix data structures in authors.el

* admin/authors.el (authors-aliases, authors-renamed-files-alist):
Update and correct the databases.
(authors-renamed-files-alist): Add commentary explaining how to
add entries for renamed/moved files.
(authors-canonical-file-name): Clarify the semantics of the
arguments.

2 years agoFix regression in 'custom-prompt-customize-unsaved-options'
Eli Zaretskii [Thu, 10 Mar 2022 18:26:13 +0000 (20:26 +0200)]
Fix regression in 'custom-prompt-customize-unsaved-options'

* lisp/cus-edit.el (custom-prompt-customize-unsaved-options):
Don't depend on the value returned by 'customize-unsaved'.  Fix
the doc string.  Patch by Sebastian Miele <iota@whxvd.name>.
(Bug#54329)

2 years agoImprove documentation of 'map-charset-chars'
Eli Zaretskii [Thu, 10 Mar 2022 07:29:29 +0000 (09:29 +0200)]
Improve documentation of 'map-charset-chars'

* doc/lispref/nonascii.texi (Character Sets):
* src/charset.c (Fmap_charset_chars): Clarify the codepoint issue
in using 'map-charset-chars'.

2 years agoAvoid assertion violations in 'bidi_resolve_brackets'
Eli Zaretskii [Tue, 8 Mar 2022 13:35:39 +0000 (15:35 +0200)]
Avoid assertion violations in 'bidi_resolve_brackets'

* src/bidi.c (bidi_resolve_brackets): Move assertion to where it
really matters.  (Bug#54295)

2 years agoFix which-func-update doc string
Lars Ingebrigtsen [Mon, 7 Mar 2022 15:19:19 +0000 (16:19 +0100)]
Fix which-func-update doc string

* lisp/progmodes/which-func.el (which-func-update): Make the doc
string match the code (bug#54288).

2 years agoImprove wording of 'dired-jump's description
Eli Zaretskii [Mon, 7 Mar 2022 12:38:01 +0000 (14:38 +0200)]
Improve wording of 'dired-jump's description

* doc/emacs/dired.texi (Dired Enter): Clarify wording.  Reported
by Natalie <batalie@riseup.net>.

2 years agoAdd a comment for previous browse-url-of-dired-file change
Lars Ingebrigtsen [Mon, 7 Mar 2022 04:15:58 +0000 (05:15 +0100)]
Add a comment for previous browse-url-of-dired-file change

* lisp/net/browse-url.el (browse-url-of-dired-file): Add a comment
for previous change.

2 years agoRestore documented Emacs 27.2 behaviour of browse-url-of-dired-file
Lars Ingebrigtsen [Mon, 7 Mar 2022 04:13:19 +0000 (05:13 +0100)]
Restore documented Emacs 27.2 behaviour of browse-url-of-dired-file

* lisp/net/browse-url.el (browse-url-of-dired-file): Restore the
documented behaviour -- open a web browser instead of passing to
the various handlers.

2 years agoUpdate to Org 9.5.2-24-g668205
Kyle Meyer [Mon, 7 Mar 2022 01:18:26 +0000 (20:18 -0500)]
Update to Org 9.5.2-24-g668205

2 years ago* lib-src/seccomp-filter.c (main): Use faccessat2 only if defined.
Andreas Schwab [Sat, 5 Mar 2022 12:44:08 +0000 (13:44 +0100)]
* lib-src/seccomp-filter.c (main): Use faccessat2 only if defined.

2 years agoFix regression in derived-mode-init-mode-variables
Lars Ingebrigtsen [Fri, 4 Mar 2022 15:19:42 +0000 (16:19 +0100)]
Fix regression in derived-mode-init-mode-variables

* lisp/emacs-lisp/derived.el (derived-mode-init-mode-variables):
Fix regression caused by lexical-binding derived.el (bug#54240).

2 years agoAvoid crashes when fringe bitmaps are defined in daemon mode
Eli Zaretskii [Thu, 3 Mar 2022 18:31:33 +0000 (20:31 +0200)]
Avoid crashes when fringe bitmaps are defined in daemon mode

* src/dispextern.h (gui_define_fringe_bitmap): Add prototype.
(max_used_fringe_bitmap): Add declaration.
* src/fringe.c (gui_define_fringe_bitmap): New function.
* src/w32term.c (w32_draw_fringe_bitmap):
* src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]: Call
'gui_define_fringe_bitmap' if the terminal-specific bitmap data is
not available when a fringe bitmap is about to be drawn.  Don't
try to draw a bitmap that is not known to fringe.c.  (Bug#54183)

2 years agoOne more fix of the BPA implementation
Eli Zaretskii [Thu, 3 Mar 2022 13:53:04 +0000 (15:53 +0200)]
One more fix of the BPA implementation

* src/bidi.c (bidi_find_bracket_pairs): Disable BPA optimization
when there are no strong directional characters inside the
bracketed pair.  (Bug#54219)

2 years agoFix handling of brackets in BPA
Eli Zaretskii [Thu, 3 Mar 2022 12:46:20 +0000 (14:46 +0200)]
Fix handling of brackets in BPA

* src/bidi.c (bidi_resolve_brackets): Fix implementation of UBA's
N0 rule when there are no strong directional characters inside the
bracketed pair.  (Bug#54219)

2 years agoCorrect etc/NEWS entry about bitmapped fonts
Po Lu [Wed, 2 Mar 2022 08:22:18 +0000 (09:22 +0100)]
Correct etc/NEWS entry about bitmapped fonts

* etc/NEWS: Don't say that bitmap font issues are due to Pango, that's
not accurate.

2 years ago; * doc/misc/eshell.texi (Dollars Expansion): Fix markup.
Eli Zaretskii [Tue, 1 Mar 2022 13:08:38 +0000 (15:08 +0200)]
; * doc/misc/eshell.texi (Dollars Expansion): Fix markup.

2 years agoImprove/correct documentation about Eshell variable expansion
Jim Porter [Sun, 27 Feb 2022 21:20:51 +0000 (13:20 -0800)]
Improve/correct documentation about Eshell variable expansion

* lisp/eshell/esh-var.el: Correct documentation comment.
(eshell-parse-variable-ref): Correct docstring.

* doc/misc/eshell.texi (Dollars Expansion): Add documentation for
$"var"/$'var' and $<command> syntaxes.

2 years agoPartially revert b03f74e0f2a578b1580e8b1c368665850ee7f808
Jim Porter [Mon, 28 Feb 2022 17:31:22 +0000 (09:31 -0800)]
Partially revert b03f74e0f2a578b1580e8b1c368665850ee7f808

That commit regressed '$<command>' forms in Eshell, due to a
limitation/bug in how 'eshell-do-eval' works.  This fixes
bug#54190.

* lisp/eshell/esh-var.el (eshell-parse-variable-ref): Quote a lambda.

* test/lisp/eshell/eshell-tests.el (eshell-test/interp-temp-cmd):
New test.

2 years agoBackport: Port pre-commit hook to Git 2.35.0
Paul Eggert [Wed, 23 Feb 2022 19:29:56 +0000 (11:29 -0800)]
Backport: Port pre-commit hook to Git 2.35.0

* build-aux/git-hooks/pre-commit: Use LC_ALL=C grep -E instead of
sane_egrep (removed in Git 2.35.0).

(cherry picked from commit b8a96f055624f86fe965a0d1b7b2495b2db80e63)

2 years agoFix :tag for eol in tab-first-completion
Lars Ingebrigtsen [Mon, 28 Feb 2022 09:14:03 +0000 (10:14 +0100)]
Fix :tag for eol in tab-first-completion

* lisp/indent.el (tab-first-completion): Fix the :tag description
(bug#54179).

2 years agoUpdate to Org 9.5.2-22-g33543d
Kyle Meyer [Mon, 28 Feb 2022 05:11:01 +0000 (00:11 -0500)]
Update to Org 9.5.2-22-g33543d

2 years ago; * lisp/help.el (with-help-window): Doc fix. (Bug#54170)
Eli Zaretskii [Sun, 27 Feb 2022 13:54:27 +0000 (15:54 +0200)]
; * lisp/help.el (with-help-window): Doc fix.  (Bug#54170)

2 years agoAdd explicit '--no-heading' for ripgrep
Dmitry Gutov [Sun, 27 Feb 2022 13:28:04 +0000 (15:28 +0200)]
Add explicit '--no-heading' for ripgrep

* lisp/progmodes/xref.el (xref-search-program-alist):
Add explicit '--no-heading' for ripgrep (bug#54177).

2 years agoFollow OpenSSH changes in Tramp
Michael Albinus [Sat, 26 Feb 2022 11:51:26 +0000 (12:51 +0100)]
Follow OpenSSH changes in Tramp

* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
Reimplement.  OpenSSH has changed its diagnostics messages.

2 years agoDocument better how to reset attributes of faces for new frames
Eli Zaretskii [Sat, 26 Feb 2022 07:41:05 +0000 (09:41 +0200)]
Document better how to reset attributes of faces for new frames

* doc/lispref/display.texi (Attribute Functions):
* lisp/faces.el (set-face-attribute): Explain how to reset an
attribute's value for future frames.  (Bug#54156)

2 years ago* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): Adapt test.
Michael Albinus [Fri, 25 Feb 2022 09:11:40 +0000 (10:11 +0100)]
* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): Adapt test.

2 years agoMention flyspell-prog-mode in flyspell-mode doc string
Lars Ingebrigtsen [Thu, 24 Feb 2022 09:10:40 +0000 (10:10 +0100)]
Mention flyspell-prog-mode in flyspell-mode doc string

* lisp/textmodes/flyspell.el (flyspell-mode): Mention
flyspell-prog-mode (bug#54131).

2 years agoReword face-remap-add-relative manual entry
Lars Ingebrigtsen [Wed, 23 Feb 2022 11:58:37 +0000 (12:58 +0100)]
Reword face-remap-add-relative manual entry

* doc/lispref/display.texi (Face Remapping): Clarify the
face-remap-add-relative (bug#54114).

2 years agoFix indexing of module functions that return enumeration types.
Philipp Stephani [Tue, 22 Feb 2022 20:39:32 +0000 (21:39 +0100)]
Fix indexing of module functions that return enumeration types.

Return types that consist of more than one word need to be enclosed in
braces, see Info node `(texinfo) Typed Functions'.  Otherwise they are
indexed incorrectly.

* doc/lispref/internals.texi (Module Misc, Module Nonlocal): Enclose
multi-word return types in braces.

2 years ago* doc/misc/transient.texi (Other Options): Fix a @ref. (Bug#54108)
Eli Zaretskii [Tue, 22 Feb 2022 14:37:22 +0000 (16:37 +0200)]
* doc/misc/transient.texi (Other Options): Fix a @ref.  (Bug#54108)

2 years agotramp.texi texinfo 4.13 compatibility
Glenn Morris [Tue, 22 Feb 2022 14:08:07 +0000 (14:08 +0000)]
tramp.texi texinfo 4.13 compatibility

* doc/misc/tramp.texi (Frequently Asked Questions):
Restore compatibility with Texinfo < 5.

2 years agoExplain "Tramp" spelling in its manual
Michael Albinus [Tue, 22 Feb 2022 13:45:59 +0000 (14:45 +0100)]
Explain "Tramp" spelling in its manual

* doc/misc/tramp.texi (Frequently Asked Questions):
Explain "Tramp" spelling.

2 years agoFix 'display-line-numbers-mode' in hide-show buffers
Eli Zaretskii [Mon, 21 Feb 2022 20:12:57 +0000 (22:12 +0200)]
Fix 'display-line-numbers-mode' in hide-show buffers

* src/xdisp.c (redisplay_internal): Disable redisplay
optimizations that consider just the current line, when
'display-line-numbers-mode' is turned on in the buffer.
(Bug#54091)

2 years agoDon't check whether a deleted window is deletable (Bug#54028)
Martin Rudalics [Mon, 21 Feb 2022 15:46:23 +0000 (16:46 +0100)]
Don't check whether a deleted window is deletable (Bug#54028)

* lisp/window.el (window-state-put): Make sure window is live
before calling 'window-deletable-p' on it (Bug#54028).

2 years agoA friendlier error message from image-mode in an empty buffer
Eli Zaretskii [Mon, 21 Feb 2022 12:51:37 +0000 (14:51 +0200)]
A friendlier error message from image-mode in an empty buffer

* lisp/image-mode.el (image-mode): Handle the case where the empty
buffer doesn't visit a file  (Bug#54084)

2 years agoUpdate to Org 9.5.2-17-gea6b74
Kyle Meyer [Sun, 20 Feb 2022 19:04:28 +0000 (14:04 -0500)]
Update to Org 9.5.2-17-gea6b74

2 years ago; Don't reference obsolete variables in edebug.el
Raffael Stocker [Sun, 20 Feb 2022 15:13:46 +0000 (16:13 +0100)]
; Don't reference obsolete variables in edebug.el

* lisp/emacs-lisp/edebug.el (edebug-mode, edebug-eval-mode):
Don't reference obsolete variables in the doc strings.
(Bug#54070)

2 years ago; * doc/emacs/files.texi (Comparing Files): Fix a reference.
Philipp Stephani [Fri, 18 Feb 2022 17:53:49 +0000 (18:53 +0100)]
; * doc/emacs/files.texi (Comparing Files): Fix a reference.

2 years ago; Fix a typo in filesets.el's doc string
Eli Zaretskii [Fri, 18 Feb 2022 13:46:57 +0000 (15:46 +0200)]
; Fix a typo in filesets.el's doc string

* lisp/filesets.el (filesets-remove-buffer, filesets-add-buffer):
Doc fixes.  Reported by Иванов Дмитрий <d.ivanov@1001tur.ru>.

2 years agoImprove documentation of filling and justification commands
Eli Zaretskii [Fri, 18 Feb 2022 07:47:44 +0000 (09:47 +0200)]
Improve documentation of filling and justification commands

* doc/lispref/text.texi (Filling):
* lisp/textmodes/fill.el (fill-region-as-paragraph)
(default-justification, set-justification, justify-current-line):
Clarify "canonicalization" of spaces and the meaning of
justification styles.  (Bug#54047)
(set-justification-left, set-justification-right)
(set-justification-full): Improve wording of doc strings.

2 years ago* lisp/progmodes/subword.el (superword-mode): Doc fix. (Bug#54045)
Eli Zaretskii [Fri, 18 Feb 2022 07:01:06 +0000 (09:01 +0200)]
* lisp/progmodes/subword.el (superword-mode): Doc fix.  (Bug#54045)

2 years agoFix indexing of module functions that return complex types.
Philipp Stephani [Thu, 17 Feb 2022 13:02:28 +0000 (14:02 +0100)]
Fix indexing of module functions that return complex types.

Return types that consist of more than one word need to be enclosed in
braces, see Info node `(texinfo) Typed Functions'.  Otherwise they are
indexed incorrectly.

* doc/lispref/internals.texi (Module Values): Enclose multi-word
return types in braces.

2 years agoPrevent crashes caused by invalid locale coding systems
Po Lu [Thu, 17 Feb 2022 07:35:41 +0000 (15:35 +0800)]
Prevent crashes caused by invalid locale coding systems

* src/xterm.c (handle_one_xevent): Prevent a signal inside
`setup_coding_system' which crashes recent versions of GLib if
the locale coding system is invalid.

Do not merge to master.

2 years ago; Separate command and concept index in Transient manual
Jonas Bernoulli [Wed, 16 Feb 2022 12:06:17 +0000 (13:06 +0100)]
; Separate command and concept index in Transient manual

* doc/misc/transient.texi (cp): Use cp index for Concept index.
* doc/misc/transient.texi (fn): Use fn index for Commands as well.

2 years ago; Fix Transient manual
Eli Zaretskii [Tue, 15 Feb 2022 19:06:21 +0000 (21:06 +0200)]
; Fix Transient manual

* doc/misc/transient.texi (all nodes): Replace ".." with Texinfo
style ``..'' quoting or by @dfn{..} or by other appropriate
markup, like @samp{..}.  Add indexing.  Fix punctuation.  Fix
markup of keyboard commands.

2 years agoFix problem with popd for in remote shell buffers
Michael Albinus [Tue, 15 Feb 2022 17:13:04 +0000 (18:13 +0100)]
Fix problem with popd for in remote shell buffers

* lisp/shell.el (shell-prefixed-directory-name):
Use `file-local-name' for DIR.  (Bug#53927)

2 years agoImport texi source file for transient manual
Jonas Bernoulli [Tue, 15 Feb 2022 16:49:04 +0000 (17:49 +0100)]
Import texi source file for transient manual

* doc/misc/Makefile.in: Add transient to INFO_COMMON.
* doc/misc/transient.texi: New file.

2 years agoUpdate to Org 9.5.2-15-gc5ceb6
Kyle Meyer [Sun, 13 Feb 2022 17:43:54 +0000 (12:43 -0500)]
Update to Org 9.5.2-15-gc5ceb6

2 years agoFix 'exchange-point-and-mark' in 'transient-mark-mode'
Eli Zaretskii [Mon, 10 Jan 2022 17:10:52 +0000 (19:10 +0200)]
Fix 'exchange-point-and-mark' in 'transient-mark-mode'

* lisp/simple.el (exchange-point-and-mark): Don't deactivate mark
when 'transient-mark-mode' is ON.  (Bug#53150)

(cherry picked from commit 415ed4b42515ff2e6dd9b94e964b479e50c6392e)

2 years agoFix "C-SPC C-SPC" after "C-x C-x"
Eli Zaretskii [Fri, 7 Jan 2022 18:30:17 +0000 (20:30 +0200)]
Fix "C-SPC C-SPC" after "C-x C-x"

* lisp/simple.el (exchange-point-and-mark): Fix what the command
does when 'transient-mark-mode' is OFF.  (Bug#52896)

(cherry picked from commit 19c6cad1821eb896b2ddd0f6eab030f0880ea254)

2 years agoFix a typo in fontset.el
Eli Zaretskii [Sun, 13 Feb 2022 11:43:53 +0000 (13:43 +0200)]
Fix a typo in fontset.el

* lisp/international/fontset.el (xlfd-regexp-spacing-subnum): Fix
a typo.  Reported by Greg A. Woods <woods@robohack.ca>.

2 years agoNote in ELisp manual that too-wide images are truncated
Eli Zaretskii [Sat, 12 Feb 2022 12:28:45 +0000 (14:28 +0200)]
Note in ELisp manual that too-wide images are truncated

* doc/lispref/display.texi (Showing Images): Note that images are
truncated at the window's edge.  (Bug#53952)

2 years ago* lisp/mail/emacsbug.el (report-emacs-bug): Report libgccjit status.
Andrea Corallo [Fri, 11 Feb 2022 14:00:57 +0000 (15:00 +0100)]
* lisp/mail/emacsbug.el (report-emacs-bug): Report libgccjit status.

2 years ago* lisp/startup.el (normal-top-level): Small code move, improve 202d3be873.
Andrea Corallo [Fri, 11 Feb 2022 14:19:56 +0000 (15:19 +0100)]
* lisp/startup.el (normal-top-level): Small code move, improve 202d3be873.

2 years ago; * lisp/startup.el (normal-top-level): Fix byte-compilation warning.
Eli Zaretskii [Thu, 10 Feb 2022 17:05:41 +0000 (19:05 +0200)]
; * lisp/startup.el (normal-top-level): Fix byte-compilation warning.

2 years ago* lisp/startup.el (normal-top-level): Disable native-comp if not available
Andrea Corallo [Thu, 10 Feb 2022 08:46:31 +0000 (09:46 +0100)]
* lisp/startup.el (normal-top-level): Disable native-comp if not available

2 years agoFix integer arithmetic miss-compilation (bug#53451)
Andrea Corallo [Wed, 9 Feb 2022 16:38:10 +0000 (17:38 +0100)]
Fix integer arithmetic miss-compilation (bug#53451)

* lisp/emacs-lisp/comp-cstr.el (comp-cstr-set-range-for-arithm):
When one of the two sources is negated revert to set dst as
number.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add test to
verify this is effective.

2 years agoMark flymake as compatible with emacs-26.1
Robert Pluim [Tue, 8 Feb 2022 15:04:15 +0000 (16:04 +0100)]
Mark flymake as compatible with emacs-26.1

* lisp/progmodes/flymake.el: Bump package version and set
emacs version in Package-Requires to 26.1 (Bug#53853).

2 years agoflymake: Ensure compatibility with older Emacsen
Brian Leung [Tue, 8 Feb 2022 06:16:25 +0000 (07:16 +0100)]
flymake: Ensure compatibility with older Emacsen

* lisp/progmodes/flymake.el (flymake--log-1): Use
replace-regexp-in-string instead of Emacs 28's
string-replace (bug#53853).

2 years agoDon't remove dummy.group from gnus-newsrc-alist on Gnus save
Eric Abrahamsen [Tue, 25 Jan 2022 00:24:10 +0000 (16:24 -0800)]
Don't remove dummy.group from gnus-newsrc-alist on Gnus save

bug#53352

* lisp/gnus/gnus-start.el (gnus-gnus-to-quick-newsrc-format): This
function was removing dummy.group from the global value of
`gnus-newsrc-alist' on save; we only wanted to remove it temporarily.

2 years agoFix ietf-drums-get-comment doc string
Bob Rogers [Sun, 6 Feb 2022 00:07:43 +0000 (01:07 +0100)]
Fix ietf-drums-get-comment doc string

* lisp/mail/ietf-drums.el (ietf-drums-get-comment):  We really return
the last comment (bug#53810).

2 years agoFix typo in display.texi
Daniel Martín [Sat, 5 Feb 2022 20:03:21 +0000 (21:03 +0100)]
Fix typo in display.texi

* doc/lispref/display.texi (Making Buttons): Fix typo.  (Bug#53807)

2 years agoRevert an erroneous change in tramp-cache.el
Michael Albinus [Thu, 3 Feb 2022 14:30:39 +0000 (15:30 +0100)]
Revert an erroneous change in tramp-cache.el

* lisp/net/tramp-cache.el (tramp-get-hash-table):
Use `string-match-p' instead of `string-search'.  The latter one
was introduced by accident.  Reported by Kai Tetzlaff <kai@tetzlaff.eu>.

2 years agoImprove documentation of 'emacs-version'
Eli Zaretskii [Wed, 2 Feb 2022 17:38:56 +0000 (19:38 +0200)]
Improve documentation of 'emacs-version'

* doc/emacs/trouble.texi (Checklist): Mention the possibility of
invoking 'emacs-version' with a prefix argument.

* lisp/version.el (emacs-version): Improve doc string.  (Bug#53720)

2 years ago; Auto-commit of loaddefs files.
Stefan Kangas [Tue, 1 Feb 2022 23:57:27 +0000 (00:57 +0100)]
; Auto-commit of loaddefs files.

2 years ago* etc/NEWS: Apply final fixes after proofreading.
Michael Albinus [Tue, 1 Feb 2022 13:17:32 +0000 (14:17 +0100)]
* etc/NEWS: Apply final fixes after proofreading.

2 years agoClarify documentation of a "face's font"
Eli Zaretskii [Mon, 31 Jan 2022 17:29:54 +0000 (19:29 +0200)]
Clarify documentation of a "face's font"

* doc/lispref/display.texi (Attribute Functions)
(Face Attributes): Clarify that the :font attribute of a face and
the font returned by 'face-font' are by default for ASCII
characters.  (Bug#53664)

2 years agoBind Qdebugger to Qdebug in signal_or_quit.
Alan Mackenzie [Mon, 31 Jan 2022 17:20:45 +0000 (17:20 +0000)]
Bind Qdebugger to Qdebug in signal_or_quit.

* src/eval.c (signal_or_quit): Bind the correct variable, Qdebugger (not
Vdebugger) to Qdebug in the section for errors in batch jobs.
(syms_of_eval): New DEFSYM for Qdebugger.

2 years agoUpdate to Org 9.5.2-13-gdd6486
Kyle Meyer [Mon, 31 Jan 2022 01:38:01 +0000 (20:38 -0500)]
Update to Org 9.5.2-13-gdd6486

2 years ago; * lisp/international/latin1-disp.el: Update commentary.
Eli Zaretskii [Sun, 30 Jan 2022 07:40:12 +0000 (09:40 +0200)]
; * lisp/international/latin1-disp.el: Update commentary.

2 years agoFix regression in Occur Edit mode
Eli Zaretskii [Sun, 30 Jan 2022 06:49:34 +0000 (08:49 +0200)]
Fix regression in Occur Edit mode

* lisp/replace.el (occur-after-change-function): Fix the algorithm
to find the smallest change in some corner cases.  (Bug#53598)

2 years ago; Yet another minor fix of Malayalam composition rules.
Eli Zaretskii [Sat, 29 Jan 2022 20:14:30 +0000 (22:14 +0200)]
; Yet another minor fix of Malayalam composition rules.

2 years agoFix last change of Malayalam composition rules
Eli Zaretskii [Sat, 29 Jan 2022 19:56:53 +0000 (21:56 +0200)]
Fix last change of Malayalam composition rules

* lisp/language/indian.el (malayalam-composable-pattern):
Reinstate.  Instead of removing it, add any sequence of
Malayalam characters to the existing patterns, so as not
to lose the patterns that use ZWJ and ZWNJ.  (Bug#53625)

2 years agoFix rendering of Malayalam script
Eli Zaretskii [Sat, 29 Jan 2022 19:22:02 +0000 (21:22 +0200)]
Fix rendering of Malayalam script

* lisp/language/indian.el (malayalam-composable-pattern): Remove.
(script-regexp-alist): Remove 'malayalam-composable-pattern'.
Instead, pass any sequence of Malayalam codepoints to the shaping
engine.  (Bug#53625)

2 years agoImprove documentation of Occur mode
Eli Zaretskii [Sat, 29 Jan 2022 14:51:30 +0000 (16:51 +0200)]
Improve documentation of Occur mode

* doc/emacs/search.texi (Other Repeating Search): Improve wording
and document Occur Edit mode better.

2 years agoRemove debug logging
Alan Third [Thu, 28 Oct 2021 10:21:00 +0000 (11:21 +0100)]
Remove debug logging

* src/nsterm.m ([EmacsView copyRect:to:]): Remove logging as it's no
longer required.

2 years agoFix error in filelock.c
Michael Albinus [Sat, 29 Jan 2022 10:45:38 +0000 (11:45 +0100)]
Fix error in filelock.c

* src/filelock.c (lock_file): Move call of file name handler to
`Flock_file'.  Determine lock_filename only in case
create_lockfiles is non-nil.  Adapt the rest of the function accordingly.
(Flock_file): Do not check for create_lockfiles.  Call file name
handler if appropriate.  (Bug#53207)

2 years ago* lisp/frame.el (clone-frame): Filter out 'parent-id' (bug#51883).
Juri Linkov [Thu, 27 Jan 2022 17:47:40 +0000 (19:47 +0200)]
* lisp/frame.el (clone-frame): Filter out 'parent-id' (bug#51883).

2 years agoPartially revert a fill-region-as-paragraph regression
Lars Ingebrigtsen [Wed, 26 Jan 2022 15:17:49 +0000 (16:17 +0100)]
Partially revert a fill-region-as-paragraph regression

* lisp/textmodes/fill.el (fill-region-as-paragraph): Revert
e186af261 (bug#53537), because it leads to regressions.  (But
leave tests in place.)

2 years agoFix 'make_lispy_position' when there's an image at EOB
Eli Zaretskii [Wed, 26 Jan 2022 14:44:14 +0000 (16:44 +0200)]
Fix 'make_lispy_position' when there's an image at EOB

* src/xdisp.c (move_it_to): Don't compare IT_CHARPOS with an
invalid TO_CHARPOS.  (Bug#53546)

2 years agoFix copyright-find-copyright when searching from the end
Lars Ingebrigtsen [Wed, 26 Jan 2022 14:02:00 +0000 (15:02 +0100)]
Fix copyright-find-copyright when searching from the end

* lisp/emacs-lisp/copyright.el (copyright-find-copyright): Make
the double check also work when searching from the end (bug#7179).

Do not merge to master.

2 years agoFix copyright.el comment and add a test
Lars Ingebrigtsen [Wed, 26 Jan 2022 13:53:07 +0000 (14:53 +0100)]
Fix copyright.el comment and add a test

* lisp/emacs-lisp/copyright.el (copyright-find-copyright): Fix
comment (bug#7179).

Do not merge to master.

2 years ago; * src/composite.c (syms_of_composite) <auto-composition-mode>: Doc fix.
Eli Zaretskii [Tue, 25 Jan 2022 12:15:36 +0000 (14:15 +0200)]
; * src/composite.c (syms_of_composite) <auto-composition-mode>: Doc fix.

2 years ago* configure.ac (LIBSECCOMP): Bump minimum version for faccessat2.
Philipp Stephani [Mon, 24 Jan 2022 10:35:07 +0000 (11:35 +0100)]
* configure.ac (LIBSECCOMP): Bump minimum version for faccessat2.

2 years agoMake the `f' command work in image-mode again
Lars Ingebrigtsen [Mon, 24 Jan 2022 10:22:49 +0000 (11:22 +0100)]
Make the `f' command work in image-mode again

* lisp/image.el (image-show-frame): Protect against not having
computed the animation data yed (bug#53489).

2 years agoSeccomp: improve support for newer versions of glibc (Bug#51073)
Philipp Stephani [Sat, 22 Jan 2022 16:11:37 +0000 (17:11 +0100)]
Seccomp: improve support for newer versions of glibc (Bug#51073)

* lib-src/seccomp-filter.c (main): Allow 'pread64' and 'faccessat2'
system calls.  Newer versions of glibc use these system call (starting
with commits 95c1056962a3f2297c94ce47f0eaf0c5b6563231 and
3d3ab573a5f3071992cbc4f57d50d1d29d55bde2, respectively).

2 years agoEUDC: Fix a quoting bug in the BBDB backend
Thomas Fitzsimmons [Fri, 21 Jan 2022 22:40:57 +0000 (17:40 -0500)]
EUDC: Fix a quoting bug in the BBDB backend

* lisp/net/eudcb-bbdb.el (eudc-bbdb-query-internal): Fix a quoting
bug introduced during lexical-binding conversion.

2 years agoFix memory-report-object-size to initialize memory-report--type-size
Sergey Vinokurov [Fri, 21 Jan 2022 11:42:22 +0000 (12:42 +0100)]
Fix memory-report-object-size to initialize memory-report--type-size

* lisp/emacs-lisp/memory-report.el (memory-report-object-size):
Allow using function directly (bug#53310).

Do not merge to master.

2 years agoFix menu-bar mouse clicks in "C-h c" and "C-h k" (bug#53322)
Stefan Monnier [Mon, 22 Nov 2021 19:23:26 +0000 (14:23 -0500)]
Fix menu-bar mouse clicks in "C-h c" and "C-h k" (bug#53322)

* lisp/subr.el (event-start, event-end): Handle '(menu-bar)'
events.
* lisp/net/browse-url.el (browse-url-interactive-arg): Simplify
accordingly.

(cherry picked from commit 9ceb3070e34ad8a54184fd0deda477bf5ff77000)

2 years agoFix UB in ebrowse
Eli Zaretskii [Thu, 20 Jan 2022 11:42:56 +0000 (13:42 +0200)]
Fix UB in ebrowse

* lib-src/ebrowse.c (matching_regexp): Avoid writing beyond the
limits of 'matching_regexp_buffer'.  Patch by Jan Stranik
<jan@stranik.org>.  (Bug#53333)

Copyright-paperwork-exempt: yes

2 years agoFix execute-extended-command-for-buffer in fundamental-mode
Lars Ingebrigtsen [Thu, 20 Jan 2022 10:00:26 +0000 (11:00 +0100)]
Fix execute-extended-command-for-buffer in fundamental-mode

* lisp/simple.el (execute-extended-command-for-buffer): Protect
against the current local map being nil (bug#52907).

2 years agoAdd workaround to handle a problem with Enlightenment WM (Bug#53298)
Martin Rudalics [Thu, 20 Jan 2022 09:30:08 +0000 (10:30 +0100)]
Add workaround to handle a problem with Enlightenment WM (Bug#53298)

* src/xterm.c (handle_one_xevent): Handle setting of variable
'x_set_frame_visibility_more_laxly' when receiving an Expose or
FocusIn event (Bug#53298).
(Qexpose): Define symbol.
(x_set_frame_visibility_more_laxly): New Lisp variable.
* etc/PROBLEMS: Mention frame redraw problem with the
Enlightenment WM and 'x-set-frame-visibility-more-laxly'
workaround.

2 years agoFix regression leading to flickering tooltips when the mouse is moved
Po Lu [Mon, 17 Jan 2022 13:42:31 +0000 (21:42 +0800)]
Fix regression leading to flickering tooltips when the mouse is moved

* lisp/tooltip.el (tooltip-show-help): Compare string with
previous tooltip string ignoring properties.

2 years ago* Fix native comp for non trivial function names (bug#52833)
Andrea Corallo [Tue, 28 Dec 2021 11:12:16 +0000 (12:12 +0100)]
* Fix native comp for non trivial function names (bug#52833)

* lisp/emacs-lisp/comp.el (comp-c-func-name): Fix native compilation
for functions with function names containing non trivial
characters (bug#52833).

This commit is the backport of e7699bf290.

Do not merge to master