]> git.eshelyaron.com Git - emacs.git/log
emacs.git
22 months agoUpdate NEWS for Emacs 28.3
Stefan Kangas [Fri, 17 Feb 2023 10:01:27 +0000 (11:01 +0100)]
Update NEWS for Emacs 28.3

* etc/NEWS: Update for Emacs 28.3.

22 months agoUpdate ChangeLog and AUTHORS for Emacs 28.3
Stefan Kangas [Fri, 17 Feb 2023 09:43:58 +0000 (10:43 +0100)]
Update ChangeLog and AUTHORS for Emacs 28.3

* ChangeLog.3:
* etc/AUTHORS: Update for Emacs 28.3.

22 months agoFix etags local command injection vulnerability
lu4nx [Tue, 6 Dec 2022 07:42:40 +0000 (15:42 +0800)]
Fix etags local command injection vulnerability

* lib-src/etags.c: (escape_shell_arg_string): New function.
(process_file_name): Use it to quote file names passed to the
shell.  (Bug#59817)

(cherry picked from commit 01a4035c869b91c153af9a9132c87adb7669ea1c)

22 months agoFixed ctags local command execute vulnerability
lu4nx [Fri, 25 Nov 2022 06:38:29 +0000 (14:38 +0800)]
Fixed ctags local command execute vulnerability

* lib-src/etags.c:

(clean_matched_file_tag): New function
(do_move_file): New function
(readline_internal):
Add `leave_cr` parameter, if true, include the \r character

* test/manual/etags/CTAGS.good_crlf: New file
* test/manual/etags/CTAGS.good_update: New file
* test/manual/etags/crlf: New file
* test/manual/etags/Makefile: Add `ctags -u` test cases

(cherry picked from commit d48bb4874bc6cd3e69c7a15fc3c91cc141025c51)

22 months agoFix ruby-mode.el local command injection vulnerability (bug#60268)
Xi Lu [Fri, 23 Dec 2022 04:52:48 +0000 (12:52 +0800)]
Fix ruby-mode.el local command injection vulnerability (bug#60268)

* lisp/progmodes/ruby-mode.el
(ruby-find-library-file): Fix local command injection vulnerability.

(cherry picked from commit 9a3b08061feea14d6f37685ca1ab8801758bfd1c)

22 months agoFix htmlfontify.el command injection vulnerability.
Xi Lu [Sat, 24 Dec 2022 08:28:54 +0000 (16:28 +0800)]
Fix htmlfontify.el command injection vulnerability.

* lisp/htmlfontify.el (hfy-text-p): Fix command injection
vulnerability.  (Bug#60295)

(cherry picked from commit 1b4dc4691c1f87fc970fbe568b43869a15ad0d4c)

2 years agoFix storing email into nnmail by Gnus
Eli Zaretskii [Mon, 19 Dec 2022 17:01:04 +0000 (19:01 +0200)]
Fix storing email into nnmail by Gnus

Backporting suggested by Florian Weimer, since this is
a denial-of-service issue.
* lisp/gnus/nnml.el (nnml--encode-headers): Wrap
'rfc2047-encode-string' calls with 'ignore-errors', to avoid
disrupting email workflows due to possibly-invalid headers.
Reported by Florian Weimer <fweimer@redhat.com>.

(cherry picked from commit 23f7c9c2a92e4619b7c4d2286d4249f812cd695d)

2 years ago; Don't unnecessarily use non-ASCII characters in Texinfo
Eli Zaretskii [Wed, 16 Nov 2022 14:27:10 +0000 (16:27 +0200)]
; Don't unnecessarily use non-ASCII characters in Texinfo

* doc/emacs/custom.texi (Init Rebinding, Examining, Keymaps):
Use Texinfo directives instead of literal non-ASCII characters.

2 years agoExplain how to bind keys to non-ASCII sequences
Robert Pluim [Mon, 14 Nov 2022 16:12:49 +0000 (17:12 +0100)]
Explain how to bind keys to non-ASCII sequences

* doc/emacs/custom.texi (Init Rebinding): Explain how to use `kbd'
when binding keys to non-ASCII sequences.

2 years agoDocument that 'transient-mark-mode' is off in batch mode
Eli Zaretskii [Sat, 12 Nov 2022 11:10:24 +0000 (13:10 +0200)]
Document that 'transient-mark-mode' is off in batch mode

* doc/emacs/mark.texi (Mark, Disabled Transient Mark): Document,
belatedly, that 'transient-mark-mode' is turned on by default only
in interactive sessions.  (Bug#59201)

2 years ago; * doc/emacs/search.texi (Lax Search): Improve suggestion. (Bug#58992)
Eli Zaretskii [Fri, 4 Nov 2022 15:21:58 +0000 (17:21 +0200)]
; * doc/emacs/search.texi (Lax Search): Improve suggestion.  (Bug#58992)

2 years ago; * doc/lispref/searching.texi: Remove reference to Posix. (Bug#58992)
Eli Zaretskii [Fri, 4 Nov 2022 14:02:48 +0000 (16:02 +0200)]
; * doc/lispref/searching.texi: Remove reference to Posix.  (Bug#58992)

2 years ago; Improve documentation of character classes in regexps
Eli Zaretskii [Fri, 4 Nov 2022 13:12:29 +0000 (15:12 +0200)]
; Improve documentation of character classes in regexps

* doc/lispref/searching.texi (Char Classes): Add notes about the
dependence of character classes on case and syntax tables specific
to buffers and modes.  (Bug#58992)

2 years ago; * doc/emacs/search.texi (Lax Search): Improve wording. (Bug#58992)
Eli Zaretskii [Thu, 3 Nov 2022 18:02:00 +0000 (20:02 +0200)]
; * doc/emacs/search.texi (Lax Search): Improve wording.  (Bug#58992)

2 years ago; * lisp/dired-aux.el (dired-show-file-type): Doc fix.
Eli Zaretskii [Thu, 3 Nov 2022 09:59:30 +0000 (11:59 +0200)]
; * lisp/dired-aux.el (dired-show-file-type): Doc fix.

2 years ago; * src/search.c (Fmatch_data): Doc fix.
Eli Zaretskii [Sun, 30 Oct 2022 17:57:14 +0000 (19:57 +0200)]
; * src/search.c (Fmatch_data): Doc fix.

2 years ago; * lisp/whitespace.el (whitespace-trailing): Fix a typo.
Eli Zaretskii [Sat, 29 Oct 2022 12:40:31 +0000 (15:40 +0300)]
; * lisp/whitespace.el (whitespace-trailing): Fix a typo.

2 years ago; * doc/emacs/text.texi (Quotation Marks): Typo fix. (Bug#58822)
Matt Armstrong [Thu, 27 Oct 2022 20:46:38 +0000 (13:46 -0700)]
; * doc/emacs/text.texi (Quotation Marks): Typo fix.  (Bug#58822)

2 years ago; Improve doc strings in whitespace.el
Eli Zaretskii [Thu, 27 Oct 2022 07:28:34 +0000 (10:28 +0300)]
; Improve doc strings in whitespace.el

* lisp/whitespace.el (whitespace-hspace-regexp)
(whitespace-space-regexp, whitespace-tab-regexp)
(whitespace-trailing-regexp, whitespace-space-before-tab-regexp)
(whitespace-indentation-regexp, whitespace-empty-at-bob-regexp)
(whitespace-empty-at-eob-regexp)
(whitespace-space-after-tab-regexp)
(whitespace-big-indent-regexp, whitespace-line-column)
(whitespace-display-mappings, whitespace-global-modes)
(whitespace-action, whitespace-style, whitespace-space)
(whitespace-hspace, whitespace-tab, whitespace-trailing)
(whitespace-space-before-tab, whitespace-indentation)
(whitespace-big-indent, whitespace-empty)
(whitespace-space-after-tab): Doc fixes.

2 years ago; * doc/lispref/display.texi (Progress): Correct typo. (Bug#58674)
Matt Armstrong [Fri, 21 Oct 2022 03:56:03 +0000 (20:56 -0700)]
; * doc/lispref/display.texi (Progress): Correct typo.  (Bug#58674)

2 years ago; cperl-mode.el: Fix one match-count in my commit 2021-09-14
Harald Jörg [Wed, 3 Nov 2021 14:04:10 +0000 (15:04 +0100)]
; cperl-mode.el: Fix one match-count in my commit 2021-09-14

* lisp/progmodes/cperl-mode.el (cperl-init-faces): Matching group needs
to be adjusted according to the regexp change in my previous commit

(cherry picked from commit a25e91593d48a541b5940a2ed707ddfaef5c953f)

2 years ago; Remove reference to non-existent Flymake function from manual
Eli Zaretskii [Thu, 20 Oct 2022 05:59:18 +0000 (08:59 +0300)]
; Remove reference to non-existent Flymake function from manual

* doc/emacs/building.texi (Flymake): Replace reference to a delete
command 'flymake-display-err-menu-for-current-line' with existing
equivalents.   (Bug#58649)

2 years ago; * doc/lispref/modes.texi (Defining Minor Modes): Explain TURN-ON.
Eli Zaretskii [Wed, 19 Oct 2022 11:50:23 +0000 (14:50 +0300)]
; * doc/lispref/modes.texi (Defining Minor Modes): Explain TURN-ON.

2 years ago; * src/window.c: Fix some comments. (Bug#58550)
Manuel Giraud [Sat, 15 Oct 2022 16:58:56 +0000 (18:58 +0200)]
; * src/window.c: Fix some comments.  (Bug#58550)

2 years ago; Improve documentation of 'C-M-i'
Eli Zaretskii [Sun, 16 Oct 2022 06:10:14 +0000 (09:10 +0300)]
; Improve documentation of 'C-M-i'

* doc/emacs/programs.texi (Symbol Completion): Remove redundant
text, rephrase, and improve indexing and markup.

2 years ago; Fix documentation of 'comp-enable-subr-trampolines'
Eli Zaretskii [Sat, 15 Oct 2022 09:15:17 +0000 (12:15 +0300)]
; Fix documentation of 'comp-enable-subr-trampolines'

* src/comp.c (syms_of_comp) <comp-enable-subr-trampolines>:
Explain better what it means to disable trampoline synthesis.

2 years ago; Avoid incorrect indentation in an @example.
Eli Zaretskii [Sat, 15 Oct 2022 07:44:12 +0000 (10:44 +0300)]
; Avoid incorrect indentation in an @example.

* doc/lispref/modes.texi (Search-based Fontification): Avoid
incorrect indentation in an @example.  Reported by Akib Azmain
Turja <akib@disroot.org>.

2 years agoDocument how to control where the *.eln files are written
Eli Zaretskii [Fri, 14 Oct 2022 18:57:18 +0000 (21:57 +0300)]
Document how to control where the *.eln files are written

* doc/lispref/compile.texi (Native Compilation): Document the
trick of pointing $HOME to a non-existent directory.
(Native-Compilation Variables): Document the role of
'native-comp-eln-load-path' in determining where *.eln files are
written.

2 years agoAdd cross-reference to alternative syntaxes for Unicode
Robert Pluim [Fri, 14 Oct 2022 15:12:02 +0000 (17:12 +0200)]
Add cross-reference to alternative syntaxes for Unicode

These alternative syntaxes allow you to specify Unicode codepoints
using only ASCII, which helps avoid decoding issues.

* doc/emacs/custom.texi (Init Non-ASCII): Add cross reference to
"General Escape Syntax" in the Emacs Lisp Reference Manual.

2 years ago; Continued cleanup of "-hooks"
Bill Wohler [Thu, 13 Oct 2022 16:49:55 +0000 (09:49 -0700)]
; Continued cleanup of "-hooks"

* doc/misc/mh-e.texi: Replace mh-kill-folder-suppress-prompt-hook with
mh-kill-folder-suppress-prompt-functions.

2 years ago; * admin/make-tarball.txt: Fix typo.
Stefan Kangas [Thu, 13 Oct 2022 02:46:32 +0000 (04:46 +0200)]
; * admin/make-tarball.txt: Fix typo.

2 years ago; * doc/lispref/windows.texi (Window Hooks): Fix markup (bug#58445).
Eli Zaretskii [Tue, 11 Oct 2022 17:20:44 +0000 (20:20 +0300)]
; * doc/lispref/windows.texi (Window Hooks): Fix markup (bug#58445).

2 years ago; Improve documentation of 'file-in-directory-p'
Eli Zaretskii [Sat, 8 Oct 2022 11:13:50 +0000 (14:13 +0300)]
; Improve documentation of 'file-in-directory-p'

* lisp/files.el (file-in-directory-p): Clarify doc string.

* doc/lispref/files.texi (Truenames): Move the documentation of
'file-in-directory-p' from here...
(Contents of Directories): ...to here.  Add index entries.
(Bug#58364)

2 years agoUpdate name of hs-mouse-toggle-hiding in Emacs manual
Lars Ingebrigtsen [Fri, 7 Oct 2022 12:40:38 +0000 (14:40 +0200)]
Update name of hs-mouse-toggle-hiding in Emacs manual

* doc/emacs/programs.texi (Hideshow): Update the name of
hs-mouse-toggle-hiding (bug#58331).

2 years agoFix typo in `(emacs) Lisp Doc'
Stefan Kangas [Thu, 6 Oct 2022 07:32:02 +0000 (09:32 +0200)]
Fix typo in `(emacs) Lisp Doc'

* doc/emacs/programs.texi (Lisp Doc): Fix reference to
'eldoc-echo-area-display-truncation-message'.  (Bug#58324)

2 years agoFix references to 'default-indent-new-line'
Stefan Kangas [Thu, 6 Oct 2022 07:25:42 +0000 (09:25 +0200)]
Fix references to 'default-indent-new-line'

* doc/emacs/programs.texi (Comment Commands)
(Multi-Line Comments): Fix references to
'default-indent-new-line'.  (Bug#58325)

2 years ago* src/emacs.c (load_pdump): Propery handle case when executable
Andreas Schwab [Tue, 4 Oct 2022 16:22:58 +0000 (18:22 +0200)]
* src/emacs.c (load_pdump): Propery handle case when executable
wasn't found.

2 years agoAvoid assertion violations in STRING_CHAR
Eli Zaretskii [Tue, 4 Oct 2022 11:23:20 +0000 (14:23 +0300)]
Avoid assertion violations in STRING_CHAR

* src/xdisp.c (handle_composition_prop):
* src/editfns.c (styled_format): Don't call 'STRING_CHAR' on
unibyte strings.  This avoids assertion violation in
'string_char_and_length'.

(cherry picked from commit d52d6e1e106117eb4bba81a65e256e2e793037b6)

2 years ago; * lisp/progmodes/glasses.el (glasses-face): Expand the doc string.
Eli Zaretskii [Tue, 4 Oct 2022 07:32:06 +0000 (10:32 +0300)]
; * lisp/progmodes/glasses.el (glasses-face): Expand the doc string.

2 years agoFix documentation of 'TAB' in cc-mode
Stefan Kangas [Mon, 3 Oct 2022 00:28:26 +0000 (02:28 +0200)]
Fix documentation  of 'TAB' in cc-mode

* doc/emacs/programs.texi (C Indent): Fix documentation of 'TAB'
in cc-mode.  (Bug#58258)

2 years agoFix 'org-export-dispatch' command name in manual
Stefan Kangas [Mon, 3 Oct 2022 00:21:07 +0000 (02:21 +0200)]
Fix 'org-export-dispatch' command name in manual

* doc/emacs/text.texi (Org Authoring): Fix 'org-export-dispatch'
command name.  (Bug#58260)

2 years ago* src/emacs.c (load_pdump): Fix use of xpalloc.
Andreas Schwab [Sun, 2 Oct 2022 10:15:27 +0000 (12:15 +0200)]
* src/emacs.c (load_pdump): Fix use of xpalloc.

2 years agoAvoid assertion violation in 'xpalloc'
Eli Zaretskii [Sun, 2 Oct 2022 09:58:04 +0000 (12:58 +0300)]
Avoid assertion violation in 'xpalloc'

* src/emacs.c (load_pdump): Ensure the 3rd argument of xpalloc is
always positive.  (Bug#58232)

2 years ago; Auto-commit of loaddefs files.
Stefan Kangas [Sat, 1 Oct 2022 18:31:44 +0000 (20:31 +0200)]
; Auto-commit of loaddefs files.

2 years ago; * etc/NEWS: Fix typos.
Michael Albinus [Fri, 30 Sep 2022 19:54:05 +0000 (21:54 +0200)]
; * etc/NEWS: Fix typos.

2 years agoFix connection property incompatibility in Tramp
Michael Albinus [Fri, 30 Sep 2022 19:53:52 +0000 (21:53 +0200)]
Fix connection property incompatibility in Tramp

* lisp/net/tramp.el (tramp-get-remote-tmpdir): Remove obsolete
connection property "tmpdir".  (Bug#57800)

2 years ago; * lisp/image.el (create-image): Fix last change in doc string.
Eli Zaretskii [Thu, 29 Sep 2022 13:27:59 +0000 (16:27 +0300)]
; * lisp/image.el (create-image): Fix last change in doc string.

2 years agoUpdate some Gnus documentation in the Emacs manual
Lars Ingebrigtsen [Thu, 29 Sep 2022 11:05:36 +0000 (13:05 +0200)]
Update some Gnus documentation in the Emacs manual

* doc/emacs/misc.texi (Gnus Group Buffer, Gnus Summary Buffer):
Update documentation (bug#58145).

2 years agoClarify image file search
Eli Zaretskii [Wed, 28 Sep 2022 19:03:27 +0000 (22:03 +0300)]
Clarify image file search

* doc/lispref/display.texi (Defining Images, Image Descriptors):
* lisp/image.el (create-image): Clarify that non-absolute image
files are searched along 'image-load-path'.  (Bug#52931)

2 years ago; Fix typo.
Stefan Kangas [Wed, 28 Sep 2022 15:18:49 +0000 (17:18 +0200)]
; Fix typo.

2 years ago.mailcap: Some additional fixes.
Stefan Kangas [Wed, 28 Sep 2022 14:23:09 +0000 (16:23 +0200)]
.mailcap: Some additional fixes.

2 years agoAvoid assertion violations in 'pop_it'
Eli Zaretskii [Wed, 28 Sep 2022 13:46:39 +0000 (16:46 +0300)]
Avoid assertion violations in 'pop_it'

* src/xdisp.c (pop_it): Avoid assertion violations when handling
lists or vectors of display properties.  (Bug#58122)

2 years ago; Fix typo
Stefan Kangas [Wed, 28 Sep 2022 13:22:46 +0000 (15:22 +0200)]
; Fix typo

2 years agoAdd .mailmap for proper git log output
Stefan Kangas [Wed, 28 Sep 2022 12:50:24 +0000 (14:50 +0200)]
Add .mailmap for proper git log output

This file is used to fix a few misspelled names in various git
listings (e.g., "git log").  This can be used to fix incorrect
attribution, poor display, or names showing up more than once.
It also allows updating an old email addresses to a new one.
See "man git-shortlog" for more information on the format.

* .mailmap: New file.

2 years ago; Fix typo
Stefan Kangas [Tue, 27 Sep 2022 17:32:31 +0000 (19:32 +0200)]
; Fix typo

2 years ago* doc/emacs/ack.texi (Acknowledgments): Update maintainers.
Stefan Kangas [Tue, 27 Sep 2022 17:22:22 +0000 (19:22 +0200)]
* doc/emacs/ack.texi (Acknowledgments): Update maintainers.

2 years ago; Add commentary to disabled OTF support code in font.c
Eli Zaretskii [Mon, 26 Sep 2022 06:35:10 +0000 (09:35 +0300)]
; Add commentary to disabled OTF support code in font.c

* src/font.c (check_gstring, check_otf_features, otf_tag_symbol)
(otf_open, font_otf_capability, generate_otf_features)
(font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
Move closer to the primitives that use them.  Add commentary for
the purpose of this code.

2 years ago* lisp/progmodes/hideshow.el (hs-toggle-hiding): Fix `interactive` form
Stefan Monnier [Sat, 24 Sep 2022 14:24:54 +0000 (10:24 -0400)]
* lisp/progmodes/hideshow.el (hs-toggle-hiding): Fix `interactive` form

This fixes the first part of bug#52092, which is a regression
introduced by commit d0e9113de97.

2 years ago; * src/keyboard.c (Fposn_at_point): Doc fix. (Bug#52092)
Eli Zaretskii [Sat, 24 Sep 2022 06:22:45 +0000 (09:22 +0300)]
; * src/keyboard.c (Fposn_at_point): Doc fix.  (Bug#52092)

2 years agoFix shaping with bitmap-only fonts on HarfBuzz 5.2.0 (Bug#57976)
YAMAMOTO Mitsuharu [Fri, 23 Sep 2022 05:17:12 +0000 (14:17 +0900)]
Fix shaping with bitmap-only fonts on HarfBuzz 5.2.0 (Bug#57976)

* src/ftcrfont.c (ftcrhbfont_begin_hb_font): Undo last change for
HarfBuzz 5.2.0.

2 years ago; Minor copyedits of elisp.texi
Eli Zaretskii [Thu, 22 Sep 2022 16:43:15 +0000 (19:43 +0300)]
; Minor copyedits of elisp.texi

* doc/lispref/variables.texi (Setting Generalized Variables):
Improve wording.

2 years ago; * doc/lispref/windows.texi (Window Hooks): Fix a typo (bug#51930).
Eli Zaretskii [Tue, 20 Sep 2022 18:22:13 +0000 (21:22 +0300)]
; * doc/lispref/windows.texi (Window Hooks): Fix a typo (bug#51930).

2 years ago* lisp/text-modes/tex-mode.el (tex-mode): Fix AUCTeX regression
Stefan Monnier [Tue, 20 Sep 2022 13:58:21 +0000 (09:58 -0400)]
* lisp/text-modes/tex-mode.el (tex-mode): Fix AUCTeX regression

As discussed in
https://lists.gnu.org/r/auctex/2022-08/msg00004.html
AUCTeX installs its own advice to redefine `tex-mode`, and that
advice used to take precedence before commit 6075a7c5ae3fa456cd.

2 years agoAdd vc-annotate-switches to manual
Robert Pluim [Tue, 20 Sep 2022 12:02:44 +0000 (14:02 +0200)]
Add vc-annotate-switches to manual

* doc/emacs/maintaining.texi (Old Revisions): Add description of
`vc-annotate-switches' and `vc-BACKEND-annotate-switches'.

2 years ago; Fix typos in Lisp symbols
Stefan Kangas [Tue, 20 Sep 2022 10:21:40 +0000 (12:21 +0200)]
; Fix typos in Lisp symbols

2 years agoRemove mention of non-existent `annotate-switches'
Robert Pluim [Tue, 20 Sep 2022 09:46:04 +0000 (11:46 +0200)]
Remove mention of non-existent `annotate-switches'

* lisp/vc/vc.el (vc-annotate-switches): Remove mention of
`annotate-switches'.  As far as I can tell this has never existed in
Emacs.

2 years agoMention that src/macuvs.h sometimes needs committing
Robert Pluim [Mon, 19 Sep 2022 12:49:55 +0000 (14:49 +0200)]
Mention that src/macuvs.h sometimes needs committing

* admin/notes/unicode: src/macuvs.h is generated, but needs to be
committed sometimes.

2 years ago; More comment fixes in font.h (bug#57935)
Eli Zaretskii [Mon, 19 Sep 2022 15:57:32 +0000 (18:57 +0300)]
; More comment fixes in font.h (bug#57935)

2 years ago; * src/font.h (struct font_driver): Comment fix.
Manuel Giraud [Mon, 19 Sep 2022 15:15:50 +0000 (17:15 +0200)]
; * src/font.h (struct font_driver): Comment fix.

2 years agoMacOS ld warning from native compilation (bug#57849)
Gerd Möllmann [Sun, 18 Sep 2022 06:05:52 +0000 (08:05 +0200)]
MacOS ld warning from native compilation (bug#57849)

* lisp/emacs-lisp/comp.el (native-comp-driver-options): Add "-Wl,-w"
on Darwin systems.
* etc/NEWS: Describe change.

2 years ago; Minor copyedits of *-frame-alist doc strings
Eli Zaretskii [Sun, 18 Sep 2022 17:21:58 +0000 (20:21 +0300)]
; Minor copyedits of *-frame-alist doc strings

* src/frame.c (syms_of_frame) <default-frame-alist>:
* lisp/frame.el (initial-frame-alist): Minor doc fixes.

2 years ago; * src/intervals.c (get_local_map): Fix commentary.
Eli Zaretskii [Sun, 18 Sep 2022 16:59:58 +0000 (19:59 +0300)]
; * src/intervals.c (get_local_map): Fix commentary.

2 years agoFix Tramp error with eshell integration
Michael Albinus [Sun, 18 Sep 2022 10:51:52 +0000 (12:51 +0200)]
Fix Tramp error with eshell integration

* lisp/net/tramp-integration.el (tramp-eshell-directory-change):
Respect local `default-directory'.  (Bug#57556)

2 years ago; * admin/admin.el (make-news-html-file): Fix typo.
Stefan Kangas [Sat, 17 Sep 2022 19:59:47 +0000 (21:59 +0200)]
; * admin/admin.el (make-news-html-file): Fix typo.

2 years agoSync with Tramp 2.5.3.2. Don't merge with master
Michael Albinus [Sat, 17 Sep 2022 15:50:38 +0000 (17:50 +0200)]
Sync with Tramp 2.5.3.2.  Don't merge with master

* doc/misc/tramp.texi (Android shell setup): Rework.
(Frequently Asked Questions): Improve recommendations for speeding up.

* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.5.4-pre".

* lisp/net/tramp-adb.el (tramp-methods): Use "%d".
(tramp-adb-handle-directory-files-and-attributes): Fix "." and
".." in listing.
(tramp-adb-handle-file-attributes)
(tramp-adb-handle-directory-files-and-attributes)
(tramp-adb-handle-file-name-all-completions): Pipe "ls" output
through "cat", in order to avoid quoting special characters.
(tramp-adb-maybe-open-connection): Compute args from `tramp-login-args'.

* lisp/net/tramp-compat.el (tramp-compat-replace-regexp-in-region):
New defalias.

* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
Adapt check for proper remote command.

* lisp/net/tramp.el (tramp-methods): Adapt docstring.
(tramp-handle-make-process): Check for adb device if indicated.
(tramp-get-remote-tmpdir): Cache result in temporary connection
property.

* test/lisp/net/tramp-tests.el  (tramp-test17-insert-directory)
(tramp-test22-file-times, tramp--test-utf8): Adapt tests.
(tramp--test-shell-file-name): Do not depend on `tramp--test-adb-p'.
(tramp-test46-unload): Ignore autoload functions in
`tramp-file-name' structure tests, since `tramp-file-name-handler'
is also autoloaded in Emacs 29.

2 years ago; * etc/NEWS: Fix typo.
Stefan Kangas [Sat, 17 Sep 2022 00:13:27 +0000 (02:13 +0200)]
; * etc/NEWS: Fix typo.

2 years agoSimplify regexp in make-news-html-file
Stefan Kangas [Sat, 17 Sep 2022 00:13:05 +0000 (02:13 +0200)]
Simplify regexp in make-news-html-file

* admin/admin.el (make-news-html-file): Simplify regexp.
Suggested by Mattias Engdegård <mattiase@acm.org>.

2 years ago* admin/admin.el (make-news-html-file): Set id on correct tag.
Stefan Kangas [Fri, 16 Sep 2022 17:46:31 +0000 (19:46 +0200)]
* admin/admin.el (make-news-html-file): Set id on correct tag.

2 years agoAdd version headlines to HTML NEWS export
Stefan Kangas [Fri, 16 Sep 2022 17:33:02 +0000 (19:33 +0200)]
Add version headlines to HTML NEWS export

This allows linking to, e.g. "NEWS.28.html#28.1" to go directly to
those release notes.
* admin/admin.el (admin--org-export-headers-format)
(make-news-html-file): Add XX.Y version headlines with an HTML anchor.

2 years ago; * etc/NEWS: Fix formatting.
Stefan Kangas [Fri, 16 Sep 2022 16:54:59 +0000 (18:54 +0200)]
; * etc/NEWS: Fix formatting.

2 years ago; * etc/NEWS: Backport fixes from master.
Stefan Kangas [Fri, 16 Sep 2022 14:16:32 +0000 (16:16 +0200)]
; * etc/NEWS: Backport fixes from master.

Don't merge to master.

2 years agoImprove HTML export of NEWS file
Stefan Kangas [Fri, 16 Sep 2022 12:17:14 +0000 (14:17 +0200)]
Improve HTML export of NEWS file

* admin/admin.el (admin--org-export-headers-format)
(admin--org-html-postamble): New variables.
(admin--require-external-package): New function.
(make-news-html-file): Improve HTML export.

2 years agoDelete "etc/NEWS*.html" from .gitignore
Stefan Kangas [Fri, 16 Sep 2022 13:16:43 +0000 (15:16 +0200)]
Delete "etc/NEWS*.html" from .gitignore

We actually do want to see it when preparing a release, so that we
don't include it in a tarball by mistake.
* .gitignore: Don't ignore "etc/NEWS*.html".

2 years ago; * etc/NEWS: Fix typos.
Stefan Kangas [Fri, 16 Sep 2022 13:03:19 +0000 (15:03 +0200)]
; * etc/NEWS: Fix typos.

2 years agoRecommend NonGNU ELPA over MELPA
Stefan Kangas [Fri, 16 Sep 2022 11:59:51 +0000 (13:59 +0200)]
Recommend NonGNU ELPA over MELPA

* doc/misc/org.org (Using CDLaTeX to enter math, Footnotes): Recommend
NonGNU ELPA over MELPA.

2 years agoMinor doc fixes in picture.el
Stefan Kangas [Fri, 16 Sep 2022 10:44:08 +0000 (12:44 +0200)]
Minor doc fixes in picture.el

* lisp/textmodes/picture.el: Improve Commentary.
(picture-forward-column, picture-backward-column)
(picture-move-down, picture-move-up, picture-movement-nw)
(picture-movement-ne, picture-movement-sw, picture-movement-se)
(picture-set-motion, picture-clear-line, picture-newline)
(picture-tab, picture-yank-rectangle)
(picture-yank-rectangle-from-register, picture-insert-rectangle)
(picture-draw-rectangle): Minor doc fixes.

2 years ago* lisp/textmodes/page-ext.el: Improve Commentary.
Stefan Kangas [Fri, 16 Sep 2022 10:14:33 +0000 (12:14 +0200)]
* lisp/textmodes/page-ext.el: Improve Commentary.

2 years agoAutomate exporting etc/NEWS to HTML
Stefan Kangas [Wed, 14 Sep 2022 14:22:59 +0000 (16:22 +0200)]
Automate exporting etc/NEWS to HTML

* admin/admin.el (make-news-html-file): New function.
* .gitignore: Ignore generated "etc/NEWS*.html" file.

2 years ago* Makefile.in (uninstall): Remove the *.eln files. (Bug#57771)
Eli Zaretskii [Wed, 14 Sep 2022 12:14:00 +0000 (15:14 +0300)]
* Makefile.in (uninstall): Remove the *.eln files.  (Bug#57771)

2 years ago; * admin/notes/www: Fix typos.
Stefan Kangas [Tue, 13 Sep 2022 02:53:06 +0000 (04:53 +0200)]
; * admin/notes/www: Fix typos.

2 years ago; * admin/make-tarball.txt: Minor clarifications.
Stefan Kangas [Mon, 12 Sep 2022 10:15:01 +0000 (12:15 +0200)]
; * admin/make-tarball.txt: Minor clarifications.

2 years ago; Bump Emacs version past 28.2
Stefan Kangas [Mon, 12 Sep 2022 10:02:32 +0000 (12:02 +0200)]
; Bump Emacs version past 28.2

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

2 years agoUpdate HISTORY for Emacs 28.2 emacs-28.2
Stefan Kangas [Mon, 12 Sep 2022 00:47:11 +0000 (02:47 +0200)]
Update HISTORY for Emacs 28.2

* etc/HISTORY: Update for the Emacs 28.2 release.

2 years agoBump Emacs version to 28.2
Stefan Kangas [Tue, 6 Sep 2022 22:25:16 +0000 (00:25 +0200)]
Bump Emacs version to 28.2

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

2 years agoUpdate ChangeLog and AUTHORS for Emacs 28.2
Stefan Kangas [Tue, 6 Sep 2022 22:20:57 +0000 (00:20 +0200)]
Update ChangeLog and AUTHORS for Emacs 28.2

* ChangeLog.3:
* etc/AUTHORS:
* etc/NEWS: Update for Emacs 28.2.

2 years ago* doc/misc/idlwave.texi (Troubleshooting): Don't say "Emacsen".
Stefan Kangas [Tue, 6 Sep 2022 21:27:01 +0000 (23:27 +0200)]
* doc/misc/idlwave.texi (Troubleshooting): Don't say "Emacsen".

2 years ago; * doc/emacs/misc.texi (emacsclient Options): Fix typo.
Stefan Kangas [Mon, 5 Sep 2022 20:24:05 +0000 (22:24 +0200)]
; * doc/emacs/misc.texi (emacsclient Options): Fix typo.

2 years agoDon't mention very old Emacs versions in docs
Stefan Kangas [Tue, 6 Sep 2022 11:57:01 +0000 (13:57 +0200)]
Don't mention very old Emacs versions in docs

* doc/misc/mh-e.texi (Conventions):
* doc/misc/reftex.texi (Problems and Work-Arounds):
* doc/misc/viper.texi (Loading Viper): Delete references to
very old versions of Emacs.

2 years ago* lisp/server.el: Improve Commentary.
Stefan Kangas [Mon, 5 Sep 2022 13:44:01 +0000 (15:44 +0200)]
* lisp/server.el: Improve Commentary.

2 years agoExplain how the font appearance can be fine-tuned in fbterm.
Gregory Heytings [Mon, 5 Sep 2022 08:55:10 +0000 (08:55 +0000)]
Explain how the font appearance can be fine-tuned in fbterm.

* doc/misc/efaq.texi (Emacs in a Linux console): Briefly document
Xft font specifications with which the font appearance can be
fine-tuned.