bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47012: xref copies keymap properties to minibuffer


From: Dmitry Gutov
Subject: bug#47012: xref copies keymap properties to minibuffer
Date: Tue, 9 Mar 2021 04:08:59 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

Hi!

On 08.03.2021 22:03, Juri Linkov wrote:
0. emacs -Q
1. C-x p g expose_frame RET
2. put point e.g. on "tab_bar_window"
3. C-x p g M-n
4. click mouse on the default value

Instead of moving point to the clicked position, it visits the xref hit.
This is because the copied default value is not stripped from the
text property 'keymap'.

I noticed this problem after adding RET binding to xref--button-map,
so typing RET on the default value doesn't accept it for new search,
but uses its local keymap to visit old reference.

Thanks for the report, should now be fixed in master, commit 8538108132836.

FWIW, it's was project.el's problem, not xref's.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]