On 2010-06-13 16:52 +0100, Óscar Fuentes wrote:
>> *magit-log* *magit-reflog*, log edit, wuzzup etc etc. I am thinking
>>  maybe 'q' in some of these buffers should just delete the buffer.
>
> Those are not temporary buffers. They display the information requested
> by the user.

I regard all of them temporary buffers in that I always work from the
main buffer (the one created by magit-status which has a global key
binding in my setup). The rest of the buffers are just one key stroke
(literally) away.

>> Locally I have the following two patches that delete the temp-buffers
>> and log-edit buffers after use. There seems to be no reason keeping them
>> around.
> I switch back to the *magit-log* buffer quite often after creating it.
>

I was talking about *magit-tmp* and *magit-log-edit*.

> If all those buffers are really annoying to you, instead of changing the
> default behavior just create a function `magit-bury-buffer' and a
> variable that dictates what the function does: 'bury-buffer (the
> default) or 'kill-buffer. Then replace the appropriate occurrences of
> `bury-buffer' with `magit-bury-buffer'.

Or maybe there should be a key for cleanup.

Leo

Reply via email to