GNU bug report logs - #4394
23.1; flashing when overlapping face and mouse-face properties

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 10 Sep 2009 23:45:03 UTC

Severity: minor

Tags: moreinfo

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 4394 in the body.
You can then email your comments to 4394 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4394; Package emacs. (Thu, 10 Sep 2009 23:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 10 Sep 2009 23:45:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; flashing when overlapping face and mouse-face properties
Date: Thu, 10 Sep 2009 16:38:24 -0700
emacs -Q
 
In *scratch*, type this:
(accessible-keymaps (current-global-map))
 
Put point somewhere after the sexp and hit `C-u C-x C-e'.
 
The result sexp inserted is large, and it has a mouse-face property
over it all. Double-click a left paren somewhere inside the sexp, to
select a sublist.
 
The display flashes spasmodically. Very annoying. And you can hardly
see the region highlight at all.
 

In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 





Severity set to 'minor' from 'normal' Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Thu, 22 Oct 2009 09:40:20 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#4394; Package emacs. (Tue, 12 Jul 2011 22:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 4394 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 4394 <at> debbugs.gnu.org
Subject: Re: 23.1; flashing when overlapping face and mouse-face properties
Date: Wed, 13 Jul 2011 00:48:08 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> In *scratch*, type this:
> (accessible-keymaps (current-global-map))
>
> Put point somewhere after the sexp and hit `C-u C-x C-e'.
>
> The result sexp inserted is large, and it has a mouse-face property
> over it all. Double-click a left paren somewhere inside the sexp, to
> select a sublist.
>
> The display flashes spasmodically. Very annoying. And you can hardly
> see the region highlight at all.

Yes, that's annoying.  Perhaps `C-u C-x C-e' shouldn't put the
mouse-face property on the entire list, but only on the bits it's
interesting to actually click?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4394; Package emacs. (Sun, 18 Jul 2021 19:08:01 GMT) Full text and rfc822 format available.

Message #13 received at 4394 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 4394 <at> debbugs.gnu.org
Subject: Re: bug#4394: 23.1; flashing when overlapping face and mouse-face
 properties
Date: Sun, 18 Jul 2021 21:06:57 +0200
[Message part 1 (text/plain, inline)]
"Drew Adams" <drew.adams <at> oracle.com> writes:

> In *scratch*, type this:
> (accessible-keymaps (current-global-map))
>
> Put point somewhere after the sexp and hit `C-u C-x C-e'.
>
> The result sexp inserted is large, and it has a mouse-face property
> over it all. Double-click a left paren somewhere inside the sexp, to
> select a sublist.
>
> The display flashes spasmodically. Very annoying. And you can hardly
> see the region highlight at all.

A more manageable example is:

(number-sequence 1 20)
=> (1 2 3 4 5 6 7 8 9 10 11 12 ...)

Which is displayed this way:

[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
The point of the mouse face is to tell the user that they can mouse-2 on
the region to expand the abbreviated bits.  (This is done in
`last-sexp-setup-props'.)

However, when the sexp is large, the mouse face is indeed very annoying.
Would it make sense to shorten it somehow?  For instance, only display
it over the "..." to indicate that it's the abbreviation that the mouse
face is trying to draw attention to?  Or...  something else?

Like...  er...  adding underlines or something to the dots and not using
a mouse face at all?  Or underlines and a mouse face, but just for the
dots...

Anybody got an opinion?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 18 Jul 2021 19:08:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4394; Package emacs. (Sun, 18 Jul 2021 19:12:02 GMT) Full text and rfc822 format available.

Message #18 received at 4394 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 4394 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, drew.adams <at> oracle.com
Subject: Re: bug#4394: 23.1;
 flashing when overlapping face and mouse-face properties
Date: Sun, 18 Jul 2021 22:11:29 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Sun, 18 Jul 2021 21:06:57 +0200
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 4394 <at> debbugs.gnu.org
> 
> The point of the mouse face is to tell the user that they can mouse-2 on
> the region to expand the abbreviated bits.  (This is done in
> `last-sexp-setup-props'.)
> 
> However, when the sexp is large, the mouse face is indeed very annoying.
> Would it make sense to shorten it somehow?  For instance, only display
> it over the "..." to indicate that it's the abbreviation that the mouse
> face is trying to draw attention to?  Or...  something else?
> 
> Like...  er...  adding underlines or something to the dots and not using
> a mouse face at all?  Or underlines and a mouse face, but just for the
> dots...
> 
> Anybody got an opinion?

My opinion is that we should leave this alone.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4394; Package emacs. (Sun, 18 Jul 2021 19:30:02 GMT) Full text and rfc822 format available.

Message #21 received at 4394 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: larsi <at> gnus.org
Cc: monnier <at> iro.umontreal.ca, 4394 <at> debbugs.gnu.org
Subject: Re: bug#4394: 23.1;
 flashing when overlapping face and mouse-face properties
Date: Sun, 18 Jul 2021 22:29:28 +0300
> Date: Sun, 18 Jul 2021 22:11:29 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: monnier <at> iro.umontreal.ca, 4394 <at> debbugs.gnu.org
> 
> > From: Lars Ingebrigtsen <larsi <at> gnus.org>
> > Date: Sun, 18 Jul 2021 21:06:57 +0200
> > Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 4394 <at> debbugs.gnu.org
> > 
> > The point of the mouse face is to tell the user that they can mouse-2 on
> > the region to expand the abbreviated bits.  (This is done in
> > `last-sexp-setup-props'.)
> > 
> > However, when the sexp is large, the mouse face is indeed very annoying.
> > Would it make sense to shorten it somehow?  For instance, only display
> > it over the "..." to indicate that it's the abbreviation that the mouse
> > face is trying to draw attention to?  Or...  something else?
> > 
> > Like...  er...  adding underlines or something to the dots and not using
> > a mouse face at all?  Or underlines and a mouse face, but just for the
> > dots...
> > 
> > Anybody got an opinion?
> 
> My opinion is that we should leave this alone.

Btw, here the highlight stops at the right parentheses, it doesn't go
to the right edge of the window.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4394; Package emacs. (Mon, 16 Aug 2021 12:14:01 GMT) Full text and rfc822 format available.

Message #24 received at 4394 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: drew.adams <at> oracle.com, monnier <at> iro.umontreal.ca, 4394 <at> debbugs.gnu.org
Subject: Re: bug#4394: 23.1; flashing when overlapping face and mouse-face
 properties
Date: Mon, 16 Aug 2021 14:13:39 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Anybody got an opinion?
>
> My opinion is that we should leave this alone.

OK; closing this bug report, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 4394 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 16 Aug 2021 12:14: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. (Tue, 14 Sep 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.