Commit graph

166005 commits

Author SHA1 Message Date
Petteri Hintsanen
5d1e6f759f * lisp/tab-bar.el: Fix the close button with auto-width (bug#66678).
(tab-bar-auto-width): Take into account the length of tab-bar-close-button
more than one character: " x".
Don't merge to master.
2023-10-22 20:39:16 +03:00
Mauro Aranda
5f60913208 Fix State button for customize-icon (Bug#66635)
* lisp/cus-edit.el (custom-icon-action): New function.
(custom-icon): Use it as the :action.  Otherwise, clicking the State
button is a noop.  Remove irrelevant stuff from the docstring and
comment out some copy-pasta.
(custom-icon-extended-menu): New variable, the menu to show upon
:action.
(custom-icon-set): Really redraw the widget with the new settings.
Comment out strange call to custom-variable-backup-value.
(custom-icon-save): New function.

* lisp/emacs-lisp/icons.el (icons--merge-spec): Fix call to plist-get
and avoid infloop.
2023-10-22 18:39:52 +02:00
Eli Zaretskii
27c71979ff ; Another Texinfo fix
* doc/lispintro/emacs-lisp-intro.texi (Counting function
definitions):  Fix Texinfo 7.1 warning.
2023-10-22 14:05:53 +03:00
Eli Zaretskii
889a550ca0 ; Fix Texinfo warnings
* doc/misc/wisent.texi (Grammar format):
* doc/misc/efaq.texi (Not writing files to the current directory):
* doc/misc/ede.texi:
* doc/lispref/errors.texi (Standard Errors): Fix warnings emitted
by makeinfo 7.1.
2023-10-22 12:21:08 +03:00
Yuan Fu
893c344b4e
Fix the use of adaptive-fill-regexp in treesit indent preset
* lisp/treesit.el (treesit-simple-indent-presets):
adaptive-fill-regexp don't have a capture group (the group in the
default value is supposed to be a non-capture group), so don't use the
group. Also, in the second diff hunk, replace looking-at with
looking-at-p so it doesn't override match data that we use later.
2023-10-21 21:12:59 -07:00
nverno
1098c114b7
Fix treesit-install-language-grammar (bug#66673)
* lisp/treesit.el (treesit-install-language-grammar): Take out the
language symbol when storing the recipe.
2023-10-21 20:39:30 -07:00
Yuan Fu
491ee428c0
Fix treesit-explore-mode (bug#66431)
* lisp/treesit.el (treesit-explore-mode): Reset
treesit--explorer-last-node before calling treesit--explorer-refresh,
so that in the rare case described in the bug report, the explorer
buffer don't show the outdated node.
2023-10-21 20:39:30 -07:00
Dmitry Gutov
ee043a2703 tsx-ts-mode--font-lock-compatibility-bb1f97b: Re-fix the previous fix
* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--font-lock-compatibility-bb1f97b): Make sure the
tested query is actually valid in the new grammar (bug#66646).
2023-10-21 15:05:56 +03:00
Jens Schmidt
b99d12c30c ; Fix argument name for function `copy-file'
* doc/lispref/files.texi (Changing Files): Change name of last
argument of function `copy-file' from `preserve-extended-attributes'
to `preserve-permissions', as used in the function's description, its
doc string and the description below in the manual.
2023-10-20 09:04:39 +03:00
Michael Albinus
62920dcb0d Update Tramp version (don't merge with master)
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.6.2.29.2".
(customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 29.2.
2023-10-19 16:28:26 +02:00
Eli Zaretskii
d963bc6c6b ; * lisp/ldefs-boot.el: Regenerated for Emacs 29.1.90. 2023-10-19 05:38:30 -04:00
Eli Zaretskii
0cbc91f29a Bump Emacs version
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 29.1.90.
2023-10-19 05:12:20 -04:00
Eli Zaretskii
ab9d6482e3 ; Update ChangeLog.4 and etc/AUTHORS. 2023-10-19 04:53:08 -04:00
Po Lu
d9e1605122 Correctly register focus events concomitant with alpha changes
* src/xterm.c (x_frame_highlight, x_frame_unhighlight): Skip
changing the frame alpha when the frame is not eligible for
focus state-specific alpha values; otherwise, the alpha might be
reset by the time a alpha change wrought by a focus change
arrives, impeding handle_one_xevent from subsequently restoring
the initial value.  (bug#66398)
2023-10-17 08:33:25 +08:00
Michael Albinus
194e219825 * doc/man/emacsclient.1: Add missing options. 2023-10-16 12:41:32 +02:00
Michael Albinus
07c45f20fd Fix test in files-tests
* test/lisp/files-tests.el
(files-tests-file-name-non-special-expand-file-name-tilde): Fix test.
2023-10-15 12:26:43 +02:00
Eli Zaretskii
5d3f3288d2 ; * doc/emacs/search.texi (Regexp Backslash): Improve indexing. 2023-10-15 12:37:25 +03:00
Stefan Kangas
9525315c11 Add missing :version to two defcustoms
* lisp/emacs-lisp/eldoc.el (eldoc-print-after-edit)
(eldoc-echo-area-prefer-doc-buffer): Add missing custom :version.
2023-10-14 21:00:00 +02:00
Mauro Aranda
9044d4d94b Fix a defcustom :type in eldoc.el
* lisp/emacs-lisp/eldoc.el (eldoc-echo-area-prefer-doc-buffer): Make
:type a choice, to allow for the value 'maybe'.  (Bug##66539)
2023-10-14 20:54:04 +02:00
Eshel Yaron
8141d73ea7 Document 'M-x align' in the Emacs manual
* doc/emacs/indent.texi (Alignment): New section.
* doc/emacs/emacs.texi: Update menu. (Bug#66303)
2023-10-14 14:16:13 +03:00
Eli Zaretskii
06a8773811 ; * lisp/calendar/time-date.el (days-to-time): Doc fix. 2023-10-14 12:00:51 +03:00
Bob Rogers
0ea2d6d9e8 Document that time-to-days and days-to-time use different epochs
* doc/lispref/os.texi (Time Calculations):
* lisp/calendar/time-date.el (days-to-time, time-to-days): Doc fixes.
(Bug#66502)
2023-10-14 11:57:30 +03:00
Michael Albinus
dc8b336d02 * lisp/files.el (file-name-non-special): Handle quoted tilde.
(Bug#65685)

* test/lisp/files-tests.el
(files-tests-file-name-non-special-expand-file-name-tilde):
New test.
2023-10-14 09:34:40 +02:00
Michael Albinus
c8ea14e782 Handle quoted tilde in Tramp
* lisp/net/tramp.el (tramp-handle-expand-file-name):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
* lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
* lisp/net/tramp-smb.el (tramp-smb-handle-expand-file-name):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-expand-file-name):
Handle quoted tilde.  (Bug#65685)

* test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name-tilde):
New test.
2023-10-13 16:09:51 +02:00
Stefan Kangas
30239759ee ; Set maintainer for elint.el to emacs-devel
* lisp/emacs-lisp/elint.el: Set maintainer to emacs-devel.
2023-10-12 13:25:31 +02:00
Kyle Meyer
eedd9db619 Update to Org 9.6.10 2023-10-09 23:47:52 -04:00
Yuan Fu
73ccd9d295
Don't call font-lock-mode in treesit-major-mode-setup (bug#66223)
* lisp/treesit.el (treesit-major-mode-setup): Remove.

(cherry picked from commit a3a840c80a)
2023-10-08 22:00:36 -07:00
nverno
53292c5d81
Fix treesit-query-validate for string input (bug#66400)
* lisp/treesit.el (treesit-query-validate): Don't expand if QUERY is
string.
2023-10-08 22:00:32 -07:00
Eli Zaretskii
81a0c1ed2e ; Improve documentation of VC commands
* doc/emacs/maintaining.texi (Basic VC Editing)
(VC With A Merging VCS, VC With A Locking VCS, Advanced C-x v v)
(Registering, Pulling / Pushing, Merging): Improve wording,
accuracy, and indexing.

* lisp/vc/vc.el (vc-next-action): Doc fix.
2023-10-08 11:29:29 +03:00
Stefan Kangas
0590e3e69a Recommend M-x man in woman.el docs
* lisp/woman.el (Commentary, woman): Recommend using 'M-x man' where
available.  The added sentence is copied from the emacs manual.
Ref: https://lists.gnu.org/r/emacs-devel/2023-10/msg00090.html
2023-10-07 18:54:35 +02:00
Eli Zaretskii
809da7fc9a ; * doc/lispref/processes.texi (Process Buffers): More accurate wording. 2023-10-07 19:09:58 +03:00
Eli Zaretskii
8f23a02a9e Fix updating process-mark position in 'set-process-buffer'
* src/process.c (update_process_mark): Update marker position only
if P's process-mark is not already associated with P's buffer.
(Bug#66313)
2023-10-07 17:58:54 +03:00
Yuan Fu
247743bd1e ; * lisp/treesit.el (treesit-language-at-point-function): Fix doc.
(cherry picked from commit 07ede5e92a)
(Bug#66183)
2023-10-07 12:03:37 +03:00
Mauro Aranda
a74e51cfd1 Fix a defcustom :type
* lisp/cedet/srecode/map.el (srecode-map-save-file): Expand :type to
allow nil.  (Bug#66377)
2023-10-07 09:50:38 +03:00
Eli Zaretskii
c27b90d04b Fix 'ido--ffap-find-file'
* lisp/ido.el (ido--ffap-find-file): Make the signature consistent
with that of 'find-file', and pass the optional second argument to
'find-file'.  (Bug#66382)
2023-10-07 09:46:04 +03:00
Eli Zaretskii
1594d5f17a Fix setting the pipe capacity for subprocesses
* src/process.c (create_process) [F_SETPIPE_SZ]: Set the pipe
capacity only if the required read-process-max is larger than the
default capacity of the pipe.  (Bug#66288)
2023-10-06 08:31:59 +03:00
Gerd Möllmann
aad8b5d78f Handle LANG on macOS differently (bug#65908)
* src/nsterm.m (ns_init_locale): If LANG is set, try to use that,
otherwise try to deduce what LANG should be.  Check is the result is
valid, and use LANG="en_US.UTF-8" if not.
2023-10-05 20:41:54 +02:00
Jens Schmidt
6cf7e676e9 Silence macro expansion during completion at point
To keep risk in the current release branch low, do not avoid compiler
macros as suggested by Stefan in the bug, but rather suppress all errors.

* lisp/progmodes/elisp-mode.el (elisp--local-variables): Silence
messages.  Suppress all errors during macro expansion.  (Bug#58148)

Do not merge to master.
2023-10-05 14:00:20 -04:00
Mauro Aranda
e9b88f61cc Fix a defcustom :type
* lisp/cedet/ede/base.el (ede-project-placeholder-cache-file): Expand
:type to allow nil.  (Bug#66361)
2023-10-05 19:12:58 +03:00
Mauro Aranda
3216cd9695 Fix pulse-flag :type
* lisp/cedet/pulse.el (pulse-flag): Expand :type to allow 'never as
value.  (Bug#66341)
2023-10-04 16:19:20 +02:00
Mauro Aranda
2065ab5562 Fix defcustoms in timeclock.el
* lisp/calendar/timeclock.el (timeclock-get-project-function)
(timeclock-get-reason-function): Fix :type to allow nil.  (Bug#66320)
2023-10-03 14:36:30 +02:00
Eli Zaretskii
bdd3013249 ; * lisp/image-mode.el (image-mode-to-text, image-mode-as-hex): Doc fixes. 2023-10-02 10:18:10 +03:00
Ikumi Keita
5c2d9ae48e ; * lisp/image-mode.el: Fix typos in doc strings (bug#66302). 2023-10-02 10:01:18 +03:00
Stefan Kangas
fa0d3f45ae ; Improve wording of last change
* doc/emacs/macos.texi (Mac / GNUstep Customization):
* src/nsfns.m (syms_of_nsfns): Improve wording.
Reported by Gerd Möllmann <gerd.moellmann@gmail.com>.
2023-10-01 18:27:11 +02:00
Stefan Kangas
3ef259e28a Improve documentation of ns-use-proxy-icon
* doc/emacs/macos.texi (Mac / GNUstep Customization):
* src/nsfns.m (syms_of_nsfns): Fix documentation of
'ns-use-proxy-icon'; explain what it does and how it's
used.  (Bug#66190)
2023-10-01 15:37:06 +02:00
Stefan Kangas
712505a82b Document assigning libraries to packages in make-tarball.txt
* admin/make-tarball.txt: Add new step to ensure that new libraries
are assigned to packages.
2023-10-01 15:09:38 +02:00
Stefan Kangas
6bdc5cfe38 Doc fix; more consistently refer to "text terminals"
In the Emacs Lisp manual, we refer to "text terminals" and "graphical
terminals" (see Info node `(elisp) Frames').  But in some places,
including the user manual, the alternative terminology "non-window
terminals" is used instead.

In other places, we use the terminology "non-windowing display"
instead of the more canonical "non-graphical display".

This is less clear than it could be.  Let's consolidate our
terminology to prefer the wording from the Emacs Lisp manual; in other
words, prefer "text" and "non-graphical" to "non-window".

* doc/emacs/frames.texi (Non-Window Terminals): Rename node from this...
(Text Terminals): ...to this.  (Bug#66282)
* doc/emacs/display.texi (Standard Faces):
* doc/emacs/emacs.texi (Top):
* doc/emacs/misc.texi (emacsclient Options):
* doc/misc/viper.texi (Rudimentary Changes)
(Packages that Change Keymaps):
* doc/emacs/frames.texi (Frames, Frame Commands, Mouse Avoidance):
Replace instances of "non-window terminals" with "text terminals".
* doc/misc/ediff.texi (Quick Help Customization):
(Window and Frame Configuration):
* lisp/vc/ediff.el (ediff-windows-wordwise)
(ediff-windows-linewise): Prefer saying 'non-graphical display' to
'non-windowing display'.
* lisp/net/tramp.el (tramp-default-method):
* lisp/printing.el (pr-find-command): Capitalize 'Windows' where it
clearly refers to the non-free operating system with that name.
2023-10-01 13:58:53 +02:00
Eli Zaretskii
d210d761b1 ; Fix doc strings of overlay-arrow variables
* src/xdisp.c (syms_of_xdisp) <overlay-arrow-string>
<overlay-arrow-variable-list>: Doc fixes.  (Bug#66282)
2023-10-01 08:08:03 +03:00
Mauro Aranda
4fd00ff1f7 Fix defcustoms in type-break.el (Bug#66210)
* lisp/type-break.el (type-break-good-rest-interval)
(type-break-file-name): Allow nil.
2023-10-01 01:49:50 +02:00
Mauro Aranda
47770b0eca Fix term-scroll-to-bottom-on-output :type
* lisp/term.el (term-scroll-to-bottom-on-output): Add missing choices.
Don't advertise the value 'all' in docstring.  (Bug#66071)
2023-10-01 01:35:23 +02:00