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: Mon, 04 Jul 2005 01:14:12 +0200 Message-ID: <42C87144.6090500@student.lu.se> References: <42C8366C.4090901@student.lu.se> <87r7ef4qf3.fsf@rocksteady.printf.se> <42C84855.6040906@student.lu.se> <87mzp34n8k.fsf@rocksteady.printf.se> <42C8579A.2020609@student.lu.se> <42C861B7.50102@student.lu.se> <8564vra4z1.fsf@lola.goethe.zz> 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 1120433543 24640 80.91.229.2 (3 Jul 2005 23:32:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2005 23:32:23 +0000 (UTC) Cc: Jason Rumney , Michael Kifer , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 01:32:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpDwU-0000WT-Kl for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 01:32:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpDxf-00084Y-Q5 for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 19:33:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpDwX-0007g1-EY for emacs-devel@gnu.org; Sun, 03 Jul 2005 19:32:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpDwK-0007Xk-PQ for emacs-devel@gnu.org; Sun, 03 Jul 2005 19:31:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpDwI-0007RF-VW for emacs-devel@gnu.org; Sun, 03 Jul 2005 19:31:55 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpDkr-0002Bd-1O; Sun, 03 Jul 2005 19:20:05 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout2-sn1.fre.skanova.net (7.2.060.1) id 42B9371700204465; Mon, 4 Jul 2005 01:14:12 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: David Kastrup In-Reply-To: <8564vra4z1.fsf@lola.goethe.zz> 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:40286 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40286 David Kastrup wrote: >>>>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.) >>>> >>>> >>>> >>>> >>>In what circumstances is Esc-TAB not available? >>> >>> >>> >>> >>The case I think of is when viper-mode is in vi state. I am using >>viper all the time. >> >> > >Then you really should read > >(info "(viper) Vi State") > >This is not as much an Emacs problem as it is a viper problem, and >viper has explicitly documented and addressed this problem. > Thanks, I have read it now: `C-\' Viper uses as a switch between Insert and Vi states. Emacs uses for Meta. The Meta key is very important in Emacs since many functions are accessible only via that key as `M-x function-name'. Therefore, we need to simulate it somehow. In Viper's Vi, Insert, and Replace states, the meta key is set to be `C-\'. Thus, to get `M-x', you should type `C-\ x' (if the keyboard has no Meta key, which is rare these days). This works both in the Vi command state and in the Insert and Replace states. In Vi command state, you can also use `\ ' as the meta key. Note: Emacs binds `C-\' to a function that offers to change the keyboard input method in the multilingual environment. Viper overrides this binding. However, it is still possible to switch the input method by typing `\ C-\' in the Vi command state and `C-z \ C-\' in the Insert state. Or you can use the MULE menu in the menubar. On a swedish keyboard I can not use C-\ at all. In vi state I can not use ESC. The window manager prevents me from using Alt-Tab. So what is left for completion? And note that I would pretty much want completion to be very easy to reach! Suppose I do not know anything about Emacs. What would you expect me to think in a w32 environment with a swedish (or other national) keyboard?