From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.devel Subject: Re: Completion with M-Tab for custom type 'directory Date: Sun, 03 Jul 2005 23:02:19 +0200 Message-ID: <87mzp34n8k.fsf@rocksteady.printf.se> References: <42C8366C.4090901@student.lu.se> <87r7ef4qf3.fsf@rocksteady.printf.se> <42C84855.6040906@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120425127 21539 80.91.229.2 (3 Jul 2005 21:12:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2005 21:12:07 +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:12:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpBku-0004jl-0E for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 23:12:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpBm4-00030o-MX for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 17:13:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpBgH-0002A3-Pi for emacs-devel@gnu.org; Sun, 03 Jul 2005 17:07:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpBg4-000228-WC for emacs-devel@gnu.org; Sun, 03 Jul 2005 17:07:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpBg1-0001ys-LB for emacs-devel@gnu.org; Sun, 03 Jul 2005 17:06:57 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpBhI-00025y-6y for emacs-devel@gnu.org; Sun, 03 Jul 2005 17:08:16 -0400 Original-Received: from rocksteady.printf.se (81.224.154.131) by pne-smtpout1-sn2.hy.skanova.net (7.2.060.1) id 42BFBBD20013C3C8; Sun, 3 Jul 2005 23:02:19 +0200 Original-Received: by rocksteady.printf.se (Postfix, from userid 1000) id AD87F4047; Sun, 3 Jul 2005 23:02:19 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <42C84855.6040906@student.lu.se> (Lennart Borgman's message of "Sun, 03 Jul 2005 22:19:33 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:40266 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40266 Lennart Borgman writes: > Henrik Enberg wrote: > >>Lennart Borgman writes: >> >> >> >>>Does this work? On w32 I can of course not do M-Tab, but I have another >>>meta-key to, but that does not seem to work. >>> >>> >> >>Doesn't ESC-Tab work on windows? >> >> > Yes, but I saw some strange things. First I got into that "show initial > lisp value" state. Then I did not do that any more, but I really do not > understand why. I start with (customize-option 'my-opt). > > 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". > After moving the point a bit to the right I actually have completion > working. But, ... > > 1) If there are spaces in the directory name it stops working. > 2) I can not click with the right button to select from the list. I have > set w32-num-buttons to 2. Should not the right button then be > mouse-2? I don't know about windows, but on Unix-likes, the right button would most probably be button 3. With a 2 button mouse, you'd either have to hit both buttons (or the scroll wheel if one exists) to get mouse-2. > 3) I can not select with RET in the selection list (because viper is > active in the completion buffer). This sounds probably a viper problem. I don't think it's a good idea to rebind standard keys in emacs just to get viper working. Possibly viper.el should override keys that gets in the way.