emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14061: closed (24.3.50; Globbing in completion not


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14061: closed (24.3.50; Globbing in completion not working correctly)
Date: Wed, 27 Mar 2013 14:44:02 +0000

Your message dated Wed, 27 Mar 2013 10:41:21 -0400
with message-id <address@hidden>
and subject line Re: bug#14061: 24.3.50; Globbing in completion not working 
correctly
has caused the debbugs.gnu.org bug report #14061,
regarding 24.3.50; Globbing in completion not working correctly
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14061: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14061
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; Globbing in completion not working correctly Date: Tue, 26 Mar 2013 23:37:29 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
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)




--- End Message ---
--- Begin Message --- Subject: Re: bug#14061: 24.3.50; Globbing in completion not working correctly Date: Wed, 27 Mar 2013 10:41:21 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
> 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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]