GNU bug report logs - #11308
24.1.50; More completion confusion

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: "Drew Adams" <drew.adams@HIDDEN>; Keywords: confirmed; dated Sat, 21 Apr 2012 20:59:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 11308 <at> debbugs.gnu.org:


Received: (at 11308) by debbugs.gnu.org; 28 Apr 2016 14:22:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 28 10:22:56 2016
Received: from localhost ([127.0.0.1]:53228 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1avmqG-0000cX-2J
	for submit <at> debbugs.gnu.org; Thu, 28 Apr 2016 10:22:56 -0400
Received: from hermes.netfonds.no ([80.91.224.195]:40571)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1avmqE-0000cP-DS
 for 11308 <at> debbugs.gnu.org; Thu, 28 Apr 2016 10:22:54 -0400
Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <larsi@HIDDEN>)
 id 1avmqA-0006AQ-9r; Thu, 28 Apr 2016 16:22:53 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: "Drew Adams" <drew.adams@HIDDEN>
Subject: Re: bug#11308: 24.1.50; More completion confusion
References: <1A09C281D62B48CA91FD7A7DB1F8AE56@HIDDEN>
Date: Thu, 28 Apr 2016 16:22:50 +0200
In-Reply-To: <1A09C281D62B48CA91FD7A7DB1F8AE56@HIDDEN> (Drew Adams's
 message of "Sat, 21 Apr 2012 13:57:35 -0700")
Message-ID: <87zisdizid.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 11308
Cc: 11308 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

"Drew Adams" <drew.adams@HIDDEN> writes:

> M-x find-library RET isearch.e
>
> Put point at bol (i.e. on/just before the `i') and hit TAB.  You get
> (only) the completion isearch.elc.  And point is not moved to eol: it
> stays where it was.
>
> Or put point on `.' - same thing.  But quicker - when point is on the
> `i' it takes a while.
>
> But putting point on or after the second `e' gives isearch.el as the
> only completion.  Likewise, point on the `h', the `c', the `r', the `a',
> and the `s'.
>
> But first complete with point at bol (on `i'), then remove the final
> `lc' and move point to the `s'.  TAB then completes to isearch.el, as
> before, but this time with the message [Complete but not unique], which
> was not shown before with point at the same place (on `s').

Yes, that's pretty confusing...  I get pretty much the same as you do,
but not quite.  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11308; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Apr 2012 20:58:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 21 16:58:39 2012
Received: from localhost ([127.0.0.1]:46104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SLhOB-0002Ei-Ap
	for submit <at> debbugs.gnu.org; Sat, 21 Apr 2012 16:58:39 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37115)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drew.adams@HIDDEN>) id 1SLhO8-0002EO-Ja
	for submit <at> debbugs.gnu.org; Sat, 21 Apr 2012 16:58:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1SLhNQ-000873-SM
	for submit <at> debbugs.gnu.org; Sat, 21 Apr 2012 16:57:54 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,
	UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:60910)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1SLhNQ-00086y-OX
	for submit <at> debbugs.gnu.org; Sat, 21 Apr 2012 16:57:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37032)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1SLhNO-0004FO-HM
	for bug-gnu-emacs@HIDDEN; Sat, 21 Apr 2012 16:57:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1SLhNM-00086T-I9
	for bug-gnu-emacs@HIDDEN; Sat, 21 Apr 2012 16:57:49 -0400
Received: from acsinet15.oracle.com ([141.146.126.227]:33781)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1SLhNM-000865-BM
	for bug-gnu-emacs@HIDDEN; Sat, 21 Apr 2012 16:57:48 -0400
Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93])
	by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with
	ESMTP id q3LKvhl2007060
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <bug-gnu-emacs@HIDDEN>; Sat, 21 Apr 2012 20:57:44 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158])
	by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	q3LKvgoD008987
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <bug-gnu-emacs@HIDDEN>; Sat, 21 Apr 2012 20:57:43 GMT
Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53])
	by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
	q3LKvgU9031814
	for <bug-gnu-emacs@HIDDEN>; Sat, 21 Apr 2012 15:57:42 -0500
Received: from dradamslap1 (/10.159.63.181)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Sat, 21 Apr 2012 13:57:42 -0700
From: "Drew Adams" <drew.adams@HIDDEN>
To: <bug-gnu-emacs@HIDDEN>
Subject: 24.1.50; More completion confusion
Date: Sat, 21 Apr 2012 13:57:35 -0700
Message-ID: <1A09C281D62B48CA91FD7A7DB1F8AE56@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Ac0gAWCau0VP55B6RJaya4NqKG244A==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-Source-IP: ucsinet21.oracle.com [156.151.31.93]
X-CT-RefId: str=0001.0A090209.4F931F48.0070,ss=1,re=0.000,fgs=0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.1 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

Nothing new.  Just another example of how completion with multiple
styles chained together can be confusing.  At least that's what I
suppose the culprit is (without looking).
 
emacs -Q
 
M-x find-library RET isearch.e
 
Put point at bol (i.e. on/just before the `i') and hit TAB.  You get
(only) the completion isearch.elc.  And point is not moved to eol: it
stays where it was.
 
Or put point on `.' - same thing.  But quicker - when point is on the
`i' it takes a while.
 
But putting point on or after the second `e' gives isearch.el as the
only completion.  Likewise, point on the `h', the `c', the `r', the `a',
and the `s'.
 
But first complete with point at bol (on `i'), then remove the final
`lc' and move point to the `s'.  TAB then completes to isearch.el, as
before, but this time with the message [Complete but not unique], which
was not shown before with point at the same place (on `s').
 
Well not quite.  _Sometimes_ you will see [Complete but not unique] when
you follow that recipe.  Sometimes you will not.  Depends on the tide
perhaps.
 
Hardly what I would call "least surprise".  YMMV.
 

In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600)
 of 2012-04-19 on MARVIN
Bzr revision: 107968 monnier@HIDDEN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include
 -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
 -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
 





Acknowledgement sent to "Drew Adams" <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11308; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 28 Apr 2016 14:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.