GNU bug report logs -
#6830
widget-complete bad completions in :type 'file
Previous Next
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Does the problem go away if in
>>
>> (let ((minibuffer-completion-table collection)
>> (minibuffer-completion-predicate predicate)
>> (ol (make-overlay start end nil nil t)))
>> (overlay-put ol 'field 'completion)
>>
>> you also specify a `priority' of (say) 5?
>
> I didn't try, but I don't see how this would help. The above overlay
> _is_ the cause of the problem
> ...
> Having the priority of the above overlay higher will just cause the
> completion fail on GNU/Linux as well, AFAIU.
Sorry, I'm afraid I still don't understand.
As far as the completion code is concerned, the correct field to use is
the `completion' field assigned by completion-in-region. In this case,
it's a mistake to pay attention to the underlying widget field. So why
doesn't it work to give the `completion' overlay a higher priority?
FWIW, increasing the priority of the `completion' overlay does not cause
widget file name completion to fail on GNU/Linux. Could you try on
Windows?
This bug report was last modified 13 years and 75 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.