From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: Converting filenames Date: Thu, 01 Jul 2010 02:42:35 +0200 Organization: Informatimago Message-ID: <87zkycyqv8.fsf@kuiper.lan.informatimago.com> References: <722c8495-60f9-4a06-9c36-2226dc942390@5g2000yqz.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291842181 304 80.91.229.12 (8 Dec 2010 21:03:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 21:03:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 22:02:57 2010 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.69) (envelope-from ) id 1PQRA9-0002VB-3J for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 22:02:57 +0100 Original-Received: from localhost ([127.0.0.1]:49711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQQo6-0004xe-Bu for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 15:40:10 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: individual.net eHiPN2jmBpSwzlQc/d1QNAwDN+7wFdLqfBDTEMNf+PikNZmFNj Cancel-Lock: sha1:ZDY4MjE5ZmM2M2M0OTdkYTYwZTY5NTI0ZjMxNjA2ZDAzNWIzNTliYQ== sha1:I4oY3FvbypfpnG50h/EyuIkFPk8= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:179386 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:76013 Archived-At: Nordlöw writes: > Is there an opposite function of expand-file-name() that converts "/ > home/per/" to "~/" if I am user per? Yes. All the functions already exist. You just have to discover their name. This function name discovering activity is called "programming". -- __Pascal Bourguignon__ http://www.informatimago.com/