Subject: bug#6830: closed (Re: bug#6830: widget-complete bad completions in :type 'file)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 10 Mar 2012 04:52:03 +0000

Your bug report

#6830: widget-complete bad completions in :type 'file

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
6830: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6830
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#6830: widget-complete bad completions in :type 'file
From: Stefan Monnier <[email-masked]>
To: [email-masked]
Date: Fri, 09 Mar 2012 11:46:59 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

>> Does the patch below fix the problem?
> It does, but on Windows both `before_field' and `field' now have the
> value of the widget, not of `completion'.

Thanks, installed,

        Stefan

Subject: widget-complete bad completions in :type 'file
From: Lennart Borgman <[email-masked]>
To: Emacs Bugs <[email-masked]>
Date: Mon, 9 Aug 2010 13:45:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

I get bad completion alternatives in Custom for a field of type
"file". It looks like it takes the files in the current directory and
disregards the contents of the field.

To see it start from "emacs -Q" and evaluate

(defcustom pause-later-file "~/.emacs-pause-later"
  "File for storing pauses to do later."
  :type 'file
  :group 'pause-yoga)

Then do "M-x customize-option" to customize it. Go to the file field,
enter some text and do "M-x widget-complete" (the only way to complete
it in an unpatched Emacs on w32).

With a trunk checkout from 2010-08-04 on w32.
I get a list of the file in the current dir.