From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: longlines-show-hard-newlines sets modified flag Date: Tue, 27 Nov 2007 18:30:07 +0100 Message-ID: <474C541F.1030906@gmx.at> References: <474B0157.2000800@gmx.at> <474B1F21.4010702@gmx.at> <474C180E.9060303@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196184653 27759 80.91.229.12 (27 Nov 2007 17:30:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 17:30:53 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 27 18:31:00 2007 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 1Ix4Gx-0004rE-RS for ged-emacs-devel@m.gmane.org; Tue, 27 Nov 2007 18:31:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ix4Ge-0007Jv-WB for ged-emacs-devel@m.gmane.org; Tue, 27 Nov 2007 12:30:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ix4Gb-0007Jd-MR for emacs-devel@gnu.org; Tue, 27 Nov 2007 12:30:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ix4Ga-0007JN-6U for emacs-devel@gnu.org; Tue, 27 Nov 2007 12:30:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ix4Ga-0007JK-0S for emacs-devel@gnu.org; Tue, 27 Nov 2007 12:30:36 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ix4GZ-0002AN-Fu for emacs-devel@gnu.org; Tue, 27 Nov 2007 12:30:35 -0500 Original-Received: (qmail invoked by alias); 27 Nov 2007 17:30:34 -0000 Original-Received: from N881P012.adsl.highway.telekom.at (EHLO [62.47.54.12]) [62.47.54.12] by mail.gmx.net (mp004) with SMTP; 27 Nov 2007 18:30:34 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18oJlZA4UwoPpqJgOMsvs5UjrUuNSnXOIHBX60Vd4 IcsWmGGnLnS0eP User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84217 Archived-At: > Indeed, if you do want to update the mode-line, then you might as well > use set-buffer-modified-p, but then please add a short comment about it, > like > > (set-buffer-modified-p mod) ; and update the mode line. I was talking about the three remaining `set-buffer-modified-p's in longlines.el. All these may add or remove newlines and thus change line and/or column numbers. The two you bemoaned initially will be changed to `restore-buffer-modified-p'.