[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] find-file-noselect-1
From: |
Kim F. Storm |
Subject: |
Re: [PATCH] find-file-noselect-1 |
Date: |
Fri, 11 Feb 2005 14:05:44 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Nick Roberts <address@hidden> writes:
> > But what if I have N files opened already and then load/start gdb --
> > are those files already opened "gdb enabled" using Nick's method?
>
> They aren't in the patch I presented but it would be quite easy to adapt the
> hook to do that.
In the find-file-hook function? It should be sufficient to do this when
loading gdb-ui ?
> It would just need to cycle through all the buffers, find out
> which are associated with a file, test if the file is part of the source code
> of the current GDB session (as in the patch), and enable for GDB if
> appropriate.
That would be ok then. In that case, your approach is cleaner.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: [PATCH] find-file-noselect-1, (continued)
- 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 <=
- Re: [PATCH] find-file-noselect-1, Nick Roberts, 2005/02/11
- Re: [PATCH] find-file-noselect-1, Kim F. Storm, 2005/02/11