]>
git.eshelyaron.com Git - emacs.git/log
Po Lu [Tue, 30 Nov 2021 01:01:26 +0000 (09:01 +0800)]
Enable pixel-precision scrolling on pgtk port
* src/pgtkterm.c (scroll_event): Generate enhanced wheel
events.
(x_coalesce_scroll_events): New variable.
Po Lu [Tue, 30 Nov 2021 00:52:00 +0000 (08:52 +0800)]
Get rid of pgtk_select and use xg_select instead
* src/pgtkmenu.c (pgtk_menu_wait_for_event): Get rid
of pgtk_select.
* src/pgtkterm.h (pgtk_select):
* src/pgtkterm.c (pgtk_select): Delete function.
* src/process.c (wait_reading_process_output): Stop
using pgtk_select.
Po Lu [Tue, 30 Nov 2021 00:46:23 +0000 (08:46 +0800)]
* lisp/frame.el (display-graphic-p): Fix typo.
Po Lu [Tue, 30 Nov 2021 00:33:24 +0000 (08:33 +0800)]
Fix build after merge
* lisp/mwheel.el (mouse-wheel-up-event):
* src/gtkutil.c (xg_event_is_for_scrollbar):
* src/termhooks.h (enum output_method): Fix trivial typos.
Po Lu [Tue, 30 Nov 2021 00:19:46 +0000 (08:19 +0800)]
Merge remote-tracking branch 'origin/feature/pgtk' into feature/pgtk
Po Lu [Tue, 30 Nov 2021 00:16:50 +0000 (08:16 +0800)]
Merge remote-tracking branch 'origin/master' into feature/pgtk
Yuuki Harano [Mon, 29 Nov 2021 15:23:39 +0000 (00:23 +0900)]
* src/xdisp.c (mouse_face_from_buffer_pos): Revert whitespace only change
Yuuki Harano [Mon, 29 Nov 2021 15:19:22 +0000 (00:19 +0900)]
Remove draw_glyphs_debug
It is left-over from debugging, and not needed any more.
* src/xdisp.c (draw_glyphs_debug):
(draw_glyphs):
Yuuki Harano [Mon, 29 Nov 2021 15:14:42 +0000 (00:14 +0900)]
Replace XFillRectangle with cairo_rectangle and cairo_fill
* src/pgtkterm.c (pgtk_flash):
Yuuki Harano [Mon, 29 Nov 2021 15:07:18 +0000 (00:07 +0900)]
Use /* */ comment style instead of //
* src/gtkutil.c (xg_create_frame_widgets):
* src/pgtkfns.c (Fx_create_frame):
(frame_geometry):
* src/pgtkterm.c (pgtk_mouse_position):
(pgtk_redisplay_interface):
(pgtk_clear_frame):
(pgtk_create_terminal):
(struct pgtk_window_is_of_frame_recursive_t):
(key_press_event):
(syms_of_pgtkterm):
Po Lu [Mon, 29 Nov 2021 10:25:10 +0000 (18:25 +0800)]
Really make `x-scroll-event-delta-factor' dependent on system
* lisp/cus-start.el: Move X specific builtins that start
with "x-" before the catch-all test.
Andreas Schwab [Mon, 29 Nov 2021 09:29:40 +0000 (10:29 +0100)]
Avoid undefined behaviour when copying part of structure
* src/dispnew.c (copy_row_except_pointers): Don't use address of
subobject as starting point.
Po Lu [Mon, 29 Nov 2021 09:19:27 +0000 (17:19 +0800)]
Fix last change for non-X platforms
* lisp/cus-start.el: Don't announce
`scroll-bar-adjust-thumb-portion' on non-X systems.
Po Lu [Mon, 29 Nov 2021 07:36:15 +0000 (15:36 +0800)]
Allow customizing the pixel delta of wheel events on X
* lisp/cus-start.el: Add `x-scroll-event-delta-factor'.
* src/xterm.c (handle_one_xevent): Apply scroll event
delta factor to wheel events with pixel data.
(Vx_scroll_event_delta_factor): New user option.
Po Lu [Mon, 29 Nov 2021 07:12:25 +0000 (07:12 +0000)]
Make overhangs in ftcrfont work on Haiku
* src/ftcrfont.c (ftcrfont_draw): Dump left overhang clipping
on Haiku and always set `background_filled_p'.
Po Lu [Mon, 29 Nov 2021 06:55:58 +0000 (06:55 +0000)]
* doc/emacs/haiku.texi (Haiku Basics): Fix a typo.
Stefan Kangas [Mon, 29 Nov 2021 06:00:25 +0000 (07:00 +0100)]
Merge from origin/emacs-28
c4daff9cf8 * Makefile.in (PREFERRED_BRANCH): Now emacs-28.
bca57086be ; Remove an obsolete comment
455b64c336 * src/coding.c (Fdecode_coding_region, Fencode_coding_regi...
Stefan Kangas [Mon, 29 Nov 2021 04:57:13 +0000 (05:57 +0100)]
* Makefile.in (PREFERRED_BRANCH): Now emacs-28.
Po Lu [Mon, 29 Nov 2021 04:39:16 +0000 (12:39 +0800)]
Update XKB map on MappingNotify
* src/xterm.c (handle_one_xevent): Update XKB map when X
tells us the keyboard map has been updated.
Lars Ingebrigtsen [Sun, 28 Nov 2021 21:59:35 +0000 (22:59 +0100)]
Tweak gnus-art key binding
* lisp/gnus/gnus-art.el (:keymap): Fix mnemonic key binding.
Karl Fogel [Sun, 28 Nov 2021 19:34:57 +0000 (13:34 -0600)]
; Remove an obsolete comment
* src/editfns.c (Ftranspose_regions): Remove an obsolete comment about
memmove, following up to commit
72af86bd8cf of 8 Jul 2010 by Andreas
Schwab and commit
354f9f0fc6cc of 23 Feb 2016 by Fredrik Bergroth,
both of which added calls to memmove.
Eli Zaretskii [Sun, 28 Nov 2021 18:18:16 +0000 (20:18 +0200)]
* src/coding.c (Fdecode_coding_region, Fencode_coding_region): Doc fix.
Mattias Engdegård [Sun, 28 Nov 2021 18:06:33 +0000 (19:06 +0100)]
; Don't use remq (breaks bootstrapping)
Mattias Engdegård [Sun, 28 Nov 2021 17:04:06 +0000 (18:04 +0100)]
Use compiler macros for the key syntax checks
Compile-time key string syntax checks are better written using
compiler macros than with byte-hunk-handlers inside the compiler
proper.
* lisp/emacs-lisp/bytecomp.el (byte-compile-define-keymap)
(byte-compile-define-keymap--define): Remove.
* lisp/keymap.el (keymap--compile-check): New.
(keymap-set, keymap-global-set, keymap-local-set, keymap-global-unset)
(keymap-local-unset, keymap-unset, keymap-substitute)
(keymap-set-after, key-translate, keymap-lookup, keymap-local-lookup)
(keymap-global-lookup): Use compiler-macro for argument checks.
* lisp/subr.el (define-keymap--compile): New.
(define-keymap--define): Fold into define-keymap.
(define-keymap): Use compiler-macro.
(defvar-keymap): Use define-keymap.
Mattias Engdegård [Sun, 28 Nov 2021 17:00:44 +0000 (18:00 +0100)]
Avoid unused argument warnings in lambda compiler macros
* lisp/emacs-lisp/byte-run.el (byte-run--set-compiler-macro):
Don't warn when a compiler macro with lambda-form expander does not
use all the arguments of the function. Nobody expected any warning
since the arguments look like free variables inside the lambda form.
Michael Albinus [Sun, 28 Nov 2021 16:05:32 +0000 (17:05 +0100)]
; Use /usr/bin/find in gitlab-ci.yml
Stefan Kangas [Sun, 28 Nov 2021 13:59:44 +0000 (14:59 +0100)]
Merge from origin/emacs-28
1fffe9a210 ; * lisp/org/org.el: Fix version header.
2a4de5e5e5 Fix Subject when forwarding message with 2-line From
b8b2dd17c5 Update to Org 9.5.1-11-g96d91b
a937f536b3 * doc/lispref/commands.texi (Click Events): Fix wording (b...
Stefan Kangas [Sun, 28 Nov 2021 13:54:24 +0000 (14:54 +0100)]
; * lisp/org/org.el: Fix version header.
Michael Albinus [Sun, 28 Nov 2021 12:45:43 +0000 (13:45 +0100)]
Adapt gitlab-ci.yml
* test/infra/gitlab-ci.yml (variables): Set EMACS_TEST_TIMEOUT to 3600.
(.job-template, .test-template): Another approach to catch test
artifacts on emba.
Po Lu [Sun, 28 Nov 2021 07:39:22 +0000 (07:39 +0000)]
Make haiku-win build correctly on non-Haiku systems
* lisp/term/haiku-win.el (haiku-selection-targets): Add
missing declaration.
Po Lu [Sun, 28 Nov 2021 05:43:19 +0000 (13:43 +0800)]
Fix xwidget popups on XI2 again
* src/xwidget.c (xwidget_button_1): Release seat grab.
Po Lu [Sun, 28 Nov 2021 05:13:06 +0000 (13:13 +0800)]
Fix xwidget popups on XI2
* src/gtkutil.c (xg_is_menu_window): Determine whether wdesc
is a menu generated by a menu bar more reliably.
* src/xwidget.c (xwidget_button_1): Release all XI2 grabs on
click.
Po Lu [Sun, 28 Nov 2021 02:11:53 +0000 (10:11 +0800)]
Fix typos in configure.ac
* configure.ac: Fix typos in wording of XInput 2 options.
Po Lu [Sun, 28 Nov 2021 01:06:11 +0000 (09:06 +0800)]
Make `pixel-scroll-precision-scroll-up' work better with overlays
* lisp/pixel-scroll.el (pixel-scroll-precision-scroll-up):
Just set vscroll when on overlay.
Mike Kupfer [Fri, 26 Nov 2021 21:59:14 +0000 (13:59 -0800)]
Fix Subject when forwarding message with 2-line From
* lisp/mh-e/mh-comp.el (mh-forwarded-letter-subject): Collapse
two-line From headers into a single line (SF#266). Based on a
suggestion from Lester Buck (many thanks!).
Kyle Meyer [Sat, 27 Nov 2021 21:24:31 +0000 (16:24 -0500)]
Update to Org 9.5.1-11-g96d91b
Michael Albinus [Sat, 27 Nov 2021 15:53:05 +0000 (16:53 +0100)]
Simplify use of artifacts in emba files
* test/infra/gitlab-ci.yml (.test-template): Re-insert.
(test-all-inotify, test-filenotify-gio, test-gnustep)
(test-native-comp-speed0):
* test/infra/Makefile.in (subdir_template): Use it when
appropriate. Remove artifacts.
* test/infra/test-jobs.yml: Regenerate.
Stefan Monnier [Sat, 27 Nov 2021 15:10:26 +0000 (10:10 -0500)]
* test/src/comp-tests.el: Rework last patch
Move `require`s out of `eval-when-compile` if the functions are called
at run-time.
Don't use #' to quote symbols (i.e. at those places where a lambda
expression couldn't be used).
Don't pre-load comp-test-45603.el and comp-test-pure.el any more.
(comp-deftest pure): Use `declare-function` after loading `comp-test-pure.el`
to silence the byte-compiler.
Eli Zaretskii [Sat, 27 Nov 2021 15:09:51 +0000 (17:09 +0200)]
Avoid assertion violations in --enable-checking builds
* src/xdisp.c (gui_produce_glyphs): Make sure character glyphs
don't trigger assertion violation due to negative ascent or
descent. This was reporte dto happen with some fonts used by the
xfont backend.
Eli Zaretskii [Sat, 27 Nov 2021 13:01:46 +0000 (15:01 +0200)]
* doc/lispref/commands.texi (Click Events): Fix wording (bug#52142).
Po Lu [Sat, 27 Nov 2021 11:14:43 +0000 (19:14 +0800)]
Improve documentation of wheel events
* doc/lispref/commands.texi (Misc Events): Add missing
parameters to `wheel-up' and `wheel-down'.
Po Lu [Sat, 27 Nov 2021 11:23:31 +0000 (19:23 +0800)]
Fix pixel scroll for overlays and text in display properties
* lisp/pixel-scroll.el (pixel-scroll-precision-scroll-down):
Just set vscroll if we're scrolling through an overlay or
something to that effect.
Eli Zaretskii [Sat, 27 Nov 2021 07:02:12 +0000 (09:02 +0200)]
; Improve doc string of 'glyphless-char-display-control'
* lisp/international/characters.el
(glyphless-char-display-control): Doc fix.
Po Lu [Sat, 27 Nov 2021 06:57:59 +0000 (14:57 +0800)]
Set motion event time when handling XI2 motion events
* src/xterm.c (handle_one_xevent): Set motion event time when
handling XI_Motion.
Po Lu [Sat, 27 Nov 2021 06:10:49 +0000 (14:10 +0800)]
Remove GC prone call in `pixel-point-and-height-at-unseen-line'
* lisp/pixel-scroll.el (pixel-point-and-height-at-unseen-line):
Remove call to unnecessary call to `beginning-of-visual-line'.
Po Lu [Sat, 27 Nov 2021 05:46:35 +0000 (13:46 +0800)]
Make `pixel-scroll-precision-scroll-up' slightly more robust
* lisp/pixel-scroll.el (pixel-scroll-precision-scroll-up):
Subtract from existing vscroll if feasible.
Po Lu [Sat, 27 Nov 2021 05:02:10 +0000 (13:02 +0800)]
Make `pixel-scroll-precision-scroll-up' use existing logic
* lisp/pixel-scroll.el (pixel-point-at-unseen-line): Rewrite
to use `pixel-point-and-height-at-unseen-line'.
(pixel-point-and-height-at-unseen-line): New function.
(pixel-scroll-precision-scroll-up): Use existing logic
to determine unseen line position.
Stephen Gildea [Sat, 27 Nov 2021 04:48:45 +0000 (20:48 -0800)]
time-stamp-tests.el: Test more formats
* test/lisp/time-stamp-tests.el (time-stamp-format-ignored-modifiers):
Additional testing with illegal formats, including "%".
(time-stamp-format-multiple-conversions): Add a test with "%%%".
Po Lu [Sat, 27 Nov 2021 00:34:51 +0000 (08:34 +0800)]
Set initial tab bar parameter on NS
* src/nsfns.m (Fx_create_frame): Initialize `tab-bar-lines'
frame parameter during frame creation.
Alan Third [Fri, 26 Nov 2021 19:57:07 +0000 (19:57 +0000)]
Silence NS warnings
* src/nsterm.m ([EmacsView mouseDown:]): Move variables into the block
where they're used.
Stephen Gildea [Fri, 26 Nov 2021 16:51:38 +0000 (08:51 -0800)]
* test/src/comp-tests.el: Eliminate byte-compiler warnings (Bug#52105).
Robert Pluim [Fri, 26 Nov 2021 14:54:49 +0000 (15:54 +0100)]
Specify initial values for glyphless-char-display-control elements
* lisp/international/characters.el (glyphless-char-display-control):
Specify :value for all the elements, since nil is not a valid value.
Michael Albinus [Fri, 26 Nov 2021 14:41:22 +0000 (15:41 +0100)]
Adapt test/infra/gitlab-ci.yml
* test/infra/gitlab-ci.yml (test-all-inotify)
(test-filenotify-gio, test-gnustep, test-native-comp-speed0):
Add or adapt artifacts.
Lars Ingebrigtsen [Fri, 26 Nov 2021 14:26:14 +0000 (15:26 +0100)]
Add new face `gnus-header'
* lisp/gnus/gnus-art.el (gnus-header): New face.
(gnus-header-from, gnus-header-subject, gnus-header-newsgroups)
(gnus-header-name, gnus-header-content): Inherit from this new face.
Eli Zaretskii [Fri, 26 Nov 2021 13:50:46 +0000 (15:50 +0200)]
; * etc/NEWS: Fix wording of a recently-added entry.
Robert Pluim [Fri, 26 Nov 2021 13:08:24 +0000 (14:08 +0100)]
Adjust custom-face-attributes for 'regular' weight
Following the changes to support "medium" weight fonts, the weight for
"normal" fonts is now reported as 'regular', which caused
customize-face to display faces as lisp-expressions, since it didn't
recognize that. This has been corrected.
* lisp/cus-face.el (custom-face-attributes): Recognize 'regular' as a
weight.
Lars Ingebrigtsen [Fri, 26 Nov 2021 13:17:10 +0000 (14:17 +0100)]
Add an intermediary face for mode lines: `mode-line-active'
* doc/emacs/display.texi (Standard Faces): Document the new face.
* lisp/faces.el (mode-line-active): New face.
(mode-line): Don't inherit from vaiable-pitch.
* src/xfaces.c (lookup_basic_face, realize_basic_faces)
(syms_of_xfaces):
* src/xdisp.c (window_box_height, window_text_pixel_size)
(display_mode_lines, Fformat_mode_line):
* src/dispextern.h (CURRENT_MODE_LINE_ACTIVE_FACE_ID_3)
(CURRENT_MODE_LINE_ACTIVE_FACE_ID, enum face_id): Rename from
*MODE_LINE_FACE_ID to *MODE_LINE_ACTIVE_FACE_ID.
Po Lu [Fri, 26 Nov 2021 09:42:45 +0000 (17:42 +0800)]
Move the precision pixel scrolling feature to pixel-scroll.el
* etc/NEWS: Update NEWS entry for 'pixel-scroll-precision-mode'
* lisp/better-pixel-scroll.el: Remove file.
* src/pixel-scroll.el (x-coalesce-scroll-events): New variable
declaration.
(pixel-scroll-precision-mode-map): New variable.
(pixel-scroll-precision-scroll-down):
(pixel-scroll-precision-scroll-up):
(pixel-scroll-precision): New functions.
(pixel-scroll-precision-mode): New minor mode.
Po Lu [Fri, 26 Nov 2021 11:59:54 +0000 (19:59 +0800)]
Explain confusing aspects of XInput 2 scroll wheel reporting
* src/xterm.c (x_init_master_valuators): Explain how XInput 2
reports scroll wheel movement.
(handle_one_xevent): Explain why XI2 scroll valuators
are reset after each enter events.
Dmitry Gutov [Fri, 26 Nov 2021 13:03:30 +0000 (16:03 +0300)]
Remove empty lines from stash read prompt
* lisp/vc/vc-git.el (vc-git-stash-read): Pass OMIT-NULLS (bug#52119).
(vc-git-stash-list): Simplify.
Po Lu [Fri, 26 Nov 2021 09:42:51 +0000 (17:42 +0800)]
Make XInput 2 builds work without cairo
* src/xterm.c: Move some defines around so XI2 code doesn't
get ifdef'd out if Cairo is disabled.
Robert Pluim [Fri, 26 Nov 2021 08:35:25 +0000 (09:35 +0100)]
; * lisp/cus-face.el: Remove duplicated width entry.
Stefan Kangas [Fri, 26 Nov 2021 06:17:21 +0000 (07:17 +0100)]
Merge from origin/emacs-28
cfaf681d3d ; * src/emacs.c (main): Add commentary about command-line ...
4d16a2f737 Fix pdf generation with Texinfo 6.7
a22c9a34bd Fix 'posn-at-point' near some overlays
d1aa552d11 ; * CONTRIBUTE: No cleanups on release branches, even in d...
588caf0b27 * lisp/repeat.el (repeat-post-hook): Add check symbolp rep...
Po Lu [Fri, 26 Nov 2021 06:13:27 +0000 (06:13 +0000)]
Fix sign of pixel scroll events on Haiku
* src/haikuterm.c (haiku_read_socket): Fix sign of scroll
events.
Po Lu [Fri, 26 Nov 2021 05:33:39 +0000 (13:33 +0800)]
Make tab bar option visible in the menu bar on NS
* lisp/menu-bar.el (menu-bar-showhide-menu): Make
`showhide-tab-bar' visible on NS as well.
Po Lu [Fri, 26 Nov 2021 05:21:48 +0000 (13:21 +0800)]
Make pixel scrolling through images at the first line smoother
* lisp/better-pixel-scroll.el (better-pixel-scroll-scroll-up):
Try to reset vscroll if already vscrolled.
Po Lu [Fri, 26 Nov 2021 05:07:54 +0000 (13:07 +0800)]
Don't perform pixel scrolling when window is hscrolled
* lisp/better-pixel-scroll.el (better-pixel-scroll): Call
mwheel-scroll instead if window is hscrolled.
Po Lu [Fri, 26 Nov 2021 00:41:39 +0000 (08:41 +0800)]
Add `better-pixel-scroll-mode'
* etc/NEWS: Announce `better-pixel-scroll-mode'.
* lisp/better-pixel-scroll.el: New file.
Alan Third [Thu, 25 Nov 2021 20:58:37 +0000 (20:58 +0000)]
Fix selection for old GNUstep and GCC
* src/nsselect.m (ns_get_foreign_selection): Remove language features
not yet supported by GCC. Be more selective with which pasteboard
types we use.
* src/nsterm.h: Set up some more #defines for deprecated variables.
Eli Zaretskii [Thu, 25 Nov 2021 20:31:47 +0000 (22:31 +0200)]
; * src/emacs.c (main): Add commentary about command-line processing.
Eli Zaretskii [Thu, 25 Nov 2021 19:55:38 +0000 (21:55 +0200)]
; * src/font.c: Comment about synchronizing with cus-face.el.
Eli Zaretskii [Thu, 25 Nov 2021 19:29:21 +0000 (21:29 +0200)]
Update 'custom-face-attributes'
* lisp/cus-face.el (custom-face-attributes): Synchronize with
tables in font.c.
Andreas Schwab [Thu, 25 Nov 2021 19:05:21 +0000 (20:05 +0100)]
* src/emacs.c (usage_message): Fix name of --seccomp option.
Eli Zaretskii [Thu, 25 Nov 2021 18:54:07 +0000 (20:54 +0200)]
Fix handling of '--dump-file' command-line option
* lisp/startup.el (command-line-1): Handle "--dump-file" and
"--seccomp" if they are left on the command-line. (Bug#52106)
Eli Zaretskii [Thu, 25 Nov 2021 18:17:58 +0000 (20:17 +0200)]
; * etc/NEWS: Fix entry about reverting to old 'mode-line' face.
Stephen Gildea [Thu, 25 Nov 2021 18:12:30 +0000 (10:12 -0800)]
MH-E: support Mailutils "folders +/"
* lisp/mh-e/mh-utils.el (mh-sub-folders-parse):
Support Mailutils style of "folders +/" output.
* test/lisp/mh-e/mh-utils.el:
Test "folders +/" with GNU Mailutils 3.13.91 and later.
Robert Pluim [Thu, 25 Nov 2021 17:07:04 +0000 (18:07 +0100)]
Correct the :inherit property on some faces
Otherwise M-x customize-face will show them as lisp-expressions rather
than nice widgets.
* lisp/ansi-color.el (ansi-color-bold):
(ansi-color-italic):
(ansi-color-underline):
* lisp/faces.el (mode-line): Don't quote the face we're inheriting
from.
Robert Pluim [Thu, 25 Nov 2021 16:53:27 +0000 (17:53 +0100)]
* doc/misc/flymake.texi: Correct local variable mode specification
Robert Pluim [Thu, 25 Nov 2021 14:55:40 +0000 (15:55 +0100)]
Don't display redundant 'see' in info-mode
* lisp/info.el (Info-fontify-node): Don't show 'see' when displaying
the result of "(See @ref" or "also @ref", but leave "Also @ref" alone.
Michael Albinus [Thu, 25 Nov 2021 15:44:12 +0000 (16:44 +0100)]
; * admin/MAINTAINERS: Add test/infra/*
Michael Albinus [Thu, 25 Nov 2021 15:24:19 +0000 (16:24 +0100)]
Tag a test from process-tests.el as :unstable on emba.
* test/src/process-tests.el (process-tests/multiple-threads-waiting):
Tag it as :unstable on emba.
Robert Pluim [Thu, 25 Nov 2021 14:29:00 +0000 (15:29 +0100)]
Fix pdf generation with Texinfo 6.7
* doc/lispref/display.texi (Size of Displayed Text): Put @group inside
@example (bug#52102).
Lars Ingebrigtsen [Thu, 25 Nov 2021 14:14:22 +0000 (15:14 +0100)]
Add temporary mode-line-position change
* lisp/bindings.el (mode-line-position): Add interim solution to
make `min-width' work here; this should be fixed for real in the
display_line machinery somewhere.
Lars Ingebrigtsen [Thu, 25 Nov 2021 13:23:58 +0000 (14:23 +0100)]
Indent `closure' forms better
* lisp/emacs-lisp/lisp-mode.el (closure): Indent `closure' forms
better (bug#52063).
Eli Zaretskii [Thu, 25 Nov 2021 13:06:08 +0000 (15:06 +0200)]
Fix 'posn-at-point' near some overlays
* src/xdisp.c (pos_visible_p): Fix 'posn-at-point' for positions
just after a display property that draws a fringe bitmap.
(Bug#52097)
Po Lu [Thu, 25 Nov 2021 11:02:32 +0000 (19:02 +0800)]
Fix scroll wheel reporting on NS
* src/nsterm.m (- mouseDown): Clear scroll wheel
accumulators.
Lars Ingebrigtsen [Wed, 24 Nov 2021 21:01:21 +0000 (22:01 +0100)]
Define a face for shr text
* lisp/net/shr.el (shr-text): New face.
(shr-insert): Use it instead of hard-coding `variable-pitch'.
Eli Zaretskii [Thu, 25 Nov 2021 08:43:35 +0000 (10:43 +0200)]
; * CONTRIBUTE: No cleanups on release branches, even in docs.
Narendra Joshi [Thu, 25 Nov 2021 07:58:53 +0000 (09:58 +0200)]
* lisp/repeat.el (repeat-post-hook): Add check symbolp rep-map.
Copyright-paperwork-exempt: yes
Po Lu [Thu, 25 Nov 2021 05:20:56 +0000 (13:20 +0800)]
Set serial when filtering XI_KeyPress events
This fixes fcitx flicker for whatever reason.
* src/xterm.c (handle_one_xevent): Set serial when filtering
XI_KeyPress events.
Po Lu [Thu, 25 Nov 2021 03:01:19 +0000 (11:01 +0800)]
Add support for pixel wheel deltas on NS
* src/xterm.c (x_coalesce_scroll_events): Update doc string.
* src/nsterm.c (- mouseDown): Report pixel scroll deltas.
(x_coalesce_scroll_events): New variable
Stephen Gildea [Thu, 25 Nov 2021 02:38:24 +0000 (18:38 -0800)]
mh-utils-tests: 'mh-sub-folders-actual' coverage
* test/lisp/mh-e/mh-utils.el (mh-sub-folders-parse-no-folder)
(mh-sub-folders-parse-relative-folder, mh-sub-folders-parse-root-folder):
New tests.
* lisp/mh-e/mh-utils.el (mh-sub-folders-parse): New function,
refactored out of 'mh-sub-folders-actual' to create a testing seam.
Matt Kramer [Wed, 24 Nov 2021 19:41:52 +0000 (21:41 +0200)]
Fix tab-line cycling when using buffer groups (bug#52050)
* lisp/tab-line.el (tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab):
Remove tabs that aren't associated with a buffer, such as the `group-tab' that
exists when `tab-line-tabs-function' is `tab-line-tabs-buffer-groups'.
Copyright-paperwork-exempt: yes
Eli Zaretskii [Wed, 24 Nov 2021 19:36:30 +0000 (21:36 +0200)]
; Merge from origin/emacs-28
The following commit was skipped:
0854453 Revert "Use @pxref when necessary"
Eli Zaretskii [Wed, 24 Nov 2021 19:36:28 +0000 (21:36 +0200)]
Merge from origin/emacs-28
b4f47d2 Use @pxref when necessary
Eli Zaretskii [Wed, 24 Nov 2021 19:36:27 +0000 (21:36 +0200)]
; Merge from origin/emacs-28
The following commit was skipped:
764ffa7 Backport Tramp fixes, don't merge
Michael Albinus [Wed, 24 Nov 2021 19:27:34 +0000 (20:27 +0100)]
Some optimizations for emba jobs
* test/infra/gitlab-ci.yml (.test-template): Remove.
(test-all-inotify, test-filenotify-gio, test-gnustep)
(test-native-comp-speed0):
* test/infra/Makefile.in (subdir_template): Remove .test-template
from extends. Add or adapt needs and artifacts.
* test/infra/test-jobs.yml: Regenerate.
Eli Zaretskii [Wed, 24 Nov 2021 19:27:15 +0000 (21:27 +0200)]
Revert "Use @pxref when necessary"
This reverts commit
b4f47d2ee2203a9f22bebeb3d09e0fb3fce2f65e .
Cleanups should not be done on the release branch: that's
unnecessary risk.
Lars Ingebrigtsen [Wed, 24 Nov 2021 19:10:14 +0000 (20:10 +0100)]
Remove APPEND argument from add-display-text-property
* doc/lispref/display.texi (Display Property): Update doc.
* lisp/emacs-lisp/subr-x.el (add-display-text-property): Remove
the append argument -- it's nonsensical.
Lars Ingebrigtsen [Wed, 24 Nov 2021 19:04:25 +0000 (20:04 +0100)]
Fix min-width problem with "overlapping" regions
* src/xdisp.c (handle_display_prop): Fix problem with overlapping
regions.