From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Flaschen Newsgroups: gmane.emacs.help Subject: Re: How to get current filename and absolute path of the file in emacs? Date: Mon, 16 Apr 2007 04:57:17 -0400 Message-ID: <46233A6D.6020707@gatech.edu> References: <87r6qkhpqd.fsf@voyager.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176713979 27625 80.91.229.12 (16 Apr 2007 08:59:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Apr 2007 08:59:39 +0000 (UTC) To: emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 16 10:59:33 2007 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 1HdN3c-0000M7-GK for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Apr 2007 10:59:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdN8C-0006ft-OH for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Apr 2007 05:04:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HdN69-000643-12 for help-gnu-emacs@gnu.org; Mon, 16 Apr 2007 05:02:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HdN65-000615-8M for help-gnu-emacs@gnu.org; Mon, 16 Apr 2007 05:02:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdN64-00060b-Mv for help-gnu-emacs@gnu.org; Mon, 16 Apr 2007 05:02:04 -0400 Original-Received: from deliverator6.gatech.edu ([130.207.165.168]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1HdN1T-0001Z6-Dz for help-gnu-emacs@gnu.org; Mon, 16 Apr 2007 04:57:19 -0400 Original-Received: from deliverator6.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 18F0E1849 for ; Mon, 16 Apr 2007 04:57:18 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from mailprx5.gatech.edu (mailprx5.prism.gatech.edu [130.207.171.19]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator6.gatech.edu (Postfix) with ESMTP id 065D017E9 for ; Mon, 16 Apr 2007 04:57:17 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from [128.61.73.81] (r73h81.res.gatech.edu [128.61.73.81]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=mflaschen3@mailprx5.gatech.edu, sender=n/a) by mailprx5.gatech.edu (Postfix) with ESMTP id B74A92192 for ; Mon, 16 Apr 2007 04:57:17 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) User-Agent: Thunderbird 1.5.0.10 (X11/20070306) In-Reply-To: <87r6qkhpqd.fsf@voyager.informatimago.com> X-Enigmail-Version: 0.94.3.0 X-detected-kernel: Solaris 9 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:42718 Archived-At: Pascal Bourguignon wrote: > QinGW writes: > >> I want to put current filename and file path to clipboard and I cant >> get it by short key.how can I implement it? >> Thank a lot. > > M-x apropos RET file name RET > > We find a buffer-file-name function... interesting! > I'd kind of just like to make buffer-file-name an interactive function (not create a wrapper function with a different name). Anyone know how to do this? Matt Flaschen