GNU bug report logs -
#44375
Always give a message when flashing the screen
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Sun, 1 Nov 2020 19:34:01 UTC
Severity: wishlist
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44375 in the body.
You can then email your comments to 44375 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44375
; Package
emacs
.
(Sun, 01 Nov 2020 19:34:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 01 Nov 2020 19:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Always give a message when flashing the screen. See e.g., bug 44340
(Archived rather fast.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44375
; Package
emacs
.
(Sun, 01 Nov 2020 21:27:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 44375 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> Always give a message when flashing the screen. See e.g., bug 44340
> (Archived rather fast.)
I have no idea what any of the above means.
What is the bug?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44375
; Package
emacs
.
(Sun, 01 Nov 2020 21:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 44375 <at> debbugs.gnu.org (full text, mbox):
In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44340 one can see how to
produce a [Show] button.
If the user just clicks it, the screen flashes.
Instead there should be a message printed at the bottom of the screen.
"Don't just click me. I need to be specially clicked: with the middle
button to work."
The above is a case of where flashing should be replaced by a message.
I think most of the cases where emacs just flashes like this, leaving
the user puzzled, have been found already. But there still may be others.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44375
; Package
emacs
.
(Mon, 02 Nov 2020 16:03:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 44375 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44340 one can see how to
> produce a [Show] button.
>
> If the user just clicks it, the screen flashes.
I'm now sure what's this is about. Clicking any links (with mouse-1) in
the *Help* buffer here dings my Emacs, and this is the backtrace I'm
getting if I instrument `ding':
Debugger entered--entering a function:
* ding()
pop-mark()
#f(compiled-function () #<bytecode 0xb41ff211354d205>)()
#f(compiled-function () #<bytecode 0x1b178ae04d6865b2>)()
clear-transient-map()
I don't have a recipe to reproduce it, though -- In this Emacs I can do
`M-x describe-face RET default RET' and then mouse-1 on the "faces.el"
button, and Emacs will ding me before taking me to the faces.el file.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44375
; Package
emacs
.
(Mon, 02 Nov 2020 16:25:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 44375 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> I don't have a recipe to reproduce it, though -- In this Emacs I can do
> `M-x describe-face RET default RET' and then mouse-1 on the "faces.el"
> button, and Emacs will ding me before taking me to the faces.el file.
I still don't have a recipe -- it seems to happen after having done an
unspecified number of actions in the *Help* buffer. The thing that's
dinging is this, though:
(defun mouse-drag-track (start-event)
[...]
t (lambda ()
(setq track-mouse old-track-mouse)
(setq auto-hscroll-mode auto-hscroll-mode-saved)
(deactivate-mark)
(pop-mark)))))
When the pop-mark is called (mark t) is non-nil. pop-mark is just this:
(defun pop-mark ()
"Pop off mark ring into the buffer's actual mark.
Does not set point. Does nothing if mark ring is empty."
(when mark-ring
(setq mark-ring (nconc mark-ring (list (copy-marker (mark-marker)))))
(set-marker (mark-marker) (car mark-ring))
(set-marker (car mark-ring) nil)
(unless (mark t) (ding))
(pop mark-ring))
(deactivate-mark))
(mark t) is nil here, so it dings.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44375
; Package
emacs
.
(Mon, 02 Nov 2020 16:27:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 44375 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> (defun pop-mark ()
> "Pop off mark ring into the buffer's actual mark.
> Does not set point. Does nothing if mark ring is empty."
> (when mark-ring
> (setq mark-ring (nconc mark-ring (list (copy-marker (mark-marker)))))
> (set-marker (mark-marker) (car mark-ring))
And this is the bit that unsets the mark -- the first entry in mark-ring
is a mark that points to no buffer.
Is it obvious to anybody what's going wrong here? :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44375
; Package
emacs
.
(Wed, 08 Sep 2021 10:23:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 44375 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Is it obvious to anybody what's going wrong here? :-)
The `ding' in `pop-mark' has been there since the function was first
written, but there doesn't really seem to be a reason to ding at the
user in this case, so I've removed the ding.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
44375 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 08 Sep 2021 10:23:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 06 Oct 2021 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.