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:
> What do you get on GNU/Linux for the values of `field',
> `before_field', and `after_field'?
This is from doing M-x customize-variable RET abbrev-file-name RET, and
doing C-M-i after the end of the file name in the editable field:
(gdb) pp after_field
boundary
(gdb) pp before_field
completion
(gdb) pp field
completion
>> 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?
>
> Give me a patch to try, and I will.
=== modified file 'lisp/minibuffer.el'
*** lisp/minibuffer.el 2012-02-23 15:41:12 +0000
--- lisp/minibuffer.el 2012-03-05 03:04:20 +0000
***************
*** 1483,1488 ****
--- 1483,1489 ----
(minibuffer-completion-predicate predicate)
(ol (make-overlay start end nil nil t)))
(overlay-put ol 'field 'completion)
+ (overlay-put ol 'priority 5)
(when completion-in-region-mode-predicate
(completion-in-region-mode 1)
(setq completion-in-region--data
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.