From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mosur Mohan Newsgroups: gmane.emacs.bugs Subject: bug#4592: Bug in built-in function substitute-in-file-name Date: Wed, 30 Sep 2009 08:02:33 -0700 Message-ID: <7f5ab920909300802i59d7dc3ewa5d8e6302c4a5423@mail.gmail.com> References: <7f5ab920909291737r4b739331v40b9d9ea703ef440@mail.gmail.com> Reply-To: Mosur Mohan , 4592@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1254331743 24001 80.91.229.12 (30 Sep 2009 17:29:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Sep 2009 17:29:03 +0000 (UTC) Cc: 4592@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 30 19:28:56 2009 Return-path: Envelope-to: geb-bug-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 1Mt2z0-0001Vd-RX for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 19:28:55 +0200 Original-Received: from localhost ([127.0.0.1]:45032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt2z0-0007tz-8o for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 13:28:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mt15H-0006BD-JM for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 11:27:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mt15C-00066j-Rx for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 11:27:15 -0400 Original-Received: from [199.232.76.173] (port=43420 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt15C-00066N-H2 for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 11:27:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56539) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mt15C-0004qX-0Q for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 11:27:10 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8UFR7sc029745; Wed, 30 Sep 2009 08:27:07 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8UFA7Ex027291; Wed, 30 Sep 2009 08:10:07 -0700 Resent-Date: Wed, 30 Sep 2009 08:10:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Mosur Mohan Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 30 Sep 2009 15:10:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4592 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4592-submit@emacsbugs.donarmstrong.com id=B4592.125432296025745 (code B ref 4592); Wed, 30 Sep 2009 15:10:07 +0000 Original-Received: (at 4592) by emacsbugs.donarmstrong.com; 30 Sep 2009 15:02:40 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-qy0-f197.google.com (mail-qy0-f197.google.com [209.85.221.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8UF2cen025737 for <4592@emacsbugs.donarmstrong.com>; Wed, 30 Sep 2009 08:02:39 -0700 Original-Received: by qyk35 with SMTP id 35so5243762qyk.19 for <4592@emacsbugs.donarmstrong.com>; Wed, 30 Sep 2009 08:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uwJbqhYj39/uP4+z++QeWj6Um8sHuBMYkCFXAyi3QKE=; b=qk/wHG/+IVVNGP4G9DCsp8pUeXHWiy5chpLwABeNxzleLB63sQg0TDFe1bzIuMiNMK 1BNT12VchUS65f9mMg3ACp/h83t2v7rEIpgKJhMcdWo7ZjLtuXqFkvDATeEB28jc6HrL lz6HT+fzKllenu2duveLLxbsDBh3u8vMVz0YM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hEPcU05HnbVMLnJ4E3zf9OKVIPnadB+3nk7ituA96aSzoZ+YE5aWa9brjwfAZOG6bH CnOhb08KncIMqGg7Dr58PBct1Nq3LGoN46LlZLDLR9jP9mMORfPC7UL8Xe/hK7ujXx/5 vk8JqCsHk7IXLLNZj8J3JD02/7yf5IcHx5sQ4= Original-Received: by 10.224.83.211 with SMTP id g19mr5748412qal.76.1254322953085; Wed, 30 Sep 2009 08:02:33 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 30 Sep 2009 11:27:15 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31600 Archived-At: > What does > (find-file-name-handler "/~/" 'substitute-in-file-name) > return? In both Emacs sessions, it returns nil. -- Mohan On Wed, Sep 30, 2009 at 2:07 AM, Andreas Schwab wro= te: > Mosur Mohan writes: > >> When I start up Emacs, I go to the *scratch* buffer and eval >> =A0 =A0 (substitute-in-file-name "/~/") >> and I get the expected result >> =A0 =A0 "~/" >> >> After running for a while, I notice that filename completion starts >> giving errors. =A0At this point, I re-try the above experiment: >> =A0 =A0 (substitute-in-file-name "/~/") >> But now, I get: >> =A0 =A0 "/~/" >> >> I am not able to figure out what happened in between to make it stop >> working correctly. > > What does > =A0(find-file-name-handler "/~/" 'substitute-in-file-name) > return? > > Andreas. > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 =A001D3 44D5 214B 8276 4= ED5 > "And now for something completely different." >