[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] find-file-noselect-1
From: |
Richard Stallman |
Subject: |
Re: [PATCH] find-file-noselect-1 |
Date: |
Sun, 13 Feb 2005 07:38:37 -0500 |
Is this what you mean?
More or less.
I don't think that gud-comint-buffer should be set to
nil because that would prevent the GDB session from recovering.
Perhaps you should add a new variable, which you can set if you catch
an error, to disable this hook from really doing anything once it has
had an error.
> Why call find-file-noselect there? If this is meant to operate on the
> file that was just visited, it already has a buffer, and it is the
> current buffer when gdb-find-file-hook runs. Why not just use
> that buffer?
That might have been true but I'm now using this function to address Kim's
point about enabling gud-minor-mode for existing buffers.
It sounds like you are in all cases trying to find an existing buffer.
So instead of using find-file-noselect, you could use
find-buffer-visiting.
- [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, 2005/02/13
- Re: [PATCH] find-file-noselect-1,
Richard Stallman <=
- 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
- Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/11
- Re: [PATCH] find-file-noselect-1, Kim F. Storm, 2005/02/11
- Re: [PATCH] find-file-noselect-1, Miles Bader, 2005/02/11
- Re: [PATCH] find-file-noselect-1, Kim F. Storm, 2005/02/11
- Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/11
- Re: [PATCH] find-file-noselect-1, Kim F. Storm, 2005/02/11