Subject: bug#14061: closed (Re: bug#14061: 24.3.50; Globbing in completion not working correctly)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 27 Mar 2013 14:44:02 +0000

Your bug report

#14061: 24.3.50; Globbing in completion not working correctly

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
14061: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14061
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#14061: 24.3.50; Globbing in completion not working correctly
From: Stefan Monnier <[email-masked]>
To: Michael Heerdegen <[email-masked]>
Cc: [email-masked]
Date: Wed, 27 Mar 2013 10:41:21 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> Dunno what a good fix would look like.  It tried

>   (let* ((pre-length (length prefix))
>          (suffix (completion--common-suffix
>                   (mapcar (lambda (comp) (substring comp pre-length))
>                           comps))))
>     (cl-assert (stringp suffix))
>     (unless (equal suffix "")
>       (push suffix res)))

> which seems to work, but my insight in this code is limited.

You were right on the money.  I installed a slightly refined fix, which
tries to optimize away a few cases.
Thank you,

        Stefan

Subject: 24.3.50; Globbing in completion not working correctly
From: Michael Heerdegen <[email-masked]>
To: [email-masked]
Date: Tue, 26 Mar 2013 23:37:29 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

In emacs -Q, eval

  (require 'bytecomp) ; just for the defvar

Now 

   C-h v *compil*warn* TAB TAB

"byte-compile-warnings" should be among the matches, but that's not
the case.

Thanks,

Michael.

In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2013-03-17 on dex, modified by Debian
 (emacs-snapshot package, version 2:20130317-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 7.0 (wheezy)