emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding the source of Change Log entries


From: Ted Zlatanov
Subject: Re: Finding the source of Change Log entries
Date: Wed, 27 Aug 2008 15:57:08 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Wed, 27 Aug 2008 16:43:04 -0400 Stefan Monnier <address@hidden> wrote: 

>> `change-log-goto-source', so I run an extra `find-file' after
SM> Never use `find-file' from Elisp, please.  Use pop-to-buffer (together
SM> with find-file-noselect if necessary) instead,

Hmm, why does `change-log-find-file' use it?  Is it OK because it's a
wrapper around it?  That's where I saw the usage, sorry about it.

I've changed it to use `pop-to-buffer' but now it doesn't keep the
original ChangeLog window visible after the first time you run
`next-error'.  IOW, you see the ChangeLog the first time you run the
command, but after that it gets buried under the newly found file.

Sorry if this is not helpful, I haven't worked much with window
configurations and arrangements in ELisp.  If someone more knowledgeable
wants to take a look, please do.

Ted





reply via email to

[Prev in Thread] Current Thread [Next in Thread]