Saving Erc buffers (Or: Broken C-x C-w)
Alcor <[email protected]> Tue, 12 Nov 2024 18:20:53 +0100
| Newsgroups | gmane.emacs.erc.general |
|---|---|
| Message-ID | <[email protected]> |
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.