emacs-erc
[Top][All Lists]
Advanced

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

Saving Erc buffers (Or: Broken C-x C-w)


From: Alcor
Subject: Saving Erc buffers (Or: Broken C-x C-w)
Date: Tue, 12 Nov 2024 18:20:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi all,

I'm not sure if this is a bug, but I'll ask just to make sure: I'd like
to save an Erc (channel) buffer to a file. Intuitively, the Emacsism for
this would be C-x C-w or `write-file'.

However, this does not work on Erc. Or rather, it _does_ save the buffer
to a file, at the rather steep price of breaking the Erc server
state. It looks like Erc's part hook isn't executed, and there seems to
be no simple way to repair the Erc session afterwards (except via
quitting and /reconnect'ing).

So the question is - what's the Erc-approved way for doing a one-off
write out of a channel buffer to a file? (as opposed to logging).

And, if possible, is there a way to fix the behavior of C-x C-w in Erc?

Thanks & Cheers,
-A.



reply via email to

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