From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.help Subject: yasnippet insert file name Date: Sun, 20 Jul 2008 18:31:12 +0200 Organization: www.braennstroem.de Message-ID: Reply-To: f.braennstroem@gmx.de NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1216575650 19794 80.91.229.12 (20 Jul 2008 17:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jul 2008 17:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 20 19:41:39 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KKcud-0005bt-R0 for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Jul 2008 19:41:35 +0200 Original-Received: from localhost ([127.0.0.1]:36085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKctk-00071B-M9 for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Jul 2008 13:40:40 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news-fra1.dfn.de!news-koe1.dfn.de!tamarack.fernuni-hagen.de!news.fernuni-hagen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: g228002027.adsl.alicedsl.de Original-X-Trace: tamarack.fernuni-hagen.de 1216571469 3509 92.228.2.27 (20 Jul 2008 16:31:09 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: Sun, 20 Jul 2008 16:31:09 +0000 (UTC) User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Xref: news.stanford.edu gnu.emacs.help:160405 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55753 Archived-At: 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