From unknown Mon Aug 18 18:00:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23081: emacs-auctex: fill-paragraph always sets the modified flag Resent-From: Jaakov Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Mon, 21 Mar 2016 20:52:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23081 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 23081@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14585935218258 (code B ref -1); Mon, 21 Mar 2016 20:52:03 +0000 Received: (at submit) by debbugs.gnu.org; 21 Mar 2016 20:52:01 +0000 Received: from localhost ([127.0.0.1]:57387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai6nx-000292-Cs for submit@debbugs.gnu.org; Mon, 21 Mar 2016 16:52:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai1r9-0007yZ-0s for submit@debbugs.gnu.org; Mon, 21 Mar 2016 11:34:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ai1r2-0004Ai-Sk for submit@debbugs.gnu.org; Mon, 21 Mar 2016 11:34:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai1r2-0004Ad-PB for submit@debbugs.gnu.org; Mon, 21 Mar 2016 11:34:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai1r1-0006wf-N4 for bug-auctex@gnu.org; Mon, 21 Mar 2016 11:34:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ai1qw-00049C-5U for bug-auctex@gnu.org; Mon, 21 Mar 2016 11:34:51 -0400 Received: from huan2.mail.rambler.ru ([81.19.66.15]:16136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai1qv-000490-Ph for bug-auctex@gnu.org; Mon, 21 Mar 2016 11:34:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ro.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:To:Subject:From; bh=VUuxmfHO32oM9Zm3Ie+GBOmKNFRqZ1P7cJgKUKVTY7w=; b=J9HMOw0dOTYffhy2SwDGNIl4NlQCLnWxzsFdpDpaDTz8e4XfnA7VxNDIHoalUwN2D6vdWrN1OMN1370ucuFfnEYzDjvFP3FM8IZV9a29ylFPlOw7F9EjDbLuq5YpMaXYRXR2gmtKcyhfL8QIrSxoPLYbPF88xlAVDzmXXQig8+I=; Received: from [UNAVAILABLE] ([131.159.50.38]:4512) by huan2.mail.rambler.ru with esmtpa (Exim 4.76) (envelope-from ) id 1ai1qu-0006cT-8e for bug-auctex@gnu.org; Mon, 21 Mar 2016 18:34:44 +0300 From: Jaakov Message-ID: <56F01493.7010104@ro.ru> Date: Mon, 21 Mar 2016 16:34:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Rambler-User: j_k_v@ro.ru/131.159.50.38 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-Mailman-Approved-At: Mon, 21 Mar 2016 16:52:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Dear maintainer: Here is the bug: 1) Create a tex file with some long multi-line text, e.g., % This buffer is for notes you don't want to save, and for % Lisp evaluation. If you want to create a file, visit that file with % C-x C-f, then enter the text in that file's own buffer. 2) Open this file in Emacs. 3) Put the cursor into the text and press Alt-Q to adjust it to your column width. If there are less than two lines, add more text and press Alt-Q; repeat until you finally get at least two lines after Alt-Q. 4) a) Save the file. b) Observe that the buffer is indicated as stored. 5) a) Press Alt-Q again. b) Observe that the buffer contents did not change but the buffer is indicated as modified by the stars in the left lower corner. This is contrary to the modified flag behavior as stated in https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Modification.html Some guy from suse claims that this bug is resolved upstream: https://bugzilla.suse.com/show_bug.cgi?id=971814 Is it really the case? If no, please repair. Thanks in advance, Jaakov. From unknown Mon Aug 18 18:00:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23081: emacs-auctex: fill-paragraph always sets the modified flag Resent-From: David Kastrup Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Mon, 21 Mar 2016 21:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23081 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Jaakov Cc: 23081@debbugs.gnu.org Received: via spool by 23081-submit@debbugs.gnu.org id=B23081.145859596518728 (code B ref 23081); Mon, 21 Mar 2016 21:33:01 +0000 Received: (at 23081) by debbugs.gnu.org; 21 Mar 2016 21:32:45 +0000 Received: from localhost ([127.0.0.1]:57449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai7RN-0004rz-7N for submit@debbugs.gnu.org; Mon, 21 Mar 2016 17:32:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai7RL-0004rm-3s for 23081@debbugs.gnu.org; Mon, 21 Mar 2016 17:32:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ai7RE-0006lI-W3 for 23081@debbugs.gnu.org; Mon, 21 Mar 2016 17:32:37 -0400 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_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai7RE-0006lE-TO; Mon, 21 Mar 2016 17:32:36 -0400 Received: from localhost ([127.0.0.1]:33902 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ai7RE-0001GT-AT; Mon, 21 Mar 2016 17:32:36 -0400 Received: by lola (Postfix, from userid 1000) id B8392DF527; Mon, 21 Mar 2016 22:32:35 +0100 (CET) From: David Kastrup References: <56F01493.7010104@ro.ru> Date: Mon, 21 Mar 2016 22:32:35 +0100 In-Reply-To: <56F01493.7010104@ro.ru> (Jaakov's message of "Mon, 21 Mar 2016 16:34:43 +0100") Message-ID: <87bn67qzyk.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Jaakov writes: > Dear maintainer: > > Here is the bug: > > 1) Create a tex file with some long multi-line text, e.g., > > % This buffer is for notes you don't want to save, and for > % Lisp evaluation. If you want to create a file, visit that file with > % C-x C-f, then enter the text in that file's own buffer. > > 2) Open this file in Emacs. > > 3) Put the cursor into the text and press Alt-Q to adjust it to your > column width. If there are less than two lines, add more text and > press Alt-Q; repeat until you finally get at least two lines after > Alt-Q. > > 4) a) Save the file. > b) Observe that the buffer is indicated as stored. > > 5) a) Press Alt-Q again. > b) Observe that the buffer contents did not change but the buffer > is indicated as modified by the stars in the left lower corner. > > This is contrary to the modified flag behavior as stated in > https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Modification.html This is the same in Emacs' *scratch* buffer as of GNU Emacs 25.1.50.2 (i686-pc-linux-gnu, GTK+ Version 3.18.7) of 2016-02-24 so it's not particular to AUCTeX. -- David Kastrup From unknown Mon Aug 18 18:00:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23081: emacs-auctex: fill-paragraph always sets the modified flag Resent-From: Jaakov Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Mon, 21 Mar 2016 21:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23081 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: David Kastrup Cc: 23081@debbugs.gnu.org Received: via spool by 23081-submit@debbugs.gnu.org id=B23081.145859636219302 (code B ref 23081); Mon, 21 Mar 2016 21:40:01 +0000 Received: (at 23081) by debbugs.gnu.org; 21 Mar 2016 21:39:22 +0000 Received: from localhost ([127.0.0.1]:57453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai7Xl-00051G-Vh for submit@debbugs.gnu.org; Mon, 21 Mar 2016 17:39:22 -0400 Received: from huan4.mail.rambler.ru ([81.19.66.14]:58260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai7Xk-000517-AX for 23081@debbugs.gnu.org; Mon, 21 Mar 2016 17:39:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ro.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=9Vsc9Kn5Vs8vEWD6LIKf88is9cNsmjjPXkTRmsv1PMk=; b=9NIOLVYCqVlhBDk4i7bzeye8nY5+n20TIIi1zxASdnq1lYGaEAFmv03o+5Zu49yqhsM9bI5B05suju8hEsnpq7QknTEIUMOthp3bECOyCT8o/xMrtPTp7rJpfc76/bf6/912Hoz6h/GiC5oG+5pp8A3SNP3u5RA5hbT269BAXYc=; Received: from [UNAVAILABLE] ([91.52.59.182]:23176 helo=[192.168.3.203]) by huan4.mail.rambler.ru with esmtpa (Exim 4.76) (envelope-from ) id 1ai7Xi-0007zX-BV; Tue, 22 Mar 2016 00:39:18 +0300 References: <56F01493.7010104@ro.ru> <87bn67qzyk.fsf@fencepost.gnu.org> From: Jaakov Message-ID: <56F06A05.7060500@ro.ru> Date: Mon, 21 Mar 2016 22:39:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <87bn67qzyk.fsf@fencepost.gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Rambler-User: j_k_v@ro.ru/91.52.59.182 X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 21.03.2016 22:32, David Kastrup wrote: > Jaakov writes: > >> Dear maintainer: >> >> Here is the bug: >> >> 1) Create a tex file with some long multi-line text, e.g., >> >> % This buffer is for notes you don't want to save, and for >> % Lisp evaluation. If you want to create a file, visit that file with >> % C-x C-f, then enter the text in that file's own buffer. >> >> 2) Open this file in Emacs. >> >> 3) Put the cursor into the text and press Alt-Q to adjust it to your >> column width. If there are less than two lines, add more text and >> press Alt-Q; repeat until you finally get at least two lines after >> Alt-Q. >> >> 4) a) Save the file. >> b) Observe that the buffer is indicated as stored. >> >> 5) a) Press Alt-Q again. >> b) Observe that the buffer contents did not change but the buffer >> is indicated as modified by the stars in the left lower corner. >> >> This is contrary to the modified flag behavior as stated in >> https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Modification.html > > This is the same in Emacs' *scratch* buffer as of > > GNU Emacs 25.1.50.2 (i686-pc-linux-gnu, GTK+ Version 3.18.7) of 2016-02-24 > > so it's not particular to AUCTeX. > You are right! Thank you! I was misled by the openSuSe guy. [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.9 RCVD_IN_MSPIKE_L3 RBL: Low reputation (-3) [81.19.66.14 listed in bl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 21.03.2016 22:32, David Kastrup wrote: > Jaakov writes: > >> Dear maintainer: >> >> Here is the bug: >> >> 1) Create a tex file with some long multi-line text, e.g., >> >> % This buffer is for notes you don't want to save, and for >> % Lisp evaluation. If you want to create a file, visit that file with >> % C-x C-f, then enter the text in that file's own buffer. >> >> 2) Open this file in Emacs. >> >> 3) Put the cursor into the text and press Alt-Q to adjust it to your >> column width. If there are less than two lines, add more text and >> press Alt-Q; repeat until you finally get at least two lines after >> Alt-Q. >> >> 4) a) Save the file. >> b) Observe that the buffer is indicated as stored. >> >> 5) a) Press Alt-Q again. >> b) Observe that the buffer contents did not change but the buffer >> is indicated as modified by the stars in the left lower corner. >> >> This is contrary to the modified flag behavior as stated in >> https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Modification.html > > This is the same in Emacs' *scratch* buffer as of > > GNU Emacs 25.1.50.2 (i686-pc-linux-gnu, GTK+ Version 3.18.7) of 2016-02-24 > > so it's not particular to AUCTeX. > You are right! Thank you! I was misled by the openSuSe guy. [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.9 RCVD_IN_MSPIKE_L3 RBL: Low reputation (-3) [81.19.66.14 listed in bl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid On 21.03.2016 22:32, David Kastrup wrote: > Jaakov writes: > >> Dear maintainer: >> >> Here is the bug: >> >> 1) Create a tex file with some long multi-line text, e.g., >> >> % This buffer is for notes you don't want to save, and for >> % Lisp evaluation. If you want to create a file, visit that file with >> % C-x C-f, then enter the text in that file's own buffer. >> >> 2) Open this file in Emacs. >> >> 3) Put the cursor into the text and press Alt-Q to adjust it to your >> column width. If there are less than two lines, add more text and >> press Alt-Q; repeat until you finally get at least two lines after >> Alt-Q. >> >> 4) a) Save the file. >> b) Observe that the buffer is indicated as stored. >> >> 5) a) Press Alt-Q again. >> b) Observe that the buffer contents did not change but the buffer >> is indicated as modified by the stars in the left lower corner. >> >> This is contrary to the modified flag behavior as stated in >> https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Modification.html > > This is the same in Emacs' *scratch* buffer as of > > GNU Emacs 25.1.50.2 (i686-pc-linux-gnu, GTK+ Version 3.18.7) of 2016-02-24 > > so it's not particular to AUCTeX. > You are right! Thank you! I was misled by the openSuSe guy. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 21 17:40:05 2016 Received: (at control) by debbugs.gnu.org; 21 Mar 2016 21:40:05 +0000 Received: from localhost ([127.0.0.1]:57457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai7YT-00052j-9C for submit@debbugs.gnu.org; Mon, 21 Mar 2016 17:40:05 -0400 Received: from huan4.mail.rambler.ru ([81.19.66.14]:7159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai7YS-00052Z-F2; Mon, 21 Mar 2016 17:40:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ro.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:Subject; bh=LKR8vKyo8Om7nnF5hi7JdPTsEv1dAO+tG/+uJPHg69U=; b=vvTwMkT5Uk/h/lT1krgsjsbVQUayfeYOTpbJneC8NP+awAwOiwpd8loaF4ZrG7up1WqHJCIISO4CmkiLGeP3hZMIuNJJHN4gqQkfhYXnjEyt6eYVclZUpFxyY8vmLXrwLtDBuCenTbIdZNUGA+bH6Fgx9EfSb8uw1ARHMIT+jQA=; Received: from [UNAVAILABLE] ([93.204.109.177]:35628 helo=[192.168.3.203]) by huan4.mail.rambler.ru with esmtpa (Exim 4.76) (envelope-from ) id 1ai7YP-0000hw-MP; Tue, 22 Mar 2016 00:40:03 +0300 Subject: Re: bug#23081: emacs-auctex: fill-paragraph always sets the modified flag References: <56F01493.7010104@ro.ru> <87bn67qzyk.fsf@fencepost.gnu.org> From: Jaakov Message-ID: <56F06A30.8010805@ro.ru> Date: Mon, 21 Mar 2016 22:40:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <87bn67qzyk.fsf@fencepost.gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Rambler-User: j_k_v@ro.ru/93.204.109.177 X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: # Not related to auctex. close 23081 thanks [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.9 RCVD_IN_MSPIKE_L3 RBL: Low reputation (-3) [81.19.66.14 listed in bl.mailspike.net] 1.2 MISSING_HEADERS Missing To: header -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: control Cc: control@debbugs.gnu.org, 23081-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: # Not related to auctex. close 23081 thanks [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.9 RCVD_IN_MSPIKE_L3 RBL: Low reputation (-3) [81.19.66.14 listed in bl.mailspike.net] 1.2 MISSING_HEADERS Missing To: header -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid # Not related to auctex. close 23081 thanks From unknown Mon Aug 18 18:00:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23081: emacs-auctex: fill-paragraph always sets the modified flag Resent-From: Jaakov Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 22 Mar 2016 12:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23081 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: David Kastrup , 23081@debbugs.gnu.org Received: via spool by 23081-submit@debbugs.gnu.org id=B23081.14586504754381 (code B ref 23081); Tue, 22 Mar 2016 12:42:01 +0000 Received: (at 23081) by debbugs.gnu.org; 22 Mar 2016 12:41:15 +0000 Received: from localhost ([127.0.0.1]:57854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiLcZ-00018a-B8 for submit@debbugs.gnu.org; Tue, 22 Mar 2016 08:41:15 -0400 Received: from huan1.mail.rambler.ru ([81.19.66.27]:8352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiLcX-00018R-EO for 23081@debbugs.gnu.org; Tue, 22 Mar 2016 08:41:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ro.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=R2kOEhFkL/PdzMNrmurPupOIuKnAMUKSI1PwM9j5lWU=; b=8S+1N1kcfjpapcrNM/aGdsNm27wpXW7PSASozQ+fJWuR2xor1gmpE8CkDgQchwCE/MlmYGHlcQYkTCLLHDTiCjVlxOkFodrJEUAT2dNg6KbodyoRGWkAXiOcPf8A0tdEHS60ihziye/XUiVAJ8rNs+Iv/S2SF88zvwF3B/PAdq0=; Received: from [UNAVAILABLE] ([91.52.57.226]:2464 helo=[192.168.3.203]) by huan1.mail.rambler.ru with esmtpa (Exim 4.76) (envelope-from ) id 1aiLcT-0000im-Kr; Tue, 22 Mar 2016 15:41:10 +0300 References: <56F01493.7010104@ro.ru> <87bn67qzyk.fsf@fencepost.gnu.org> From: Jaakov Message-ID: <56F13D64.4090602@ro.ru> Date: Tue, 22 Mar 2016 13:41:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <87bn67qzyk.fsf@fencepost.gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Rambler-User: j_k_v@ro.ru/91.52.57.226 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) By the way, is auctex reimplementing fill-paragraph in some way? If so, auctex could do better in latex-mode than emacs itself on text mode... On 21.03.2016 22:32, David Kastrup wrote: > Jaakov writes: > >> Dear maintainer: >> >> Here is the bug: >> >> 1) Create a tex file with some long multi-line text, e.g., >> >> % This buffer is for notes you don't want to save, and for >> % Lisp evaluation. If you want to create a file, visit that file with >> % C-x C-f, then enter the text in that file's own buffer. >> >> 2) Open this file in Emacs. >> >> 3) Put the cursor into the text and press Alt-Q to adjust it to your >> column width. If there are less than two lines, add more text and >> press Alt-Q; repeat until you finally get at least two lines after >> Alt-Q. >> >> 4) a) Save the file. >> b) Observe that the buffer is indicated as stored. >> >> 5) a) Press Alt-Q again. >> b) Observe that the buffer contents did not change but the buffer >> is indicated as modified by the stars in the left lower corner. >> >> This is contrary to the modified flag behavior as stated in >> https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Modification.html > > This is the same in Emacs' *scratch* buffer as of > > GNU Emacs 25.1.50.2 (i686-pc-linux-gnu, GTK+ Version 3.18.7) of 2016-02-24 > > so it's not particular to AUCTeX. > From unknown Mon Aug 18 18:00:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23081: emacs-auctex: fill-paragraph always sets the modified flag Resent-From: David Kastrup Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 22 Mar 2016 13:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23081 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Jaakov Cc: 23081@debbugs.gnu.org Received: via spool by 23081-submit@debbugs.gnu.org id=B23081.14586531348869 (code B ref 23081); Tue, 22 Mar 2016 13:26:01 +0000 Received: (at 23081) by debbugs.gnu.org; 22 Mar 2016 13:25:34 +0000 Received: from localhost ([127.0.0.1]:57942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiMJS-0002Iy-FM for submit@debbugs.gnu.org; Tue, 22 Mar 2016 09:25:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiMJR-0002Im-HZ for 23081@debbugs.gnu.org; Tue, 22 Mar 2016 09:25:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiMJL-0000mv-1a for 23081@debbugs.gnu.org; Tue, 22 Mar 2016 09:25:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiMJK-0000mo-UG; Tue, 22 Mar 2016 09:25:26 -0400 Received: from localhost ([127.0.0.1]:51942 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1aiMJJ-0003Gl-Sv; Tue, 22 Mar 2016 09:25:26 -0400 Received: by lola (Postfix, from userid 1000) id 5F0C5DF44A; Tue, 22 Mar 2016 14:25:16 +0100 (CET) From: David Kastrup References: <56F01493.7010104@ro.ru> <87bn67qzyk.fsf@fencepost.gnu.org> <56F13D64.4090602@ro.ru> Date: Tue, 22 Mar 2016 14:25:16 +0100 In-Reply-To: <56F13D64.4090602@ro.ru> (Jaakov's message of "Tue, 22 Mar 2016 13:41:08 +0100") Message-ID: <87h9fyprur.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Jaakov writes: > By the way, is auctex reimplementing fill-paragraph in some way? If > so, auctex could do better in latex-mode than emacs itself on text > mode... AUCTeX contains the following pertinent comment: ;; Following lines are copied from `fill.el' (CVS Emacs, March 2005). ;; The `fill-space' property carries the string with which a newline should be ;; replaced when unbreaking a line (in fill-delete-newlines). It is added to ;; newline characters by fill-newline when the default behavior of ;; fill-delete-newlines is not what we want. I seem to remember that Emacs does a better job currently than AUCTeX with regard to keeping text properties alive. Some synching may be in order but it would appear that it would be saner to change this for filling in Emacs itself before starting to copy code into AUCTeX (or calling the Emacs code if it's versatile enough) if that's your goal. -- David Kastrup