From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: C-u prefix behavior of TAB broken Date: Sat, 22 Dec 2007 18:41:49 +0100 Message-ID: <476D4C5D.7020202@gmx.at> References: <874peijnu4.fsf@catnip.gol.com> <47667010.40209@gmx.at> <87tzmhs8g8.fsf@catnip.gol.com> <4766C7F7.5060504@gmx.at> <87fxxvbnbv.fsf@catnip.gol.com> <476CD8CF.4060108@gmx.at> <874peac02g.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198345341 31414 80.91.229.12 (22 Dec 2007 17:42:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2007 17:42:21 +0000 (UTC) Cc: Stefan Monnier , rms@gnu.org, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 22 18:42:33 2007 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 1J68Mq-0005Q7-CR for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2007 18:42:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J68MW-000323-CH for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2007 12:42:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J68MR-0002vu-N8 for emacs-devel@gnu.org; Sat, 22 Dec 2007 12:42:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J68MQ-0002tQ-P6 for emacs-devel@gnu.org; Sat, 22 Dec 2007 12:42:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J68MQ-0002t3-Hd for emacs-devel@gnu.org; Sat, 22 Dec 2007 12:42:06 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1J68MP-0006iD-PD for emacs-devel@gnu.org; Sat, 22 Dec 2007 12:42:06 -0500 Original-Received: (qmail invoked by alias); 22 Dec 2007 17:42:03 -0000 Original-Received: from N918P006.adsl.highway.telekom.at (EHLO [62.47.58.166]) [62.47.58.166] by mail.gmx.net (mp030) with SMTP; 22 Dec 2007 18:42:03 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+oe0VJhsOoO4E29Wo7iuxVYqzrMDCb6dmiT+pOsP lafruV6xWp5EOa User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <874peac02g.fsf@catnip.gol.com> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85378 Archived-At: > Can't indent-for-tab-command simply, if there's a prefix argument given, > rigidly indent the following sexp by the change in indentation? That > doesn't seem hard at all, and matches the behavior I remember (perhaps > there are corner cases where it would differ, but I don't think I know > about them...). For `tab-always-indent' t it might make sense to do `beginning-of-line' before the `forward-sexp'. Otherwise it should work wherever `forward-sexp' behaves reasonably. BTW, isn't ((memq indent-line-function '(indent-relative indent-relative-maybe)) (funcall indent-line-function)) ;; Indent the line. (t (indent-according-to-mode)) semantically equivalent to (t (funcall indent-line-function))