all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#60048: 30.0.50; Freeze when next-line on details in Completions list
@ 2022-12-13 20:43 Gabriel
  2022-12-14  7:37 ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel @ 2022-12-13 20:43 UTC (permalink / raw)
  To: 60048

Description:

Emacs freeze when the command `previous-line-completion' or
`next-line-completion' are executed in Completions list and the cursor
is positioned at some details (the prefix and suffix annotations).  The
steps below `describe-face', but I could reproduce with other details in
Completions list, for example, using `completions-detailed` set to t and
`describe-function'.

Steps:

1) emacs -Q (master "85108d541217f0333860c4f86c3b16b4349f85a4")

2) M-x describe-face

3) Switch to Completions list: M-v (`switch-to-completions')

4) Scroll up: C-v (`scroll-up-command')

5) Go to next completion line: <down> (`next-line-completion')

Result: Emacs freeze (user have to C-g to unfreeze).

The problem is caused by the cursor position, the freeze only happens
when cursor in on SAMPLE.  Can also be reproduced with M-b, which will
move the cursor from the completion line to SAMPLE.  The freeze does not
happen with <left> or <right> commands (`previous-completion' and
`next-completion').

---
Gabriel





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60048: 30.0.50; Freeze when next-line on details in Completions list
  2022-12-13 20:43 bug#60048: 30.0.50; Freeze when next-line on details in Completions list Gabriel
@ 2022-12-14  7:37 ` Juri Linkov
  2022-12-14 20:26   ` Gabriel
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2022-12-14  7:37 UTC (permalink / raw)
  To: Gabriel; +Cc: 60048

> Emacs freeze when the command `previous-line-completion' or
> `next-line-completion' are executed in Completions list and the cursor
> is positioned at some details (the prefix and suffix annotations).

Thanks for the bug report.  When the cursor is on a prefix or a suffix,
where in your opinion typing <down> should go?  Do you expect that
it should search for the completion candidate from the left
or from the right side after moving to the next line if it
can't see the completion candidate already near point?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60048: 30.0.50; Freeze when next-line on details in Completions list
  2022-12-14  7:37 ` Juri Linkov
@ 2022-12-14 20:26   ` Gabriel
  2022-12-15 19:28     ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel @ 2022-12-14 20:26 UTC (permalink / raw)
  To: 60048

Juri Linkov <juri@linkov.net> writes:

>> Emacs freeze when the command `previous-line-completion' or
>> `next-line-completion' are executed in Completions list and the cursor
>> is positioned at some details (the prefix and suffix annotations).
>
> Thanks for the bug report.  When the cursor is on a prefix or a suffix,
> where in your opinion typing <down> should go?  Do you expect that
> it should search for the completion candidate from the left
> or from the right side after moving to the next line if it
> can't see the completion candidate already near point?

Hi Juri,

Regarding your question, if I understood it correctly, I expect <down>
to have the exactly same behavior regardless of the cursor position,
i.e., to move to next completion line, no matter if cursor is on a
prefix, a suffix or on a completion candidate.  The same is true for
<up>.  The <left> and <right> seems to be working as expected.

---
Gabriel





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60048: 30.0.50; Freeze when next-line on details in Completions list
  2022-12-14 20:26   ` Gabriel
@ 2022-12-15 19:28     ` Juri Linkov
  0 siblings, 0 replies; 4+ messages in thread
From: Juri Linkov @ 2022-12-15 19:28 UTC (permalink / raw)
  To: Gabriel; +Cc: 60048

close 60048 29.0.60
thanks

>>> Emacs freeze when the command `previous-line-completion' or
>>> `next-line-completion' are executed in Completions list and the cursor
>>> is positioned at some details (the prefix and suffix annotations).
>>
>> Thanks for the bug report.  When the cursor is on a prefix or a suffix,
>> where in your opinion typing <down> should go?  Do you expect that
>> it should search for the completion candidate from the left
>> or from the right side after moving to the next line if it
>> can't see the completion candidate already near point?
>
> Regarding your question, if I understood it correctly, I expect <down>
> to have the exactly same behavior regardless of the cursor position,
> i.e., to move to next completion line, no matter if cursor is on a
> prefix, a suffix or on a completion candidate.  The same is true for
> <up>.  The <left> and <right> seems to be working as expected.

Thanks, now fixed by removing commands added recently before feature freeze.
They could be re-added later in master.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-15 19:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 20:43 bug#60048: 30.0.50; Freeze when next-line on details in Completions list Gabriel
2022-12-14  7:37 ` Juri Linkov
2022-12-14 20:26   ` Gabriel
2022-12-15 19:28     ` Juri Linkov

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.