unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Open files by moving cursor over the path name in a buffer and a   key troke
Date: Mon, 25 Sep 2006 10:13:13 -0600	[thread overview]
Message-ID: <ef8v81$kb$1@sea.gmane.org> (raw)
In-Reply-To: <1159157425.790507.275040@b28g2000cwb.googlegroups.com>

CloudStrife wrote:
>  I would like to implement the following feature:
>  If there is a filename within one buffer, I would like
>  to open this file just by moving the point over that
>  filename and hitting a special keystroke.
> 
> THere is a similar thread in this group that deals with this topic but
> inspite of reading it and tring it didnot herlp. hrer is what happened
> 
> ####### say this is some buffer########
> ....
> ......
> ......
> source /tools/linux/directory/foo.tcl
> ....
> ...
> 
> ######## Buffer ends ##############
> 
> Now i would like to open the file by positioning my cursor over
> "/tools/linux/directory/foo.tcl" at any point and open it either in the
> same buffer or preferably another buffer.
> What was suggested in the thread was to use M-X find-file-at-point
> RETURN
> but this is behaving exactly like C-X C-F and the mini buffer is asking
> for the file name. I donot know what is happening. please enlighten
> Thanks in adavance
> -Cloud

So your complaint is that `M-x find-file-at-point' requires you to
type RET to confirm that /tools/linux/directory/foo.tcl is the file
you want to visit?

(BTW, if you run `M-x ffap-bindings', then `C-x C-f' will run
find-file-at-point for you instead of find-file and `C-x 4 f' will
run ffap-other-window instead of find-file-other-window.)

-- 
Kevin

  reply	other threads:[~2006-09-25 16:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25  4:10 Open files by moving cursor over the path name in a buffer and a key troke CloudStrife
2006-09-25 16:13 ` Kevin Rodgers [this message]
     [not found] ` <mailman.7379.1159200909.9609.help-gnu-emacs@gnu.org>
2006-09-26  3:26   ` CloudStrife
2006-09-26 14:41     ` Johan Bockgård
2006-09-27  3:48       ` CloudStrife

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ef8v81$kb$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).