[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] find-file-noselect-1
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] find-file-noselect-1 |
Date: |
Sun, 13 Feb 2005 11:14:58 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> I am just using find-file-noselect to recover the name of the buffer.
> I have a buffer and a file associated with it. Generally, I don't see the
> big deal whether I pass the buffer-name or filename across the functions.
When you know that the file necessarily corresponds to a buffer and you want
to do something to the buffer rather than to the file, then you really
should pass the buffer, not the file name.
> However since the code is part of find-file-hook, I'll pass the
> buffer-name to avoid the possibility of some kind of recursion.
Better pass the *buffer* rather than the *buffer name*.
Stefan
- [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/10
- Re: [PATCH] find-file-noselect-1, Miles Bader, 2005/02/10
- Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/10
- Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/10
- Re: [PATCH] find-file-noselect-1, Richard Stallman, 2005/02/12
- Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/12
- Re: [PATCH] find-file-noselect-1, Stefan Monnier, 2005/02/12
- Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/13
- Re: [PATCH] find-file-noselect-1,
Stefan Monnier <=
- Re: [PATCH] find-file-noselect-1, Richard Stallman, 2005/02/13
- Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/13
- Re: [PATCH] find-file-noselect-1, Richard Stallman, 2005/02/15
- Re: [PATCH] find-file-noselect-1, Stefan Monnier, 2005/02/10
Re: [PATCH] find-file-noselect-1, Stefan Monnier, 2005/02/10