[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1305: All code that currently beeps should use visual bell instead
From: |
Dmitry Gutov |
Subject: |
bug#1305: All code that currently beeps should use visual bell instead |
Date: |
Fri, 30 Apr 2021 02:23:54 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
On 30.04.2021 00:46, Gregory Heytings wrote:
I know you like the current default on GNU/Linux, and it will remain
available. And what you like is not the default (you need to set
visible-bell in your init file), so from that point of view nothing
changes.
Fair enough. Still, it's more "proven" that yours, so to speak.
I don't mind putting it to the vote sometime, here or some other place.
Would you imagine such a behavior in Visual Studio, Sublime or Atom?
Briefly flashing some UI elements in a neutral fashion, without extra
colors that may look out of place?
Using inverse-video also creates extra colors, unless your frame happens
to display only black on white or white on black elements on the first
and last line. Moreover with my patch the colors are fully
configurable, so you can adapt them to your theme.
It uses only the colors that are already there, though. Just in inverse.
Maybe it looks worse on some alternative themes, I have really only
tried it with the default one, and themes that are similar enough to it.
That's also why I asked whether somebody knows a corresponding UI
element/animation in either of these editors we could, uh, "get
inspired by".
AFAICS in other editors error signals are far less frequent (e.g. they
do nothing when you try to move past the beginning or end of the buffer,
or when you press a key binding with no corresponding action, or when
you enter characters in a read-only file, ...), they only signal
"critical" errors. So I'm not sure it's possible to get inspired by
what they do. What they use are typically popups; I attach two examples
with Visual Studio and Atom, one when a non-readable file is opened,
another when a non-writable file is saved.
Thanks for the screenshots.
I do not consider the 'ding' to be a warning or error notification,
though: I far more often see it after pressing C-g myself, not when
something unexpected happens. Otherwise a yellow notification,
Atom-style, would be more pertinent.
But it would be interesting to try some icon-based animation in the echo
area, like the red circle on VSCode's pic.
- bug#1305: All code that currently beeps should use visual bell instead, (continued)
- bug#1305: All code that currently beeps should use visual bell instead, Lars Ingebrigtsen, 2021/04/26
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/27
- bug#1305: [External] : bug#1305: All code that currently beeps should use visual bell instead, Drew Adams, 2021/04/27
- bug#1305: All code that currently beeps should use visual bell instead, Lars Ingebrigtsen, 2021/04/27
- bug#1305: All code that currently beeps should use visual bell instead, Stefan Kangas, 2021/04/28
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/28
- bug#1305: All code that currently beeps should use visual bell instead, Dmitry Gutov, 2021/04/29
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/29
- bug#1305: All code that currently beeps should use visual bell instead, Dmitry Gutov, 2021/04/29
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/29
- bug#1305: All code that currently beeps should use visual bell instead,
Dmitry Gutov <=
- bug#1305: [External] : bug#1305: All code that currently beeps should use visual bell instead, Drew Adams, 2021/04/29
- bug#1305: [External] : bug#1305: All code that currently beeps should use visual bell instead, Dmitry Gutov, 2021/04/29
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/30
- bug#1305: All code that currently beeps should use visual bell instead, Dmitry Gutov, 2021/04/30
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/30
- bug#1305: All code that currently beeps should use visual bell instead, Dmitry Gutov, 2021/04/30
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/30
- bug#1305: All code that currently beeps should use visual bell instead, Dmitry Gutov, 2021/04/30
- bug#1305: [External] : bug#1305: All code that currently beeps should use visual bell instead, Drew Adams, 2021/04/30
- bug#1305: [External] : bug#1305: All code that currently beeps should use visual bell instead, Dmitry Gutov, 2021/04/30