1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 22:20:52 -08:00
Commit graph

10761 commits

Author SHA1 Message Date
Lars Ingebrigtsen
ba0be8df53 Document named-let and update some NEWS tags
* doc/lispref/variables.texi (Local Variables): Document `named-let'.
2021-09-13 11:53:18 +02:00
Lars Ingebrigtsen
2a3ef454c2 Clarify bookmark-fontify NEWS entry 2021-09-13 10:40:56 +02:00
Lars Ingebrigtsen
e8a28d7564 * etc/NEWS: Clarify insert-into-buffer (bug#50558). 2021-09-13 10:35:22 +02:00
Juri Linkov
bd917088e6 * lisp/thingatpt.el (thing-at-mouse): New function (bug#50256).
* lisp/net/dictionary.el: Add 'context-menu-dictionary' to
'context-menu-functions'.
(dictionary-search-word-at-mouse): New function.
(context-menu-dictionary): New function that uses 'thing-at-mouse'.
(dictionary-mouse-popup-matching-words): Remove stray 'selected-window'.

* lisp/textmodes/flyspell.el (flyspell-context-menu): Add '_click' arg.
2021-09-12 20:32:02 +03:00
Eli Zaretskii
ae6af0ba33 Improve documentation of some tab-bar features
* lisp/tab-bar.el (tab-bar-show, toggle-frame-tab-bar): Doc
fixes.

* etc/NEWS: Update the corresponding entries.
2021-09-12 10:01:38 +03:00
Olivier Certner
3df279aae2
ERC: Track: Rewrite 'erc-track-find-face' as 'erc-track-select-mode-line-face'
* lisp/erc/erc-track.el (erc-track-find-face): Declare obsolete and
rewrite as 'erc-track-select-mode-line-face', changing the function
arguments, so that it is very clear what the current algorithm is.
No functional changes.  Performance improvements.  Clarify the
documentation and remove the part on some faces being lists, which
clearly does not apply.
(erc-track-modified-channels): Replace calls to 'erc-track-find-face'
with calls to 'erc-track-select-mode-line-face', preserving the
existing behavior.
(erc-modified-channels-alist): Change the reference to
'erc-track-select-mode-line-face' in the documentation following the
rename.
* etc/NEWS: Announce the change.

Co-authored-by: Amin Bandali <bandali@gnu.org>
2021-09-12 01:05:38 -04:00
Philip Kaludercic
0d350402d8
* NEWS: Remove empty entry 2021-09-11 18:16:27 +02:00
Philip Kaludercic
0712e33588
* NEWS: Mention rcirc changes 2021-09-11 17:55:41 +02:00
Dmitry Gutov
d37dcfa30f New minor mode 'show-paren-local-mode'
* lisp/paren.el (show-paren--delete-overlays):
New function, extracted from show-paren-mode.
(show-paren-local-mode): New minor mode.
(show-paren-mode): Update docstring to mention it (bug#29381).

* doc/emacs/programs.texi (Matching): Update show-paren-mode section.
2021-09-11 05:12:20 +03:00
Stephen Gildea
5ee6583cb2 Tramp: honor default file modes in make-directory
* lisp/net/tramp-sh.el:
* lisp/net/tramp-adb.el:
* lisp/net/tramp-sudoedit.el:
* lisp/net/tramp-gvfs.el: Add support for default file modes to
relevant Tramp back ends for make-directory.  (Closes: Bug#50410)
* test/lisp/net/tramp-tests.el (tramp-test13-make-directory-with-file-modes):
New test.
* etc/NEWS: Note this enhancement.

Thanks to Michael Albinus for helping improve this patch.
2021-09-10 06:30:06 -07:00
Eli Zaretskii
b4158a75c0 Document 'tags-apropos-additional-actions' with Xref
* doc/emacs/maintaining.texi (Looking Up Identifiers): Rearrange
and reword documentation of 'xref-find-apropos' and
'xref-auto-jump-to-first-definition'.  Add the description of
'tags-apropos-additional-actions'.  Delete the comment with
not-yet implemented features that were available with
'tags-apropos'.

* etc/NEWS: Augment the wording of 'xref-find-apropos' entry.
2021-09-10 14:57:38 +03:00
Gregory Heytings
f3cfd47898 New user options to move between isearch matches
* lisp/isearch.el (isearch-allow-motion,
isearch-motion-changes-direction): New user options.
(isearch-pre-command-hook): Handle the new options.

* etc/NEWS: Mention the new user options.

* doc/emacs/search.texi: Document the new user options.
2021-09-10 12:43:45 +02:00
Lars Ingebrigtsen
74d091a0a6 Change the default value of search-whitespace-regexp
* lisp/isearch.el (search-whitespace-regexp): Change the default
to always exclude newlines from the set (bug#21278).  It used to
be mode-dependent whether newlines were included or not, and this
was confusing as a user interface.
2021-09-10 12:27:28 +02:00
Dmitry Gutov
b2c44706b6 Support tags-apropos-additional-actions in etags Xref backend
* lisp/progmodes/etags.el (xref-etags-apropos-location):
New class.
(xref-location-marker): New method definition.
(xref-make-etags-apropos-location): New function.
(etags--xref-apropos-additional): New function.
(xref-backend-apropos): Use it here.
2021-09-10 03:18:15 +03:00
Eli Zaretskii
d92db04a9d Improve documentation of tab-bar functions and variables
* etc/NEWS: Improve wording of tab-bar related entries.

* lisp/tab-bar.el (tab-bar-show, tab-bar-select-tab-modifiers):
Improve and clarify the doc strings.
2021-09-09 21:01:53 +03:00
Stefan Monnier
8c023e5ea1 Change ruby-align-chained-calls indendation
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Align with the
first sibling on the previous line instead of the last (bug#32496).

That is, before it used to be

one.two.three
       .four

and now it is

one.two.three
   .four
2021-09-09 16:24:57 +02:00
Juri Linkov
3d1274f3ba ; Add NEWS about tab bar mouse commands 2021-09-09 10:54:14 +03:00
Mattias Engdegård
188f4e6d2b * etc/NEWS: macOS alternative context menu mouse binding. 2021-09-08 10:17:23 +02:00
Lars Ingebrigtsen
53edc2ba8e Move the indented *Help* block to after the doc string
* lisp/help-fns.el (describe-function-1): Move indented admin
block to the end (bug#50463).
(describe-variable): Ditto (bug#50463).
2021-09-08 08:50:27 +02:00
Eli Zaretskii
11b56fa0b4 Fix a recent documentation change
* lisp/progmodes/xref.el (xref-auto-jump-to-first-definition)
(xref-auto-jump-to-first-xref):
* etc/NEWS: Fix wording and typos.
2021-09-07 18:44:26 +03:00
Eli Zaretskii
b02c9bcceb Improve documentation of new Xref options
* lisp/progmodes/xref.el (xref-auto-jump-to-first-definition)
(xref-auto-jump-to-first-xref): More accurate description in the
doc strings.

* doc/emacs/maintaining.texi (Looking Up Identifiers)
(Identifier Search, List Identifiers, Project File Commands): Fix
the documentation of 'xref-auto-jump-to-first-definition' and
'xref-auto-jump-to-first-xref' to be more accurate.

* etc/NEWS: More accurate wording of the entry about
'xref-auto-jump-to-first-definition' and
'xref-auto-jump-to-first-xref'.
2021-09-07 16:03:27 +03:00
Stefan Kangas
3a2c6417cc * etc/NEWS: Some further re-organization. 2021-09-07 02:06:39 +02:00
Stefan Kangas
4bd3a40ee3 * etc/NEWS: Clarify entry about the "*Completions*" buffer. 2021-09-07 01:49:33 +02:00
Mattias Engdegård
96e50693fc ; * etc/NEWS: revert a change that changed the meaning slightly 2021-09-06 19:32:56 +02:00
Michael Albinus
9ff425d16f Revert an accidential change in etc/NEWS 2021-09-06 15:16:51 +02:00
Michael Albinus
5f5623981c ; Fix typos in etc/NEWS 2021-09-06 15:06:07 +02:00
Eli Zaretskii
c0a0eb5460 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs 2021-09-06 13:12:30 +03:00
Eli Zaretskii
fb061cd0ca ; * etc/NEWS: Rearrange and fix wording of some entries. 2021-09-06 13:10:16 +03:00
Stefan Kangas
bd4a2fc385 ; * etc/NEWS: Restore entry that had been inadvertently deleted. 2021-09-06 08:49:37 +02:00
Juri Linkov
4e5af2988f * etc/NEWS: Reorder "Isearch and Replace" items 2021-09-06 09:32:39 +03:00
Stefan Kangas
c3ca31308f * etc/NEWS: Improve file organization. 2021-09-06 04:27:12 +02:00
Stefan Kangas
c88c4467cb * etc/NEWS: Don't mention a fixed bug. 2021-09-06 04:26:30 +02:00
Eli Zaretskii
7c7a47b86e ; * etc/NEWS: Fix a recent change. 2021-09-05 13:33:46 +03:00
Lars Ingebrigtsen
73a90cda4a Clarify completion-list-mode NEWS entry
* etc/NEWS: Clarify completion-list-mode entry (bug#50394).
2021-09-05 12:02:20 +02:00
Eli Zaretskii
2ed2999ce5 Improve documentation of new Xref options
* doc/emacs/maintaining.texi (Looking Up Identifiers):
* etc/NEWS: Document the new Xref user options.  Move a lost
Xref-related entry to the rest of them.
2021-09-05 10:59:07 +03:00
Stefan Kangas
0fe03c4740 ; * etc/NEWS: Fix copyright year; file recreated in 2019 for 28.1. 2021-09-04 20:11:12 +02:00
Basil L. Contovounesios
16a36732b8 ; * etc/NEWS: Fix markup in recent example. 2021-09-04 18:03:48 +01:00
Lars Ingebrigtsen
a8de88e330 Allow killing the diff buffer after `C-x v u'
* doc/emacs/maintaining.texi (VC Undo): Document this.
* lisp/vc/vc.el (vc-revert-show-diff): Allow a `kill' value.
(vc-revert): Use it (bug#16902).
2021-09-04 11:14:12 +02:00
Lars Ingebrigtsen
3f999c03c2 Add support for customization group hyperlinks in doc strings
* lisp/help-mode.el (help-customization-group): New button.
(help-xref-customization-group-regexp): New const.
(help-make-xrefs): Use them to allow making customization group
buttons.
2021-09-04 10:19:03 +02:00
Yuchen Pei
ca7e76c6f9 Add diary-offset to diary-lib.el
* doc/emacs/calendar.texi: Document the change.
* lisp/calendar/diary-lib.el (diary-offset):
* test/lisp/calendar/icalendar-tests.el: Add a test (bug#50195).
2021-09-04 09:12:10 +02:00
Stefan Kangas
f9dcde3906 * etc/DISTRIB: Refer to gnu.org instead of the deleted file etc/GNU. 2021-09-04 09:08:54 +02:00
Stefan Kangas
0cabf8bc36 ; Fix typos 2021-09-03 13:05:32 +02:00
Lars Ingebrigtsen
e1c893f4a3 Allow not putting pasted text onto the kill ring under xterm
* lisp/term/xterm.el (xterm-paste): Don't put pasted text onto the
kill ring (bug#28868).
(xterm-store-paste-on-kill-ring): New user option.
2021-09-03 09:47:18 +02:00
Eli Zaretskii
4bdae17a74 * etc/NEWS: Announce recent change in 'toggle-truncate-lines'. 2021-09-03 10:04:40 +03:00
Stefan Kangas
f4805be0b9 Update publicsuffix.txt from upstream
* etc/publicsuffix.txt: Update from
https://publicsuffix.org/list/public_suffix_list.dat
dated 2021-09-02 22:13:03 UTC.
2021-09-03 10:40:57 +02:00
Lars Ingebrigtsen
6a6de68daf Add new macro `with-existing-directory'
* doc/lispref/files.texi (Testing Accessibility): Document it.
* lisp/subr.el (with-existing-directory): New macro (bug#32004).
2021-09-01 15:56:04 +02:00
Drew Adams
2c662e6d66 Add new command `clone-frame'
* doc/emacs/frames.texi (Creating Frames): Document it.

* lisp/frame.el (clone-frame): New command and keystroke (bug#34715).
2021-09-01 11:42:48 +02:00
Lars Ingebrigtsen
50765f3f51 Make run-at-time try harder to run at integral multiples
* lisp/emacs-lisp/timer.el (timer): Add new slot integral-multiple.
(timerp): Adjust.
(timer-event-handler): Recompute the delay if requested
(bug#39099).
(run-at-time): Mark the timer as recomputable if given a t
parameter.

* src/keyboard.c (decode_timer): Adjust.
2021-08-31 03:04:22 +02:00
Stefan Monnier
bc9516a6f1 * etc/NEWS: Fix typo 2021-08-30 09:16:21 -04:00
Lars Ingebrigtsen
670b423ebc Fix typo in kill-buffer-delete-auto-save-files NEWS entry 2021-08-30 04:54:12 +02:00