Mattias Engdegård
aa28829eb7
Correct symbol in error for failed CHECK_INTEGER (bug#56723)
...
Reported by Jeronimo Pellegrini.
* src/lisp.h (CHECK_INTEGER): Use integerp, not numberp.
2022-07-23 14:55:54 +02:00
Dmitry Gutov
38d5e346df
Support new "binary file matches" format in Ripgrep 13
...
* lisp/progmodes/xref.el (xref-matches-in-files):
Support new "binary file matches" format in Ripgrep 13
(bug#56624).
2022-07-23 15:23:56 +03:00
Po Lu
cf83da0708
Remove macOS region color code
...
* lisp/faces.el (region): Remove macOS specific definition.
Equivalent functionality is no longer available on free
operating systems.
2022-07-23 20:00:04 +08:00
Eli Zaretskii
9171fa0933
; * etc/NEWS: Fix wording and punctuation of 'comint-delete-old-input'.
2022-07-23 13:46:06 +03:00
Eli Zaretskii
74152fe806
; * etc/NEWS: Fix typo.
2022-07-23 13:42:13 +03:00
Eli Zaretskii
cc095d2873
; * etc/NEWS: Move the 'lsh' item to its proper place.
2022-07-23 13:39:50 +03:00
Mattias Engdegård
92892e5611
Use ash instead of lsh in verilog-mode (bug#56641)
...
* lisp/progmodes/verilog-mode.el (verilog-simplify-range-expression):
Use `ash`; the result will be the same because the first argument is
nonnegative.
2022-07-23 12:29:35 +02:00
Mattias Engdegård
72a457e92e
Warn about calls to lsh (bug#56641)
...
* lisp/subr.el (lsh): Warn when compiled; recommend `ash`.
* etc/NEWS: Add note.
2022-07-23 12:19:04 +02:00
Mattias Engdegård
3d6cfdf1c5
; * lisp/emacs-lisp/bytecomp.el: comment cleanup
2022-07-23 11:05:37 +02:00
Po Lu
49d16a7eb4
Undo C parts of "Don't use the Gtk region face"
...
This reverts commit a24f710395 , apart
from the change to faces.el and NEWS.
2022-07-23 17:03:04 +08:00
Lars Ingebrigtsen
a24f710395
Don't use the Gtk region face
...
* lisp/faces.el (region): Don't use the Gtk region face, because
it produces low contrast combinations (bug#46493).
* src/gtkutil.h:
* src/gtkutil.c (xg_check_special_colors): Remove.
* src/xfns.c (x_defined_color):
* src/pgtkterm.c (pgtk_defined_color): Don't call.
2022-07-23 10:52:30 +02:00
kobarity
09e433ec7f
Fix Python navigation problem with a line continuation using backslash
...
* lisp/progmodes/python.el (python-nav--beginning-of-defun): Fix
line continuation using backslash in nested defun (bug#56615).
2022-07-23 10:26:33 +02:00
Lars Ingebrigtsen
df667e9f17
Fix wdired entry when there are hidden subdirs
...
* lisp/dired.el (dired--unhide): Allow `C-c C-q' to work when
there are hidden inserted subdirs (bug#56698).
2022-07-23 09:33:18 +02:00
Visuwesh
e5de76b72e
New user option to disable deleting current input in comint mouse-2
...
* etc/NEWS: Announce the user option (bug#56646).
* lisp/comint.el (comint-delete-old-input): New user option to disable
deleting current input when insert an old input using mouse-2.
(comint-insert-input): Use it.
2022-07-23 09:15:24 +02:00
Lars Ingebrigtsen
97abe8511a
Use special-mode in eldoc--doc-buffer
...
* lisp/emacs-lisp/eldoc.el (eldoc--format-doc-buffer): Use
`special-mode' to allow normal customizations of the buffer
(bug#56659).
2022-07-23 09:14:04 +02:00
Po Lu
a4339190ec
Fix PGTK DND after a source leaves without dropping anything
...
* lisp/pgtk-dnd.el (pgtk-dnd-clear-data-on-motion): New flag.
(pgtk-dnd-handle-gdk): Set flag upon drag-leave. Clear state
upon drag-motion if it is set.
2022-07-23 15:00:34 +08:00
Lars Ingebrigtsen
51f5c4b773
Fix off-by-one error in string-truncate-left
...
* lisp/emacs-lisp/subr-x.el (string-truncate-left): Fix off-by-one
error (bug#56685).
2022-07-23 08:58:53 +02:00
Po Lu
33602132ac
Handle text scale and global text scale during DND wheel movement
...
* lisp/x-dnd.el (x-dnd-mwheel-scroll): Handle `text-scale' and
`global-text-scale' mwheel actions.
2022-07-23 14:19:03 +08:00
Miha Rihtaršič
825f4fdb51
Fix mode line mouse-1 binding when showing only column numbers
...
* lisp/bindings.el (mode-line-position): Fix the mouse-1 binding
when showing only column numbers (bug#56694).
2022-07-23 08:02:48 +02:00
Lars Ingebrigtsen
e00f882905
Don't bug out in src when there's no srcset
...
* lisp/net/shr.el (shr--preferred-image): Don't bug out when
there's no srcset.
2022-07-23 07:46:52 +02:00
Lars Ingebrigtsen
2ebede7d75
Fix srcset parsing in shr
...
* lisp/net/shr.el (shr--preferred-image): Factor out srcset
parsing for easier testing.
(shr--parse-srcset): Don't misparse URLs with commas in them.
2022-07-23 07:43:45 +02:00
Po Lu
792734a6e2
Improve efficiency of DND tooltip movement
...
* src/xterm.c (x_dnd_begin_drag_and_drop): Clear new flag.
(x_dnd_update_tooltip_position): Save last tooltip X and Y
somewhere, so we don't move it upon client lists being updated.
2022-07-23 09:35:20 +08:00
Stefan Kangas
df508ffd2b
Merge from origin/emacs-28
...
ae1ace1cf4 Adjust help-fns.el tests for recent change
04bdcf4aaa * src/terminal.c (Fframe_terminal): Use active voice
7fa491a9e9 Improve 'terminal-live-p' docstring some more
b9ac8c29ae Improve terminal-live-p docstring
0b4c81a152 * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector): F...
8f8373170f * lisp/progmodes/cperl-mode.el: Don't mention obsolete arc...
25bc330a6d Make 'describe-function' say "byte-compiled" when appropriate
2b31e667be ;Improve documentation of locale-specific string comparison
2022-07-23 01:37:59 +02:00
Stefan Kangas
ae1ace1cf4
Adjust help-fns.el tests for recent change
...
* test/lisp/help-fns-tests.el (help-fns-test-lisp-defun)
(help-fns-test-lisp-defsubst): Adjust tests for recent change.
2022-07-23 00:06:38 +02:00
Lars Ingebrigtsen
f268cdc185
Fix typo in error message in native-compile-prune-cache
...
* lisp/emacs-lisp/comp.el (native-compile-prune-cache): Fix typo
(bug#56713).
2022-07-23 00:01:00 +02:00
Lars Ingebrigtsen
dd902c43f3
Fix spacing in *Help* buttons
...
* lisp/help-mode.el (help-xref--navigation-buttons): Fix spacing
before single [forward] button.
2022-07-22 22:43:38 +02:00
Lars Ingebrigtsen
963c8c35c3
Give a better error message in native-compile-prune-cache
...
* lisp/emacs-lisp/comp.el (native-compile-prune-cache): Give a
better error message in non-nativecomp builds.
2022-07-22 21:55:23 +02:00
Robert Pluim
1767f796b0
; * src/xdisp.c (set_vertical_scroll_bar): Fix typo
2022-07-22 16:20:36 +02:00
Eli Zaretskii
12a3137cd3
Fix display of scroll-bar in mini-windows
...
* src/xdisp.c (set_vertical_scroll_bar): Ensure current_buffer is
set correctly when displaying scroll bar of a mini-window.
(Bug#56692)
2022-07-22 16:15:38 +03:00
Robert Pluim
04bdcf4aaa
* src/terminal.c (Fframe_terminal): Use active voice
2022-07-22 14:19:04 +02:00
Robert Pluim
7fa491a9e9
Improve 'terminal-live-p' docstring some more
...
* terminal.c (Fterminal_live_p): Improve description of arguments and
return value.
2022-07-22 14:10:10 +02:00
Po Lu
82116a5ea3
Fix bug#56692 questionably
...
* src/xdisp.c (set_vertical_scroll_bar): Don't recompute window
end of a mini window. (bug#56692)
2022-07-22 19:54:57 +08:00
Michael Albinus
7220a5a09a
; * etc/NEWS: Fix typos.
2022-07-22 13:31:38 +02:00
Robert Pluim
8434396fa3
Explain how to override Author with VC
...
* CONTRIBUTE: Describe how to use Author header line and
'log-edit-setup-add-author'.
2022-07-22 10:36:30 +02:00
Robert Pluim
b9ac8c29ae
Improve terminal-live-p docstring
...
* src/terminal.c (Fterminal_live_p): Explain what happens when the
argument is nil.
2022-07-22 10:14:45 +02:00
Robert Pluim
0b4c81a152
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector): Fix grammar
2022-07-22 10:11:21 +02:00
Eli Zaretskii
51209fd735
; Improve doc strings of 2 outline-minor-mode options
...
* lisp/outline.el (outline-minor-mode-use-buttons)
(outline-minor-mode-buttons): Improve the doc strings. (Bug#56691)
2022-07-22 10:58:59 +03:00
Po Lu
f173028d15
Fix handling hscroll during drag-and-drop
...
* lisp/x-dnd.el (x-dnd-hscroll-flags): Delete function.
(x-dnd-get-modifiers, x-dnd-wheel-modifier-type): New functions.
(x-dnd-mwheel-scroll): Use that to determine hscroll instead.
* src/window.c (set_window_hscroll): Mark window as needing
redisplay if the hscroll really changed.
2022-07-22 15:37:28 +08:00
Po Lu
83c2c36d35
Fix posn-timestamp of scroll bar events on GTK
...
* src/xterm.c (x_get_last_toolkit_time): New function.
(x_scroll_bar_to_input_event)
(x_horizontal_scroll_bar_to_input_event): Use it to retrieve
toolkit time.
(xg_scroll_callback, xg_end_scroll_callback): Set last user time
if possible.
2022-07-22 09:38:32 +08:00
Stefan Monnier
46e07d0a4b
* lisp/help-mode.el (help-news): Use view-file
2022-07-21 20:01:36 -04:00
Stefan Monnier
d9f05b7e4f
* lisp/vc/vc-dispatcher.el (vc-log-edit): Un-quote the lambda
2022-07-21 19:50:23 -04:00
Stefan Monnier
5c8be6fd6c
* lisp/progmodes/verilog-mode.el (verilog-surelint-off): Silence warning
2022-07-21 19:50:05 -04:00
Stefan Monnier
8fac539b50
(compilation-parse-errors-function): Remove obsolete var
...
* lisp/progmodes/compile.el (compilation-parse-errors-function): Remove.
(compilation--parse-region): Simplify accordingly.
(compilation--compat-parse-errors): Remove function, not used any more.
(compilation-error-list, compilation-parsing-end)
(compilation-old-error-list): Remove vars, not used any more.
(compilation-last-buffer): Mark as obsolete (sadly, forgot to do that
back in Emacs-22).
* lisp/textmodes/tex-mode.el: Remove old code that was needed for
Emacs<24.
* lisp/progmodes/prolog.el (prolog-consult-compile): Remove long-dead code.
(compilation-parse-errors-function): Remove declaration, not used any more.
(prolog-parse-sicstus-compilation-errors): Remove function, not used any more.
2022-07-21 18:59:57 -04:00
Stefan Kangas
642d7e2884
image-dired: Don't end messages with "."
...
* lisp/image-dired.el (image-dired-toggle-dired-display-properties)
(image-dired--on-file-in-dired-buffer)
(image-dired-thumbnail-set-image-description)
(image-dired-mark-tagged-files)
(image-dired-dired-edit-comment-and-tags)
(image-dired-modify-mark-on-thumb-original-file): Don't end messages
with "." to better comply with '(elisp) Programming Tips'.
2022-07-21 21:13:50 +02:00
Stefan Kangas
eb4e66ee64
; * lisp/wid-browse.el (widget-browse): Delete commented out code.
...
This has been commented out since 1997.
2022-07-21 21:10:13 +02:00
Eli Zaretskii
4a4fcf628e
Fix reference to 'x-max-tooltip-size' in complete.el
...
* lisp/cedet/semantic/complete.el: Don't assume that
x-max-tooltip-size is a cons cell.
2022-07-21 19:22:16 +03:00
Mattias Engdegård
e2df22fa01
; * etc/NEWS: use the right outline level
2022-07-21 16:22:23 +02:00
Mattias Engdegård
0069085be2
; * lisp/emacs-lisp/byte-opt.el (byte-optimize--fixnump): Optimise.
2022-07-21 15:26:00 +02:00
Eli Zaretskii
72278f21e0
; Clarify doc string of 'long-line-threshold'
...
* src/buffer.c (syms_of_buffer) <long-line-threshold>: Clarify the
doc string.
2022-07-21 15:59:50 +03:00
Gregory Heytings
616da8fa8e
Merge branch 'feature/fix-the-long-lines-display-bug'
2022-07-21 12:37:45 +02:00