[Top][All Lists]
[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/
- read-file-name (was: FFAP), (continued)
- dired-read-dir-and-switches (was: FFAP), Juri Linkov, 2009/11/09
- find-file-read-args (was: FFAP), Juri Linkov, 2009/11/09
- Re: find-file-read-args, Stefan Monnier, 2009/11/09
- Re: find-file-read-args, Juri Linkov, 2009/11/09
- Re: find-file-read-args, Juri Linkov, 2009/11/12
- Re: find-file-read-args, martin rudalics, 2009/11/12
- Re: find-file-read-args,
Juri Linkov <=
- Re: find-file-read-args, Juri Linkov, 2009/11/15
- Re: find-file-read-args, martin rudalics, 2009/11/15
- Re: find-file-read-args, Stefan Monnier, 2009/11/15
- Re: find-file-read-args, martin rudalics, 2009/11/17
- Re: find-file-read-args, Juri Linkov, 2009/11/17
- dired-dwim-target-directory (was: find-file-read-args), Juri Linkov, 2009/11/17
- dired-dwim-target-directory (was: find-file-read-args), Juri Linkov, 2009/11/17
- Re: find-file-read-args, Stefan Monnier, 2009/11/22
- Re: find-file-read-args, Juri Linkov, 2009/11/23
- Re: find-file-read-args, Stefan Monnier, 2009/11/23