From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "paul r" Newsgroups: gmane.emacs.devel Subject: Re: Usability suggestion : completion for M-: Date: Fri, 14 Mar 2008 09:52:41 +0100 Message-ID: References: <87ejaei4iz.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205484916 10951 80.91.229.12 (14 Mar 2008 08:55:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 08:55:16 +0000 (UTC) Cc: emacs- devel To: "Chong Yidong" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 14 09:55:43 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ja5hW-0006is-9I for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 09:55:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ja5gw-0008Fs-Uq for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 04:55:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ja5ek-0007ak-4q for emacs-devel@gnu.org; Fri, 14 Mar 2008 04:52:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ja5eh-0007aB-Bd for emacs-devel@gnu.org; Fri, 14 Mar 2008 04:52:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ja5eg-0007Zw-LE for emacs-devel@gnu.org; Fri, 14 Mar 2008 04:52:47 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.159]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ja5ef-00025b-EM for emacs-devel@gnu.org; Fri, 14 Mar 2008 04:52:46 -0400 Original-Received: by fg-out-1718.google.com with SMTP id d23so4791540fga.30 for ; Fri, 14 Mar 2008 01:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4+NFRfHR9eWlC3oOPiH8nA6VLbk4/JD2hLdp1/lKPOM=; b=uzXsslaFc4veRGh1PVaaTljyBERkPlnc4He1wFb2XtHtI9d54SHcxx6Jj7btJUyNXf2/BMDJX22Cmnii6Rrq1Pa8n5TNrfsus1XhbXbO4H/1/zyPbrpQjFVVwVOccpvHcUzZ2FqQzoahbqt1PfZnIhVG1oOydjCUcITADmkb4Q4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IaYkcPlhTGLumJ7h8QH3IA2M0ByuTi0DG0RSfiEWBakgz7iIVQqKzrHoZ7hLUYhU3r/SvebzKoTiuuUZBfdLLPAIp2ksCpfXuT28Fp3L+v6PsiHUde9arPJENYSgMQ6nx0kpFtsp+jFbcwlhO/W5PVo325gnVcd/5iAPhOU1gLk= Original-Received: by 10.82.188.15 with SMTP id l15mr25721898buf.15.1205484761381; Fri, 14 Mar 2008 01:52:41 -0700 (PDT) Original-Received: by 10.82.176.6 with HTTP; Fri, 14 Mar 2008 01:52:41 -0700 (PDT) In-Reply-To: <87ejaei4iz.fsf@stupidchicken.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:92494 Archived-At: > ISTR this being discussed on this list at some point in the past, but > don't remember the details. I can't remember this, so I apologize if my suggestion has been discussed many times. Here is my own choice of behaviour for TAB key : - unless point is at the end of line, indent-according-to-mode - if point is at EOL : - unless line is indented according to mode, indent according to mode - if line is indented according to mode, complete Classic use case would be : I'm typing a line, I start a new line, type some code, hit TAB to have my line properly indented, carry on typing, hit tab again to complete my symbol. I've been using it for 3 years now, and I still like this behaviour a lot.