From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Completion with M-Tab for custom type 'directory Date: Sun, 03 Jul 2005 23:24:42 +0200 Message-ID: <42C8579A.2020609@student.lu.se> References: <42C8366C.4090901@student.lu.se> <87r7ef4qf3.fsf@rocksteady.printf.se> <42C84855.6040906@student.lu.se> <87mzp34n8k.fsf@rocksteady.printf.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120426113 9793 80.91.229.2 (3 Jul 2005 21:28:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2005 21:28:33 +0000 (UTC) Cc: Michael Kifer , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 03 23:28:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpC0T-0006Df-20 for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 23:28:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpC1d-0006iw-Um for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 17:29:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpC0T-0006AV-CD for emacs-devel@gnu.org; Sun, 03 Jul 2005 17:28:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpC0O-000674-A3 for emacs-devel@gnu.org; Sun, 03 Jul 2005 17:28:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpC0M-00066B-RF for emacs-devel@gnu.org; Sun, 03 Jul 2005 17:27:58 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpC2x-0003ah-Ec for emacs-devel@gnu.org; Sun, 03 Jul 2005 17:30:39 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 42B813B000249BA9; Sun, 3 Jul 2005 23:24:46 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: Henrik Enberg In-Reply-To: <87mzp34n8k.fsf@rocksteady.printf.se> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40267 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40267 Henrik Enberg wrote: >>Then, in the correct state, I put the point to the beginning of the >>field. If I then type Esc Tab I get an "Wrong type argument: stringp, >>nil". >> >> > >Hmm, I get a huge list of symbols to complete against. Even at the >beginning of the field without deleting the initial "nil". > I compared with how completion works for C-x d. In this case the default directory is used when the string is empty. This is of course not meaningful the the custom widget. I noticed another problem (bug?). The completion list contains all files, not only directories. This is meaningful for C-x d, but not for a directory widget. To summarize the problems: 1) On w32: You can not get completion when the widget input field for a 'directory type custom is empty. This perhaps has something to do with the absence of a definition of a root directory in dired too? 2) Completion for a 'directory type custom widget includes all files, not only directories. (Is this w32 specific?) 3) Alt-Tab is useless as a default since it is not available in window type environments. Esc-Tab is in this case available, but is not always the case. (This message has been repeated many times now and I really long for a resulotion of this.)