GNU bug report logs - #77715
[PATCH] Add ring-bell functions for mode line and header line.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Thu, 10 Apr 2025 17:56:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ship Mints <shipmints <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: eg642616 <at> gmail.com, 77715 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: bug#77715: [PATCH] Add ring-bell functions for mode line and header line.
Date: Wed, 30 Apr 2025 10:55:02 -0400
[Message part 1 (text/plain, inline)]
On Wed, Apr 30, 2025 at 10:52 AM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Ship Mints <shipmints <at> gmail.com>
> > Date: Wed, 30 Apr 2025 10:33:52 -0400
> > Cc: eg642616 <at> gmail.com, 77715 <at> debbugs.gnu.org, drew.adams <at> oracle.com
> >
> > On Wed, Apr 30, 2025 at 10:30 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> >  > From: Ship Mints <shipmints <at> gmail.com>
> >  > Date: Wed, 30 Apr 2025 10:09:36 -0400
> >  > Cc: eg642616 <at> gmail.com, 77715 <at> debbugs.gnu.org, drew.adams <at> oracle.com
> >  >
> >  > On Wed, Apr 30, 2025 at 10:06 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >  >
> >  >  >  But this code is not general enough for that.  It was written
> >  >  >  explicitly for additional optional values for
> ring-bell-functions, as
> >  >  >  the doc strings say.
> >  >  >
> >  >  > The prototype was derived from private code used in this narrow
> case but if we're going to adopt
> >  the
> >  >  > functionality in core, I think we go the extra mile to make it
> appropriately general.
> >  >
> >  >  But then the entire implementation should be revisited and reviewed
> >  >  with that generality in mind.  So please let's talk about that.
> Could
> >  >  you or someone else please describe what general features are meant
> to
> >  >  be implemented based on this functionality?
> >  >
> >  > I think of face flashing as the face equivalent to
> 'pulse-momentary-highlight-region'.
> >
> >  Then why don't we use the functions defined in pulse.el in the first
> >  place? why invent a whole new family of functions,l face attributes,
> >  etc.?
> >
> > Overlays require a buffer and flashing faces like the inner border or
> tab-bar can't be accomplished using
> > pulse.el functions unless I'm missing something.
>
> But the code as submitted included echo-area as well, where there _is_
> a buffer.
>

My implementation did not.  Elijah needs to defend that.

And my question about the faces is still unanswered.
>

That's for Elijah to explain, that was his choice.

I prefer the simplest possible thing that works and my original that I
shared seems optimal and is only tangentially related to bell ringing
because that's how I use it ATM.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 days ago.

Previous Next


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