[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6830: widget-complete bad completions in :type 'file
From: |
Chong Yidong |
Subject: |
bug#6830: widget-complete bad completions in :type 'file |
Date: |
Sun, 04 Mar 2012 17:37:57 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Eli Zaretskii <eliz@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?
- bug#6830: widget-complete bad completions in :type 'file,
Chong Yidong <=
- bug#6830: widget-complete bad completions in :type 'file, Eli Zaretskii, 2012/03/04
- bug#6830: widget-complete bad completions in :type 'file, Chong Yidong, 2012/03/04
- bug#6830: widget-complete bad completions in :type 'file, Eli Zaretskii, 2012/03/05
- bug#6830: widget-complete bad completions in :type 'file, Stefan Monnier, 2012/03/05
- bug#6830: widget-complete bad completions in :type 'file, Eli Zaretskii, 2012/03/05
- bug#6830: widget-complete bad completions in :type 'file, Stefan Monnier, 2012/03/06
- bug#6830: widget-complete bad completions in :type 'file, Eli Zaretskii, 2012/03/06
- bug#6830: widget-complete bad completions in :type 'file, Stefan Monnier, 2012/03/07
- bug#6830: widget-complete bad completions in :type 'file, Eli Zaretskii, 2012/03/09
- bug#6830: widget-complete bad completions in :type 'file, Stefan Monnier, 2012/03/09