From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: filename from buffer-name Date: Tue, 12 Oct 2004 23:47:19 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097618900 22467 80.91.229.6 (12 Oct 2004 22:08:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2004 22:08:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 00:08:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CHUoQ-0001FX-00 for ; Wed, 13 Oct 2004 00:08:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHUvQ-0002h0-S2 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Oct 2004 18:15:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!uninett.no!uio.no!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21219 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21219 Sarir Khamsi writes: > I am trying to find the lisp function that will give me a filename, > and path, from a buffer name. Does anyone know what that function is? ,----[ C-h f buffer-file-name RET ] | buffer-file-name is a built-in function in `C source code'. | (buffer-file-name &optional BUFFER) | | Return name of file BUFFER is visiting, or nil if none. | No argument or nil as argument means use the current buffer. | `---- -- Jesper Harder