From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Changing of line format and undo Date: Wed, 21 Jun 2006 17:12:54 +0200 Message-ID: <449961F6.6020001@student.lu.se> References: <44987375.2010000@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150902798 29790 80.91.229.2 (21 Jun 2006 15:13:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jun 2006 15:13:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 21 17:13:16 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ft4OJ-0001NY-Ce for ged-emacs-devel@m.gmane.org; Wed, 21 Jun 2006 17:13:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ft4OI-0000wl-Pu for ged-emacs-devel@m.gmane.org; Wed, 21 Jun 2006 11:13:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ft4O5-0000um-P0 for emacs-devel@gnu.org; Wed, 21 Jun 2006 11:13:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ft4O4-0000tv-Iu for emacs-devel@gnu.org; Wed, 21 Jun 2006 11:13:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ft4O4-0000ts-D1 for emacs-devel@gnu.org; Wed, 21 Jun 2006 11:13:00 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ft4Yl-000779-Uo; Wed, 21 Jun 2006 11:24:04 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.072.1) id 4492E80F00133646; Wed, 21 Jun 2006 17:12:54 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Original-To: Eli Zaretskii In-Reply-To: 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:56053 Archived-At: Eli Zaretskii wrote: >> Date: Wed, 21 Jun 2006 00:15:17 +0200 >> From: Lennart Borgman >> >> If you change line endings this change is not saved to undo. Is this the >> expected behaviour? >> > > If you mean "C-x RET f", then it doesn't really change anything. It > just sets a buffer-local variable to some value. So there's nothing > to undo. > That is an internal Emacs perpective. From a users point of view there is truly a change. If you for example change the line endings the file will be saved with this new line endings. BTW should not changes of this kind also set the buffer to modified?