Commit graph

82117 commits

Author SHA1 Message Date
Juri Linkov
6fc94fb99e * lisp/tab-bar.el: Use 'mouse-1' for history buttons like for 'add-tab' button
* lisp/tab-bar.el (tab-bar-mouse-down-1, tab-bar-mouse-1):
Handle clicks for 'history-back' and 'history-forward' the same way
as 'add-tab' clicks.
2021-11-18 19:36:42 +02:00
Juri Linkov
c25be3e7bb * lisp/tab-bar.el (tab-bar-select-tab): Add check for wc-frame (bug#51883). 2021-11-16 22:45:33 +02:00
Juri Linkov
38d905abf9 * lisp/tab-bar.el: Doc fixes for commands bound to modifier keys.
(tab-bar-select-tab-modifiers)
(tab-bar-select-tab, tab-bar-switch-to-last-tab): Doc fixes.
2021-11-16 22:40:45 +02:00
Eli Zaretskii
e852822f3d Fix removal of fringe marks of deleted bookmarks
* lisp/bookmark.el (bookmark--remove-fringe-mark): The fringe
overlay is at BOL, not at POS.  (Bug#51233)
2021-11-15 20:20:30 +02:00
Juri Linkov
b418aad85a * lisp/repeat.el (repeat-echo-message): Bind message-log-max to nil.
Don't insert messages about repeatable keys in the *Messages* buffer.
2021-11-15 19:53:29 +02:00
Robert Pluim
fe2ac7cb7c * lisp/repeat.el (describe-repeat-maps): Use help-fns--analyze-function.
Print keys bound to commands in every keymap (bug#49265)
2021-11-15 19:50:30 +02:00
Juri Linkov
c840bfe7e1 * lisp/repeat.el: Detect changes in the minibuffer state (bug#47566)
(repeat--prev-mb): New internal variable.
(repeat-post-hook): Check the property 'repeat-map' on the symbol
from 'this-command' in addition to 'real-this-command'.  Don't allow
repeatable maps in the activated minibuffer or in the minibuffer
from another command.  Set 'repeat--prev-mb' at the end.
2021-11-15 19:39:37 +02:00
Stefan Kangas
199e2468d3 Doc fix; change recommended file name of custom-file
* lisp/cus-edit.el (custom-file): Change file name recommendation to
match Info node '(emacs) Saving Customizations'.
2021-11-15 11:00:37 +01:00
Philip Kaludercic
044dd1e210 * rcirc.el (rcirc-define-command): Fix interactive-spec generation
* rcirc.el (rcirc-define-command):  Wrap interactive spec in a list call.
2021-11-14 19:41:31 +01:00
Lars Ingebrigtsen
97059bcdff Fix `C-h k' in gnus-article-mode (don't merge)
* lisp/gnus/gnus-art.el (gnus-article-describe-key):
(gnus-article-describe-key-briefly): Fix `describe-key' calling
convention (bug#51796).
2021-11-14 18:49:22 +01:00
Daniel Martín
85ac0efe7c Fix semantic-symref-perform-search doc string
* lisp/cedet/semantic/symref/cscope.el (semantic-symref-perform-search):
Fix the docstring to refer to the correct tool (bug#51846).
2021-11-14 15:30:58 +01:00
Lars Ingebrigtsen
5dbad52cbf gnus-summary-line-format doc string clarification
* lisp/gnus/gnus.el (gnus-summary-line-format): Clarify the Date
part of the doc string (bug#51823).
2021-11-14 04:54:48 +01:00
Alan Mackenzie
d4536ff257 Fix follow-scroll-down in a small buffer which starts slightly scrolled
This fixes bug #51814.

* lisp/follow.el (follow-scroll-down): Do away with the optimization of doing
vertical-motion over only one window.  Instead move over all windows, to
checck for being close to point-min, and setting point accordingly.
2021-11-13 18:33:17 +00:00
Stefan Kangas
42d4e24ff3 ; Fix typos 2021-11-12 13:59:58 +01:00
Lars Ingebrigtsen
a6905e90cc Fix problem with temp buffer killing in package-install-file
* lisp/emacs-lisp/package.el (package-install-file): Allow killing
the temporary buffer without querying (bug#51769).
2021-11-12 04:44:09 +01:00
Aleksandr Vityazev
6dae01ad6d Fix tramp-compat-file-name-concat (Bug#51754)
* lisp/net/tramp-compat.el: Make `tramp-compat-file-name-concat'
work like file-name-concat.  (Bug#51754)
2021-11-11 11:53:41 +01:00
Juri Linkov
2963de6540 * lisp/vc/vc-git.el (vc-git-mergebase): More meaningful error message.
Display a readable error message instead of signaling an error on nil value.
2021-11-10 20:41:19 +02:00
Stephen Gildea
8d81ab374d time-stamp: %F is "file name" not "pathname" + other doc
* lisp/time-stamp.el (time-stamp-format): doc 'file' instead of 'path'.
* test/lisp/time-stamp-tests.el (formatz, format-time-offset):
Clarify the difference and similarity between these two test helpers.
2021-11-09 20:11:07 -08:00
Tom Levy
beaa7e14f3 ; Fix typos in CONTRIBUTE, ELisp manual, ediff
* CONTRIBUTE: Remove stray '. after git command.
* doc/lispref/functions.texi (Function Cells): Fix typo.
* lisp/vc/ediff.el (ediff-regions-wordwise): Fix typo in prompts
("Region's A buffer" => "Region A's buffer") (bug#51718).

Copyright-paperwork-exempt: yes
2021-11-10 01:17:42 +01:00
Juri Linkov
a83ccc46fa * lisp/progmodes/prog-mode.el (prog-context-menu): Use "Go Back" (bug#38797)
; Do not merge to master.
2021-11-09 10:29:37 +02:00
Juri Linkov
307d164c9c * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control".
Use word boundaries in the "Version Control" regexp to match mode names
"Log-Edit", "Log-View", "Git-Log-View", "Change Log", "VC dir",
but not "Verilog", "Prolog", "Rlogin" (bug#51337).
2021-11-08 21:23:44 +02:00
Alan Mackenzie
0c51db6bb1 Amend Follow Mode to handle header lines and tab lines correctly
This fixes bug #51590.

list/follow.el (follow-scroll-down): Incorporate the height of the tab line
into the calculation of the window height.
(follow-calc-win-end): Incorporate the pixel heights of the header line and
the tab line the calculation of the buffer position of the bottom screen line.
2021-11-07 20:44:46 +00:00
Stefan Kangas
261367781b * lisp/files.el (user-emacs-directory-warning): Clarify docstring. 2021-11-07 19:48:45 +01:00
Stefan Kangas
d85cf33e49 Escape '%' in filenames to fix flymake warnings
* lisp/progmodes/flymake.el (flymake--log-1): Escape '%' in filenames
for 'warning-type-format' so they are not interpreted as a %-sequence
by 'format' later.  (Bug#51549)
2021-11-06 20:59:28 +01:00
Lars Ingebrigtsen
6243a43ac2 Fix search string generation in nnimap-make-thread-query
* lisp/gnus/nnimap.el (nnimap-make-thread-query): Remove text
properties before constructing the search string (bug#49926).
2021-11-06 19:25:50 +01:00
Kyle Meyer
f05b8a939b Update to Org 9.5-68-g77e2ec 2021-11-06 14:10:47 -04:00
Jonas Bernoulli
d96de23510
* lisp/transient.el: Update to package version v0.3.7-11-g7f5520b3. 2021-11-06 15:36:29 +01:00
Stefan Kangas
4e7e78d578 Improve docstring of kmacro-set-format
* lisp/kmacro.el (kmacro-set-format): Improve docstring.
(kmacro-insert-counter, kmacro-display-counter)
(kmacro-set-counter, kmacro-add-counter): Add cross-references
to the info manual.
2021-11-06 05:41:05 +01:00
Stefan Kangas
d8c9a9dc23 Revert "* lisp/wid-edit.el (widget-field): Add subtle border to face."
This reverts commit 8b024a6ff1.

This lead to some alignment issues.  (Bug#51550)
Don't merge to master, where we will continue investigating.
2021-11-05 08:24:02 +01:00
Stefan Kangas
e3c3c78365 * lisp/custom.el (defgroup): Document the :prefix keyword. 2021-11-04 20:21:59 +01:00
Thibault Polge
6f5df269e9 Document ibuffer-auto-mode in ibuffer-mode doc string
* lisp/ibuffer.el (ibuffer-mode): Mention ibuffer-auto-mode in the
ibuffer-mode doc string (bug#51584).
2021-11-04 19:08:36 +01:00
Juri Linkov
bc58bea371 * lisp/progmodes/prog-mode.el (prog-context-menu): Use text-mode-context-menu. 2021-11-01 22:08:36 +02:00
Glenn Morris
e4e1a95421 ; Auto-commit of loaddefs files. 2021-11-01 06:17:37 -07:00
Michael Albinus
ba4daf2214 Adapt arguments of `tramp-make-tramp-file-name'
* lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted):
* lisp/url/url-tramp.el (url-tramp-convert-url-to-tramp):
Use `make-tramp-file-name'.

* lisp/obsolete/rcompile.el (remote-compile): Pacify byte-compiler.
2021-11-01 12:29:22 +01:00
Lars Ingebrigtsen
a34466731b Fix typo in describe-map-tree doc string
* lisp/help.el (describe-map-tree): Fix typo in doc string.
2021-11-01 02:43:36 +01:00
Eli Zaretskii
af67ce64ed Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28 2021-10-31 17:20:52 +02:00
Lars Ingebrigtsen
610680a8d3 Fix rendering of title-less <abbr> tags in shr
* lisp/net/shr.el (shr-tag-abbr): Render <abbr> tags that have no
title (bug#51525).
2021-10-31 16:20:18 +01:00
Eli Zaretskii
2ba4ccf290 ; * lisp/files.el (make-nearby-temp-file): Doc fix. 2021-10-31 17:20:16 +02:00
Carlos Pita
4a96f32def Avoid replacing common prefix with ellipsis
* lisp/progmodes/python.el
(python-shell-completion-native-setup): Configure readline not to
suppress common prefixes.  (Bug#51218)
2021-10-30 17:51:27 +02:00
Eli Zaretskii
20ebd91a73 Improve documentation of string truncation APIs
* doc/lispref/display.texi (Size of Displayed Text):
* lisp/international/mule-util.el (truncate-string-to-width):
Document caveats of using 'truncate-string-to-width' when
character composition is involved.

* lisp/emacs-lisp/subr-x.el (string-limit):
* doc/lispref/strings.texi (Creating Strings): Improve the
documentation of 'string-limit'.
2021-10-30 10:26:38 +03:00
Imran Khan
3f998a3fc8 * lisp/textmodes/css-mode.el: Fix typo. (Bug#51488)
Copyright-paperwork-exempt: yes
2021-10-29 19:06:40 +02:00
Lars Ingebrigtsen
986fe634e2 Make message/rfc822 on buttons work again in Gnus
* lisp/gnus/gnus-art.el (gnus-article-mode): Set
mm-inline-message-prepare-function buffer-locally so that it works
both when inlining rfc822 and hitting the MIME button (bug#51388).
(gnus-mime--inline-message): Factor out into own function.
(gnus-mime-display-single): From here.
2021-10-29 18:08:31 +02:00
Glenn Morris
52e7049b58 * lisp/loadup.el: Unbreak build. 2021-10-29 16:41:11 +01:00
Lars Ingebrigtsen
91e7df281e Move lisp/shorthands.el to lisp/emacs-lisp/shorthands.el 2021-10-29 14:37:08 +02:00
Michael Albinus
00103154e0 Some Tramp changes, mainly in tramp-tests.el
* doc/misc/tramp.texi (External packages): Don't use Tramp internals.

* lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted):
Protect `tramp-make-tramp-file-name' call.

* lisp/net/tramp.el (tramp-make-tramp-file-name): Set advertised
calling conventions.

* test/lisp/net/tramp-tests.el (tramp-test18-file-attributes):
Adapt test.
(tramp--test-supports-processes-p): New defun.
(tramp-test28-process-file, tramp-test29-start-file-process)
(tramp-test30-make-process, tramp-test32-shell-command)
(tramp-test32-shell-command-dont-erase-buffer)
(tramp-test34-explicit-shell-file-name, tramp-test35-exec-path)
(tramp-test44-asynchronous-requests): Use it.
2021-10-29 14:06:47 +02:00
Eli Zaretskii
08de838531 ; Improve commentary in the last change
* lisp/language/misc-lang.el: Minor copyedits of the commentary
regarding Egyptian hieroglyph support.
2021-10-29 10:41:33 +03:00
Gregory Heytings
3da9fa875b Make hieroglyphs display correctly with existing fonts
* etc/HELLO: Remove hieroglyph format control characters.

* lisp/language/misc-lang.el: Add a rule to compose Egyptian
hieroglyphs even without Unicode format control characters.
2021-10-29 10:33:36 +03:00
Lars Ingebrigtsen
5dbb04e0eb Make `C-u RET' work again
* lisp/simple.el (newline): Fix regression introduced by
d1aacceae9 (bug#51459).
2021-10-28 23:38:29 +02:00
Jan Synacek
d72fefdeab Fix typos in the manual and in a comment
* lisp/minibuffer.el (completion-pcm--hilit-commonality):
* doc/lispintro/emacs-lisp-intro.texi (Mode Line): Fix typos
(bug#51434).

Copyright-paperwork-exempt: yes
2021-10-28 23:33:12 +02:00
Stefan Kangas
f52fa1c150 image-dired: Unreverse accidentally reversed menus
* lisp/image-dired.el (image-dired-thumbnail-mode-map)
(image-dired-display-image-mode-map, image-dired-minor-mode-map):
In Emacs 26.1 (commits b905454680 and bed0373855), the menus were
converted to use 'easy-menu-define', but they were reversed in the
process.  Unreverse the menus.  (Bug#51446)
2021-10-28 12:54:07 +02:00