]> git.eshelyaron.com Git - emacs.git/log
emacs.git
2 years agoUpdate ChangeLog and AUTHORS for 28.1.90 pretest
Stefan Kangas [Wed, 29 Jun 2022 13:19:55 +0000 (15:19 +0200)]
Update ChangeLog and AUTHORS for 28.1.90 pretest

* ChangeLog.3:
* etc/AUTHORS: Update.

2 years ago; Auto-commit of loaddefs files.
Stefan Kangas [Wed, 29 Jun 2022 12:20:24 +0000 (14:20 +0200)]
; Auto-commit of loaddefs files.

2 years ago; * admin/make-tarball.txt: Small clarification.
Stefan Kangas [Wed, 29 Jun 2022 12:07:36 +0000 (14:07 +0200)]
; * admin/make-tarball.txt: Small clarification.

2 years agoUpdate Tramp version (don't merge with master)
Michael Albinus [Wed, 29 Jun 2022 09:08:44 +0000 (11:08 +0200)]
Update Tramp version (don't merge with master)

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

2 years agoTramp shall not trap unrelated D-Bus errors
Michael Albinus [Tue, 28 Jun 2022 12:41:45 +0000 (14:41 +0200)]
Tramp shall not trap unrelated D-Bus errors

* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector): Declare.
(tramp-gvfs-file-name-handler): Let-bind it.
(tramp-gvfs-dbus-event-vector): Fix docstring.
(tramp-gvfs-maybe-open-connection): Do not set it globally.  (Bug#56162)

2 years ago; * etc/NEWS: Fix file name quotations.
Michael Albinus [Tue, 28 Jun 2022 12:40:52 +0000 (14:40 +0200)]
; * etc/NEWS: Fix file name quotations.

2 years agoFix hash table function return values in manual
Basil L. Contovounesios [Sat, 21 May 2022 20:11:33 +0000 (23:11 +0300)]
Fix hash table function return values in manual

* doc/lispref/hash.texi (Hash Access): Reconcile documented return
values of puthash and clrhash with their respective
docstrings (bug#55562).

2 years ago; Mention in NEWS the need to use --bindir
Eli Zaretskii [Mon, 27 Jun 2022 12:57:36 +0000 (15:57 +0300)]
; Mention in NEWS the need to use --bindir

* etc/NEWS: Mention the need to use --bindir= at configure time
when installing outside of the ${prefix} tree.  (Bug#46790)

2 years agoUpdate to Org 9.5.4-3-g6dc785
Kyle Meyer [Mon, 27 Jun 2022 03:00:38 +0000 (23:00 -0400)]
Update to Org 9.5.4-3-g6dc785

2 years agoMention Solaris 10 'make clean' and 'make check'
Paul Eggert [Sun, 26 Jun 2022 22:36:22 +0000 (17:36 -0500)]
Mention Solaris 10 'make clean' and 'make check'

2 years agoMention further crashes on Solaris 10
Paul Eggert [Sun, 26 Jun 2022 22:23:20 +0000 (17:23 -0500)]
Mention further crashes on Solaris 10

2 years agoPort distribution tarball to Solaris 10
Paul Eggert [Sat, 25 Jun 2022 19:51:28 +0000 (14:51 -0500)]
Port distribution tarball to Solaris 10

* make-dist (taropt): Use 'tar -H ustar' to generate a portable
tar file format instead of a GNU-specific format.  Needed now that
Emacs tarballs contain file names longer than 100 bytes, e.g.:
emacs-28.1/test/lisp/gnus/mml-sec-resources/private-keys-v1.d/C072AF82DCCCB9A7F1B85FFA10B802DC4ED16703.key
emacs-28.1/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-run-hook-with-args-until-success.el
Without this patch, extracting a tarball on Solaris 10 fails with
many diagnostics like “tar: ././@LongLink: typeflag 'L' not
recognized, converting to regular file”.

(cherry picked from commit 4410f5d86997b6b238ff05c2ece338b28e1163b1)

2 years ago; elec-pair: Fix docstring typo (bug#56233)
Allen Li [Sun, 26 Jun 2022 07:37:07 +0000 (00:37 -0700)]
; elec-pair: Fix docstring typo (bug#56233)

* lisp/elec-pair.el (electric-pair-post-self-insert-function): Fix typo.

2 years agoAvoid treating number as an enum in the org manual
Stefan Kangas [Fri, 24 Jun 2022 17:18:22 +0000 (19:18 +0200)]
Avoid treating number as an enum in the org manual

* doc/misc/org.org (The Agenda Dispatcher): Avoid treating number as
enum.

2 years ago; Fix typos: prefer US spelling.
Stefan Kangas [Thu, 23 Jun 2022 20:03:50 +0000 (22:03 +0200)]
; Fix typos: prefer US spelling.

2 years agoImprove last change in autotype.texi
Eli Zaretskii [Wed, 22 Jun 2022 13:46:25 +0000 (16:46 +0300)]
Improve last change in autotype.texi

* doc/misc/autotype.texi (Autoinserting): Fix wording.  Suggested
by Richard Stallman <rms@gnu.org>.

2 years ago; Revert "Use file-in-directory-p instead of obsolete dired-in-this-tree-p"
Tassilo Horn [Tue, 21 Jun 2022 19:21:12 +0000 (21:21 +0200)]
; Revert "Use file-in-directory-p instead of obsolete dired-in-this-tree-p"

Fixes bug#56126.

This reverts commit b425966b072792b7b22b845b5f2e39ff4f60b5ab.

2 years ago; * lisp/recentf.el: Fix typo.
Stefan Kangas [Tue, 21 Jun 2022 12:20:22 +0000 (14:20 +0200)]
; * lisp/recentf.el: Fix typo.

2 years ago* lisp/repeat.el (repeat-mode): Fix message format.
Stefan Kangas [Tue, 21 Jun 2022 11:56:58 +0000 (13:56 +0200)]
* lisp/repeat.el (repeat-mode): Fix message format.

2 years agoClarify autotype.texi text slightly
Earl Hyatt [Tue, 21 Jun 2022 10:52:28 +0000 (12:52 +0200)]
Clarify autotype.texi text slightly

* doc/misc/autotype.texi (Autoinserting): Make text slightly
clearer (bug#56118).

2 years agoSupport builds configured with a separate --bindir
Eli Zaretskii [Mon, 20 Jun 2022 16:04:06 +0000 (19:04 +0300)]
Support builds configured with a separate --bindir

* src/emacs.c (load_pdump): Don't overwrite the leading
directories of the Emacs executable just because the pdumper file
was not found in the expected directory relative to the binary.
This is needed to support builds with a separate --bindir
configure-time option and native-compilation.  (Bug#55741)

2 years ago* doc/misc/eww.texi (Overview, Basics): Fix typos.
Stefan Kangas [Mon, 20 Jun 2022 09:08:08 +0000 (11:08 +0200)]
* doc/misc/eww.texi (Overview, Basics): Fix typos.

2 years agoFix invalid defcustom :group when :predicate is used
Richard Hansen [Sat, 18 Jun 2022 12:11:01 +0000 (14:11 +0200)]
Fix invalid defcustom :group when :predicate is used

* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
invalid `:group' argument for the `-modes' defcustom that is created
when `:predicate' is used (bug#56049).

2 years agoPrune the Gnus FAQ of some outdated data
Lars Ingebrigtsen [Fri, 17 Jun 2022 19:38:30 +0000 (21:38 +0200)]
Prune the Gnus FAQ of some outdated data

* doc/misc/gnus-faq.texi (FAQ 9-2): Remove some outdated advice
(bug#56042).

2 years agoFix efaq-w32.texi build warning
Lars Ingebrigtsen [Fri, 17 Jun 2022 14:59:18 +0000 (16:59 +0200)]
Fix efaq-w32.texi build warning

* doc/misc/efaq-w32.texi (Other useful ports): Fix ordering to
match nodes (or should the nodes be moved instead?).

Do not merge to master.

2 years agoUpdate cl-struct-sequence-type doc string
Lars Ingebrigtsen [Fri, 17 Jun 2022 14:48:02 +0000 (16:48 +0200)]
Update cl-struct-sequence-type doc string

* lisp/emacs-lisp/cl-macs.el (cl-struct-sequence-type): Fix doc
string to reflect what it does (bug#46523).

2 years agoFix a tagging problem in tramp.texi
Lars Ingebrigtsen [Fri, 17 Jun 2022 12:20:05 +0000 (14:20 +0200)]
Fix a tagging problem in tramp.texi

* doc/misc/tramp.texi (Frequently Asked Questions): Restore an
@end lisp removed by accident.

2 years agoMention face quirks after the final line in the lispref manual
Lars Ingebrigtsen [Fri, 17 Jun 2022 12:17:51 +0000 (14:17 +0200)]
Mention face quirks after the final line in the lispref manual

* doc/lispref/display.texi (Face Attributes): Mention the quirks
about point after the final line (bug#56011).

2 years agoDelete reference to obsolete library complete.el
Stefan Kangas [Fri, 17 Jun 2022 10:04:48 +0000 (12:04 +0200)]
Delete reference to obsolete library complete.el

* doc/misc/tramp.texi (Frequently Asked Questions): Delete reference
to obsolete library complete.el.

2 years ago* lisp/textmodes/artist.el: Minor doc fixes.
Stefan Kangas [Thu, 16 Jun 2022 07:48:05 +0000 (09:48 +0200)]
* lisp/textmodes/artist.el: Minor doc fixes.

2 years ago* lisp/net/tramp.el (tramp-methods): Fix quoting in docstring.
Michael Albinus [Thu, 16 Jun 2022 08:45:15 +0000 (10:45 +0200)]
* lisp/net/tramp.el (tramp-methods): Fix quoting in docstring.

2 years agoUpdate MS Windows FAQ for MinGW64-w64/MSYS2
Arash Esbati [Wed, 15 Jun 2022 19:35:47 +0000 (21:35 +0200)]
Update MS Windows FAQ for MinGW64-w64/MSYS2

* doc/misc/efaq-w32.texi (Compiling, Debugging): Mention
MinGW64-w64/MSYS2 as the preferred way for building Emacs on
capable systems.
(Attachments with Gnus): Catch up with emacs-mime.texi in the
example given.
(Spell check): Add the availability of GNU Aspell and Hunspell
in MSYS2 distribution.
(Other useful ports): Add an entry for MinGW64-w64/MSYS2.
Fix link for MinGW homepage.
Remove entry for defunct UWIN project.  (Bug#55930)

2 years ago; * src/fileio.c (Fset_file_modes): Improve previous change
Robert Pluim [Wed, 15 Jun 2022 13:16:47 +0000 (15:16 +0200)]
; * src/fileio.c (Fset_file_modes): Improve previous change

2 years agoDescribe 'set-file-modes' argument prompting
Robert Pluim [Wed, 15 Jun 2022 12:25:17 +0000 (14:25 +0200)]
Describe 'set-file-modes' argument prompting

* src/fileio.c (Fset_file_modes): Document that FILENAME is prompted
for.  (Bug#55984)

2 years agoRevert "Clarify what a Calc registeri in in calc-insert-register"
Lars Ingebrigtsen [Tue, 14 Jun 2022 11:56:07 +0000 (13:56 +0200)]
Revert "Clarify what a Calc registeri in in calc-insert-register"

This reverts commit 73400e4002ce8fca060093548e6791b3a784eeaa.

This has been fixed in Emacs 29 by making it possible to use regular registers in calc.

2 years agoClarify what a Calc registeri in in calc-insert-register
Lars Ingebrigtsen [Mon, 13 Jun 2022 15:14:08 +0000 (17:14 +0200)]
Clarify what a Calc registeri in in calc-insert-register

* lisp/calc/calc-yank.el (calc-insert-register): Note that these
aren't normal registers (bug#55943).

2 years ago; * doc/man/etags.1: Bump man page date.
Stefan Kangas [Sun, 12 Jun 2022 10:41:15 +0000 (12:41 +0200)]
; * doc/man/etags.1: Bump man page date.

2 years ago; Fix last change in whitespace.el.
Eli Zaretskii [Sat, 11 Jun 2022 11:02:29 +0000 (14:02 +0300)]
; Fix last change in whitespace.el.

2 years agoFix doc strings in whitespace.el
Eli Zaretskii [Sat, 11 Jun 2022 10:30:07 +0000 (13:30 +0300)]
Fix doc strings in whitespace.el

* lisp/whitespace.el (whitespace-style, whitespace-action):
Untabify the doc strings.  (Bug#55904)

2 years agoImprove documentation of "etags -I"
Eli Zaretskii [Fri, 10 Jun 2022 07:06:06 +0000 (10:06 +0300)]
Improve documentation of "etags -I"

* doc/man/etags.1:
* doc/emacs/maintaining.texi (Create Tags Table): Elaborate on the
importance of the '-I' option to 'etags'.  (Bug#45246)

2 years agoMerge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28
Eli Zaretskii [Fri, 10 Jun 2022 07:04:28 +0000 (10:04 +0300)]
Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28

2 years agoMention the #f syntax from cl-prin1
Lars Ingebrigtsen [Thu, 9 Jun 2022 13:22:11 +0000 (15:22 +0200)]
Mention the #f syntax from cl-prin1

* doc/lispref/objects.texi (Special Read Syntax): Mention #f,
which is in cl-prin1 output (bug#55853).

2 years agoFix file name quoting in tramp-smb.el (do not merge)
Michael Albinus [Thu, 9 Jun 2022 12:44:00 +0000 (14:44 +0200)]
Fix file name quoting in tramp-smb.el (do not merge)

* lisp/net/tramp-smb.el (tramp-smb-handle-write-region): Quote tmpfile.
(tramp-smb-get-localname): Remove superfluous test.  (Bug#55855)

* test/lisp/net/tramp-tests.el (tramp-test03-file-name-method-rules):
Remove superfluous checks.

2 years agoUpdate error message to reflect variable rename
Jeff Walsh [Thu, 9 Jun 2022 00:02:01 +0000 (10:02 +1000)]
Update error message to reflect variable rename

* src/comp.c (Fcomp_el_to_eln_filename): Update error message.  (Bug#55861)

2 years agoFix error reporting in process-async-https-with-delay
Ken Brown [Wed, 8 Jun 2022 17:09:21 +0000 (13:09 -0400)]
Fix error reporting in process-async-https-with-delay

* test/src/process-tests.el (process-async-https-with-delay): Use
'plist-get' instead of 'assq' in testing for a connection error.
The 'status' variable is a plist, not an alist.  (Bug#55849)

2 years ago* doc/misc/org.org: Remove spurious markup.
Stefan Kangas [Wed, 8 Jun 2022 11:16:32 +0000 (13:16 +0200)]
* doc/misc/org.org: Remove spurious markup.

2 years agoMake Tramp version check more robust
Michael Albinus [Wed, 8 Jun 2022 10:42:10 +0000 (12:42 +0200)]
Make Tramp version check more robust

* lisp/net/trampver.el (tramp-repository-branch)
(tramp-repository-version): Check for "git" executable.

2 years agoFix debugging with GDB when a breakpoint has multiple locations
Eli Zaretskii [Tue, 7 Jun 2022 13:01:04 +0000 (16:01 +0300)]
Fix debugging with GDB when a breakpoint has multiple locations

* lisp/progmodes/gdb-mi.el (gdb-breakpoints--add-breakpoint-row):
New function, extracted from 'gdb-breakpoints-list-handler-custom'.
Don't print "in <unknown>" for header-rows of breakpoints with
multiple locations that don't have a function name attached.
(gdb-breakpoints-list-handler-custom): Add to the breakpoint table
also any locations in multiple-location breakpoints, which are
supported since GDB 6.8.

2 years ago; * lisp/files.el (file-expand-wildcards): Doc fix.
Eli Zaretskii [Sun, 5 Jun 2022 13:40:22 +0000 (16:40 +0300)]
; * lisp/files.el (file-expand-wildcards): Doc fix.

2 years agoUpdate documentation of 'aset' and 'store-substring'
Eli Zaretskii [Sun, 5 Jun 2022 08:28:10 +0000 (11:28 +0300)]
Update documentation of 'aset' and 'store-substring'

* doc/lispref/strings.texi (Modifying Strings): Adjust to
implementation changes: it is possible for the modified string to
have fewer or more bytes than the original.  Add recommendations
regarding unibyte vs multibyte strings and characters.  (Bug#55801)

2 years agoUpdate to Org 9.5.4
Kyle Meyer [Sat, 4 Jun 2022 20:21:06 +0000 (16:21 -0400)]
Update to Org 9.5.4

2 years agoClarify documentation of 'string-to-unibyte'
Eli Zaretskii [Sat, 4 Jun 2022 07:06:43 +0000 (10:06 +0300)]
Clarify documentation of 'string-to-unibyte'

* doc/lispref/nonascii.texi (Converting Representations): Clarify
what 'string-to-unibyte' does.  Reported by Richard Hansen
<rhansen@rhansen.org>.  (Bug#55777)

2 years ago; * lisp/files.el (find-file): Avoid too short lines in doc string.
Eli Zaretskii [Thu, 2 Jun 2022 13:04:38 +0000 (16:04 +0300)]
; * lisp/files.el (find-file): Avoid too short lines in doc string.

2 years agoImprove keystrokes in doc strings in some find-file functions
Ikumi Keita [Thu, 2 Jun 2022 12:29:38 +0000 (14:29 +0200)]
Improve keystrokes in doc strings in some find-file functions

* lisp/files.el (find-file):
(find-file-other-window):
(find-file-other-frame): Include the correct keymap so that
keystrokes are displayed better (bug#55761).

Copyright-paperwork-exempt: yes

2 years agoFix segfaults when starting on 80x26 TTY frames
Eli Zaretskii [Thu, 2 Jun 2022 10:41:59 +0000 (13:41 +0300)]
Fix segfaults when starting on 80x26 TTY frames

* src/dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Make
sure we have valid frame glyph matrices for the interactive
session.  (Bug#55760)
(adjust_frame_glyphs): Add assertions for when we fail to allocate
valid frame glyph matrices for a TTY frame.

2 years ago; Fix doc string of 'delete-selection-repeat-replace-region'
Eli Zaretskii [Wed, 1 Jun 2022 19:30:59 +0000 (22:30 +0300)]
; Fix doc string of 'delete-selection-repeat-replace-region'

* lisp/delsel.el (delete-selection-repeat-replace-region): Doc
fix.  (Bug#55755)

2 years agoMake it explicit that a couple of _s in lispref are underscores
Lars Ingebrigtsen [Wed, 1 Jun 2022 15:56:45 +0000 (17:56 +0200)]
Make it explicit that a couple of _s in lispref are underscores

* doc/lispref/strings.texi (Custom Format Strings):
* doc/lispref/control.texi (pcase Macro): Make it explicit that
it's an underscore (bug#55742).

2 years agoRemove from FAQ the MS-Windows info about BDF fonts
Eli Zaretskii [Tue, 31 May 2022 17:20:07 +0000 (20:20 +0300)]
Remove from FAQ the MS-Windows info about BDF fonts

* doc/misc/efaq.texi (How to add fonts): Remove the MS-Windows
specific steps, as BDF fonts are no longer supported on
MS-Windows.  (Bug#55740)

2 years agoFix Display Property manual example
Ikumi Keita [Tue, 31 May 2022 11:19:48 +0000 (13:19 +0200)]
Fix Display Property manual example

* doc/lispref/display.texi (Display Property): Fix syntax of
example (bug#55736).

Copyright-paperwork-exempt: yes

2 years agoSome Tramp cleanup on MS Windows
Michael Albinus [Sun, 29 May 2022 11:31:32 +0000 (13:31 +0200)]
Some Tramp cleanup on MS Windows

* lisp/net/tramp.el (tramp-restricted-shell-hosts-alist): Do not add
localhost when `tramp-encoding-shell' is a POSIX shell.

* test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process):
Skip on MS Windows.

2 years agodo_switch_frame: before leaving mini-window, check other (mru) window is live
Alan Mackenzie [Sat, 28 May 2022 12:55:32 +0000 (12:55 +0000)]
do_switch_frame: before leaving mini-window, check other (mru) window is live

This fixes bug#55684.  There, with a minibuffer-only frame at start up,
Emacs tried to switch to this frame, whose selected window was the
mini-window.  There is no other active window in this frame, so the
attempt to swith to another window failed.

* src/frame.c (do_switch_frame): On switching to a frame whose selected
window is as above, before selecting the most recently used window, check
this ostensible window is an actual live window.  Otherwise leave the
mini-window selected.

2 years agoFix commands used to produce on-line HTML docs
Eli Zaretskii [Sat, 28 May 2022 11:57:55 +0000 (14:57 +0300)]
Fix commands used to produce on-line HTML docs

* admin/admin.el (manual-meta-string): Only include the first
line, and move the rest...
(manual-links-string): ...to this new string.
(manual-html-fix-headers): Don't remove the '<meta name=' elements
produced by makeinfo, especially not the 'name="viewport"' one,
which is essential for viewing the docs on mobile devices.
Reported by "Facundo Lander via RT" <webmasters-comment@gnu.org>,
see gnu.org ticket #1840138.

2 years agoFix a bad cross-reference in elisp.pdf
Eli Zaretskii [Sat, 28 May 2022 08:51:15 +0000 (11:51 +0300)]
Fix a bad cross-reference in elisp.pdf

* doc/lispref/control.texi (pcase Macro): Fix a conditional
cross-reference (bug#55689).

2 years agoFix documentation of 'string-pad'
Eli Zaretskii [Sat, 28 May 2022 07:55:01 +0000 (10:55 +0300)]
Fix documentation of 'string-pad'

* doc/lispref/strings.texi (Creating Strings): Fix description of
'string-pad'.  (Bug#55688)

2 years agoFix more occurrences of renamed kmacro-keymap command
Juri Linkov [Fri, 27 May 2022 07:32:56 +0000 (10:32 +0300)]
Fix more occurrences of renamed kmacro-keymap command

* doc/emacs/kmacro.texi (Basic Keyboard Macro): Fix documentation
after recent kmacro-redisplay command name change.

2 years agoMention "unspecified-fg" and "unspecified-bg" in some doc strings
Eli Zaretskii [Fri, 27 May 2022 06:21:31 +0000 (09:21 +0300)]
Mention "unspecified-fg" and "unspecified-bg" in some doc strings

* lisp/faces.el (face-foreground, face-background)
(foreground-color-at-point, background-color-at-point):
* lisp/color.el (color-name-to-rgb): Mention "unspecified-fg" and
"unspecified-bg" pseudo-colors on TTY frames.  (Bug#55623)

2 years agoFix format specifiers in tramp-adb.el
Hayden Shenk [Thu, 26 May 2022 16:09:56 +0000 (18:09 +0200)]
Fix format specifiers in tramp-adb.el

* lisp/net/tramp-adb.el (tramp-adb-get-device): Fix format
specifiers for port.  (Bug#55651)

Copyright-paperwork-exempt: yes

2 years ago; Fix some doc typos and minor language issues
Štěpán Němec [Fri, 28 May 2021 09:38:59 +0000 (11:38 +0200)]
; Fix some doc typos and minor language issues

2 years ago; * etc/NEWS: Announce changes in 'desktop-kill'. (Bug#55574)
Eli Zaretskii [Mon, 23 May 2022 11:58:13 +0000 (14:58 +0300)]
; * etc/NEWS: Announce changes in 'desktop-kill'.  (Bug#55574)

2 years ago; Fix last change
Eli Zaretskii [Sun, 22 May 2022 08:17:23 +0000 (11:17 +0300)]
; Fix last change

* doc/emacs/sending.texi (Mail Methods): Fix indexing and markup.
(Bug#55569)

2 years agoImprove documentation of mail-user-agent.
Damien Cassou [Sun, 22 May 2022 06:09:38 +0000 (08:09 +0200)]
Improve documentation of mail-user-agent.

* doc/emacs/sending.texi (Mail Methods):
* lisp/simple.el (mail-user-agent): Mention additional options
of non-bundled MUA.  (Bug#5569)

2 years ago; * lisp/desktop.el: Update the commentary. (Bug#55560)
Eli Zaretskii [Sun, 22 May 2022 05:28:16 +0000 (08:28 +0300)]
; * lisp/desktop.el: Update the commentary.  (Bug#55560)

2 years agoMore fixes in abbrev.el doc strings
Eli Zaretskii [Sat, 21 May 2022 18:04:40 +0000 (21:04 +0300)]
More fixes in abbrev.el doc strings

* lisp/abbrev.el (inverse-add-global-abbrev, inverse-add-mode-abbrev):
Document the effect of negative ARG.  (Bug#55527)

2 years agoAdd note about Tramp completion to completion-styles doc string
Lars Ingebrigtsen [Sat, 21 May 2022 12:46:47 +0000 (14:46 +0200)]
Add note about Tramp completion to completion-styles doc string

* lisp/minibuffer.el (completion-styles): Add note about Tramp
completion (bug#37954).

2 years agoRemove mention of removed nnimap-nov-is-evil variable
Arash Esbati [Sat, 21 May 2022 11:32:33 +0000 (13:32 +0200)]
Remove mention of removed nnimap-nov-is-evil variable

* doc/misc/gnus.texi (Slow/Expensive Connection): Remove mention
of removed nnimap-nov-is-evil variable (bug#55556).

2 years agoImprove documentation strings and prompts in abbrev.el
Eli Zaretskii [Sat, 21 May 2022 07:20:41 +0000 (10:20 +0300)]
Improve documentation strings and prompts in abbrev.el

* lisp/abbrev.el (abbrev-file-name, only-global-abbrevs)
(copy-abbrev-table, insert-abbrevs, list-abbrevs)
(abbrev-table-name, edit-abbrevs, define-abbrevs)
(read-abbrev-file, quietly-read-abbrev-file, write-abbrev-file)
(abbrev-edit-save-to-file, abbrev-edit-save-buffer)
(add-mode-abbrev, add-global-abbrev, inverse-add-mode-abbrev)
(inverse-add-global-abbrev, abbrev-prefix-mark)
(expand-region-abbrevs, abbrev-table-get, abbrev-table-put)
(abbrev-get, abbrev-minor-mode-table-alist, abbrevs-changed)
(abbrev-all-caps, last-abbrev-text, last-abbrev-location)
(clear-abbrev-table, define-abbrev, define-global-abbrev)
(define-mode-abbrev, abbrev--active-tables, abbrev--symbol)
(abbrev-symbol, abbrev-expansion, abbrev-insert)
(abbrev-expand-function, abbrev--suggest-above-threshold)
(abbrev--suggest-saved-recommendations)
(abbrev--suggest-shortest-abbrev, abbrev--suggest-get-totals)
(insert-abbrev-table-description, define-abbrev-table)
(abbrev-table-menu): Fix doc strings: wording, punctuation,
clarity.
(add-abbrev, inverse-add-abbrev): Improve the prompt text.
(Bug#55527)

2 years agoRestore the Fselect_window call in gui_consider_frame_title.
Alan Mackenzie [Fri, 20 May 2022 20:18:38 +0000 (20:18 +0000)]
Restore the Fselect_window call in gui_consider_frame_title.

This fixes bug #55412.  The call to Fselect_window was removed on 2021-03-21
in the commit "Prevent open minibuffers getting lost when their frame gets
deleted".  This call is actually needed to determine current elements of the
pertinent window and frame when these are used in the frame title.

* src/frame.c (do_switch_frame): When the selected window in the target frame
is the mini-window, switch away from this window unless there is a valid
minibuffer there.

* src/frame.h (struct frame): Add an incidental comment about the element
selected_window.

* src/minibuf.c (move_minibuffers_onto_frame): No longer set the selected
window of the source frame.  This action is now performed later, on returning
to that frame, in do_switch_frame when needed (see above).

* src/xdisp.c (gui_consider_frame_title): Replace the Fselect_window call and
associated ancillary settings.

2 years agoAdvise against settings in the MS-Windows system registry
Eli Zaretskii [Fri, 20 May 2022 14:08:34 +0000 (17:08 +0300)]
Advise against settings in the MS-Windows system registry

* doc/emacs/cmdargs.texi (MS-Windows Registry): Advise against
setting environment variables in the system registry.  (Bug#16429)

2 years ago; Minor addition to make-tarball.txt
Eli Zaretskii [Fri, 20 May 2022 07:12:04 +0000 (10:12 +0300)]
; Minor addition to make-tarball.txt

* admin/make-tarball.txt (WEB PAGES): Mention the need to update
th copyright years of emacs.html.  (Bug#55530)

2 years agoFix kmacro-keymap binding after previous change
Lars Ingebrigtsen [Tue, 17 May 2022 18:02:59 +0000 (20:02 +0200)]
Fix kmacro-keymap binding after previous change

* lisp/kmacro.el (kmacro-keymap): Fix binding after
kmacro-redisplay command name change.

2 years agoAdd glossary entries for "interactively"
Lars Ingebrigtsen [Tue, 17 May 2022 17:56:43 +0000 (19:56 +0200)]
Add glossary entries for "interactively"

* doc/emacs/glossary.texi (Glossary): Mention "interactively" and
how it relates to the "command" concept (bug#55461).

2 years agoFix the name of a kmacro command.
Eli Zaretskii [Tue, 17 May 2022 12:59:59 +0000 (15:59 +0300)]
Fix the name of a kmacro command.

* lisp/kmacro.el (kmacro-redisplay): Rename from
'kdb-macro-redisplay' (which was wrong and included a typo).

* etc/NEWS: Announce the change.  (Bug#55471)

2 years agoFix Tramp sshfs tests (don't merge)
Michael Albinus [Tue, 17 May 2022 07:14:36 +0000 (09:14 +0200)]
Fix Tramp sshfs tests (don't merge)

* test/lisp/net/tramp-tests.el (tramp-fuse-remove-hidden-files): Declare.
(tramp-test16-directory-files)
(tramp-test16-file-expand-wildcards)
(tramp-test26-file-name-completion, tramp--test-check-files): Use it.
(tramp--test-check-files): Delete directory recursively.

2 years agoSome minor Tramp fixes
Michael Albinus [Tue, 17 May 2022 07:13:34 +0000 (09:13 +0200)]
Some minor Tramp fixes

* lisp/net/tramp-cmds.el (tramp-list-tramp-buffers)
(tramp-list-remote-buffers): Add ;;;###tramp-autoload cookie.

* lisp/net/tramp-fuse.el (tramp-fuse-remove-hidden-files): New defvar.
(tramp-fuse-remove-hidden-files): Use it.

* lisp/net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
Keep regression tests running.

2 years agoUpdate to Org 9.5.3-6-gef41f3
Kyle Meyer [Sun, 15 May 2022 21:49:17 +0000 (17:49 -0400)]
Update to Org 9.5.3-6-gef41f3

2 years agoHide temporary FUSE files in Tramp
Michael Albinus [Sun, 15 May 2022 13:09:26 +0000 (15:09 +0200)]
Hide temporary FUSE files in Tramp

* lisp/net/tramp-fuse.el (tramp-fuse-remove-hidden-files): New defsubst.
(tramp-fuse-handle-directory-files)
(tramp-fuse-handle-file-name-all-completions): Use it.

2 years ago; Fix some typos
Stefan Kangas [Sun, 15 May 2022 09:05:36 +0000 (11:05 +0200)]
; Fix some typos

2 years ago* test/lisp/net/tramp-tests.el (tramp-test27-load): Adapt test. Don't merge
Michael Albinus [Sun, 15 May 2022 07:02:42 +0000 (09:02 +0200)]
* test/lisp/net/tramp-tests.el (tramp-test27-load): Adapt test.  Don't merge

2 years ago; * lisp/electric.el (electric-indent-mode): Fix a typo.
Eli Zaretskii [Sun, 15 May 2022 06:21:36 +0000 (09:21 +0300)]
; * lisp/electric.el (electric-indent-mode): Fix a typo.

2 years ago; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564).
Eli Zaretskii [Sat, 14 May 2022 14:48:22 +0000 (17:48 +0300)]
; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564).

2 years agoFix tooltip face overwriting dragged text strings during mouse DND
Po Lu [Fri, 13 May 2022 12:57:24 +0000 (20:57 +0800)]
Fix tooltip face overwriting dragged text strings during mouse DND

* lisp/mouse.el (mouse-drag-and-drop-region): Copy
`text-tooltip' before showing it.  Do not merge to master.

2 years agoFix lexical-binding fallout in vhdl-mode.el
Eli Zaretskii [Fri, 13 May 2022 12:00:21 +0000 (15:00 +0300)]
Fix lexical-binding fallout in vhdl-mode.el

* lisp/progmodes/vhdl-mode.el (arch-alist, pack-alist)
(file-alist, unit-alist, rule-alist): Defvar them, since vhdl-aput
expects them to be dynamically bound.  (Bug#55389)
(vhdl-speedbar-insert-hierarchy): Rename the PACK-ALIST argument
to PACKAGE-ALIST, to avoid shadowing the global variable.

2 years agoFix ControlPath quoting in Tramp
Michael Albinus [Thu, 12 May 2022 13:46:20 +0000 (15:46 +0200)]
Fix ControlPath quoting in Tramp

* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
Adapt docstring.  Do not quote ControlPath.  Reported by Daniel
Kessler <kesslerd@umich.edu>.

2 years agoRemove the AUCTeX subsection from MS-Windows FAQ
Eli Zaretskii [Mon, 9 May 2022 13:37:49 +0000 (16:37 +0300)]
Remove the AUCTeX subsection from MS-Windows FAQ

* doc/misc/efaq-w32.texi (AUCTeX): Remove the subsection, it is no
longer useful.  (Bug#55330)

2 years agoUpdate AUCTeX FAQ entry
Arash Esbati [Mon, 9 May 2022 10:10:10 +0000 (12:10 +0200)]
Update AUCTeX FAQ entry

* doc/misc/efaq-w32.texi (AUCTeX): AUCTeX project isn't providing
pre-compiled versions for Windows anymore (bug#55330).

2 years agoUpdate string-to-number documentation to bignum Emacs
Lars Ingebrigtsen [Mon, 9 May 2022 09:57:46 +0000 (11:57 +0200)]
Update string-to-number documentation to bignum Emacs

* doc/lispref/strings.texi (String Conversion): string-to-number
no longer converts integers to floating point numbers (bug#55334).

2 years agoFix doc string references to tags-loop-continue
Lars Ingebrigtsen [Mon, 9 May 2022 09:46:56 +0000 (11:46 +0200)]
Fix doc string references to tags-loop-continue

* lisp/vc/vc-dir.el (vc-dir-search, vc-dir-query-replace-regexp):
Fix reference to obsolete tags-loop-continue (bug#55311).

2 years agodired-do-query-replace-regexp doc string fix
Visuwesh [Sun, 8 May 2022 11:17:34 +0000 (13:17 +0200)]
dired-do-query-replace-regexp doc string fix

* lisp/dired-aux.el (dired-do-query-replace-regexp): Refer
'fileloop-continue' instead of the obsolete command
'tags-loop-continue'.  (Bug#55311)

(cherry picked from commit 4c505203f9171886f47638779326e257a95a1d79)

2 years agoLinux console: don't translate ESC TAB to `backtab' in input-decode-map.
Alan Mackenzie [Sun, 8 May 2022 11:39:45 +0000 (11:39 +0000)]
Linux console: don't translate ESC TAB to `backtab' in input-decode-map.

This translation happened after the terminfo entry for <shift>TAB in the linux
section was changed to kcbt=\E^I in ncurses version 6.3.

* lisp/term/linux.el (terminal-init-linux): Add a define-key form to remove
the entry for "\e\t" from input-decode-map.

* etc/PROBLEMS: Add a new section under "character terminals" about S-TAB
wrongly doing the same thing as M-TAB, giving tips about amending the Linux
keyboard layout.

2 years agoHandle changed scp protocol in Tramp, don't merge
Michael Albinus [Sun, 8 May 2022 09:43:19 +0000 (11:43 +0200)]
Handle changed scp protocol in Tramp, don't merge

* lisp/net/tramp-sh.el (tramp-scp-force-scp-protocol): New defvar.
(tramp-scp-force-scp-protocol): New defun.
(tramp-do-copy-or-rename-file-out-of-band): Use it.
(tramp-methods) <scp, scpx>: Use "%y".

* lisp/net/tramp.el (tramp-methods): Adapt docstring.