]> git.eshelyaron.com Git - emacs.git/log
emacs.git
3 years ago; Prefer HTTPS in more URLs
Stefan Kangas [Thu, 9 Dec 2021 15:22:17 +0000 (16:22 +0100)]
; Prefer HTTPS in more URLs

3 years ago; * lisp/progmodes/flymake.el: Update the minimum Emacs version.
Eli Zaretskii [Thu, 9 Dec 2021 15:01:57 +0000 (17:01 +0200)]
; * lisp/progmodes/flymake.el: Update the minimum Emacs version.

3 years agoAdd missing K key documentation for Cangjie input methods
Cameron Desautels [Thu, 9 Dec 2021 08:08:14 +0000 (00:08 -0800)]
Add missing K key documentation for Cangjie input methods

* lisp/international/titdic-cnv.el (tsang-quick-converter): Add the
missing K key in input method documentation. (Bug#52264)

3 years agoFix manual entry of 'quit-restore-window' (Bug#52328)
Martin Rudalics [Thu, 9 Dec 2021 09:00:51 +0000 (10:00 +0100)]
Fix manual entry of 'quit-restore-window' (Bug#52328)

* doc/lispref/windows.texi (Quitting Windows): Fix bug in
description of 'quit-restore-window' (Bug#52328).

3 years agoClarify a comment in xdisp.c
Eli Zaretskii [Thu, 9 Dec 2021 07:18:04 +0000 (09:18 +0200)]
Clarify a comment in xdisp.c

* src/xdisp.c (compute_window_start_on_continuation_line): Clarify
a comment.  (Bug#52378)

3 years agoRevert "Grep alias `all' shall not match parent directory"
Óscar Fuentes [Wed, 8 Dec 2021 22:49:26 +0000 (23:49 +0100)]
Revert "Grep alias `all' shall not match parent directory"

This reverts commit 856cd948d1a5a016ad36721246a049d33451902f.

Emacs got better at quoting shell arguments and the original value
works correctly for vc-git-grep. At the same time, the value
introduced on that commit caused a regression on lgrep.

* lisp/progmodes/grep.el (grep-files-aliases): Use previous value for
`all'. Fixes bug#52367

3 years ago; * etc/NEWS: Non-nil repeat-keep-prefix is not the default anymore.
Juri Linkov [Wed, 8 Dec 2021 20:20:41 +0000 (22:20 +0200)]
; * etc/NEWS: Non-nil repeat-keep-prefix is not the default anymore.

3 years agoFix mode-line display in Calendar mode
Eli Zaretskii [Wed, 8 Dec 2021 14:22:10 +0000 (16:22 +0200)]
Fix mode-line display in Calendar mode

* lisp/help.el (substitute-command-keys): New optional argument
NO-FACE, to avoid putting the 'help-key-binding' face on the key
bindings.
* lisp/calendar/calendar.el (calendar-mode-line-entry): Call
'substitute-command-keys' with the new optional argument non-nil.
(Bug#52366)

* doc/lispref/help.texi (Keys in Documentation): Document the new
optional argument of 'substitute-command-keys'.

* etc/NEWS: Announce the addition of a new argument to
'substitute-command-keys'.

3 years ago* etc/tutorials/TUTORIAL.it (CONCLUSIONI): Reword paragraph.
Lele Gaifax [Wed, 8 Dec 2021 08:00:19 +0000 (09:00 +0100)]
* etc/tutorials/TUTORIAL.it (CONCLUSIONI): Reword paragraph.

Don't merge to master.

3 years agoBackport: Make a more robust check in Tramp using scripts
Michael Albinus [Tue, 7 Dec 2021 15:20:13 +0000 (16:20 +0100)]
Backport: Make a more robust check in Tramp using scripts

* lisp/net/tramp-sh.el (tramp-find-inline-encoding):
Check, whether scripts in `tramp-remote-coding-commands' are
expandable.

(cherry picked from commit 1d0a60113fd155c77ef5ea4ea44fcba3504adcbf)

3 years agoDocument native-comp-async-report-warning-errors more
Robert Pluim [Tue, 7 Dec 2021 17:43:01 +0000 (18:43 +0100)]
Document native-comp-async-report-warning-errors more

The docstring has a description of how fix problems in lisp code
detected by native compilation, but not the Emacs Lisp manual, so
document it there as well.

* doc/lispref/compile.texi (Native-Compilation Functions): Refer to
'native-comp-async-report-warning-errors'
(Native-Compilation Variables): Explain potential cause of warnings
from native compilation.

3 years agoDoc fix; Epiphany has been renamed to GNOME Web
Stefan Kangas [Tue, 7 Dec 2021 17:57:48 +0000 (18:57 +0100)]
Doc fix; Epiphany has been renamed to GNOME Web

* lisp/net/browse-url.el: Doc fix; Epiphany is called GNOME Web
since GNOME 3.4, released in 2012.
Ref: https://help.gnome.org/misc/release-notes/3.4/

3 years ago* lisp/dired-aux.el (dired-check-process): Doc fix. (Bug#52337)
Eli Zaretskii [Tue, 7 Dec 2021 17:46:15 +0000 (19:46 +0200)]
* lisp/dired-aux.el (dired-check-process): Doc fix.  (Bug#52337)

3 years ago; * lisp/net/browse-url.el (browse-url-epiphany): Fix typo.
Stefan Kangas [Tue, 7 Dec 2021 17:37:47 +0000 (18:37 +0100)]
; * lisp/net/browse-url.el (browse-url-epiphany): Fix typo.

3 years agoRemove dead link from newsticker
Stefan Kangas [Tue, 7 Dec 2021 17:37:18 +0000 (18:37 +0100)]
Remove dead link from newsticker

* lisp/net/newst-backend.el (newsticker--parse-rss-0.91):
* lisp/net/newsticker.el: Remove dead link.

3 years agoSelect the right buffer for event in context-menu functions (bug#9923)
Juri Linkov [Mon, 6 Dec 2021 17:24:09 +0000 (19:24 +0200)]
Select the right buffer for event in context-menu functions (bug#9923)

* lisp/mouse.el (context-menu-region):
* lisp/progmodes/prog-mode.el (prog-context-menu):
Switch to the buffer displayed by the window of the event
before using syntax-ppss, char-after.

3 years agolisp/minibuffer.el: Fix for bug#52169 regression
Stefan Monnier [Mon, 6 Dec 2021 14:43:13 +0000 (09:43 -0500)]
lisp/minibuffer.el: Fix for bug#52169 regression

* lisp/minibuffer.el (completion-table-subvert): Make sure we return
a boundary that's not outside of the limit of the string.

3 years agoFix typos and improve consistency in ERC manual
Christer Enfors [Sun, 5 Dec 2021 21:46:58 +0000 (22:46 +0100)]
Fix typos and improve consistency in ERC manual

* doc/misc/erc.texi (Sample Session, Special Features, History): Fix
typos and improve consistency.  (Bug52318)

3 years ago* test/Makefile.in (check-declare): Add missing --batch.
Glenn Morris [Sun, 5 Dec 2021 18:27:18 +0000 (10:27 -0800)]
* test/Makefile.in (check-declare): Add missing --batch.

3 years agoDocument the subtleties of the 'cursor' text property
Eli Zaretskii [Sun, 5 Dec 2021 14:38:49 +0000 (16:38 +0200)]
Document the subtleties of the 'cursor' text property

* doc/lispref/text.texi (Special Properties): Update the
documentation of the 'cursor' property per bug#8627.

3 years agoUpdate to Org 9.5.1-15-gdb4805
Kyle Meyer [Sun, 5 Dec 2021 02:27:59 +0000 (21:27 -0500)]
Update to Org 9.5.1-15-gdb4805

3 years ago* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Minor doc fix.
Stefan Kangas [Sat, 4 Dec 2021 12:23:35 +0000 (13:23 +0100)]
* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Minor doc fix.

3 years ago; Fix most remaining AUTHORS warnings
Stefan Kangas [Sat, 4 Dec 2021 10:48:50 +0000 (11:48 +0100)]
; Fix most remaining AUTHORS warnings

* admin/authors.el (authors-ignored-files)
(authors-renamed-files-alist): Further updates for Emacs 28.
* ChangeLog.3: Further fixes.
* etc/AUTHORS: Update accordingly.

3 years ago; * doc/misc/efaq.texi (New in Emacs 28): Add more news.
Eli Zaretskii [Sat, 4 Dec 2021 09:11:08 +0000 (11:11 +0200)]
; * doc/misc/efaq.texi (New in Emacs 28): Add more news.

3 years agoFix the enumeration values returned by 'try_scrolling'
Eli Zaretskii [Sat, 4 Dec 2021 08:19:56 +0000 (10:19 +0200)]
Fix the enumeration values returned by 'try_scrolling'

* src/xdisp.c (try_scrolling): Make the enum values match the
commentary.  Reported by Po Lu <luangruo@yahoo.com>.

3 years ago; Further author fixes in authors.el
Stefan Kangas [Sat, 4 Dec 2021 00:11:01 +0000 (01:11 +0100)]
; Further author fixes in authors.el

* admin/authors.el (authors-aliases): Add some missing entries.
* etc/AUTHORS: Update accordingly.

3 years ago* src/dosfns.c (Fint86): Doc fix; don't use obsolete names.
Stefan Kangas [Sat, 4 Dec 2021 00:00:04 +0000 (01:00 +0100)]
* src/dosfns.c (Fint86): Doc fix; don't use obsolete names.

3 years ago* doc/misc/erc.texi (Keystroke Summary): Fix doc for TAB.
Stefan Kangas [Fri, 3 Dec 2021 21:57:48 +0000 (22:57 +0100)]
* doc/misc/erc.texi (Keystroke Summary): Fix doc for TAB.

3 years agoRemove reference to variable obsolete since 24.1
Stefan Kangas [Fri, 3 Dec 2021 19:41:38 +0000 (20:41 +0100)]
Remove reference to variable obsolete since 24.1

* doc/emacs/custom.texi (Minibuffer Maps, Minibuffer Maps): Remove
reference to variable 'minibuffer-local-filename-must-match-map',
obsolete since 24.1.

3 years ago* doc/misc/efaq.texi (New in Emacs 28): New node.
Stefan Kangas [Fri, 3 Dec 2021 15:25:17 +0000 (16:25 +0100)]
* doc/misc/efaq.texi (New in Emacs 28): New node.

3 years ago; FAQ: Normalize references to the NEWS.NN file
Stefan Kangas [Fri, 3 Dec 2021 14:57:56 +0000 (15:57 +0100)]
; FAQ: Normalize references to the NEWS.NN file

* doc/misc/efaq.texi (New in Emacs 26, New in Emacs 25)
(New in Emacs 24, New in Emacs 23, New in Emacs 22)
(New in Emacs 21, New in Emacs 20): Normalize the format for
referring to the NEWS.NN file.

3 years ago; * doc/misc/efaq.texi (Latest version of Emacs): Update version.
Stefan Kangas [Fri, 3 Dec 2021 14:52:02 +0000 (15:52 +0100)]
; * doc/misc/efaq.texi (Latest version of Emacs): Update version.

3 years agoAdd Tramp version integrated in Emacs 28.1
Michael Albinus [Fri, 3 Dec 2021 12:51:19 +0000 (13:51 +0100)]
Add Tramp version integrated in Emacs 28.1

* lisp/net/trampver.el (customize-package-emacs-version-alist):
Add Tramp version integrated in Emacs 28.1.

3 years agoUpdate Tramp version (don't merge with master)
Michael Albinus [Fri, 3 Dec 2021 12:43:46 +0000 (13:43 +0100)]
Update Tramp version (don't merge with master)

* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.5.2.28.1".

3 years agoUnbreak build after 9c222b9c1a7f91497a37567b4d7de3a511fff069.
Philipp Stephani [Fri, 3 Dec 2021 08:40:15 +0000 (09:40 +0100)]
Unbreak build after 9c222b9c1a7f91497a37567b4d7de3a511fff069.

* src/pdumper.c (dump_subr): Fix Lisp_Subr hash value.

3 years agoPort to C compilers that lack size-0 arrays
Paul Eggert [Fri, 3 Dec 2021 03:01:33 +0000 (19:01 -0800)]
Port to C compilers that lack size-0 arrays

The C standard does not allow size-zero arrays, so redo struct
Lisp_Subr to not use size-zero arrays when native compilation is
not being used.  Formerly, the code was using size-zero arrays (a
GNU C extension) to avoid using memory unnecessarily when
HAVE_NATIVE_COMP is not defined.  Replace this hack with the
more-traditional hack of putting the relevant members inside
‘#ifdef HAVE_NATIVE_COMP’.
* src/alloc.c (cleanup_vector, mark_object):
* src/comp.c (make_subr):
* src/data.c (Fsubr_native_lambda_list, Fsubr_native_comp_unit):
* src/eval.c (init_eval_once, funcall_lambda):
* src/lisp.h (SUBR_NATIVE_COMPILEDP, SUBR_NATIVE_COMPILED_DYNP)
(SUBR_TYPE):
* src/lread.c (Fload):
Conditionally compile with ‘#ifdef HAVE_NATIVE_COMP’ instead of
with ‘if (NATIVE_COMP_FLAG)’.  Redo members like native_comp_u[0]
to be plain native_comp_u.  Put all uses of these members inside
‘#ifdef HAVE_NATIVE_COMP’.
* src/lisp.h (struct Lisp_Subr): Members native_comp_u,
native_c_name, lambda_list, type are now all ifdeffed out if
HAVE_NATIVE_COMP is not defined, instead of being size-zero
arrays.  All uses changed.
* src/pdumper.c (dump_subr, dump_cold_native_subr)
(dump_do_dump_relocation):
* src/comp.h (NATIVE_COMP_FLAG): Remove; no longer needed.

3 years agoPort emacsclient to Solaris 10
Paul Eggert [Fri, 3 Dec 2021 02:43:43 +0000 (18:43 -0800)]
Port emacsclient to Solaris 10

Without this patch, the build fails on Solaris 10 with the diagnostic
“Undefined symbol acl_trivial first referenced in file
../lib/libgnu.a(file-has-acl.o)”.
* lib-src/Makefile.in (LIB_HAS_ACL): New macro.
(emacsclient${EXEEXT}): Link with $(LIB_HAS_ACL).

3 years ago* CONTRIBUTE: Improve commit message instructions
Karl Fogel [Fri, 3 Dec 2021 02:38:25 +0000 (20:38 -0600)]
* CONTRIBUTE: Improve commit message instructions

3 years agoWork around IBM XL C compiler bug
Paul Eggert [Fri, 3 Dec 2021 02:18:39 +0000 (18:18 -0800)]
Work around IBM XL C compiler bug

* src/fileio.c (Fcopy_file): Work around a compiler bug in IBM XL
C for AIX, V12.1 (5765-J02, 5725-C72).  Without this patch, the
compiler incorrectly complains “Initialization between types "int"
and "struct timespec" is not allowed” and “Initialization between
types "long" and "struct timespec" is not allowed”.

3 years ago* admin/make-tarball.txt: Various clarifications.
Stefan Kangas [Thu, 2 Dec 2021 22:57:23 +0000 (23:57 +0100)]
* admin/make-tarball.txt: Various clarifications.

3 years ago* admin/diff-tar-files: Don't assume .tar.gz.
Stefan Kangas [Thu, 2 Dec 2021 22:51:35 +0000 (23:51 +0100)]
* admin/diff-tar-files: Don't assume .tar.gz.

3 years ago* lisp/tab-bar.el (tab-bar-close-other-tabs): Fix regression.
Juri Linkov [Thu, 2 Dec 2021 18:12:05 +0000 (20:12 +0200)]
* lisp/tab-bar.el (tab-bar-close-other-tabs): Fix regression.

* test/lisp/tab-bar-tests.el: New file.
(tab-bar-tests-close-other-tabs-with-arg): Test for regression
that closed the selected tab after selecting it.

3 years ago; Update loaddefs files. emacs-28.0.90
Stefan Kangas [Wed, 1 Dec 2021 20:11:38 +0000 (21:11 +0100)]
; Update loaddefs files.

3 years ago; make change-history-commit
Stefan Kangas [Wed, 1 Dec 2021 19:15:20 +0000 (20:15 +0100)]
; make change-history-commit

3 years ago* lisp/repeat.el: Use same logic for repeat-check-key and repeat-exit-timeout.
Juri Linkov [Wed, 1 Dec 2021 17:41:37 +0000 (19:41 +0200)]
* lisp/repeat.el: Use same logic for repeat-check-key and repeat-exit-timeout.

* lisp/repeat.el (repeat-check-key): Use for repeat-check-key the same logic
as is used for repeat-exit-timeout in repeat-post-hook (bug#51390).
(repeat-post-hook): Check for repeat-exit-timeout symbol property.

3 years ago* lisp/help.el (help--analyze-key): Prefer posn-set-point over mouse-set-point
Juri Linkov [Wed, 1 Dec 2021 17:36:00 +0000 (19:36 +0200)]
* lisp/help.el (help--analyze-key): Prefer posn-set-point over mouse-set-point

* lisp/help.el (help--analyze-key): Use posn-set-point instead of
mouse-set-point that runs the hook mouse-leave-buffer-hook via
mouse-minibuffer-check.  Using posn-set-point also unnecessitates
extra conditions added in bug#51421.

* lisp/isearch.el (isearch-describe-key, isearch-describe-mode):
Add precautions to not call isearch-update when the executed
command exited isearch-mode (bug#51173).

3 years agoBump Emacs version to 28.0.90
Stefan Kangas [Wed, 1 Dec 2021 16:42:52 +0000 (17:42 +0100)]
Bump Emacs version to 28.0.90

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

3 years ago; * etc/AUTHORS: Update.
Stefan Kangas [Wed, 1 Dec 2021 16:38:49 +0000 (17:38 +0100)]
; * etc/AUTHORS: Update.

3 years ago; * admin/authors.el (authors-aliases): More fixes.
Stefan Kangas [Wed, 1 Dec 2021 16:14:04 +0000 (17:14 +0100)]
; * admin/authors.el (authors-aliases): More fixes.

3 years ago; * ChangeLog.3: Update.
Stefan Kangas [Wed, 1 Dec 2021 16:05:48 +0000 (17:05 +0100)]
; * ChangeLog.3: Update.

3 years ago; * ChangeLog.3: Minor fixes.
Stefan Kangas [Wed, 1 Dec 2021 15:01:23 +0000 (16:01 +0100)]
; * ChangeLog.3: Minor fixes.

3 years ago; * admin/authors.el (authors-aliases): Further updates.
Stefan Kangas [Wed, 1 Dec 2021 15:56:59 +0000 (16:56 +0100)]
; * admin/authors.el (authors-aliases): Further updates.

3 years ago; * lisp/org/ob-julia.el: Fix Author header for authors.el.
Stefan Kangas [Wed, 1 Dec 2021 15:21:34 +0000 (16:21 +0100)]
; * lisp/org/ob-julia.el: Fix Author header for authors.el.

3 years agoCC Mode: Recognise "struct foo {" as introducing a type declaration
Alan Mackenzie [Wed, 1 Dec 2021 15:41:09 +0000 (15:41 +0000)]
CC Mode: Recognise "struct foo {" as introducing a type declaration

This fixes bug #52157.

* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): If such a construct
is parsed, set the flag at-type-decl which is part of the function's return
value.

3 years ago; Auto-commit of loaddefs files.
Stefan Kangas [Wed, 1 Dec 2021 01:15:10 +0000 (02:15 +0100)]
; Auto-commit of loaddefs files.

3 years agoUpdate authors.el for Emacs 28
Stefan Kangas [Tue, 30 Nov 2021 23:20:24 +0000 (00:20 +0100)]
Update authors.el for Emacs 28

* admin/authors.el (authors-aliases, authors-ignored-files)
(authors-renamed-files-alist): Update for Emacs 28.

3 years ago; * ChangeLog.3: Some additional fixes.
Stefan Kangas [Tue, 30 Nov 2021 22:46:45 +0000 (23:46 +0100)]
; * ChangeLog.3: Some additional fixes.

3 years ago; * ChangeLog.3: Filename fixes.
Stefan Kangas [Tue, 30 Nov 2021 19:15:19 +0000 (20:15 +0100)]
; * ChangeLog.3: Filename fixes.

3 years ago* lisp/repeat.el: Fix long-standing problem when a random key activates map
Juri Linkov [Tue, 30 Nov 2021 19:05:05 +0000 (21:05 +0200)]
* lisp/repeat.el: Fix long-standing problem when a random key activates map

* lisp/repeat.el (repeat-check-key): New defcustom (bug#51390).
(repeat--command-property): New internal function.
(repeat-check-key): New function.
(repeat-post-hook): Use repeat--command-property and repeat-check-key.

* test/lisp/repeat-tests.el (repeat-tests-check-key): New test.

3 years ago* lisp/repeat.el (repeat-keep-prefix): Change default to nil.
Juri Linkov [Tue, 30 Nov 2021 18:55:19 +0000 (20:55 +0200)]
* lisp/repeat.el (repeat-keep-prefix): Change default to nil.

'repeat-keep-prefix' doesn't yet have sufficient support
that covers all cases in bug#51281, so it's disabled now.

3 years ago* test/lisp/repeat-tests.el (repeat-tests-call-b): Test for commit 588caf0b27.
Juri Linkov [Tue, 30 Nov 2021 18:52:47 +0000 (20:52 +0200)]
* test/lisp/repeat-tests.el (repeat-tests-call-b): Test for commit 588caf0b27.

This tests for 'repeat-map' as a variable instead of a symbol.

3 years ago; * src/comp.c (syms_of_comp) <comp-no-native-file-h>: Doc fix.
Eli Zaretskii [Tue, 30 Nov 2021 18:23:47 +0000 (20:23 +0200)]
; * src/comp.c (syms_of_comp) <comp-no-native-file-h>: Doc fix.

3 years ago* src/callint.c (Fcall_interactively): Fix inhibit_mouse_event_check.
Juri Linkov [Tue, 30 Nov 2021 18:12:06 +0000 (20:12 +0200)]
* src/callint.c (Fcall_interactively): Fix inhibit_mouse_event_check.

Don't search for the next mouse event with parameters
when inhibit-mouse-event-check is non-nil (bug#50067).

3 years agoFix regression in gdb-frame-handler
Lars Ingebrigtsen [Tue, 30 Nov 2021 13:09:19 +0000 (14:09 +0100)]
Fix regression in gdb-frame-handler

* lisp/progmodes/gdb-mi.el (gdb-frame-handler): Protect against
nil fullnames (bug#52196).

3 years agoFormat and index concept 'predicate' in ELisp Intro
YugaEgo [Tue, 30 Nov 2021 13:03:32 +0000 (14:03 +0100)]
Format and index concept 'predicate' in ELisp Intro

* doc/lispintro/emacs-lisp-intro.texi (Wrong Type of Argument):
Add index and format definition (bug#52197).

Copyright-paperwork-exempt: yes

3 years ago; * ChangeLog.3: Fix typos.
Stefan Kangas [Tue, 30 Nov 2021 09:25:59 +0000 (10:25 +0100)]
; * ChangeLog.3: Fix typos.

3 years ago; * ChangeLog.3: Formatting fixes.
Stefan Kangas [Tue, 30 Nov 2021 08:46:20 +0000 (09:46 +0100)]
; * ChangeLog.3: Formatting fixes.

3 years ago; make change-history-commit
Stefan Kangas [Tue, 30 Nov 2021 08:36:54 +0000 (09:36 +0100)]
; make change-history-commit

3 years agoMerge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28
Eli Zaretskii [Mon, 29 Nov 2021 20:30:37 +0000 (22:30 +0200)]
Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28

3 years agoRemove problematic characters from modus-themes.org (bug#52126)
Protesilaos Stavrou [Mon, 29 Nov 2021 19:13:55 +0000 (21:13 +0200)]
Remove problematic characters from modus-themes.org (bug#52126)

* doc/misc/modus-themes.org
(Enable and load, Font configurations for Org and others)
(Note on highlight-parentheses.el, Note on god-mode.el): Update links to
headings so that they no longer include the removed portions of text.

(Option for color-coding success state, Option for line highlighting)
(Option for line numbers, Option for parenthesis matching)
(Advanced customization, Per-theme customization settings)
(Case-by-case face specs using the themes' palette)
(Face specs at scale using the themes' palette)
(Remap face with local value, Cycle through arbitrary colors)
(Override colors, Override color saturation)
(Font configurations for Org and others, Configure bold and italic faces)
(Custom Org user faces, Update Org block delimiter fontification)
(Measure color contrast, Load theme depending on time of day)
(Backdrop for pdf-tools)
(A theme-agnostic hook for theme loading, Note on EWW and Elfeed fonts)
(Frequently Asked Questions): Remove parentheses from headings as they
can cause problems in the .texi version of the file.

3 years agoAvoid undefined behaviour when copying part of structure
Andreas Schwab [Mon, 29 Nov 2021 09:29:40 +0000 (10:29 +0100)]
Avoid undefined behaviour when copying part of structure

* src/dispnew.c (copy_row_except_pointers): Don't use address of
subobject as starting point.

(cherry picked from commit 6943786b5c1fe76ea05a3a810512bd6777883710)

3 years ago* Makefile.in (PREFERRED_BRANCH): Now emacs-28.
Stefan Kangas [Mon, 29 Nov 2021 04:57:13 +0000 (05:57 +0100)]
* Makefile.in (PREFERRED_BRANCH): Now emacs-28.

3 years ago; Remove an obsolete comment
Karl Fogel [Sun, 28 Nov 2021 19:34:57 +0000 (13:34 -0600)]
; Remove an obsolete comment

* src/editfns.c (Ftranspose_regions): Remove an obsolete comment about
  memmove, following up to commit 72af86bd8cf of 8 Jul 2010 by Andreas
  Schwab and commit 354f9f0fc6cc of 23 Feb 2016 by Fredrik Bergroth,
  both of which added calls to memmove.

3 years ago* src/coding.c (Fdecode_coding_region, Fencode_coding_region): Doc fix.
Eli Zaretskii [Sun, 28 Nov 2021 18:18:16 +0000 (20:18 +0200)]
* src/coding.c (Fdecode_coding_region, Fencode_coding_region): Doc fix.

3 years ago; * lisp/org/org.el: Fix version header.
Stefan Kangas [Sun, 28 Nov 2021 13:54:24 +0000 (14:54 +0100)]
; * lisp/org/org.el: Fix version header.

3 years agoFix Subject when forwarding message with 2-line From
Mike Kupfer [Fri, 26 Nov 2021 21:59:14 +0000 (13:59 -0800)]
Fix Subject when forwarding message with 2-line From

* lisp/mh-e/mh-comp.el (mh-forwarded-letter-subject): Collapse
two-line From headers into a single line (SF#266).  Based on a
suggestion from Lester Buck (many thanks!).

3 years agoUpdate to Org 9.5.1-11-g96d91b
Kyle Meyer [Sat, 27 Nov 2021 21:24:31 +0000 (16:24 -0500)]
Update to Org 9.5.1-11-g96d91b

3 years ago* doc/lispref/commands.texi (Click Events): Fix wording (bug#52142).
Eli Zaretskii [Sat, 27 Nov 2021 13:01:46 +0000 (15:01 +0200)]
* doc/lispref/commands.texi (Click Events): Fix wording (bug#52142).

3 years ago; * src/emacs.c (main): Add commentary about command-line processing.
Eli Zaretskii [Thu, 25 Nov 2021 20:31:47 +0000 (22:31 +0200)]
; * src/emacs.c (main): Add commentary about command-line processing.

3 years agoFix pdf generation with Texinfo 6.7
Robert Pluim [Thu, 25 Nov 2021 14:29:00 +0000 (15:29 +0100)]
Fix pdf generation with Texinfo 6.7

* doc/lispref/display.texi (Size of Displayed Text): Put @group inside
@example (bug#52102).

3 years agoFix 'posn-at-point' near some overlays
Eli Zaretskii [Thu, 25 Nov 2021 13:06:08 +0000 (15:06 +0200)]
Fix 'posn-at-point' near some overlays

* src/xdisp.c (pos_visible_p): Fix 'posn-at-point' for positions
just after a display property that draws a fringe bitmap.
(Bug#52097)

3 years ago; * CONTRIBUTE: No cleanups on release branches, even in docs.
Eli Zaretskii [Thu, 25 Nov 2021 08:43:35 +0000 (10:43 +0200)]
; * CONTRIBUTE: No cleanups on release branches, even in docs.

3 years ago* lisp/repeat.el (repeat-post-hook): Add check symbolp rep-map.
Narendra Joshi [Thu, 25 Nov 2021 07:58:53 +0000 (09:58 +0200)]
* lisp/repeat.el (repeat-post-hook): Add check symbolp rep-map.

Copyright-paperwork-exempt: yes

3 years agoRevert "Use @pxref when necessary"
Eli Zaretskii [Wed, 24 Nov 2021 19:27:15 +0000 (21:27 +0200)]
Revert "Use @pxref when necessary"

This reverts commit b4f47d2ee2203a9f22bebeb3d09e0fb3fce2f65e.
Cleanups should not be done on the release branch: that's
unnecessary risk.

3 years agoUse @pxref when necessary
Robert Pluim [Wed, 24 Nov 2021 16:28:45 +0000 (17:28 +0100)]
Use @pxref when necessary

* doc/lispref/customize.texi (Composite Types):
* doc/lispref/edebug.texi (Specification List):
* doc/lispref/variables.texi (Local Variables):
* doc/misc/efaq.texi (Basic keys):
(Informational files for Emacs):
* doc/misc/flymake.texi (Locating a master file):
* doc/misc/gnus.texi (Don't Panic):
(Oort Gnus):
* doc/misc/htmlfontify.texi (Non-interactive):
* doc/misc/mh-e.texi (More About MH-E):
* doc/misc/pcl-cvs.texi (Entering PCL-CVS):
* doc/misc/tramp.texi (Remote processes):
* doc/misc/vhdl-mode.texi (Indentation Calculation):
(Custom Indentation Functions): Use @pxref when inside parens.

3 years agoBackport Tramp fixes, don't merge
Michael Albinus [Wed, 24 Nov 2021 15:54:59 +0000 (16:54 +0100)]
Backport Tramp fixes, don't merge

* lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist):
Use `tramp-handle-file-readable-p'.

* test/lisp/net/tramp-archive-tests.el
(tramp-archive-test02-file-name-dissect): Use `make-tramp-file-name'.

3 years agoFix typos in documentation
Takesi Ayanokoji [Tue, 23 Nov 2021 14:30:23 +0000 (23:30 +0900)]
Fix typos in documentation

* doc/lispref/anti.texi:
* doc/misc/efaq.texi: Fix typos.

Copyright-paperwork-exempt: yes

3 years ago; * etc/DEBUG: Fix last change.
Eli Zaretskii [Tue, 23 Nov 2021 14:25:48 +0000 (16:25 +0200)]
; * etc/DEBUG: Fix last change.

3 years ago; * etc/DEBUG: Adjust instructions for libgccjit reproducer.
Eli Zaretskii [Tue, 23 Nov 2021 12:44:45 +0000 (14:44 +0200)]
; * etc/DEBUG: Adjust instructions for libgccjit reproducer.

3 years ago; * src/xdisp.c (produce_stretch_glyph): Avoid compilation warning.
Eli Zaretskii [Tue, 23 Nov 2021 12:37:53 +0000 (14:37 +0200)]
; * src/xdisp.c (produce_stretch_glyph): Avoid compilation warning.

3 years agoFix '(space :relative-width N)' display spec w/non-ASCII chars
Eli Zaretskii [Mon, 22 Nov 2021 18:00:48 +0000 (20:00 +0200)]
Fix '(space :relative-width N)' display spec w/non-ASCII chars

* src/xdisp.c (produce_stretch_glyph): Use the correct face for
non-ASCII characters.  Support :relative-width display spec on
Lisp strings, not just on buffer text.

3 years ago* lisp/proced.el (proced-sort-header): Fix event positions (bug#1779).
Juri Linkov [Mon, 22 Nov 2021 17:39:28 +0000 (19:39 +0200)]
* lisp/proced.el (proced-sort-header): Fix event positions (bug#1779).

The logic was copied from 'tabulated-list-col-sort'.

3 years agoUpdate to Org 9.5-72-gc5d6656
Kyle Meyer [Sat, 20 Nov 2021 18:12:18 +0000 (13:12 -0500)]
Update to Org 9.5-72-gc5d6656

3 years agoFix mouse handling with several TTY frames on MS-Windows
Eli Zaretskii [Sat, 20 Nov 2021 18:08:06 +0000 (20:08 +0200)]
Fix mouse handling with several TTY frames on MS-Windows

* src/w32inevt.c (do_mouse_event): Reset the 'mouse_moved' flag of
the selected frame.  Without that, this flag might remain set on a
TTY frame that is not displayed.

3 years agoFix temacs invocation from outside of the 'src' directory
Eli Zaretskii [Sat, 20 Nov 2021 16:17:59 +0000 (18:17 +0200)]
Fix temacs invocation from outside of the 'src' directory

* src/emacs.c (main) [HAVE_NATIVE_COMP]: Recompute the value of
native-comp-eln-load-path if about to load loadup in uninitialized
Emacs.  (Bug#51999)

3 years ago; Avoid byte-compilation warnings in edmacro.el
Eli Zaretskii [Sat, 20 Nov 2021 11:00:42 +0000 (13:00 +0200)]
; Avoid byte-compilation warnings in edmacro.el

* lisp/edmacro.el (mouse-wheel-down-event, mouse-wheel-up-event)
(mouse-wheel-right-event, mouse-wheel-left-event): Defvar them, to
avoid compilation warnings in --without-x builds.

3 years agoFix mouse events on tab bar or tool bar when 'track-mouse' is t
martin rudalics [Sat, 20 Nov 2021 09:56:13 +0000 (10:56 +0100)]
Fix mouse events on tab bar or tool bar when 'track-mouse' is t

* lisp/mouse.el (mouse-drag-track):
* lisp/mouse-drag.el (mouse-drag-drag): Set 'track-mouse' to some
value neither t nor nil.
* src/keyboard.c (make_lispy_position): If track_mouse is Qt,
report event on tool or tab bar (Bug#51794).

3 years agoFix `browse-url-interactive-arg' for certain kinds of events
Po Lu [Sat, 20 Nov 2021 07:56:08 +0000 (15:56 +0800)]
Fix `browse-url-interactive-arg' for certain kinds of events

* lisp/net/browse-url.el (browse-url-interactive-arg): Don't
call `mouse-set-point' unless event is actually a mouse event.

3 years ago* test/lisp/net/tramp-tests.el (tramp-get-remote-gid): Remove declaration.
Michael Albinus [Fri, 19 Nov 2021 17:58:01 +0000 (18:58 +0100)]
* test/lisp/net/tramp-tests.el (tramp-get-remote-gid): Remove declaration.

3 years agoAdd upward compatibility entry in Tramp (don't merge)
Michael Albinus [Fri, 19 Nov 2021 17:57:47 +0000 (18:57 +0100)]
Add upward compatibility entry in Tramp (don't merge)

* lisp/net/tramp.el (tramp-file-name-for-operation):
Add `abbreviate-file-name'.