[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: |
Stefan Monnier |
Subject: |
bug#1305: All code that currently beeps should use visual bell instead |
Date: |
Sun, 25 Apr 2021 17:03:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> I would be in favour of fixing this by adding one or more new variables
>>> with reasonable semantics. For example, why not have a variable called
>>> `alarm-bell' with these valid values:
>>>
>>> - a function call this function
>>> - `visual' Use a visual bell
>>> - t Ring the bell
>>> - nil Do nothing
>>
>> Agreed, except I suggest to use slightly different names: `visual` becomes
>> `ring-bell-visual`, `t` becomes `ring-bell-beep`, `nil` becomes `ignore` and
>> `alarm-bell` becomes `ring-bell-function`.
>
> So just use function names instead of symbols? I think, in general,
> it's nice to have things like nil/t in variables like this -- it's
> easier for users to deal with.
>
> Anyway, I agree that cleaning up this area by introducing a new variable
> and obsoleting the slightly confusing current state of affairs would be
> nice.
My point was that we can clean up without any new variable ;-)
Stefan
- 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, Dmitry Gutov, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Stefan Kangas, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Stefan Kangas, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Gregory Heytings, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Stefan Kangas, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Stefan Monnier, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Dmitry Gutov, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Stefan Monnier, 2021/04/21
- bug#1305: All code that currently beeps should use visual bell instead, Lars Ingebrigtsen, 2021/04/25
- bug#1305: All code that currently beeps should use visual bell instead,
Stefan Monnier <=
- 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