Received: (at 16852) by debbugs.gnu.org; 24 Feb 2014 20:52:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 15:52:43 2014 Received: from localhost ([127.0.0.1]:38222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WI2W3-0005lh-Gm for submit <at> debbugs.gnu.org; Mon, 24 Feb 2014 15:52:43 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:29071) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1WI2W0-0005lQ-PM for 16852 <at> debbugs.gnu.org; Mon, 24 Feb 2014 15:52:41 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIKABK/CFFsoXjX/2dsb2JhbABEuzWCVwQDexdzgh4BAQQBViMFCwsOJhIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: AhIKABK/CFFsoXjX/2dsb2JhbABEuzWCVwQDexdzgh4BAQQBViMFCwsOJhIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="48642577" Received: from 108-161-120-215.dsl.teksavvy.com (HELO pastel.home) ([108.161.120.215]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 24 Feb 2014 15:52:34 -0500 Received: by pastel.home (Postfix, from userid 20848) id A2F9460054; Mon, 24 Feb 2014 15:52:34 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> To: Dmitry Gutov <dgutov@HIDDEN> Subject: Re: bug#16852: 24.3.50; Elisp indentation bug in `indent-for-tab-command' Message-ID: <jwva9dgqlol.fsf-monnier+emacsbugs@HIDDEN> References: <87fvn96hbr.fsf@HIDDEN> <87txbpkh26.fsf@HIDDEN> <CAJ1SQWAA5e1f-BaKvBvCz24FUzJYVvjqgzrVpGLHe-Yi-=n98g@HIDDEN> <530A1D5E.8020001@HIDDEN> Date: Mon, 24 Feb 2014 15:52:34 -0500 In-Reply-To: <530A1D5E.8020001@HIDDEN> (Dmitry Gutov's message of "Sun, 23 Feb 2014 18:10:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16852 Cc: Oleh Krehel <o.krehel@HIDDEN>, 16852 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) > Hmm. Looks like a bug in `indent-sexp' to me. Indeed, there are some discrepancies in Elisp between indent-region and indent-line. We should fix them by scrapping the indent-region code, I think (tho this requires improving the generic indent-region code so that it can also do the "indent-comment" thingy that Elisp's indent-region does). Stefan
bug-gnu-emacs@HIDDEN
:bug#16852
; Package emacs
.
Full text available.Received: (at 16852) by debbugs.gnu.org; 23 Feb 2014 16:10:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 11:10:31 2014 Received: from localhost ([127.0.0.1]:36729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WHbdM-0001Fe-TY for submit <at> debbugs.gnu.org; Sun, 23 Feb 2014 11:10:29 -0500 Received: from mail-ee0-f53.google.com ([74.125.83.53]:55885) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <raaahh@HIDDEN>) id 1WHbdB-0001FB-Di for 16852 <at> debbugs.gnu.org; Sun, 23 Feb 2014 11:10:18 -0500 Received: by mail-ee0-f53.google.com with SMTP id t10so2639368eei.40 for <16852 <at> debbugs.gnu.org>; Sun, 23 Feb 2014 08:10:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=kkpwWKDO1WBaSyBoMgh5pbZkoC8b7N6Jmri6P9IEeXE=; b=fcilnXIX4KijW52qNLN2ISSRZVtp6vmm5ee3lnYbA+wWCXb0Jvpk44dMegsTyC56Bk CtU6EUTQcbPAKcCpGocgF/qWcAO649dtl+myq1EyX4EjALYon3KexjkSfFukZYH8/2yM YzyF8JLgdd6J5UgBwp5Q8QW8Crd/SD1fbJwLj35jz933sBlxUfLv0y8utofuTWU0VLRC I66mv+AtltlInUsD3OSgrGc8oGvZz9Wc/6u8SYerSPdYO9CVIgFc8cUnore7PALYh73Y LhpzDY771EmeX2KZPH2zkKnVMVerNWI3XVxukd1MoUPNoewbDRdSKkKJ+lW9fHx5VZLk YJGQ== X-Received: by 10.14.204.9 with SMTP id g9mr19526503eeo.82.1393171811377; Sun, 23 Feb 2014 08:10:11 -0800 (PST) Received: from [192.168.10.2] ([93.109.195.252]) by mx.google.com with ESMTPSA id j42sm52645864eep.21.2014.02.23.08.10.09 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Feb 2014 08:10:10 -0800 (PST) Message-ID: <530A1D5E.8020001@HIDDEN> Date: Sun, 23 Feb 2014 18:10:06 +0200 From: Dmitry Gutov <dgutov@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Oleh Krehel <o.krehel@HIDDEN> Subject: Re: bug#16852: 24.3.50; Elisp indentation bug in `indent-for-tab-command' References: <87fvn96hbr.fsf@HIDDEN> <87txbpkh26.fsf@HIDDEN> <CAJ1SQWAA5e1f-BaKvBvCz24FUzJYVvjqgzrVpGLHe-Yi-=n98g@HIDDEN> In-Reply-To: <CAJ1SQWAA5e1f-BaKvBvCz24FUzJYVvjqgzrVpGLHe-Yi-=n98g@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16852 Cc: 16852 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On 23.02.2014 17:37, Oleh Krehel wrote: > It's not consistent with `indent-sexp'. Call it from beginning of sexp and see > that it reverts to the first state, which is the correct one in my opinion. Hmm. Looks like a bug in `indent-sexp' to me. (Please keep the bug address in Cc).
bug-gnu-emacs@HIDDEN
:bug#16852
; Package emacs
.
Full text available.Received: (at 16852) by debbugs.gnu.org; 23 Feb 2014 15:03:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 10:03:13 2014 Received: from localhost ([127.0.0.1]:36714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WHaaH-0007oE-CN for submit <at> debbugs.gnu.org; Sun, 23 Feb 2014 10:03:13 -0500 Received: from mail-ee0-f51.google.com ([74.125.83.51]:32868) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <raaahh@HIDDEN>) id 1WHaaF-0007o2-OO for 16852 <at> debbugs.gnu.org; Sun, 23 Feb 2014 10:03:12 -0500 Received: by mail-ee0-f51.google.com with SMTP id b57so2613371eek.38 for <16852 <at> debbugs.gnu.org>; Sun, 23 Feb 2014 07:03:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=coHAHYplzZ/3NllMsDPAII8MbAzSA77yQ3/RDrUH8r8=; b=BNkelBlHff6++WJgzvmlZYxnueHXZxAz+SJAW48FtWnMwybdIR4G5fuuktpXcNFFZn Z3HsAHk4ze5OHEom1DOEkmUqNXzBwOXJfR1x8QOh2YmGiEfVZglUUXUzM4pVKLVWm1kI UsQVJ5XlcISbdJjk8g+nPm9LHrH2kou/VpHQ8m2HRvXpQiZsUk3gWYGDKB68SdE7VIDf ayxiwanQraw4/6liapDyLkYLwHyPniqBruHsw9y68ctSeyE5cZw2FaiM75vDxKZgNY+e Jdgkvp50clqtXr0538IV3i0mXnvKFDOyxVRFKn3v/AMEoqZoX8QbO3byh11ZUtxGrx6z aVqQ== X-Received: by 10.14.8.7 with SMTP id 7mr19461593eeq.56.1393167785707; Sun, 23 Feb 2014 07:03:05 -0800 (PST) Received: from axl ([93.109.195.252]) by mx.google.com with ESMTPSA id k6sm52020173eep.17.2014.02.23.07.03.03 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 23 Feb 2014 07:03:04 -0800 (PST) From: Dmitry Gutov <dgutov@HIDDEN> To: Oleh <o.krehel@HIDDEN> Subject: Re: bug#16852: 24.3.50; Elisp indentation bug in `indent-for-tab-command' In-Reply-To: <87fvn96hbr.fsf@HIDDEN> (Oleh's message of "Sun, 23 Feb 2014 15:20:56 +0100") References: <87fvn96hbr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Date: Sun, 23 Feb 2014 17:02:57 +0200 Message-ID: <87txbpkh26.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16852 Cc: 16852 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Oleh <o.krehel@HIDDEN> writes: > With emacs -Q, and this text in *scratch*: > > ( > progn > ) > > and the point anywhere on the last line, pressing "C-i" will produce this > indentation: > > ( > progn > ) > > So one extra space is being inserted before the closing paren. Looks intentional to me. `progn' usually has some arguments. Add at least one and see that the closing paren lines up to it just fine.
bug-gnu-emacs@HIDDEN
:bug#16852
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 23 Feb 2014 14:21:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 09:21:39 2014 Received: from localhost ([127.0.0.1]:36377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WHZw3-0006cr-30 for submit <at> debbugs.gnu.org; Sun, 23 Feb 2014 09:21:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52690) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <oleh.krehel@HIDDEN>) id 1WHZw0-0006cZ-Ga for submit <at> debbugs.gnu.org; Sun, 23 Feb 2014 09:21:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <oleh.krehel@HIDDEN>) id 1WHZvm-0002XA-UU for submit <at> debbugs.gnu.org; Sun, 23 Feb 2014 09:21:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <oleh.krehel@HIDDEN>) id 1WHZvm-0002X5-RR for submit <at> debbugs.gnu.org; Sun, 23 Feb 2014 09:21:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <oleh.krehel@HIDDEN>) id 1WHZve-0005sl-4m for bug-gnu-emacs@HIDDEN; Sun, 23 Feb 2014 09:21:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <oleh.krehel@HIDDEN>) id 1WHZvV-0002V4-Ns for bug-gnu-emacs@HIDDEN; Sun, 23 Feb 2014 09:21:14 -0500 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:60908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <oleh.krehel@HIDDEN>) id 1WHZvV-0002Uz-HU for bug-gnu-emacs@HIDDEN; Sun, 23 Feb 2014 09:21:05 -0500 Received: by mail-ea0-f173.google.com with SMTP id n15so1432531ead.4 for <bug-gnu-emacs@HIDDEN>; Sun, 23 Feb 2014 06:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=XzkOT0R8nrV1IauWC76cYta7IXdxWTs5Yliq/1D9mPw=; b=ygKRuZAZwpOD41fXKVI193qs6tbNQQDuEQrmelDI9rnuH2K7fc99NwHR5lCJv1RJtk a8HbBdbYJKca4Q1zmSXkbGDPlyFITnxiY39S8EE0au71Yw6SuZLLaiPB7bE7KeDZa6av ytfe8LhYKIjz3llpxRre3J/qDB5gFjT9RXA+v58oA42mcp+xyNxdzrIt0sZIJJpT/sZJ qfmcYXZkzJ8E2hRBAc0fZ6f+ZghNIQq5YHnRvTRc/2ve39Z3y7a0XcMX4x7A8mG98iwi swWJ9DtL3s4cOXdCptXIWahOM3TVyd3kZlfJq7PqbrR1K81Gj2OqOcg90JUKGNBH6OEe 7j4g== X-Received: by 10.15.55.193 with SMTP id v41mr19736729eew.80.1393165264166; Sun, 23 Feb 2014 06:21:04 -0800 (PST) Received: from firefly (dyn068175.nbw.tue.nl. [131.155.68.175]) by mx.google.com with ESMTPSA id k41sm51639006een.19.2014.02.23.06.21.02 for <bug-gnu-emacs@HIDDEN> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 23 Feb 2014 06:21:03 -0800 (PST) From: Oleh <o.krehel@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 24.3.50; Elisp indentation bug in `indent-for-tab-command' Date: Sun, 23 Feb 2014 15:20:56 +0100 Message-ID: <87fvn96hbr.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) Hi, With emacs -Q, and this text in *scratch*: ( progn ) and the point anywhere on the last line, pressing "C-i" will produce this indentation: ( progn ) So one extra space is being inserted before the closing paren. regards, Oleh
Oleh <o.krehel@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#16852
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.