1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-02 13:41:30 -08:00
Commit graph

159055 commits

Author SHA1 Message Date
Po Lu
e311d05ab1 Improve MPX interaction with drag-and-drop
* src/xfns.c (Fx_set_mouse_absolute_pixel_position): Use
internal client pointer record.
* src/xterm.c (x_dnd_cancel_dnd_early): New function.  Only used
on XI2 builds so far.
(x_dnd_begin_drag_and_drop): Set the pointer device used for DND
events.
(xi_disable_devices): Cancel the drag-and-drop operation if that
device is disabled.
(x_send_scroll_bar_event): Update outdated comment.
(handle_one_xevent): Only accept DND events from that device.
(frame_set_mouse_pixel_position): Use internal client pointer
record.
2022-08-13 10:35:08 +08:00
Stefan Kangas
37073492fd ; * lisp/cedet/ede.el: Bump version header to match variable. 2022-08-12 22:32:49 +02:00
Stefan Kangas
c4505fed53 Hide local variable section in emacs-news-modes
* lisp/textmodes/emacs-authors-mode.el
(emacs-authors-mode--hide-local-variables): Move from here...
* lisp/emacs-lisp/subr-x.el (emacs-etc--hide-local-variables):
...to here.

* lisp/textmodes/emacs-authors-mode.el (subr-x): Require.
(emacs-authors-mode): Use above renamed function.

* lisp/textmodes/emacs-news-mode.el (subr-x): Require.
(emacs-news--mode-common): Call 'emacs-etc--hide-local-variables'
to hide local variables section.
2022-08-12 22:28:17 +02:00
Lars Ingebrigtsen
316d3111a3 Don't update loaddefs.el timestamps uselessly in loaddefs-generate
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Don't
re-write the loaddefs.el file when there's no reason to.
2022-08-12 20:22:26 +02:00
Stefan Kangas
a2cf5646d4 Support imenu in emacs-authors-mode
* lisp/textmodes/emacs-authors-mode.el
(emacs-authors-imenu-generic-expression): New variable.
(emacs-authors-mode): Add imenu support.
2022-08-12 18:35:23 +02:00
Stefan Kangas
779d920c9a Rename etc-authors-mode to emacs-authors-mode
* emacs-authors-mode.el: Rename all symbols from 'etc-authors-*' to
'emacs-authors-*'.  Make most old names into obsolete compat aliases.
* admin/authors.el:  (Bug#57105)
* etc/AUTHORS: Use 'emacs-authors' instead of 'etc-authors'.
2022-08-12 18:21:12 +02:00
Stefan Kangas
4ab16226e0 Rename etc-authors-mode.el to emacs-authors-mode.el
* lisp/textmodes/etc-authors-mode.el: Move from here...
* lisp/textmodes/emacs-authors-mode.el: ...to here.  (Bug#57105)
2022-08-12 18:12:46 +02:00
Stefan Kangas
28cb8bccce ; etc/PROBLEMS: Move Ubuntu 8.04 entry to legacy systems. 2022-08-12 18:11:17 +02:00
Lars Ingebrigtsen
f99219a533 Fix emacs-news-view-mode-map inheritance
* lisp/textmodes/emacs-news-mode.el (emacs-news-view-mode-map):
Fix inheritance from `special-mode-map' (bug#57100).
2022-08-12 17:44:59 +02:00
Lars Ingebrigtsen
59af89c2a2 Clarify bookmark-set prompt
* lisp/bookmark.el (bookmark-set): Clarify prompt further
(bug#57128).
2022-08-12 17:44:59 +02:00
Harald Jörg
16ec99702c gud.el: invoke 'perldb' with '-E' instead of '-e'
* lisp/progmodes/gud.el (gud-perldb-massage-args): Allow '-E' switch
and use it as a default in favor of '-e'

* etc/NEWS ('perldb' now recognizes '-E') New entry in section 'Gud'
2022-08-12 17:29:20 +02:00
Lars Ingebrigtsen
e0045ba2bc Remove some more outdated Gnus manual stuff
* doc/misc/gnus.texi (Mail Source Customization): Remove more
outdated text (bug#57156).
2022-08-12 17:10:27 +02:00
Lars Ingebrigtsen
9ef988c0e0 Remove (gnus) Gnus Development manual section
* doc/misc/gnus.texi (Gnus Development): Remove outdated section
(bug#57156).
2022-08-12 17:09:25 +02:00
Stefan Kangas
23e4e81193 * doc/misc/gnus.texi (Emacsen): Delete section. 2022-08-12 16:10:20 +02:00
Stefan Kangas
fdbdbc2e1b Make some more cedet version variables obsolete
* lisp/cedet/ede.el (ede-version):
* lisp/cedet/semantic.el (semantic-version):
* lisp/cedet/srecode.el (srecode-version): Make obsolete.
* lisp/cedet/semantic/db-file.el (semanticdb-file-version): Don't
use above obsolete variable semantic-version.
2022-08-12 16:10:20 +02:00
Lars Ingebrigtsen
829b131e5b Clarify face-at-point doc string and add (thing-at-point 'face)
* lisp/faces.el (face-at-point): Say what this function does.

* lisp/thingatpt.el (thing-at-point-face-at-point): Add `face'
type (bug#57087).
(thing-at-point-provider-alist, thing-at-point): Mention it in the
doc strings.
2022-08-12 15:54:55 +02:00
Lars Ingebrigtsen
c0d761bf7f Further seq-uniq speed-ups for lists
* lisp/emacs-lisp/seq.el (seq-uniq): Speed up more for long lists
(bug#57079).
2022-08-12 15:16:39 +02:00
Stefan Kangas
f947b20a19 Make finder-mode inherit special-mode
* lisp/finder.el (finder-mode): Inherit special-mode.
(finder-mode-map): Inherit special-mode-map.
2022-08-12 15:08:19 +02:00
Stefan Kangas
dc28798645 * lisp/finder.el (finder-summary): Improve formatting. 2022-08-12 15:08:19 +02:00
Stefan Kangas
8ae68308a1 Use help-key-binding face in package list help
* lisp/emacs-lisp/package.el (package--prettify-quick-help-key):
Use help-key-binding face.
2022-08-12 15:08:19 +02:00
Stefan Kangas
9e983f4e83 ; * lisp/cedet/cedet.el: Delete stale comment.
Since 2009, it is no longer the case that this file depends on other
parts of CEDET (see commit 715f35a55d).
2022-08-12 15:08:19 +02:00
Stefan Kangas
43d46a7b3a Make cedet version variables obsolete
* lisp/cedet/cedet.el (cedet-version, cedet-packages): Make
obsolete.
2022-08-12 15:08:19 +02:00
Lars Ingebrigtsen
95d8a4544e Default outline-minor-mode-use-buttons to only happen in *Help*
* lisp/outline.el (outline-minor-mode-use-buttons): Change the
default to only use buttons in the *Help* buffer (for now),
because it's too disruptive in other modes.  This will probably be
changed again to have some other mechanism to opt in in certain
modes, but it's not clear what that mechanism should look like.
2022-08-12 14:56:46 +02:00
Stephen Berman
a23f9b7bda Reverse the outline arrows
* lisp/outline.el (outline-open): Reverse the arrows to match
arrows in Customize (bug#57082).
2022-08-12 14:49:22 +02:00
Eli Zaretskii
a99ea4b761 ; Fix documentation of 'loaddefs-generate' (bug#57144)
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Doc fix.
2022-08-12 09:49:35 +03:00
Stefan Kangas
687fcc2c40 Merge from origin/emacs-28
9419bc904d ; * lisp/printing.el: Delete outdated download instructions.
31af0f4eb7 Don't list Emacs as requirement for built-in package
ae348b719e Fix wrong metrics for bitmap-only fonts with HarfBuzz 5
2022-08-12 06:30:31 +02:00
Po Lu
05c4e7bfbd Prevent SelectionNotify etc from reaching GTK 3
* src/xterm.c (handle_one_xevent): Prevent selection events from
reaching GTK if they are destined for an Emacs window.
2022-08-12 09:25:12 +08:00
Alan Mackenzie
48215c41d1 New debugging facility: backtraces from errors in Lisp called from redisplay
Setting backtrace-on-redisplay-error to non-nil enables the generation of a
Lisp backtrace in buffer *Redisplay-trace* following an error in Lisp called
from redisplay.

* doc/lispref/debugging.texi (Debugging Redisplay): New subsection.
(Error Debugging): Reference to the new subsection.

* etc/NEWS: New entry for the new facility.

* src/eval.c (redisplay_deep_handler): New variable.
(init_eval): Initialize redisplay_deep_handler.
(call_debugger): Don't throw to top-level after calling debug-early
(internal_condition_case_n): "Bind" redisplay_deep_handler to the current
handler.
(backtrace_yet): New boolean variable.
(signal_or_quit): New code section to handle Lisp errors occurring in
redisplay.
(syms_of_eval): New DEFVAR_BOOL backtrace-on-redisplay-error.

* src/keyboard.c (command_loop_1): Set backtrace_yet to false each time around
the loop.
(safe_run_hooks_error): Allow args to be up to four Lisp_Objects long.
(safe_run_hooks_2): New function.

* src/lisp.h (top level): declare as externs backtrace_yet and
safe_run_hooks_2.

* src/xdisp.c (run_window_scroll_functions): Replace a call to
run_hook_with_args_2 with one to safe_run_hooks_2.
2022-08-11 19:31:09 +00:00
Axel Svensson
e7f1d4f6e1 Support the full range of variation selectors
* lisp/international/characters.el: Provide acronyms for variation
selectors.
(update-glyphless-char-display): Update display of the full range
of variation selectors.
(glyphless-char-display-control): Update doc string.  (Bug#57072)

* doc/lispref/display.texi (Glyphless Chars): Document more
variation selectors.

Copyright-paperwork-exempt: yes
2022-08-11 19:14:45 +03:00
Stefan Kangas
8854b321c2 Make ad-version variable obsolete
* lisp/emacs-lisp/advice.el (ad-version): Make obsolete in favor
of emacs-version.  It has not been bumped since 1994.
2022-08-11 17:34:59 +02:00
Stefan Kangas
6568592015 Make ebnf-version variable obsolete
* lisp/progmodes/ebnf2ps.el (ebnf-version): Make obsolete.
(ebnf-setup, ebnf-begin-file, ebnf-eps-finish-and-write): Don't
use above obsolete variable.
2022-08-11 17:32:04 +02:00
Stefan Kangas
6878972038 Make ps-print-version variable obsolete
* lisp/ps-print.el (ps-print-version): Make obsolete.
(ps-setup, ps-begin-file):
* lisp/progmodes/ebnf2ps.el:
* lisp/printing.el:
(pr-help-message, pr-interface-help-message)
(pr-create-interface): Don't use above obsolete variable.
2022-08-11 17:20:06 +02:00
Eli Zaretskii
d5c3b602b9 ; * lisp/printing.el (pr-version): Avoid byte-compiler warning. 2022-08-11 16:34:39 +03:00
Stefan Kangas
686296b512 Make pr-version variable obsolete
* lisp/printing.el (pr-version): Make obsolete.
(pr-help-message, pr-interface-help-message, pr-setup)
(pr-create-interface): Don't use above obsolete variable.
2022-08-11 15:21:47 +02:00
Stefan Kangas
9419bc904d ; * lisp/printing.el: Delete outdated download instructions. 2022-08-11 15:18:43 +02:00
Stefan Kangas
31af0f4eb7 Don't list Emacs as requirement for built-in package
* doc/misc/htmlfontify.texi (Requirements): Don't list Emacs as
requirement for built-in package.
2022-08-11 15:03:29 +02:00
Stefan Kangas
89f5167379 Don't show status message in Helper-describe-bindings
* lisp/emacs-lisp/helper.el (Helper-describe-bindings): Don't show
status message.
2022-08-11 14:35:23 +02:00
Ulf Jasper
f7438fc859 newsticker: fix bug#57045
* lisp/net/newst-treeview.el
(newsticker--treeview-list-items-with-age) (newsticker-treeview-update):
Fix issues with changing sort order in virtual feed 'all' (Bug#57045).
2022-08-11 13:34:18 +02:00
Stefan Kangas
a2ecf73545 ; * lisp/play/5x5.el (5x5-defvar-local): Improve obsoletion. 2022-08-11 13:16:42 +02:00
Stefan Kangas
e93a1a835e * lisp/vc/emerge.el (emerge-show-file-name): Make obsolete. 2022-08-11 13:11:50 +02:00
Stefan Kangas
bce98395ce Make emerge-define-key-if-possible obsolete
* lisp/vc/emerge.el (emerge-define-key-if-possible): Make unused
function obsolete.
2022-08-11 13:07:24 +02:00
Michael Albinus
4f18214fbe * test/lisp/net/tramp-tests.el (tramp--test-utf8): Adapt test. 2022-08-11 12:34:01 +02:00
YAMAMOTO Mitsuharu
ae348b719e Fix wrong metrics for bitmap-only fonts with HarfBuzz 5
* src/ftcrfont.c (ftcrhbfont_begin_hb_font): Always use the standard
position unit value on HarfBuzz 5 and later regardless of whether the
font is bitmap-only or not.  (Bug#57066)
2022-08-11 18:16:24 +09:00
Michael Albinus
80837653eb ; Fix typo in tramp-archive.el
* lisp/net/tramp-archive.el (tramp-archive-file-name-handler):
Fix typo.  (Bug#57130)
2022-08-11 08:41:11 +02:00
Stefan Kangas
7d70320f35 Merge from origin/emacs-28
648acc8848 ; Fix @setfilename in calc.texi
2022-08-11 06:30:24 +02:00
Po Lu
edffda8609 Adjust client pointer upon help event
* src/xterm.c (handle_one_xevent): Keep track of the device that
set do_help and make it the client pointer so that tooltips show
up under the right pointer.
2022-08-11 09:56:15 +08:00
Eli Zaretskii
e7b348b08a Fix 'describe-char' in "C" locale
* lisp/descr-text.el (describe-char): Avoid assertions if
'buffer-file-coding-system' is nil.  (Bug#57066)
2022-08-10 15:31:59 +03:00
Visuwesh
bca31619e8 Improve the bengali-probhat input method
* lisp/leim/quail/indian.el ("bengali-probhat"): Set KBD-TRANSLATE
and SHOW-LAYOUT flags non-nil.  This makes the IM usable with Dvorak
keyboard and also shows more useful help.  Reported by Akib Azmain
Turja <akib@disroot.org>.
2022-08-10 15:24:23 +03:00
Eli Zaretskii
648acc8848 ; Fix @setfilename in calc.texi
* doc/misc/calc.texi: Move the @setfilename command to its proper
place.  (Bug#57107)
2022-08-10 14:57:07 +03:00
Po Lu
8c0c9398f3 Fix some undesirable frame focus changes
* src/xterm.c (handle_one_xevent): Only detach upon actual
device tree change.
2022-08-10 19:31:21 +08:00