[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51173: 28.0.60; gnus-article-describe-key doesn't work
From: |
Juri Linkov |
Subject: |
bug#51173: 28.0.60; gnus-article-describe-key doesn't work |
Date: |
Thu, 14 Oct 2021 19:16:40 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> + (defn (if (consp event)
>> + (save-excursion
>> + (mouse-set-point event) (key-binding key t))
>> + (key-binding key t))))
>> ;; Handle the case where we faked an entry in "Select and Paste" menu.
>> (when (and (eq defn nil)
>> (stringp (aref key (1- (length key))))
>
> But this will still use "the wrong buffer" for mouse clicks, no?
It seems all mouse clicks expect the buffer where they were clicked
to be displayed in a window. I can't imagine how a mouse click
could originate from a hidden buffer.
> BTW, maybe a cleaner fix would be as follows:
> - Add a `buffer` argument to `describe-key(-briefly)`.
> - Pass that argument from `gnus-article-describe-key`.
> And to get the behavior that Juri just pushed that `buffer` argument
> would default to (if (consp event) (window-buffer (posn-window
> (event-start event))) (current-buffere)).
I don't know. All reported cases work now after Eli fixed
mouse-minibuffer-check not to raise an error when called from
mouse-set-point, so now it's safe to use it in help--analyze-key.
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Katsumi Yamaoka, 2021/10/12
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Lars Ingebrigtsen, 2021/10/13
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Juri Linkov, 2021/10/15
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Stefan Monnier, 2021/10/15
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Juri Linkov, 2021/10/16
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Stefan Monnier, 2021/10/16
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Juri Linkov, 2021/10/18
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Juri Linkov, 2021/10/20
- bug#51173: 28.0.60; gnus-article-describe-key doesn't work, Stefan Monnier, 2021/10/21