all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 50096@debbugs.gnu.org
Subject: bug#50096: args-out-of-range in redisplay_internal
Date: Thu, 19 Aug 2021 10:17:22 +0300	[thread overview]
Message-ID: <87h7flx5rx.fsf@mail.linkov.net> (raw)
In-Reply-To: <83v94239un.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Aug 2021 21:07:28 +0300")

>> > It's 100% reproducible for me, but I'm not sure how easy would be
>> > to create a test case for "emacs -Q".
>> 
>> I'd appreciate if you could try.
>
> Or at least show how you arrange for auto-hscroll in the mini-window.

Fortunately, finally I found the shortest test case 100% reproducible
in 'emacs -Q'.  The line '(set-buffer (get-buffer-create "*test*"))'
is not necessary, it just causes a slightly different error.
Without 'set-buffer', the error is: (args-out-of-range 1737)
With 'set-buffer', the error is: (args-out-of-range 1737 1737)
Just eval in 'emacs -Q':

(let ((message-truncate-lines t))
  (set-buffer (get-buffer-create "*test*"))
  (message "%s" "Running in foreground: git --no-pager commit -m Redesign tab-bar event processing (bug#41342, bug#41343)\12\12Instead of emitting menu-item keys like [tab-1],\12emit normal mouse events like [mouse-1] and [mouse-2]\12for all mouse clicks issued on the tab-bar.\12\12* lisp/mouse.el (mouse-posn-property): Handle 'tab-bar' posn-area.\12\12* lisp/tab-bar.el (tab--key-to-number): New internal function.\12(tab-bar-handle-mouse): Use tab key to select/close tab.\12(tab-bar-mouse-select-tab, tab-bar-mouse-close-tab)\12(tab-bar-mouse-context-menu): New commands.\12(tab-bar-map): Bind [down-mouse-1] to tab-bar-mouse-select-tab,\12[down-mouse-2] to tab-bar-mouse-close-tab,\12[down-mouse-3] to tab-bar-mouse-context-menu.\12(tab-bar-keymap-cache): Remove.\12(tab-bar-make-keymap): Don't use cache.\12(tab-bar--format-tab): Remove default bindings from menu items.\12(tab-bar-make-keymap-1): Prepend tab-bar-map.\12\12* src/keyboard.c (make_lispy_event): Append event->arg to position\12for Qtab_bar.\12\12* src/term.c (handle_one_term_event): Simplify to set event arg.\12\12* src/w32inevt.c (do_mouse_event): Set emacs_ev->arg to the value\12returned from tty_handle_tab_bar_click.\12\12* src/w32term.c (w32_handle_tab_bar_click): Return value from\12handle_tab_bar_click.\12(w32_read_socket): Set tab_bar_key to value returned from\12w32_handle_tab_bar_click, and set event arg from it.\12\12* src/xdisp.c (handle_tab_bar_click): Instead of emitting event,\12return a list with Qtab_bar and tab caption with text properties\12that contain Qmenu_item with key and binding.\12(tty_handle_tab_bar_click): Simplify to return a list of Qtab_bar,\12key and close_p, instead of emitting event.\12\12* src/xterm.c (handle_one_xevent): Set tab_bar_key to value\12returned from handle_tab_bar_click, and set event arg from it.\12 --only -- :(literal)/tmp/1/emacs/etc/NEWS :(literal)/tmp/1/emacs/lisp/mouse.el :(literal)/tmp/1/emacs/lisp/tab-bar.el :(literal)/tmp/1/emacs/src/dispextern.h :(literal)/tmp/1/emacs/src/keyboard.c :(literal)/tmp/1/emacs/src/term.c :(literal)/tmp/1/emacs/src/termchar.h :(literal)/tmp/1/emacs/src/w32inevt.c :(literal)/tmp/1/emacs/src/w32term.c :(literal)/tmp/1/emacs/src/xdisp.c :(literal)/tmp/1/emacs/src/xterm.c"))





  reply	other threads:[~2021-08-19  7:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 16:06 bug#50096: args-out-of-range in redisplay_internal Juri Linkov
2021-08-17 17:18 ` Eli Zaretskii
2021-08-17 17:30   ` Juri Linkov
2021-08-17 17:51     ` Juri Linkov
2021-08-17 18:16       ` Eli Zaretskii
2021-08-17 18:24         ` Juri Linkov
2021-08-17 18:40           ` Eli Zaretskii
2021-08-17 18:51             ` Juri Linkov
2021-08-17 19:00               ` Eli Zaretskii
2021-08-18  7:42                 ` Juri Linkov
2021-08-18 12:18                   ` Eli Zaretskii
2021-08-18 16:32                     ` Juri Linkov
2021-08-18 17:01                       ` Eli Zaretskii
2021-08-18 18:07                         ` Eli Zaretskii
2021-08-19  7:17                           ` Juri Linkov [this message]
2021-08-19  8:12                             ` Eli Zaretskii
2021-08-19 12:39                               ` Eli Zaretskii
2021-08-20  7:09                                 ` Juri Linkov
2021-08-20  7:49                                   ` Eli Zaretskii
2021-08-19  7:32                   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7flx5rx.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=50096@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.