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

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

bug#51082: closed ([PATCH] erc-prompt: support substitution patterns "%t


From: GNU bug Tracking System
Subject: bug#51082: closed ([PATCH] erc-prompt: support substitution patterns "%target" and "%network")
Date: Fri, 24 Nov 2023 22:14:02 +0000

Your message dated Fri, 24 Nov 2023 14:12:32 -0800
with message-id <87plzy2433.fsf@neverwas.me>
and subject line Re: bug#51082: [PATCH] erc-prompt: support substitution 
patterns "%target" and "%network"
has caused the debbugs.gnu.org bug report #51082,
regarding [PATCH] erc-prompt: support substitution patterns "%target" and 
"%network"
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51082: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51082
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] erc-prompt: support substitution patterns "%target" and "%network" Date: Thu, 7 Oct 2021 09:05:02 -0400
Severity: wishlist

The attached patch adds substitution patterns "%target" and "%network"
so you can do stuff like

    (setq erc-prompt "[%target]")
    (setq erc-prompt "[%target@%network]")

to get prompts that looks like this:

    [#erc]
    [#erc@Libera.Chat]

Attachment: 0001-Support-two-substitution-patterns-in-erc-prompt.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#51082: [PATCH] erc-prompt: support substitution patterns "%target" and "%network" Date: Fri, 24 Nov 2023 14:12:32 -0800 User-agent: Gnus/5.13 (Gnus v5.13)
"J.P." <jp@neverwas.me> writes:

> v2. Simplify `format-spec' helper. Demote `erc-fill-wrap-use-pixels' to
> normal variable. Simplify option `erc-prompt-format' and make example
> value default. Add substitution for showing channel or user mode based
> on context. Add tests.
>
> (Also, make myself primary author of last patch to spare others from
> unwanted attribution.) Note that a patch from bug#67220 is also now
> included because it's become a dependency.

A version of this has been installed as

  2ed9c9f1b32 * Optionally allow substitution patterns in erc-prompt

Thanks and closing.


--- End Message ---

reply via email to

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