GNU bug report logs - #5010
23.1.50; insert-file should be made FFAP aware

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 22 Nov 2009 04:10:05 UTC

Severity: normal

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5010 in the body.
You can then email your comments to 5010 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5010; Package emacs. (Sun, 22 Nov 2009 04:10:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Nov 2009 04:10:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jidanni <at> jidanni.org
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; insert-file should be made FFAP aware
Date: Sun, 22 Nov 2009 01:10:58 +0800
I put the cursor upon /etc/motd and C-x C-f knows about it, but C-x i
doesn't because ffap.el doesn't include it in its bindings.

In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-15 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20091115-1)



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5010; Package emacs. (Sun, 22 Nov 2009 10:45:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 22 Nov 2009 10:45:10 GMT) Full text and rfc822 format available.

Message #10 received at 5010 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: jidanni <at> jidanni.org
Cc: 5010 <at> debbugs.gnu.org
Subject: Re: bug#5010: 23.1.50; insert-file should be made FFAP aware
Date: Sun, 22 Nov 2009 12:27:07 +0200
> I put the cursor upon /etc/motd and C-x C-f knows about it, but C-x i
> doesn't because ffap.el doesn't include it in its bindings.

And also `append-to-file', `write-file', `write-region', `load-file',
`recode-file-name', `make-directory', `delete-directory', `copy-directory'
and dozens of other commands that read a file or directory name.

I think we should now stop the madness of hunting for commands to make
FFAP aware.

With the patches I sent recently to emacs-devel it is possible to type
M-n in any file-reading prompt to pull the filename at point to the
minibuffer.  And later we could also add a dedicated key like e.g. `M-.'
to do the same.

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



Reply sent to Juri Linkov <juri <at> jurta.org>:
You have taken responsibility. (Wed, 25 Nov 2009 17:40:13 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Wed, 25 Nov 2009 17:40:13 GMT) Full text and rfc822 format available.

Message #15 received at 5010-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: 5010-done <at> debbugs.gnu.org
Cc: jidanni <at> jidanni.org
Subject: Re: bug#5010: 23.1.50; insert-file should be made FFAP aware
Date: Wed, 25 Nov 2009 19:27:11 +0200
>> I put the cursor upon /etc/motd and C-x C-f knows about it, but C-x i
>> doesn't because ffap.el doesn't include it in its bindings.
>
> And also `append-to-file', `write-file', `write-region', `load-file',
> `recode-file-name', `make-directory', `delete-directory', `copy-directory'
> and dozens of other commands that read a file or directory name.
>
> I think we should now stop the madness of hunting for commands to make
> FFAP aware.

Now it's possible to type M-n in any file-reading minibuffer to pull
a file name at point to the minibuffer when ffap is loaded without
ffap-bindings.  Also there is a new command (currently unbound)
`minibuffer-insert-file-name-at-point'.

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



bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 24 Dec 2009 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.