From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: rcirc vs ERC (was: Mostly curtail font-lock-mode)
Date: Tue, 02 Mar 2021 13:14:15 +0100 [thread overview]
Message-ID: <87h7lt69d4.fsf@zoho.eu> (raw)
In-Reply-To: 87tuptetbx.fsf@gnu.org
Tassilo Horn wrote:
>>> looks nice
>>
>> We have that on ERC?
>>
>> https://dataswamp.org/~incal/figures/emacs/erc-gnus.png
>>
>> Does this work?
>
> What? A fontified banner? I don't know and I don't care.
Ha, no, I meant the URL. I couldn't get there but it seemed
you got it.
But you mention a fair point. Your client is possibly
under-featured with respect to fortified banners not the
least...
> indented. I think in ERC it looks like
>
> user: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
> do eiusmod tempor incididunt ut labore et dolore magna
> aliqua. Nullam vehicula ipsum a arcu cursus. Ac tortor
> dignissim convallis aenean et tortor at risus
> viverra. Convallis posuere morbi leo urna.
> longuser: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
> do eiusmod tempor incididunt ut labore et dolore magna
> aliqua. Nullam vehicula ipsum a arcu cursus. Ac tortor
> dignissim convallis aenean et tortor at risus
> viverra. Convallis posuere morbi leo urna.
That's erc-fill-static in erc-fill-function. But "Original
value was actually ‘erc-fill-variable’"
> whereas it looks like this in rcirc:
>
> user: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
> eiusmod tempor incididunt ut labore et dolore magna aliqua. Nullam
> vehicula ipsum a arcu cursus. Ac tortor dignissim convallis aenean
> et tortor at risus viverra. Convallis posuere morbi leo urna.
> longuser: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
> do eiusmod tempor incididunt ut labore et dolore magna
> aliqua. Nullam vehicula ipsum a arcu cursus. Ac tortor
> dignissim convallis aenean et tortor at risus
> viverra. Convallis posuere morbi leo urna.
>
> Of course, that's just a personal preference, and probably
> you can configure that behavior in ERC anyhow.
Hm, interesting, I also think that is better!
Can you find it here?
erc-fill-function is a variable defined in ‘erc-fill.el’.
Its value is ‘erc-fill-static’
Original value was ‘erc-fill-variable’
This variable may be risky if used as a file-local variable.
You can customize this variable.
Documentation:
Function to use for filling messages.
Variable Filling with an ‘erc-fill-prefix’ of nil:
<shortnick> this is a very very very long message with no
meaning at all
Variable Filling with an ‘erc-fill-prefix’ of four spaces:
<shortnick> this is a very very very long message with no
meaning at all
Static Filling with ‘erc-fill-static-center’ of 27:
<shortnick> foo bar baz
<a-very-long-nick> foo bar baz quuuuux
<shortnick> this is a very very very long message with no
meaning at all
These two styles are implemented using ‘erc-fill-variable’ and
‘erc-fill-static’. You can, of course, define your own filling
function. Narrowing to the region in question is in effect while your
function is called.
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
next prev parent reply other threads:[~2021-03-02 12:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-25 14:50 Mostly curtail font-lock-mode Vasilii Kolobkov
2021-02-25 16:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-25 20:07 ` Vasilii Kolobkov
2021-02-25 20:35 ` rcirc vs ERC (was: Mostly curtail font-lock-mode) Tassilo Horn
2021-02-25 22:36 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-26 22:44 ` Tassilo Horn
2021-02-27 3:36 ` Eduardo Ochs
2021-03-02 3:28 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-02 10:22 ` Tassilo Horn
2021-03-02 12:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-02 3:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-02 10:26 ` Tassilo Horn
2021-03-02 12:14 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-02-25 22:24 ` Mostly curtail font-lock-mode Emanuel Berg via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7lt69d4.fsf@zoho.eu \
--to=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).