From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4708: marked as done (23.1; completion-try-completion adds an extra $: $$HOMj) Date: Wed, 14 Oct 2009 04:10:09 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1255493409-15936-0" X-Trace: ger.gmane.org 1255494459 24507 80.91.229.12 (14 Oct 2009 04:27:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 04:27:39 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 06:27:29 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 1MxvSQ-0002B1-Pm for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 06:27:27 +0200 Original-Received: from localhost ([127.0.0.1]:43168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxvSP-0006gI-VT for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 00:27:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxvSK-0006fb-Q1 for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 00:27:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxvSF-0006aA-Of for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 00:27:20 -0400 Original-Received: from [199.232.76.173] (port=56354 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxvSF-0006Zp-Ir for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 00:27:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57796) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxvSE-00006M-Tw for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 00:27:15 -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 n9E4RANq018439; Tue, 13 Oct 2009 21:27:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9E4A9cL016026; Tue, 13 Oct 2009 21:10:09 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4708 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:31905 Archived-At: This is a multi-part message in MIME format... ------------=_1255493409-15936-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 14 Oct 2009 00:02:18 -0400 with message-id and subject line Re: bug#4708: 23.1; completion-try-completion adds an extr= a $: $$HOMj has caused the Emacs bug report #4708, regarding 23.1; completion-try-completion adds an extra $: $$HOMj to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4708: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4708 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1255493409-15936-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 12 Oct 2009 19:06:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL,FOURLA,STOCKLIKE, SUBJMONEY autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9CJ69rQ028877 for ; Mon, 12 Oct 2009 12:06:10 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxQDg-0004sy-QE for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2009 15:06:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxQDb-0004rN-I7 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2009 15:06:07 -0400 Received: from [199.232.76.173] (port=51847 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxQDb-0004rH-BG for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2009 15:06:03 -0400 Received: from acsinet12.oracle.com ([141.146.126.234]:22977) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxQDa-0002mu-PI for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2009 15:06:03 -0400 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9CJ5sOr009709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Oct 2009 19:05:55 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9BMjkBo009511 for ; Mon, 12 Oct 2009 19:05:56 GMT Received: from abhmt004.oracle.com by acsmt355.oracle.com with ESMTP id 20355776511255374329; Mon, 12 Oct 2009 12:05:29 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 12 Oct 2009 12:05:29 -0700 From: "Drew Adams" To: Subject: 23.1; completion-try-completion adds an extra $: $$HOMj Date: Mon, 12 Oct 2009 12:05:32 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpLbvis20jIokH4Tx+n6K5zCjDEyg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt357.oracle.com [141.146.40.157] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4AD37E13.012A:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) emacs -Q M-: (completion-try-completion "c:/some-dir/$HOMj" nil 16) correctly returns: (c:/some-dir/$HOMEj" . 17) M-: (completion-try-completion "c:/some-dir/$HOMj" nil 17) returns: ("c:/some-dir/$$HOMj" . 18) That doesn't seem correct. Is it correct to have $$ here? If so, can you please explain it a bit (why)? Also, if this is correct behavior, then please explain this in the doc string of `completion-try-completion'. The doc string currently says that STRING, in the return value of (STRING . NEWPOINT), is "the completed result string". But "result string" cannot be right, if we're talking about the result of completion. There is no completion that contains $$HOM. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-29 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)' ------------=_1255493409-15936-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4708-done) by emacsbugs.donarmstrong.com; 14 Oct 2009 04:02:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,HAS_BUG_NUMBER,SUBJMONEY autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E42O0K014289 for <4708-done@emacsbugs.donarmstrong.com>; Tue, 13 Oct 2009 21:02:25 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEANvp1EpMCqsb/2dsb2JhbACBUdcqhC0Eh2o X-IronPort-AV: E=Sophos;i="4.44,555,1249272000"; d="scan'208";a="47525006" Received: from 76-10-171-27.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.27]) by ironport2-out.pppoe.ca with ESMTP; 14 Oct 2009 00:02:19 -0400 Received: by ceviche.home (Postfix, from userid 20848) id EE46EB40B9; Wed, 14 Oct 2009 00:02:18 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#4708: 23.1; completion-try-completion adds an extra $: $$HOMj Message-ID: References: <9F5586021A3F42B0837D2F27AF4DC637@us.oracle.com> <1BA03741DA0342379EBFBADC279839F8@us.oracle.com> Date: Wed, 14 Oct 2009 00:02:18 -0400 In-Reply-To: <1BA03741DA0342379EBFBADC279839F8@us.oracle.com> (Drew Adams's message of "Tue, 13 Oct 2009 20:36:08 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> That try-completion will return nil when applied to "/foo/bar/$$HOMj", >> so basically the $HOMj -> $$HOMj is considered to be a form >> of completion. > Sorry, I don't follow that. Just what I said: read-file-name-internal considered that changing "$HOMj" into "$$HOMj" is a form of completion. Just like hitting TAB might change Foo into FOO in some completion cases. > And did you mean try-completion or completion-try-completion? Makes no difference, it's done in the completion-table, i.e. at a lower level. Stefan ------------=_1255493409-15936-0--