From: Tobias C. R. <tc...@fr...> - 2005-04-21 16:27:42
|
Adrian Aichner <ad...@xe...> writes: > "Tobias C. Rittweiler" <tc...@fr...> writes: > > [...] > > * If I'm queried (or if generally a new buffer ought to be created), I'd > > like the newly created buffer to replace the current buffer of a > > specific frame. I usually have erc in its own frame and Gnus, too, and > > when I'm writing a mail and someone queries me, my mail buffer pops > > off (but instead erc should do so with the most recently used buffer in > > the erc frame.) Is this possible? Or how do you deal with this problem? > > Do docstrings of erc-auto-query and erc-join-buffer help to get this > set up the way you want? Of course, I studied them (and `erc-setup-buffers', too); it's how I came to the conclusion that this isn't supported by ERC as of now. Or did you mean if they help to get this written up by my own? Well, I browsed through the sections of the Elisp Manual concerning Buffers, Windows and Frames. The basic functions are there, of course. However, to be more detailed, I'd like to have ERC manage buffer creation the following way: Each server its own frame containing the buffers belonging to the server (ie. to the channels or users of that server.) When a user of server Foo queries me, I'd like to have the last used buffer in the frame of server Foo be replaced by the newly created buffer. (I think there should also be convenient keystrokes for switching between buffers belonging to one frame (resp. server), as I'm not aware of a possibility for that already being within Emacs) Obviously, what's needed for implementing this, is some kind of categorization of buffers. Can one add properties to buffers? Is there any other means? One question is still unanswered: How do /you/ handle with the above problem? I can't think, it can be all that uncommon. Maybe I just tackle the whole thing wrongly... --tcr. |