unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#4708: marked as done (23.1; completion-try-completion adds an extra $:  $$HOMj)
Date: Wed, 14 Oct 2009 04:10:09 +0000	[thread overview]
Message-ID: <handler.4708.D4708.125549294614294.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: E891DD6303114FE184F1FA4D2517DF4A@us.oracle.com

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Your message dated Wed, 14 Oct 2009 00:02:18 -0400
with message-id <jwvhbu262yq.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#4708: 23.1; completion-try-completion adds an extra $:  $$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.)


-- 
4708: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4708
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3751 bytes --]

From: "Drew Adams" <drew.adams@oracle.com>
To: <bug-gnu-emacs@gnu.org>
Subject: 23.1; completion-try-completion adds an extra $:  $$HOMj
Date: Mon, 12 Oct 2009 12:05:32 -0700
Message-ID: <E891DD6303114FE184F1FA4D2517DF4A@us.oracle.com>

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)'
 




[-- Attachment #3: Type: message/rfc822, Size: 2434 bytes --]

From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Subject: Re: bug#4708: 23.1; completion-try-completion adds an extra $:  $$HOMj
Date: Wed, 14 Oct 2009 00:02:18 -0400
Message-ID: <jwvhbu262yq.fsf-monnier+emacsbugreports@gnu.org>

>> 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

      parent reply	other threads:[~2009-10-14  4:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvhbu262yq.fsf-monnier+emacsbugreports@gnu.org>
2009-10-12 19:05 ` bug#4708: 23.1; completion-try-completion adds an extra $: $$HOMj Drew Adams
2009-10-13 20:13   ` Stefan Monnier
2009-10-13 22:20     ` Drew Adams
2009-10-14  2:40       ` Stefan Monnier
2009-10-14  3:36         ` Drew Adams
2009-10-14  4:10   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.4708.D4708.125549294614294.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).