all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fabian Braennstroem <f.braennstroem@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: yasnippet insert file name
Date: Mon, 21 Jul 2008 20:22:10 +0200	[thread overview]
Message-ID: <g62k4i$5km$1@tamarack.fernuni-hagen.de> (raw)
In-Reply-To: 869c0642-5cbd-4806-a4a9-ef11478f200d@b1g2000hsg.googlegroups.com

Hi weber,
* weber <hugows@gmail.com> wrote:
> On Jul 20, 1:31 pm, Fabian Braennstroem <f.braennstr...@gmx.de> wrote:
>> Hi,
>>
>>     I just saw yasnippet and wonder, if it is possible to do
>>     filename completion as well!?
>>
>>     A simple:  filename ${1:`(insert-filename)`} does not
>>     work:
>>
>>     filename (error in elisp evaluation: Wrong number of
>>         arguments: (lambda (fn) "Use filename completion to
>>             insert a filename into current buffer."
>>             (interactive "FFilename to insert: ") (insert
>>                 fn)), 0)
>>
>>     Would be nice, if someone has a suggestion.
>>
>> Greetings!
>>  Fabian
>
> Do you want to insert the current buffer file name there?
> If so, use (buffer-file-name) instead.
No, I would like to insert a different file.
> I suggest you ask on yasnippet group, the author always answers there.
Ok., thanks for the hint.

Greetings!
 Fabian


      reply	other threads:[~2008-07-21 18:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-20 16:31 yasnippet insert file name Fabian Braennstroem
2008-07-21  1:31 ` weber
2008-07-21 18:22   ` Fabian Braennstroem [this message]

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

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

  git send-email \
    --in-reply-to='g62k4i$5km$1@tamarack.fernuni-hagen.de' \
    --to=f.braennstroem@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.