1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

151343 Commits

Author SHA1 Message Date
Michael Albinus
f836ed098f 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.
2022-05-17 09:13:34 +02:00
Kyle Meyer
f928330fa8 Update to Org 9.5.3-6-gef41f3 2022-05-15 17:49:34 -04:00
Michael Albinus
007bf9a34c 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.
2022-05-15 15:09:26 +02:00
Stefan Kangas
5dbaddc729 ; Fix some typos 2022-05-15 11:05:36 +02:00
Michael Albinus
950dab21e3 * test/lisp/net/tramp-tests.el (tramp-test27-load): Adapt test. Don't merge 2022-05-15 09:02:42 +02:00
Eli Zaretskii
48201ce8de ; * lisp/electric.el (electric-indent-mode): Fix a typo. 2022-05-15 09:21:36 +03:00
Eli Zaretskii
8370caa835 ; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564). 2022-05-14 17:48:22 +03:00
Po Lu
f044da7704 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.
2022-05-13 20:57:24 +08:00
Eli Zaretskii
a769cbfcfb 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.
2022-05-13 15:00:21 +03:00
Michael Albinus
f03c5d81bd 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>.
2022-05-12 15:46:20 +02:00
Eli Zaretskii
7b4bdf7b9b Remove the AUCTeX subsection from MS-Windows FAQ
* doc/misc/efaq-w32.texi (AUCTeX): Remove the subsection, it is no
longer useful.  (Bug#55330)
2022-05-09 16:37:49 +03:00
Arash Esbati
d2a5631552 Update AUCTeX FAQ entry
* doc/misc/efaq-w32.texi (AUCTeX): AUCTeX project isn't providing
pre-compiled versions for Windows anymore (bug#55330).
2022-05-09 12:10:10 +02:00
Lars Ingebrigtsen
177718bc6d 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).
2022-05-09 11:57:46 +02:00
Lars Ingebrigtsen
74cc3b525f 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).
2022-05-09 11:46:56 +02:00
Visuwesh
d24ea263e2 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 4c505203f9)
2022-05-08 16:49:16 +03:00
Alan Mackenzie
1d012e0a62 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.
2022-05-08 11:39:45 +00:00
Michael Albinus
e683b08b3f 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.
2022-05-08 11:43:19 +02:00
Michael Albinus
afdf72eeb2 Fix bug#55274
* lisp/dired-aux.el (dired-do-compress-to): Use `file-local-name'
for shell out-file.  (Bug#55274)
2022-05-06 17:33:41 +02:00
Eli Zaretskii
5bfac7c774 Provide reference for OTF tags in the ELisp manual
* doc/lispref/display.texi (Low-Level Font): Provide the canonical
reference URL for OTF tags.
2022-05-06 10:27:20 +03:00
Lars Ingebrigtsen
936009cfe5 Be more resilient towards errors during error handling
* src/print.c (print_error_message): Avoid infinite recursion if
`substitute-command-keys' bugs out (bug#55269).

(cherry picked from commit 8364f058b8)
2022-05-05 20:05:28 +03:00
Eli Zaretskii
69c56cbe6e ; * src/w32notify.c: Fix a typo in a comment. 2022-05-05 10:38:40 +03:00
Eli Zaretskii
3b9e60ba2f ; * src/window.c (Fset_window_start): Mention the effect on vscroll. 2022-05-05 08:57:49 +03:00
Eli Zaretskii
3b6338c8c3 Improve documentation of font- and face-related attribute functions
* lisp/faces.el (face-attribute):
* src/xfaces.c (Fx_family_fonts):
* src/font.c (Ffont_get, Ffont_put): Improve and clarify the doc
strings.

* doc/lispref/display.texi (Low-Level Font): Document the :type
attribute of a font.  Improve documentation of 'font-get' and
'font-put'.
(Attribute Functions): Add cross-reference to the description of
face attributes.
2022-04-28 17:53:36 +03:00
Arash Esbati
3723415743 ; * doc/lispref/syntax.texi (Position Parse): Fix a typo. (Bug#55143) 2022-04-27 14:43:20 +03:00
Kyle Meyer
7c1fc23489 Update to Org 9.5.3-3-gd54104 2022-04-24 21:07:40 -04:00
Eli Zaretskii
9a78b235e9 Improve indexing in "Programmed Completion"
* doc/lispref/minibuf.texi (Programmed Completion): Improve
indexing.  (Bug#55095)
2022-04-24 22:37:09 +03:00
Eli Zaretskii
1e9b9f403a Improve documentation of 'set-fontset-font'
* doc/lispref/display.texi (Fontsets):
* src/fontset.c (Fset_fontset_font): Improve and clarify the
documentation of 'set-fontset-font'.  Rename the arguments to be
more self-explanatory.  (Bug#55086)
2022-04-24 09:56:22 +03:00
Eli Zaretskii
b5e05f09f5 ; Update WEB PAGES part of make-tarball.txt
* admin/make-tarball.txt (WEB PAGES): Add instructions for
download.html.
2022-04-23 21:51:57 +03:00
Michael Albinus
a7dde05cb3 Fix problem with Solaris ls in Tramp
* lisp/net/tramp-sh.el (tramp-sunos-unames): Move up.
(tramp-sh--quoting-style-options): Handle erroneous Solaris ls.
2022-04-23 08:50:33 +02:00
Eli Zaretskii
43ed7b1e0f ; Update instructions about ChangeLog.N file generation
* admin/make-tarball.txt: Add instructions about rotating and
regenerating the versioned ChangeLog.N file.
2022-04-22 09:26:10 +03:00
Eli Zaretskii
d5728f129f Another fix for non-ASCII 'overlay-arrow-string'
* src/xdisp.c (get_overlay_arrow_glyph_row): Fix yet another place
that assumed each character is a single byte.
2022-04-22 09:05:57 +03:00
Eli Zaretskii
bf771e31bc ; * src/xdisp.c (get_overlay_arrow_glyph_row): Better var name. 2022-04-21 23:25:49 +03:00
Eli Zaretskii
5fe7e4d1ae Avoid a redisplay loop when 'overlay-arrow-string' is non-ASCII
* src/xdisp.c (get_overlay_arrow_glyph_row): Don't assume every
character in 'overlay-arrow-string' is one byte long.  Reported by
Yuri D'Elia <wavexx@thregr.org>.
2022-04-21 23:18:42 +03:00
Eli Zaretskii
e93e31c895 ; Fix last change in isearch.el
* lisp/isearch.el (isearch-occur): Move the recent addition
to doc string from here...
(isearch-query-replace-regexp): ...to here.
2022-04-21 21:56:09 +03:00
Eli Zaretskii
16d1ab02af Add minimum instructions to 'query-replace' commands
* lisp/vc/vc-dir.el (vc-dir-query-replace-regexp):
* lisp/textmodes/reftex-global.el (reftex-query-replace-document):
* lisp/progmodes/project.el (project-query-replace-regexp):
* lisp/progmodes/etags.el (tags-query-replace):
* lisp/progmodes/ebrowse.el (ebrowse-tags-query-replace):
* lisp/isearch.el (isearch-query-replace, isearch-occur):
* lisp/emulation/viper-cmd.el (viper-query-replace):
* lisp/dired-aux.el (dired-do-query-replace-regexp)
(dired-do-find-regexp-and-replace):
* lisp/progmodes/xref.el (xref-query-replace-in-results):
* lisp/replace.el (query-replace, query-replace-regexp)
(query-replace-regexp-eval, map-query-replace-regexp): Add minimal
instructions for dealing with matches, with a link to the command
that shows the full instructions.  (Bug#55050)
2022-04-21 14:54:45 +03:00
Eli Zaretskii
4d4f5640ef Fix customization-group of 'python-forward-sexp-function'
* lisp/progmodes/python.el (python-forward-sexp-function): Make it
be part of both 'python' and 'python-flymake' groups.  (Bug#55027)
Do not merge to master.
2022-04-21 09:06:09 +03:00
Eli Zaretskii
dbb2dd6939 ; Fix wording of "File Notifications" in the ELisp manual
* doc/lispref/os.texi (File Notifications): Fix typos,
punctuation, and wording.
2022-04-20 20:00:15 +03:00
Paul Eggert
e6c2a2497d Update from gnulib
(cherry picked from commit 992cf3cb67)

This is a partial backport from master: it only includes the changes below.

* lib/mini-gmp.c (gmp_assert_nocarry): Avoid many Clang
unused-variable warnings when building with optimisation.
* lib/verify.h (_GL_HAVE__STATIC_ASSERT): Modify condition for using
_Static_assert to cope with older Apple builds of Clang exposing
misleading compiler version numbers.  See discussion starting at
https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00779.html
2022-04-20 14:58:55 +02:00
Lars Ingebrigtsen
91d4898d5c Revert prompting changes in viper-cmd
* lisp/emulation/viper-cmd.el (viper-quote-region)
(viper-read-string-with-history, viper-query-replace): Revert
prompting changes done in 50512e3 -- the way viper prompts in
command mode is special (bug#55007).

Do not merge to master.
2022-04-20 12:35:56 +02:00
Lars Ingebrigtsen
1030cc1897 Fix regression with multiple mode: entries in the prop line
* lisp/files.el (hack-local-variables): Fix regression with multiple
mode: entries in the prop line.

Do not merge to master.
2022-04-19 18:08:20 +02:00
Lars Ingebrigtsen
1b77362771 Avoid hangs in python-mode with debug-on-error set
* lisp/progmodes/python.el (python-nav-end-of-statement): Avoid
using cl-assert here, because this is called from the font-lock
machinery, and if debug-on-error is set here, we'll hang Emacs
(bug#54996).

Do not merge to master.
2022-04-18 13:19:57 +02:00
Lars Ingebrigtsen
4684b8e62f Fix major-mode setting regression when there's a mode: cookie
* lisp/files.el (hack-local-variables): Fix regression in setting
the major mode when there are mode: cookies in the file (bug#54993).

Do not merge to master.
2022-04-18 10:37:29 +02:00
Kyle Meyer
65c04e7115 Update to Org 9.5.2-38-g682ccd 2022-04-17 15:30:39 -04:00
Eli Zaretskii
c2f94f32b5 Revert "Don’t assume openat"
This reverts commit 3cccf0a910.

This is a change with far-reaching effects on MS-Windows at the least,
where file-related APIs are shadowed to support transparent support
for UTF-8 encoded file names.  Making such changes on a stable branch
for the benefit of a proprietary platform with a 13-year old OS is a
tail wagging the dog.  Please don't do that without discussing first.
2022-04-17 22:03:52 +03:00
Paul Eggert
3cccf0a910 Don’t assume openat
Use openat only on platforms with O_PATH.
This ports to OS X 10.9 and earlier.
Problem reported by Keith David Bershatsky in:
https://lists.gnu.org/r/emacs-devel/2022-04/msg00805.html
* lib-src/emacsclient.c (local_sockname): Use open, not openat.
* src/sysdep.c (sys_openat): New static function,
which uses openat only if O_PATH is defined.
(emacs_openat): Use it instead of openat.
(emacs_openat_noquit): Remove.
(emacs_open_noquit): Reimplement as per the old emacs_openat_noquit,
but use plain 'open'.
2022-04-17 10:43:13 -07:00
Paul Eggert
4641bc1c55 Fix GC bug in filelock.c
Fix a bug where if GC occurred at the wrong moment when locking a
file, the lock file’s name was trashed so file locking did not work.
This bug was introduced in Emacs 28.1.  The bug sometimes caused
filelock-tests-detect-external-change test failures on Fedora 35
x86-64 in an en_US.utf8 locale.
* src/filelock.c (lock_file_1, current_lock_owner, lock_if_free)
(lock_file, unlock_file, Ffile_locked_p):
Use Lisp_Object, not char *, for string, so that GC doesn’t trash
string contents.
(make_lock_file_name): Return the encoded name, not the original.
All callers changed.
2022-04-17 01:08:21 -07:00
Lars Ingebrigtsen
1c495aff71 Clarify when mode tagging is used
* etc/NEWS: Clarify when mode tagging is used (bug#54964).
2022-04-16 16:24:53 +02:00
Lars Ingebrigtsen
d53c999b4a Further vcs-cvs/rcs-responsible-p updates from master
* lisp/vc/vc-bzr.el (vc-bzr-responsible-p):
* lisp/vc/vc-sccs.el (vc-sccs-responsible-p):
* lisp/vc/vc-dav.el (vc-dav-responsible-p): Update doc string.

* lisp/vc/vc-rcs.el (vc-rcs-responsible-p):
* lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Further fixes from
master.

* lisp/vc/vc-src.el (vc-src-responsible-p): Return the directory.

* lisp/vc/vc.el: Update comments.
2022-04-16 16:24:53 +02:00
Mattias Engdegård
dc3d1628ec ; * src/sysdep.c: Fix mistake in previous commit 2022-04-16 12:16:45 +02:00
Mattias Engdegård
855e15dbf1 Fix builds on older versions of macOS
This adds back macOS-specific code replaced earlier (bug#48548),
specifically to fix build errors on macOS 10.7.5.  See discussion at
https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00779.html .

* src/sysdep.c (HAVE_RUSAGE_INFO_CURRENT, HAVE_PROC_PIDINFO): New.
(system_process_attributes): Use alternative code or exclude features
when building on older macOS versions.
2022-04-16 11:33:14 +02:00