Po Lu
3b27edd5f5
* src/emacsgtkfixed.c (XSetWMSizeHints): Remove some useless code.
2022-01-15 18:11:35 +08:00
Lars Ingebrigtsen
f43b8f3831
Don't bug out on improper lists in pp-emacs-lisp-code
...
* lisp/emacs-lisp/pp.el (pp--format-list): Don't bug out on
improper lists (bug#52917).
2022-01-15 10:40:39 +01:00
Tom Tromey
ad3971f885
Use "server complete" instead of "complete" in gud-gdb-completions
...
* lisp/progmodes/gud.el (gud-gdb-completions): gud-gdb sends a
"complete" command to gdb to implement command line completion. It
would be better to send "server complete". This is what Emacs does
for other behind-the-scenes commands it sends (bug#52922).
2022-01-15 10:30:24 +01:00
Alex Bochannek
f501d0aed0
(gnus-summary-hide-thread): Fix thread hiding for dummy roots.
...
* lisp/gnus/gnus-sum.el (gnus-summary-hide-thread): Make thread
hiding work when using dummy `gnus-summary-make-false-root'
(bug#52923).
2022-01-15 10:28:14 +01:00
Lars Ingebrigtsen
7651f044e2
Improve the with-output-to-temp-buffer doc string
...
* lisp/subr.el (with-output-to-temp-buffer): Clarify the point of
the macro (bug#53265).
2022-01-15 09:30:01 +01:00
Lars Ingebrigtsen
639488b55a
Revert "Add command to invoke a search engine"
...
This reverts commit 3f36d08362 .
Similar functionality has been added to webjump, so this commit duplicated that.
2022-01-15 09:06:50 +01:00
Stefan Kangas
8df828e405
Merge from origin/emacs-28
...
5990148860 * lisp/simple.el (undo-no-redo): Fix customization group
ac2cdb8a46 * lisp/progmodes/xref.el (xref-file-name-display): Fix doc...
c05864dd25 Avoid another segfault in 'face_at_buffer_position'
2022-01-15 06:47:59 +01:00
Stefan Kangas
8267973c31
; Merge from origin/emacs-28
...
The following commit was skipped:
281b878858 Mark test-map-into as unstable
2022-01-15 06:47:59 +01:00
Po Lu
43618cd44c
Find a way to make lowering frames work on Haiku
...
* doc/lispref/frames.texi (Raising and Lowering): Document that
lowering frames is now supported on Haiku.
* src/haikuterm.c (haiku_frame_raise_lower): Implement a hack to
lower frames.
2022-01-15 05:30:28 +00:00
Po Lu
9d809ed9bb
Filter key release events when using native input without having XIM
...
* src/xterm.c (handle_one_xevent): Also check for XI key
release events when using native input on a build without XIM.
2022-01-15 13:25:23 +08:00
Po Lu
9845f6b9aa
Fix native input when using core input events
...
* src/gtkutil.c (xg_filter_key): Test for core key press events
correctly.
* src/xterm.c (handle_one_xevent): Also check for KeyRelease
events.
2022-01-15 09:40:28 +08:00
Po Lu
1f5f3b7e89
Remove non-functional configure test
...
It cannot work anymore, leading to compiler warnings when
building xterm.c.
* configure.ac: Remove test for whether
XRegisterIMInstantiateCallback wants XPointer or XPointer * as
the client_data.
* src/xterm.c (xim_initialize):
(xim_close_dpy): Just cast client data to void * and hope that
the compiler keeps quiet.
2022-01-15 09:11:11 +08:00
Philipp Stephani
5990148860
* lisp/simple.el (undo-no-redo): Fix customization group
2022-01-14 22:06:13 +01:00
Philipp Stephani
ac2cdb8a46
* lisp/progmodes/xref.el (xref-file-name-display): Fix docstring.
2022-01-14 22:01:06 +01:00
Stefan Monnier
0e20d76a38
pcvs-info.el: Prefer declare-function over autoload
...
* lisp/vc/pcvs-info.el (cvs-mode-toggle-mark): Use `declare-function`
to silence the byte-compiler warning.
2022-01-14 15:28:21 -05:00
Philipp Stephani
ec52d2775a
* lisp/indent.el (indent-for-tab-command): Use 'eq' for symbols.
2022-01-14 21:02:08 +01:00
Philipp Stephani
64109fcae7
indent-for-tab-command: Deal with large point or modiff values.
...
* lisp/indent.el (indent-for-tab-command): Don't use 'eq' to compare
integers that aren't guaranteed to be fixnums.
2022-01-14 20:59:28 +01:00
Philipp Stephani
c723401151
Simplify code for 'indent-for-tab-command' slightly.
...
* lisp/indent.el (indent-for-tab-command): Don't use a one-element
list for SYN.
2022-01-14 20:56:03 +01:00
Stefan Monnier
d29291d665
(macroexp--expand-all): Fix bug#53227 and bug#46636
...
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Don't mis-expand
invalid funcalls.
2022-01-14 12:26:30 -05:00
Stefan Kangas
bef9fcc999
image-dired: Use MD5 for thumb filename generation
...
* lisp/image-dired.el (image-dired-thumb-name): Revert back to MD5 for
file name generation to preserve backwards-compatibility. (Bug#53229)
2022-01-14 16:18:34 +01:00
Eli Zaretskii
c05864dd25
Avoid another segfault in 'face_at_buffer_position'
...
* src/xfaces.c (face_at_buffer_position): Make really sure the
default face is usable. (Bug#53254)
2022-01-14 16:11:34 +02:00
Po Lu
30dbdecd4a
* src/xterm.c: Add a small writeup on input handling on X.
...
Hopefully I will extend this section with details about more
aspects of X11 support in the future.
2022-01-14 19:50:40 +08:00
Lars Ingebrigtsen
85299991e4
Regenerate ldefs-boot.el
2022-01-14 12:12:47 +01:00
Lars Ingebrigtsen
edcb1f3a3b
Skip ffap test on some systems
2022-01-14 12:10:46 +01:00
Lars Ingebrigtsen
dd3715b0cb
Make function-alias-p use a better error symbol
...
* lisp/subr.el (function-alias-p): Use the same error symbol as
`indirect-function'.
2022-01-14 11:51:24 +01:00
Lars Ingebrigtsen
f729c333c7
Don't have ffap interpret ":/bin" as the current directory
...
* lisp/ffap.el (ffap-file-at-point): Don't interpret :/bin as the
current directory (bug#52441).
2022-01-14 10:51:15 +01:00
Lars Ingebrigtsen
19566fb51a
Add a `shortdoc' convenience alias
...
* lisp/emacs-lisp/shortdoc.el (shortdoc): Add a convenience alias
(bug#52968).
2022-01-14 10:51:15 +01:00
Po Lu
e0268fd7d5
Fix leak when refs are sent to a frame during destruction on Haiku
...
* src/haikuterm.c (haiku_read_socket): Free b->ref if it was
sent from a frame that was destroyed.
2022-01-14 09:46:50 +00:00
Po Lu
a970a2a489
Make sure the X mouse position hook always looks at an X frame
...
* src/xterm.c (XTmouse_position): Check that f1 is an X frame.
2022-01-14 17:43:09 +08:00
Robert Pluim
53eaec6dc3
spelling-tests.el: use ert-with-temp-directory
...
* test/lisp/so-long-tests/spelling-tests.el (so-long-spelling): Use
;ert-with-temp-directory' instead of passing :directory to
'ert-with-temp-file', and restore the prefix/suffix values used
originally with 'make-temp-file'.
2022-01-14 10:06:21 +01:00
Robert Pluim
8df6f00223
spelling-tests.el: ignore errors when checking for ispell
...
ispell-valid-dictionary-list can signal an error, eg when the local
hunspell installation cannot find any dictionaries, so it's best to
ignore that error.
* test/lisp/so-long-tests/spelling-tests.el (so-long-spelling): Wrap
ispell check in ignore-errors, as ispell-valid-dictionary-list can
signal an error.
2022-01-14 10:06:21 +01:00
Lars Ingebrigtsen
373618d3a8
Add new context menu functions to the context-menu-functions type
...
* lisp/mouse.el (context-menu-functions): Add new menu functions
to the defcustom type list (bug#52973).
2022-01-14 09:49:44 +01:00
Philip Kaludercic
3f36d08362
Add command to invoke a search engine
...
* mouse.el (context-menu-online-search): Add new function
(eww-search-prefix): Declare variable from eww.el
(mouse-online-search-at-point): Add new command
2022-01-14 09:47:02 +01:00
Philip Kaludercic
f62fe2ebde
Implement context-menu-mode support for hi-lock
...
* hi-lock.el (hi-lock-symbol-at-mouse): Add new command
(hi-lock-context-menu): Add new function
2022-01-14 09:46:59 +01:00
Philip Kaludercic
df44b2d956
Implement context-menu-mode support for man pages
...
* man.el (Man-at-mouse): Add new command
(Man-context-menu): Add new function
2022-01-14 09:46:56 +01:00
Juri Linkov
10cf00648b
Fix @item in the Emacs manual
...
* doc/emacs/maintaining.texi (Identifier Search): Replace @itemx with @item.
* doc/emacs/search.texi (Special Isearch): Remove @item.
2022-01-14 10:32:36 +02:00
Lars Ingebrigtsen
e3b43f6cd8
Fix mailcap setup when no mailcap files exist
...
* lisp/net/mailcap.el (mailcap-parse-mailcaps): Ensure that we
populate mailcap--computed-mime-data even if none of the files
exist (bug#53009).
2022-01-14 09:26:06 +01:00
Lucien Cartier-Tilet
3c0e51e4e5
(battery-status-function) Fix errors in Termux
...
* lisp/battery.el (battery-status-function): In Termux, neither
/sys/ or /proc/ are readable on phones that are not rooted. This
patch makes Emacs verify if they are readable before it attemps
reading them (bug#53026).
Copyright-paperwork-exempt: yes
2022-01-14 09:26:06 +01:00
Robert Pluim
39114e1e2b
Improve some nntp/nnimap error messages
...
* lisp/gnus/nntp.el (nntp-send-string):
(nntp-wait-for):
(nntp-accept-process-output):
(nntp-possibly-change-group):
* lisp/gnus/nnimap.el (nnimap-retrieve-headers): Improve error
messages (bug#53070).
2022-01-14 09:26:06 +01:00
Juri Linkov
102dd6e59b
* lisp/progmodes/xref.el (xref-query-replace-in-results): Fix prefix-arg.
...
Use current-prefix-arg.
2022-01-14 10:18:43 +02:00
Juri Linkov
16764cc305
* doc/emacs/search.texi (Special Isearch): Put related items together.
...
Move isearch-char-by-name closer to isearch-emoji-by-name.
2022-01-14 10:17:37 +02:00
Eli Zaretskii
9c953c40a9
Update docs of 'xref-query-replace-in-results'
...
* doc/emacs/maintaining.texi (Identifier Search): Update the
documentation of 'xref-query-replace-in-results'.
2022-01-14 10:01:39 +02:00
Sergey Vinokurov
a5ce31a192
Use assq_no_quit on all local_var_alist accesses
...
* src/data.c (Fkill_local_variable):
* src/buffer.c (buffer_local_value): Use assq_no_quit instead of
Fassoc/Fassq on local_var_alist (bug#53242).
* src/data.c (Flocal_variable_p): Use assq_no_quit instead of
open-coding the search on local_var_alist.
2022-01-14 08:50:06 +01:00
Eli Zaretskii
3ae74c2e47
Improve documentation of 'xref-find-references-and-replace'
...
* etc/NEWS: Clarify the 'xref-find-references-and-replace' entry.
* doc/emacs/maintaining.texi (Identifier Search): Document
'xref-find-references-and-replace'.
2022-01-14 09:41:24 +02:00
Lars Ingebrigtsen
281b878858
Mark test-map-into as unstable
...
* test/lisp/emacs-lisp/map-tests.el (test-map-into): Mark as
unstable (bug#46722).
Do not merge to master.
2022-01-14 08:39:57 +01:00
Miha Rihtaršič
07335abeb4
Fix python-eldoc affecting unrelated comint processes
...
* lisp/progmodes/python.el (python-shell-send-string-no-output): Don't
let-bind comint-preoutput-filter-functions globally for all comint
processes. Modify the behaviour of only the current python
process (bug#53219).
2022-01-14 08:34:27 +01:00
Eli Zaretskii
fa1dd64ba8
; * INSTALL (Alternative window systems): Improve wording.
2022-01-14 09:26:20 +02:00
Robert Pluim
9cc1344c9f
Improve function-alias-p documentation
...
* doc/lispref/functions.texi (Defining Functions): Improve the text.
2022-01-14 08:25:41 +01:00
Po Lu
1158c880e2
Try to make sure an XKB desc is always available
...
* src/xterm.c (handle_one_xevent): Re-retrieve XKB map if it's
unavailable for some reason upon handling an XKB map or keyboard
notify event.
2022-01-14 14:57:55 +08:00
Lars Ingebrigtsen
d63d647c11
Fix byte-compilation warning in pcvs-info
...
* lisp/vc/pcvs-info.el (cvs-mode-toggle-mark): Fix
byte-compilation warning.
2022-01-14 07:10:26 +01:00