From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Peterson Newsgroups: gmane.emacs.bugs Subject: bug#4533: 23.1: reverting fails to update line ending mode line Date: Tue, 22 Sep 2009 21:01:31 -0500 Message-ID: <1afaf6160909221901p527cca80jcbf81e589cde629d@mail.gmail.com> Reply-To: Benjamin Peterson , 4533@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1253680548 569 80.91.229.12 (23 Sep 2009 04:35:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2009 04:35:48 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 23 06:35:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MqJZr-0000sQ-WB for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2009 06:35:40 +0200 Original-Received: from localhost ([127.0.0.1]:55759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqJZr-0002iT-DL for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2009 00:35:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqHZW-0002iA-KC for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:27:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqHZS-0002f0-4I for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:27:10 -0400 Original-Received: from [199.232.76.173] (port=35550 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqHZR-0002ex-Sq for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:27:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48118) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqHZR-0006Ga-AX for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:27:05 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8N2R3nQ023125; Tue, 22 Sep 2009 19:27:03 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8N2A5IL020093; Tue, 22 Sep 2009 19:10:05 -0700 Resent-Date: Tue, 22 Sep 2009 19:10:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Benjamin Peterson Original-Sender: musiccomposition@gmail.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 23 Sep 2009 02:10:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4533 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125367130417857 (code B ref -1); Wed, 23 Sep 2009 02:10:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 Sep 2009 02:01:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8N21gS8017854 for ; Tue, 22 Sep 2009 19:01:43 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqHAs-0007TV-66 for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:01:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqHAn-0007RR-BT for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:01:41 -0400 Original-Received: from [199.232.76.173] (port=56866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqHAn-0007RL-7x for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:01:37 -0400 Original-Received: from mail-yw0-f194.google.com ([209.85.211.194]:52870) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqHAm-00081S-L9 for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 22:01:36 -0400 Original-Received: by ywh32 with SMTP id 32so394432ywh.14 for ; Tue, 22 Sep 2009 19:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=iS3MOAUsqS9oc4D5laIC+awm/vaISZnNMn2JPkUwNSU=; b=sXyo37Uj20TbtMl8hr1U44YQSAjZZm9zjHfeAZWR2/tHFNcGsQY0hmp92uCv35eMfC +X24M889fEC9L8Xs4atPNWMLB/L4bpGEyCVhoGyD5CpCnQPQiBUw1Y+Mx6Jx/OvAwpXl yqyQXlgwWNf8YeMaoNqjE35e+sUuOn1uukM8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=unlCYlsJmQqUfxyiXw92XDw/zFokLhIjilm4K292YwSLIo/Qf+EenIV5qh3m0+oo2k 4fSBFkANahuPFDTYYmCM20YHlMtMH4BQUUHmlwvxQR02O5dbxn4ISZXdNTqfIFwaHQJA RaRKKK82O5Whrpy41iCwPjzPVMPBhy2oaDW04= Original-Received: by 10.90.174.7 with SMTP id w7mr994983age.11.1253671291410; Tue, 22 Sep 2009 19:01:31 -0700 (PDT) X-Google-Sender-Auth: 3161eb516f81e56d X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 22 Sep 2009 22:27:10 -0400 X-Mailman-Approved-At: Wed, 23 Sep 2009 00:34:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31388 Archived-At: I had a buffer with a mode line like this: - U:(DOS) I ran dos2unix on the file, and did M-x revert-buffer. The DOS stayed in the mode line until I killed the buffer and revisited the buffer. In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu) of 2009-09-07 on benjamin Windowing system distributor `The X.Org Foundation', version 11.0.10503000 configured using `configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--without-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=no' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -pipe' 'LDFLAGS=-Wl,-O1'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Python Minor modes in effect: show-paren-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: n i c o d e C-s C-s C-s C-s C-s C-s C-s C-x b M-v M-v M-v M-v C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-p C-p C-p C-p C-p C-p C-p C-f C-f c l a s s SPC _ u n i c o d e ( s t r ) : p a s s C-x C-s C-v C-v C-v C-v C-v C-v C-v M-v M-v M-v C-x b _ C-x C-s M-v C-v C-n C-n C-n C-n C-n C-n C-n C-p # SPC S D p y . t e s t . s k i p ( " w i l l SPC r e w r i t e " ) C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n p y . t e s t . s k i p ( " w i l l SPC r e w r i t e " ) C-x C-s M-x r e v e r t - u f b u f y M-v M-v M-v f r C-x k C-x C-f t e s t - s e r _ s e r C-v C-v C-v M-v M-v M-x r e p o r t - e m Recent messages: Local value of py-indent-offset set to 4 Using the CPython shell test_serializer.py changed on disk; really edit the buffer? (y, n, r or C-h) Fontifying test_serializer.py... (regexps............) Local value of py-indent-offset set to 4 Using the CPython shell byte-code: File reverted: /home/benjamin/dev/repos/pylib/test_serializer.py Fontifying test_serializer.py... (regexps............) Local value of py-indent-offset set to 4 Using the CPython shell call-interactively: End of buffer