From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8047: 23.2.94; Auto image mode breaks C-x C-w Date: Tue, 15 Feb 2011 22:14:32 +0200 Message-ID: <83tyg5vyvr.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1297802206 28609 80.91.229.12 (15 Feb 2011 20:36:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2011 20:36:46 +0000 (UTC) To: 8047@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 15 21:36:42 2011 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.69) (envelope-from ) id 1PpRdZ-0007VO-JS for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Feb 2011 21:36:41 +0100 Original-Received: from localhost ([127.0.0.1]:52880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpRdZ-0003j7-0A for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Feb 2011 15:36:41 -0500 Original-Received: from [140.186.70.92] (port=44748 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpRdQ-0003fn-8p for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 15:36:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpRdP-0000Sb-2S for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 15:36:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpRdP-0000SX-0t for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 15:36:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PpR9u-0004nX-PS; Tue, 15 Feb 2011 15:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Feb 2011 20:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129780034318416 (code B ref -1); Tue, 15 Feb 2011 20:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Feb 2011 20:05:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpR9a-0004my-Ky for submit@debbugs.gnu.org; Tue, 15 Feb 2011 15:05:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpR9Y-0004mm-9S for submit@debbugs.gnu.org; Tue, 15 Feb 2011 15:05:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpRIF-0005Ji-Vg for submit@debbugs.gnu.org; Tue, 15 Feb 2011 15:14:41 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:58988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpRIF-0005Je-SE for submit@debbugs.gnu.org; Tue, 15 Feb 2011 15:14:39 -0500 Original-Received: from [140.186.70.92] (port=60053 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpRID-0005rh-N7 for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 15:14:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpRIB-0005IJ-TV for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 15:14:37 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:32972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpRIB-0005Hv-HA for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 15:14:35 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LGO00M00DC62400@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 22:14:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.192.4]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGO00L0ODK5E380@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 22:14:31 +0200 (IST) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 15 Feb 2011 15:06:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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:44150 Archived-At: emacs -Q C-x C-f FOO.png RET (or any other image file) C-x C-w BAR.png RET => save-buffer: Text is read-only This happens because image-file.el makes the whole buffer displaying the image read-only. I think this nuisance should be fixed before Emacs 23.3 is released. In GNU Emacs 23.2.94.1 (i386-mingw-nt5.1.2600) of 2011-02-15 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: diff-auto-refine-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t Recent input: C-x b I N B - C-x 5 b * i 1 > C-x 5 b x d C-x b C-x C-f i m a g e - f i C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-x b I N B C-x C-f d a t a / e m a c s - m e n C-x C-w x x . p n g C-x k y e s M-x r e p o r t - e m Recent messages: Indentation setup for shell type sh Setting up indent for shell type sh setting up indent stuff Indentation variables are now local. Indentation setup for shell type sh Note: file is write protected [3 times] Wrote d:/usr/eli/.emacs.desktop.lock Desktop: 260 buffers restored. Type C-c C-c to view the image as text. Saving file d:/usr/eli/data/xx.png... save-buffer: Text is read-only Load-path shadows: None found. Features: (shadow mailalias sendmail emacsbug image-mode ld-script sh-script executable dired-x dired-aux dired tcl nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode arc-mode archive-mode parse-time conf-mode newcomment tar-mode add-log generic vc-cvs diff-mode jka-compr texinfo org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb org byte-opt warnings bytecomp byte-compile advice help-fns advice-preload org-footnote org-src org-list org-faces org-compat org-macs make-mode gud comint ring flyspell ispell noutline outline easy-mmode autorevert info vc-bzr cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt rmailsum rmailmm message ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mailabbrev nnheader gnus-util netrc gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums time-date qp mm-util mail-prsvr mail-utils desktop server filecache saveplace generic-x paren battery time tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)