GNU bug report logs - #22746
25.0.90; OS X: Visual bell hard to see

Previous Next

Package: emacs;

Reported by: Adrian Robert <adrian.b.robert <at> gmail.com>

Date: Sat, 20 Feb 2016 08:51:02 UTC

Severity: wishlist

Merged with 22951, 24512

Found in versions 25.0.90, 25.1, 25.1.50

To reply to this bug, email your comments to 22746 AT debbugs.gnu.org.

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-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Sat, 20 Feb 2016 08:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 20 Feb 2016 08:51:02 GMT) Full text and rfc822 format available.

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

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.90; OS X: Visual bell hard to see
Date: Sat, 20 Feb 2016 10:50:10 +0200

The visual bell on OS X used to be a large square popped up in the middle of
the screen, which was easy to see.  Now it is a very small warning icon, and I
often miss it.  Would it be possible to make the warning icon the same size as
the square was, or if the icon can only be rendered at that size, provide an
option for the old square?






In GNU Emacs 25.0.90.2 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1077))
of 2016-02-01 built on vishuddha.local
Repository revision: ee8b46699523cc1dea7b3d03e3cccff3d62cd847
Windowing system distributor 'Apple', version 10.3.1265
Configured using:
'configure --with-ns --without-imagemagick CC=gcc CFLAGS=-Os'

Configured features:
JPEG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  auto-image-file-mode: t
  which-function-mode: t
  global-hl-line-mode: t
  show-paren-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  ns-extended-platform-support-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent messages:
Loading /usr/local/share/emacs/site-lisp/ns-platform-support.el (source)...done
Directory name in buffer names (uniquify) disabled globally
Loading /Users/arobert/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading mic-paren...done
Loading gnus...done
Loading /Users/arobert/.emacs.d/.session...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit

Load-path shadows:
/usr/local/share/emacs/site-lisp/format-spec hides /Applications/Docked/Emacs.app/Contents/Resources/lisp/format-spec
/usr/local/share/emacs/site-lisp/uudecode hides /Applications/Docked/Emacs.app/Contents/Resources/lisp/mail/uudecode

Features:
(shadow sort mail-extr emacsbug message dired rfc822 mml mml-sec epg mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums leuven-theme gnus gnus-ems nnheader
mail-utils cus-start cus-load image-file which-func imenu hl-line mic-paren
paren tramp tramp-compat auth-source cl-seq eieio eieio-core gnus-util mm-util
help-fns mail-prsvr password-cache tramp-loaddefs cl-macs trampver shell
pcomplete format-spec decompile server session coffee-mode derived cl comint
ansi-color ring ns-mark-nav ecb-autoloads edmacro kmacro advice recentf
tree-widget wid-edit ido seq byte-opt gv bytecomp byte-compile cconv cl-extra
help-mode cl-loaddefs pcase cl-lib ns-platform-support easy-mmode finder-inf
package easymenu epg-config time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize
term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow
timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable backquote
kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 267511 16130)
(symbols 48 26674 0)
(miscs 40 72 165)
(strings 32 38313 7133)
(string-bytes 1 1069443)
(vectors 16 39756)
(vector-slots 8 711629 7901)
(floats 8 276 6)
(intervals 56 213 0)
(buffers 976 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Sat, 20 Feb 2016 12:59:02 GMT) Full text and rfc822 format available.

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

From: Anders Lindgren <andlind <at> gmail.com>
To: adrian.b.robert <at> gmail.com, 22746 <at> debbugs.gnu.org
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Sat, 20 Feb 2016 13:58:48 +0100
[Message part 1 (text/plain, inline)]
Hi!

> The visual bell on OS X used to be a large square popped up in the middle
of
> the screen, which was easy to see.  Now it is a very small warning icon,
and I
> often miss it.  Would it be possible to make the warning icon the same
size as
> the square was, or if the icon can only be rendered at that size, provide
an
> option for the old square?

The old code didn't work on El Capitan -- there were some visual artifacts
left behind afterwards.

Since I didn't have access to a machine running El Capitan, I replaced the
code with something that work on all OS versions.

It might be possible to increase the size -- however, the symbol is a
built-in image so there is a risk that an enlarged version will be
pixelated.

I'm open to other solutions to this. Unfortunately, I don't have the time
to work on it myself anymore.

    -- Anders
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Sat, 20 Feb 2016 18:25:04 GMT) Full text and rfc822 format available.

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

From: Xu Xin <railwaycat <at> gmail.com>
To: Anders Lindgren <andlind <at> gmail.com>
Cc: adrian.b.robert <at> gmail.com, 22746 <at> debbugs.gnu.org
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Sat, 20 Feb 2016 10:18:44 -0500
On Sat, Feb 20, 2016 at 7:58 AM, Anders Lindgren <andlind <at> gmail.com> wrote:
> Hi!
>
>> The visual bell on OS X used to be a large square popped up in the middle
>> of
>> the screen, which was easy to see.  Now it is a very small warning icon,
>> and I
>> often miss it.  Would it be possible to make the warning icon the same
>> size as
>> the square was, or if the icon can only be rendered at that size, provide
>> an
>> option for the old square?
>
> The old code didn't work on El Capitan -- there were some visual artifacts
> left behind afterwards.
>
> Since I didn't have access to a machine running El Capitan, I replaced the
> code with something that work on all OS versions.
>
> It might be possible to increase the size -- however, the symbol is a
> built-in image so there is a risk that an enlarged version will be
> pixelated.
>
> I'm open to other solutions to this. Unfortunately, I don't have the time to
> work on it myself anymore.
>
>     -- Anders
>

Emacs mac port has the option to flash the top line and mini buffer as
visible bell, can we introduce this feature to Nextstep port?

- Xin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Tue, 08 Mar 2016 23:20:02 GMT) Full text and rfc822 format available.

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

From: John Wiegley <jwiegley <at> gmail.com>
To: Xu Xin <railwaycat <at> gmail.com>
Cc: adrian.b.robert <at> gmail.com, 22746 <at> debbugs.gnu.org,
 Anders Lindgren <andlind <at> gmail.com>
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Tue, 08 Mar 2016 15:17:52 -0800
>>>>> Xu Xin <railwaycat <at> gmail.com> writes:

> Emacs mac port has the option to flash the top line and mini buffer as
> visible bell, can we introduce this feature to Nextstep port?

I'd like this too, although now that the visual bell icon is bigger, it's been
working for me.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Sun, 08 May 2016 09:16:02 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: John Wiegley <jwiegley <at> gmail.com>
Cc: Xu Xin <railwaycat <at> gmail.com>, adrian.b.robert <at> gmail.com,
 John Wiegley <johnw <at> gnu.org>, Anders Lindgren <andlind <at> gmail.com>,
 22746 <at> debbugs.gnu.org
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Sun, 08 May 2016 10:15:08 +0100
John Wiegley <jwiegley <at> gmail.com> writes:

>>>>>> Xu Xin <railwaycat <at> gmail.com> writes:
>
>> Emacs mac port has the option to flash the top line and mini buffer as
>> visible bell, can we introduce this feature to Nextstep port?
>
> I'd like this too, although now that the visual bell icon is bigger, it's been
> working for me.

What would be the ideal visible bell? The top and bottom lines flashing
or flashing the entire window, or do people like the warning icon?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Thu, 12 May 2016 18:46:02 GMT) Full text and rfc822 format available.

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

From: John Wiegley <jwiegley <at> gmail.com>
To: Alan Third <alan <at> idiocy.org>
Cc: Xu Xin <railwaycat <at> gmail.com>, adrian.b.robert <at> gmail.com,
 Anders Lindgren <andlind <at> gmail.com>, 22746 <at> debbugs.gnu.org
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Wed, 11 May 2016 11:20:03 -0700
>>>>> Alan Third <alan <at> idiocy.org> writes:

> What would be the ideal visible bell? The top and bottom lines flashing or
> flashing the entire window, or do people like the warning icon?

Personally I'd prefer top and bottom lines. Every better: give me a defcustom
to decide between icon, top/bottom, whole screen, or some alerting function
(which in future would allow for connecting with alert.el).

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Thu, 12 May 2016 19:18:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: John Wiegley <jwiegley <at> gmail.com>, Alan Third <alan <at> idiocy.org>
Cc: Xu Xin <railwaycat <at> gmail.com>, adrian.b.robert <at> gmail.com,
 Anders Lindgren <andlind <at> gmail.com>, 22746 <at> debbugs.gnu.org
Subject: RE: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Thu, 12 May 2016 12:17:15 -0700 (PDT)
> > What would be the ideal visible bell? The top and bottom lines flashing or
> > flashing the entire window, or do people like the warning icon?
> 
> Personally I'd prefer top and bottom lines. Every better: give me a
> defcustom to decide between icon, top/bottom, whole screen, or some
> alerting function (which in future would allow for connecting with alert.el).

+1.  And not just for OS X.

It could also incorporate what echo-bell.el does, or similar,
as one of the option values.

http://www.emacswiki.org/emacs/download/echo-bell.el




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Fri, 13 May 2016 15:43:02 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Xu Xin <railwaycat <at> gmail.com>, John Wiegley <jwiegley <at> gmail.com>,
 adrian.b.robert <at> gmail.com, Anders Lindgren <andlind <at> gmail.com>,
 22746 <at> debbugs.gnu.org
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Fri, 13 May 2016 16:41:54 +0100
On Thu, May 12, 2016 at 12:17:15PM -0700, Drew Adams wrote:
> > > What would be the ideal visible bell? The top and bottom lines flashing or
> > > flashing the entire window, or do people like the warning icon?
> > 
> > Personally I'd prefer top and bottom lines. Every better: give me a
> > defcustom to decide between icon, top/bottom, whole screen, or some
> > alerting function (which in future would allow for connecting with alert.el).
> 
> +1.  And not just for OS X.
> 
> It could also incorporate what echo-bell.el does, or similar,
> as one of the option values.

Am I right in thinking that this would just require exposing the bell
functions to Emacs lisp, and then providing a simple way to set
ring-bell-function? Or have I misunderstood?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Fri, 13 May 2016 15:46:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Alan Third <alan <at> idiocy.org>
Cc: Xu Xin <railwaycat <at> gmail.com>, John Wiegley <jwiegley <at> gmail.com>,
 adrian.b.robert <at> gmail.com, Anders Lindgren <andlind <at> gmail.com>,
 22746 <at> debbugs.gnu.org
Subject: RE: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Fri, 13 May 2016 08:45:43 -0700 (PDT)
> > > > What would be the ideal visible bell? The top and bottom lines
> flashing or
> > > > flashing the entire window, or do people like the warning icon?
> > >
> > > Personally I'd prefer top and bottom lines. Every better: give me a
> > > defcustom to decide between icon, top/bottom, whole screen, or some
> > > alerting function (which in future would allow for connecting with
> alert.el).
> >
> > +1.  And not just for OS X.
> >
> > It could also incorporate what echo-bell.el does, or similar,
> > as one of the option values.
> 
> Am I right in thinking that this would just require exposing the bell
> functions to Emacs lisp, and then providing a simple way to set
> ring-bell-function? Or have I misunderstood?

Are you asking me?  I only suggested perhaps incorporating something
like what echo-bell does, as one of the possible visual-bell behaviors
for the defcustom.

There already is an easy way to set `ring-bell-function', so I'm really
not sure what you are asking.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Fri, 13 May 2016 16:04:01 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Xu Xin <railwaycat <at> gmail.com>, John Wiegley <jwiegley <at> gmail.com>,
 adrian.b.robert <at> gmail.com, Anders Lindgren <andlind <at> gmail.com>,
 22746 <at> debbugs.gnu.org
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Fri, 13 May 2016 17:03:11 +0100
On Fri, May 13, 2016 at 08:45:43AM -0700, Drew Adams wrote:
> > > > > What would be the ideal visible bell? The top and bottom lines
> > flashing or
> > > > > flashing the entire window, or do people like the warning icon?
> > > >
> > > > Personally I'd prefer top and bottom lines. Every better: give me a
> > > > defcustom to decide between icon, top/bottom, whole screen, or some
> > > > alerting function (which in future would allow for connecting with
> > alert.el).
> > >
> > > +1.  And not just for OS X.
> > >
> > > It could also incorporate what echo-bell.el does, or similar,
> > > as one of the option values.
> > 
> > Am I right in thinking that this would just require exposing the bell
> > functions to Emacs lisp, and then providing a simple way to set
> > ring-bell-function? Or have I misunderstood?
> 
> Are you asking me?

Sorry, I probably should have responded directly to John.

> There already is an easy way to set `ring-bell-function', so I'm really
> not sure what you are asking.

This is why I'm not sure why John's asking for a way to tie in an
alerting function. It's already there.
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Fri, 13 May 2016 16:40:02 GMT) Full text and rfc822 format available.

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

From: John Wiegley <jwiegley <at> gmail.com>
To: Alan Third <alan <at> idiocy.org>
Cc: Xu Xin <railwaycat <at> gmail.com>, Anders Lindgren <andlind <at> gmail.com>,
 adrian.b.robert <at> gmail.com, 22746 <at> debbugs.gnu.org,
 Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Fri, 13 May 2016 09:39:02 -0700
>>>>> Alan Third <alan <at> idiocy.org> writes:

>> There already is an easy way to set `ring-bell-function', so I'm really not
>> sure what you are asking.

> This is why I'm not sure why John's asking for a way to tie in an alerting
> function. It's already there.

Sorry, I just didn't know about it. :)

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2




Merged 22746 22951. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Tue, 31 May 2016 21:37:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22746; Package emacs. (Tue, 02 Aug 2016 22:02:01 GMT) Full text and rfc822 format available.

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

From: Toon Claes <toon <at> iotcl.com>
To: John Wiegley <jwiegley <at> gmail.com>
Cc: Alan Third <alan <at> idiocy.org>, 22746 <at> debbugs.gnu.org,
 Xu Xin <railwaycat <at> gmail.com>, adrian.b.robert <at> gmail.com,
 Drew Adams <drew.adams <at> oracle.com>, Anders Lindgren <andlind <at> gmail.com>
Subject: Re: bug#22746: 25.0.90; OS X: Visual bell hard to see
Date: Wed, 03 Aug 2016 00:00:52 +0200
John Wiegley <jwiegley <at> gmail.com> writes:

> Alan Third <alan <at> idiocy.org> writes:
>
>>> There already is an easy way to set `ring-bell-function', so I'm really not
>>> sure what you are asking.
>
> Sorry, I just didn't know about it. :)

So, do we keep the current behavior and rely on third-party packages
like echo-bell.el to customize the behavior?

Or, if we should chose to customize built-in the behavior, maybe a few more
settings should be considered:
 - Duration: Compared to echo-bell-mode, the default warning sign is
 shown way too long. A configurable duration would be nice.
 - Image: Maybe people also would like to specify the image shown as
 visible bell (e.g. Pikachu: https://twitter.com/ErgoEmacs/status/759546738306748416/photo/1 )

TBH, I suggest to keep the current behavior and let user to set
`ring-bell-function' if they like something different.

Regards,
Toon




Merged 22746 22951 24512. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Mon, 19 Dec 2016 11:39:02 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Tue, 25 Apr 2017 12:22:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 50 days ago.

Previous Next


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