GNU bug report logs - #26569
Parindent doesn't work according to description

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Saideep Bhosle <saideep@HIDDEN>; merged with #32061; dated Wed, 19 Apr 2017 21:18:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 26569 32061. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 26569 <at> debbugs.gnu.org:


Received: (at 26569) by debbugs.gnu.org; 19 Apr 2017 23:43:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 19 19:43:05 2017
Received: from localhost ([127.0.0.1]:57633 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d0zFZ-00024L-1G
	for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 19:43:05 -0400
Received: from mail-io0-f182.google.com ([209.85.223.182]:33718)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1d0zFX-00023r-Kn
 for 26569 <at> debbugs.gnu.org; Wed, 19 Apr 2017 19:43:04 -0400
Received: by mail-io0-f182.google.com with SMTP id k87so43229979ioi.0
 for <26569 <at> debbugs.gnu.org>; Wed, 19 Apr 2017 16:43:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=wOPXL8IAVI0Av0wZemVIdUbrwCs16KaX1IgfObGvgO4=;
 b=nbsXkuopX4Wi/Re1Vu93BBibOTvqvwh+Nbk/9V7B1Uy+JZir9G74lPP0EMtjFk2s/p
 MN67d3BBYN5euWyyf3VAPTsaQgJPvwvlKmhSawPO607CfEtl1L6vdV1dTHA9AgRTNWDv
 W5gLcgT/KJ+Coz6bIV2W+yJxoNV2SCY2oGoYQIqy5GjCPTBdQZwFDVhsC53FGnU9ehWT
 qFWi1a+c7fd9YCX5aMCun1h8dPCDQ/K9npgEA8LGcusuAbi2ZIdNbr0chJgLAOYSoSUP
 Ixo6s7BSLbMaB3WcRby7d8bCnHwLzsFoPRb5Y9HYCSoVyBsmwECn80QCLRZjGwD+bYSw
 KksA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=wOPXL8IAVI0Av0wZemVIdUbrwCs16KaX1IgfObGvgO4=;
 b=O2fs1uh48wSJwoA+jfTO2kVy5ENevEUUgya2aoUphfQOCkc6yeY5T5WwMpjUyJZc5a
 mivMCiNYnSq+e/kvL0Tv0O5cd4Ase+F0ACfZlyqA61MnT6oDEmEGzwFioXqQBOhu/dpi
 qbtK2Rx+eQGyvNf8oNfgPiqyMrUshxDczN5I3D6sh7vzK2z+o7Gya9A7uH7ym9M1Fhh1
 g8lvAAddEZZyP71LiRVV/fwVtRAC33CYD056nZv71kthwCQNz3y/ymuK1GYU4ClYYwlU
 tWTwmJ2TXhuwD+t66GntWAgNiImZEabJCsnaAijJ4QLhiRXTrUqK2HqHxvIeyuAAMUcf
 u1RA==
X-Gm-Message-State: AN3rC/6pXjbh1/eh006HcHjVnWsvM9IAjyIC5NBlnPr1cSlao98ClgTN
 EOsyC3CCLQtjPQ==
X-Received: by 10.107.166.194 with SMTP id p185mr6438856ioe.15.1492645377637; 
 Wed, 19 Apr 2017 16:42:57 -0700 (PDT)
Received: from zony ([45.2.7.65])
 by smtp.googlemail.com with ESMTPSA id f196sm189631itc.2.2017.04.19.16.42.56
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 19 Apr 2017 16:42:57 -0700 (PDT)
From: npostavs@HIDDEN
To: Saideep Bhosle <saideep@HIDDEN>
Subject: Re: bug#26569: Parindent doesn't work according to description
References: <BM1PR01MB0722CADEA3B666B42DC13AADB3180@HIDDEN>
Date: Wed, 19 Apr 2017 19:44:26 -0400
In-Reply-To: <BM1PR01MB0722CADEA3B666B42DC13AADB3180@HIDDEN>
 (Saideep Bhosle's message of "Wed, 19 Apr 2017 07:25:39 +0000")
Message-ID: <8737d4rmhx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.1 (--)
X-Debbugs-Envelope-To: 26569
Cc: 26569 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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: -2.1 (--)

Saideep Bhosle <saideep@HIDDEN> writes:

> Parindent (paragraph-indent-text-mode) doesn't work as described in help.
> After starting a paragraph with spaces and adding a newline (return) after
> the first line removes the spaces added at the beginning.

Yeah, this can be avoided by turning off electric-indent-mode.

> Also, cannot start a new paragraph with tab in Parindent.

It's because the indent-line-function is set to indent-to-left-margin.
Doing C-q TAB works.

Setting indent-line-function to a smarter function would fix this and
the newline problem.

> M-q mushes all paragraphs not separated by blank lines together.

I'm not able to reproduce this problem though.  As long the paragraphs
start with whitespace M-q doesn't combine them, as documented.  For
example, with the following buffer contents, pressing M-q doesn't change
the buffer:

   xxx xxxxxxxx xxxxx xxxxxx xxxxx xxx xxxxx xxx xxxxxxx xxx xxx xxx
xx xxxx x
   xxxx xxx xxxx xx xx xx xxxxxxx xxxx xxxxxxx xxx xxx xxx xx xxxx
xxxxx xx




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26569; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Apr 2017 21:17:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 19 17:17:48 2017
Received: from localhost ([127.0.0.1]:57480 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d0wyx-0006yv-VC
	for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 17:17:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52579)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <saideep@HIDDEN>) id 1d0whK-0006Wx-NU
 for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 16:59:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <saideep@HIDDEN>) id 1d0whE-0006lN-U1
 for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 16:59:29 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,RECEIVED_FROM_WINDOWS_HOST,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:35798)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <saideep@HIDDEN>) id 1d0whE-0006lF-QP
 for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 16:59:28 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43528)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <saideep@HIDDEN>) id 1d0whD-0003O4-Nh
 for bug-gnu-emacs@HIDDEN; Wed, 19 Apr 2017 16:59:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <saideep@HIDDEN>) id 1d0whA-0006iT-Lm
 for bug-gnu-emacs@HIDDEN; Wed, 19 Apr 2017 16:59:27 -0400
Received: from mail-oln040092254109.outbound.protection.outlook.com
 ([40.92.254.109]:54702 helo=APC01-PU1-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <saideep@HIDDEN>) id 1d0whA-0006hZ-05
 for bug-gnu-emacs@HIDDEN; Wed, 19 Apr 2017 16:59:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
 s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=UnHnv1BQqyk9NdSoHdChoCMs106jOPp2yVhg4E/9O98=;
 b=TeMOhhu8XRg4wpEv3CMgYTiLZEFR1SBOuOJSQt34Nbj68lsrIynh1RT05RO7rCSj8+Ph955pRg2P+HNCZWF+IocDdVjBwmjSuU+WYZgF6PilDWDZdXMfPproADxNFKEFANgGk/zKSEH0LPLbVnQF9MzUUEdnbceKrIzggp+/QsdUM3Q57lzmDFPN50565bHuPnGGtpOvY4dxw9SToQuA08TbK+VwCIzuQtEftqTwU5IyQgH4W0fwamy8U2Y80GsB6edQG9SowkOExw03OBxCPHAJhvaA/gBlyqfdWKIUWDrDVe1DA1BNNeJ0Md9sQ5+f4GyTWLVUJ9ouZCPiiQvNug==
Received: from PU1APC01FT023.eop-APC01.prod.protection.outlook.com
 (10.152.252.53) by PU1APC01HT142.eop-APC01.prod.protection.outlook.com
 (10.152.252.196) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1019.14; Wed, 19
 Apr 2017 07:25:40 +0000
Received: from BM1PR01MB0722.INDPRD01.PROD.OUTLOOK.COM (10.152.252.57) by
 PU1APC01FT023.mail.protection.outlook.com (10.152.253.4) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id
 15.1.1019.14 via Frontend Transport; Wed, 19 Apr 2017 07:25:40 +0000
Received: from BM1PR01MB0722.INDPRD01.PROD.OUTLOOK.COM ([10.174.209.148]) by
 BM1PR01MB0722.INDPRD01.PROD.OUTLOOK.COM ([10.174.209.148]) with mapi id
 15.01.1034.015; Wed, 19 Apr 2017 07:25:39 +0000
From: Saideep Bhosle <saideep@HIDDEN>
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Subject: Parindent doesn't work according to description
Thread-Topic: Parindent doesn't work according to description
Thread-Index: AQHSuNpDDOjtPdPeDUCtdYvIBv7+/w==
Date: Wed, 19 Apr 2017 07:25:39 +0000
Message-ID: <BM1PR01MB0722CADEA3B666B42DC13AADB3180@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: gnu.org; dkim=none (message not signed)
 header.d=none;gnu.org; dmarc=none action=none header.from=outlook.com;
x-incomingtopheadermarker: OriginalChecksum:7991FC557897D75672AF1629366836C0FCBFE2D9FED660FCB5131448BB19C81C;
 UpperCasedChecksum:A362C9CDE0B21B0A07EF2E2B2280C561FA2AA906A0F7D9BEBF2641FBEBFB5FA1;
 SizeAsReceived:7869; Count:40
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [XsZ/2NstWXR43N9fn9EnMDNh5xTNHJQ+]
x-microsoft-exchange-diagnostics: 1; PU1APC01HT142;
 5:65emNJLb44PLJpDysMKEQKlBXfJecPeRc6pld4NZM7Xtvqu/QfgImhnLb/g/RH9e3kvXkDk25Df1ONHCC+pfWw9vemsRJw5PZ7KmUwTISXpqzWnDzlaIHQ5EfrT4/KRAfalJXgO9A9iG00/1OfdXmA==;
 24:sKVzqdbCeNIWMrrKA1cKUjS+CSCqtENGRWGeZSparJ6sqk61/MR+OFX4WNR2B0r/Bbl+na7kILlofpw4nGemuTYhrC/TNCm6EeWkHjaXYrk=;
 7:KpS5AJqH9lLmCMVKZgbDxiLQuL9Hf7JsFDGJ3i3fMcxBxtb+S3aKoutU1MleRPxaWMw3L3kbAJgeVbfzBjguq0botJF5Rj34OWmngVFfMu6cfDDjmfaUcsGDQc3tjZBZVeAzGiAjdMy8350tfyut4tTtvvErrDcA3rrpfuTRPWqNxr17MtjE8sLNcoZs/aO7a0CMMZmbm+n9AXSbTaeFdRtqcks8h3tF5iR5nAbJIKAj2s0nWh1BwRCF9R41LM2Bwx7aIbfrzxSc5aR8qpKfzw33bWVi2Vq1ejSXK2xzY6pXh+Ge9C4Vt3Z8EwC3hftG
x-incomingheadercount: 40
x-eopattributedmessage: 0
x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004);
 DIR:OUT; SFP:1901; SCL:1; SRVR:PU1APC01HT142;
 H:BM1PR01MB0722.INDPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; 
x-ms-office365-filtering-correlation-id: 84287dd7-ff2f-4dfb-d853-08d486f547a8
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1601125374)(1603101448)(1701031045);
 SRVR:PU1APC01HT142; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031);
 SRVR:PU1APC01HT142; BCL:0; PCL:0; RULEID:; SRVR:PU1APC01HT142; 
x-forefront-prvs: 028256169F
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
 boundary="_000_BM1PR01MB0722CADEA3B666B42DC13AADB3180BM1PR01MB0722INDP_"
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2017 07:25:39.3069 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT142
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 19 Apr 2017 17:17:45 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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 (----)

--_000_BM1PR01MB0722CADEA3B666B42DC13AADB3180BM1PR01MB0722INDP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Parindent (paragraph-indent-text-mode) doesn't work as described in help.
After starting a paragraph with spaces and adding a newline (return) after
the first line removes the spaces added at the beginning.
Also, cannot start a new paragraph with tab in Parindent.
M-q mushes all paragraphs not separated by blank lines together.
This happens in Emacs 24.5 and 25.1.1 (On Debian 9 and Windows).
I tried Emacs 22.3 on Windows and it doesn't have this problem.


Thanks,
Saideep

--_000_BM1PR01MB0722CADEA3B666B42DC13AADB3180BM1PR01MB0722INDP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; color=
:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<div>Parindent (paragraph-indent-text-mode) doesn't work as described in he=
lp.<br>
After starting a paragraph with spaces and adding a newline (return) after<=
br>
the first line removes the spaces added at the beginning.<br>
Also, cannot start a new paragraph with tab in Parindent.<br>
M-q mushes all paragraphs not separated by blank lines together.<br>
This happens in Emacs 24.5 and 25.1.1 (On Debian 9 and Windows).<br>
I tried Emacs 22.3 on Windows and it doesn't have this problem.</div>
<br>
<div dir=3D"ltr" style=3D"text-align:left"><br>
Thanks,<br>
Saideep<br>
</div>
<p></p>
</div>
</body>
</html>

--_000_BM1PR01MB0722CADEA3B666B42DC13AADB3180BM1PR01MB0722INDP_--




Acknowledgement sent to Saideep Bhosle <saideep@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#26569; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.