From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: C-u prefix behavior of TAB broken Date: Mon, 25 Feb 2008 11:56:42 +0900 Message-ID: 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> <476D4C5D.7020202@gmx.at> <87bq8ia4mp.fsf@catnip.gol.com> <476D9138.2070808@gmx.at> <87mys272v7.fsf@catnip.gol.com> <8763we18xf.fsf@jurta.org> <877igucfzx.fsf@catnip.gol.com> <87ejb2rvlx.fsf@jurta.org> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203908228 5228 80.91.229.12 (25 Feb 2008 02:57:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2008 02:57:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 03:57:33 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 1JTTX1-0001FR-Qx for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 03:57:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTTWW-00028B-82 for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2008 21:57:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTTWS-000286-42 for emacs-devel@gnu.org; Sun, 24 Feb 2008 21:56:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTTWO-00027c-Lx for emacs-devel@gnu.org; Sun, 24 Feb 2008 21:56:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTTWO-00027Z-G6 for emacs-devel@gnu.org; Sun, 24 Feb 2008 21:56:52 -0500 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JTTWK-0004m6-E9; Sun, 24 Feb 2008 21:56:48 -0500 Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m1P2ugp2009614; Mon, 25 Feb 2008 11:56:42 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay31.aps.necel.com with ESMTP; Mon, 25 Feb 2008 11:56:42 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay31.aps.necel.com with ESMTP; Mon, 25 Feb 2008 11:56:42 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 4457C58; Mon, 25 Feb 2008 11:56:42 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <87ejb2rvlx.fsf@jurta.org> (Juri Linkov's message of "Sun, 24 Feb 2008 21:40:41 +0200") Original-Lines: 30 X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:90343 Archived-At: Juri Linkov writes: > This is correct, but I thought this is not very useful. > >> (condition-case err (indent-for-tab-command t) >> (error (indent-for-tab-command))) > > This is not a problem for me, but I doubted that displaying an error message > would be useful for someone who types `C-u TAB' at the wrong place. I dunno, I'd think if someone types C-u before TAB, they do so intentionally, thinking there's a balanced expression following, and would like to know if something's screwy. In the example you gave it's really obvious what the problem is, but what if there's actually a non-trivial unbalanced expresison following? It seems useful to give an error that says it can't find a balanced expression rather than silently ignoring the C-u in that case... E.g.: (hello [ world) The error message could be a bit more friendly though... -Miles -- Love is a snowmobile racing across the tundra. Suddenly it flips over, pinning you underneath. At night the ice weasels come. --Nietzsche