emacs-devel
[Top][All Lists]
Advanced

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

Re: find-file-read-args


From: Juri Linkov
Subject: Re: find-file-read-args
Date: Thu, 12 Nov 2009 12:51:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>> There is still one problem.  Due to the dynamical nature of M-n, it needs
>> to visit the original buffer to get file names at point at the time when
>> the current buffer if the minibuffer.  I tried to find the original buffer
>> with the help of `(with-current-buffer (window-buffer (next-window)) ...'
>> but it often finds the wrong buffer when there are more than one window on
>> the frame.  Could you suggest a method for finding the original buffer,
>> from which the minibuffer was activated.  Maybe we should add a new
>> variable to hold the value of the original buffer set during
>> minibuffer setup?
>
> Isn't that the buffer shown in `minibuffer-selected-window'?

Thank you, I'll try to use this.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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