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

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

bug#15419: 24.3.50; file name as directory completion problem


From: Stefan Monnier
Subject: bug#15419: 24.3.50; file name as directory completion problem
Date: Wed, 07 May 2014 20:53:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> !       ;; If we're using the substring style for file name completion
> !       ;; and completing a directory name, this ends up tacking "/"
> !       ;; onto the name, resulting in "//" if the suffix begins with
> !       ;; "/".  So drop one "/" (bug#15419).
> !       (cons (replace-regexp-in-string "//" "/" (concat prefix merged 
> suffix))

This will remove // from file names where they're valid such
a "http://blabla/"; (using url-handler-mode).

The call to completion--merge-suffix is supposed to handle the
particular problem you're after, tho, so you might want to try and
figure out why it doesn't.


        Stefan





reply via email to

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