--- 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]
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 ---