bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#77715: [PATCH] Add ring-bell functions for mode line and header line


From: Elijah Gabe Pérez
Subject: bug#77715: [PATCH] Add ring-bell functions for mode line and header line.
Date: Fri, 11 Apr 2025 12:18:14 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50

Ship Mints <shipmints@gmail.com> writes:
> I think the term duration is better than length when describing time 
> intervals.

I agree.

> I still prefer the unwind-protected sit-for method that guarantees the remaps 
> are removed to the one with
> the timer where I've experienced errors intervening with a race condition 
> creating new cookies that are
> not removed.  Try mashing C-g with your timer implementation and you'll see 
> it.

The problem with using sit-for is that it delays the message displayed
(usually "Quit") until timer stops (or if there is an input), it look
like Emacs froze.

Anyway, it changed it for use sit-for instead.

> Is a new face really necessary just to implement a flash?  The implementation 
> I proposed
> allows the user to specify any face attributes to define what they want for a 
> flash.  I wouldn't use this
> feature without it being more reliable and flexible.

I think that adding a new face for this would be better, it makes custom
themes set it and change it dynamically; of course, the user can change
face attributes freely.

Attachment: 0001-Add-ring-bell-function-for-flash-faces.-bug-77715.patch
Description: Text Data


-- 
                                          - E.G via GNU Emacs and Org.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]