From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Caldwell Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r116461: Connect electric-indent-mode up with CC Mode. Bug #15478. Date: Sat, 22 Mar 2014 15:32:07 -0700 Message-ID: <532E0F67.9050108@porkrind.org> References: <20140302115118.GA3768@acm.acm> <20140308225820.GB2726@acm.acm> <20140309123711.GA2615@acm.acm> <20140316223509.GD3854@acm.acm> <20140319224231.GB4783@acm.acm> <20140322131350.GA3163@acm.acm> <532DF059.1000907@porkrind.org> <87bnwx28kd.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms050300090402000003080308" X-Trace: ger.gmane.org 1395527529 7221 80.91.229.3 (22 Mar 2014 22:32:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2014 22:32:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 22 23:32:19 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WRUSf-0004Am-Q3 for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2014 23:32:18 +0100 Original-Received: from localhost ([::1]:58319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRUSf-0001w2-7T for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2014 18:32:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRUSW-0001vu-Gb for emacs-devel@gnu.org; Sat, 22 Mar 2014 18:32:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRUSQ-0007KZ-HY for emacs-devel@gnu.org; Sat, 22 Mar 2014 18:32:08 -0400 Original-Received: from sa38.galvanix.net ([98.126.48.38]:34641 helo=kill.porkrind.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRUSQ-0007JL-8Z for emacs-devel@gnu.org; Sat, 22 Mar 2014 18:32:02 -0400 Original-Received: from porkrind.org (cpe-142-11-95-13.socal.rr.com [142.11.95.13]) by kill.porkrind.org (Postfix) with ESMTPS id E15625FD03 for ; Sat, 22 Mar 2014 15:31:59 -0700 (PDT) Authentication-Results: kill.porkrind.org; dkim=pass reason="1536-bit key; unprotected key" header.d=porkrind.org header.i=@porkrind.org header.b=rrZyC/kY; dkim-adsp=pass; dkim-atps=neutral Original-Received: from blacker.porkrind.org (localhost [127.0.0.1]) (authenticated bits=0) by porkrind.org (8.14.4/8.14.4/Debian-5) with ESMTP id s2MMVud3025712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sat, 22 Mar 2014 15:31:57 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porkrind.org; s=apoptygma; t=1395527517; bh=Vt6YMz/gq4AYXeSh2zT0rDr4h+apZt3ulKoXD7hdN4g=; h=Date:From:To:Subject:References:In-Reply-To:From; b=rrZyC/kYxCetEOt5ly0qaFLdDbB8kNfty8U6Y/yU95kwrYshFbppbsDMwhu4y5x5W 2s2yG1NREtMUzd+8zxSY4NhpBND+JZybxdH35z0eZH/7FdkxVvUADGGU7XlrHp1+MK Bjx7bXumSGfegMtFLnvoJl5hVPyj4uvxPzifwyen+a5B0jayXFpjhoKrvdaGCqAcMC rlFHOWc9Yrx01nM0v0YHMSENzA6uBML+1xStwnniZCT1sRBlzHJkdFhHpx1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Thunderbird/28.0 In-Reply-To: <87bnwx28kd.fsf@fencepost.gnu.org> X-Enigmail-Version: 1.6 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAACXBIWXMAAAsTAAALEwEAmpwY AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+S X8VGAAABiklEQVR42rRYSZIDIQwzLv7/ZXLoEAzeBKG7ag4DRhZeBKQ0Qr5imLWCrKwn0HImc1Mx aAvmmc/cuAT7RMYws6v/gHeb0p4/y5792GJJlLZWOPgsdV5NaRes4Xe4632sLljD7wKv1Ta74H/h MxecN1Rc2TatYcP7zb+6WFfN/zMSHg1Ymuxjrzd+DuLw6Nlekggt1hvr7KK9tRIX85jjM6GTYhfv nzXH3jBdYc4koueBs66M+Xv9O9n5ML4urWssjGeMY3if3bzGSvk30BQ46OOaxJjLCpzPJAzXrOrD z5VFh58TIiwESIiCHNxxwPTy97qDei8YdpVdyYEv6EQcK8n+iTyE/Cn1eoe7HwN+F56oErVSGtJY Q1sR2ehaUHfjvJuv0tL7qAzEbBmfF2IHrVi8zp9N0pZtQZZHOXp/sLW4+hqKvm3iccaPwP3XgnKX n8/YtVeOsnenRG7VCBFlZ5fe3LOyANCVdGAIwDs7tTXGF4hIk15/iAfSgv2UkNFItSszOG3Ha7r0 GQBerhBkHOAzmQAAAABJRU5ErkJggg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 98.126.48.38 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170818 Archived-At: This is a cryptographically signed message in MIME format. --------------ms050300090402000003080308 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 3/22/14, 3:05 PM, David Kastrup wrote: > David Caldwell writes: >=20 >> On 3/22/14, 9:14 AM, Stefan wrote: >>> It seems now that your main (only?) objection is having RET do >>> reindent-then-newline-and-indent instead of having it only do >>> newline-and-indent. If that's the case, then let's focus on this. >>> In what scenario is it a problem? >> >> Let me ask this, in what scenario does it actually do anything useful?= >=20 > } > ^ >=20 > When pressing RET now, the result should be >=20 > } >=20 > ^ >=20 > with the added empty line being _empty_ rather than containing two > spaces. Then perhaps it shouldn't act like "TAB RET TAB" but instead like "M-\ RET TAB". Or even "s/^\s +$// RET TAB" (in case preserving trailing whitespace on a non-blank line is somehow better=E2=80=94though I think i= t would not be). -David --------------ms050300090402000003080308 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMYDCC BiQwggUMoAMCAQICAwkFtDANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNV BAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRl IFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlh dGUgQ2xpZW50IENBMB4XDTE0MDIxODEwNDcxNFoXDTE1MDIxOTEyNTQzNVowQDEbMBkGA1UE AwwSZGF2aWRAcG9ya3JpbmQub3JnMSEwHwYJKoZIhvcNAQkBFhJkYXZpZEBwb3JrcmluZC5v cmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkzgZ2USy/IIF69iMaP5dgxFrN n/ppK9+HRpKWsesQ71tTX9+CqObNny15tzbNgORggsM5vVB7EdyNOfwhu2ZUn48MVSKnKnIM LmQPJNlYLbSDM33Q+2amNgoWxyvv3lpP44h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