From unknown Tue Jul 08 17:24:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8047 <8047@debbugs.gnu.org> To: bug#8047 <8047@debbugs.gnu.org> Subject: Status: image-mode and require-final-newline Reply-To: bug#8047 <8047@debbugs.gnu.org> Date: Wed, 09 Jul 2025 00:24:21 +0000 retitle 8047 image-mode and require-final-newline reassign 8047 emacs submitter 8047 Eli Zaretskii severity 8047 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 15 15:05:43 2011 Received: (at submit) by debbugs.gnu.org; 15 Feb 2011 20:05:43 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 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 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 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 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 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) 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) Date: Tue, 15 Feb 2011 22:14:32 +0200 From: Eli Zaretskii Subject: 23.2.94; Auto image mode breaks C-x C-w X-012-Sender: halo1@inter.net.il To: bug-gnu-emacs@gnu.org Message-id: <83tyg5vyvr.fsf@gnu.org> 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-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) 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) From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 15 18:26:04 2011 Received: (at 8047) by debbugs.gnu.org; 15 Feb 2011 23:26:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpUHU-0000fZ-Mb for submit@debbugs.gnu.org; Tue, 15 Feb 2011 18:26:04 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpUHT-0000f6-Kk for 8047@debbugs.gnu.org; Tue, 15 Feb 2011 18:26:04 -0500 Received: from localhost ([127.0.0.1]:42864) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpUQC-0006Hv-SM; Tue, 15 Feb 2011 18:35:04 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> X-Spook: kilo class Attorney General rs9512c enigma emc Freeh CISU X-Ran: qgUZY3sFH/$ASo64 User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8047 Cc: 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Eli Zaretskii wrote: > 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 I don't see this in current emacs-23 or trunk on GNU/Linux. Even if I manually enable auto-image-file-mode (mentioned in your subject, it is not on by default), I don't see it. I also have no problem using C-x C-w in read-only buffers. > In GNU Emacs 23.2.94.1 (i386-mingw-nt5.1.2600) > of 2011-02-15 on HOME-C4E4A596F7 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 15 21:55:23 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 02:55:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpXY3-0005Cg-9i for submit@debbugs.gnu.org; Tue, 15 Feb 2011 21:55:23 -0500 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpXY1-0005C3-7s for 8047@debbugs.gnu.org; Tue, 15 Feb 2011 21:55:21 -0500 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id B25646E8074; Tue, 15 Feb 2011 19:04:22 -0800 (PST) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D5EA7451C213; Tue, 15 Feb 2011 19:04:21 -0800 (PST) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w Organization: JURTA References: <83tyg5vyvr.fsf@gnu.org> Date: Wed, 16 Feb 2011 02:48:33 +0200 In-Reply-To: <83tyg5vyvr.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Feb 2011 22:14:32 +0200") Message-ID: <87wrl0bs86.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8047 Cc: 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > 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. It seems what you mean is image-mode.el, not image-file.el. image-mode is intended for viewing images, not editing. (I suppose `C-x C-w' is an editing command.) When you want to edit textual representation of the image, you can toggle `image-minor-mode' with `C-c C-c'. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 15 23:01:16 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 04:01:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpYZn-0006cr-Ut for submit@debbugs.gnu.org; Tue, 15 Feb 2011 23:01:16 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpYZl-0006cf-HR for 8047@debbugs.gnu.org; Tue, 15 Feb 2011 23:01:14 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LGO00G00Z9QAX00@a-mtaout21.012.net.il> for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 06:10:14 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.192.4]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGO00GLDZKZAP10@a-mtaout21.012.net.il>; Wed, 16 Feb 2011 06:10:14 +0200 (IST) Date: Wed, 16 Feb 2011 06:10:14 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83sjvowrfd.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Glenn Morris > Cc: 8047@debbugs.gnu.org > Date: Tue, 15 Feb 2011 18:35:04 -0500 > > Eli Zaretskii wrote: > > > 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 > > I don't see this in current emacs-23 or trunk on GNU/Linux. Set require-final-newline non-nil, and you will. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 15 23:04:26 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 04:04:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpYcs-0006h5-7R for submit@debbugs.gnu.org; Tue, 15 Feb 2011 23:04:26 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpYcq-0006gt-LI for 8047@debbugs.gnu.org; Tue, 15 Feb 2011 23:04:25 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LGO00800ZKNUY00@a-mtaout23.012.net.il> for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 06:13:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.192.4]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGO008C3ZQ8P980@a-mtaout23.012.net.il>; Wed, 16 Feb 2011 06:13:21 +0200 (IST) Date: Wed, 16 Feb 2011 06:13:23 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: <87wrl0bs86.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il To: Juri Linkov Message-id: <83r5b8wra4.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <87wrl0bs86.fsf@mail.jurta.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Juri Linkov > Cc: 8047@debbugs.gnu.org > Date: Wed, 16 Feb 2011 02:48:33 +0200 > > image-mode is intended for viewing images, not editing. > (I suppose `C-x C-w' is an editing command.) Huh? C-x C-w is a command to write the current buffer to a specified file. It doesn't edit anything. > When you want to edit textual representation of the image, > you can toggle `image-minor-mode' with `C-c C-c'. That's unreasonable: visiting an image file automatically shows it as an image, so from a user perspective, I simply visited a file and want to save it to another file. A practical use-case would be to display an image file from a compressed archive, then write it to a file, thus effectively extracting it from the archive. I know about C-c C-c, but it's a nuisance, and shouldn't be required, IMO. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 15 23:47:15 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 04:47:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpZII-0007dm-HX for submit@debbugs.gnu.org; Tue, 15 Feb 2011 23:47:14 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpZIH-0007db-0r for 8047@debbugs.gnu.org; Tue, 15 Feb 2011 23:47:13 -0500 Received: from localhost ([127.0.0.1]:34237) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpZR0-0005nu-II; Tue, 15 Feb 2011 23:56:14 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> X-Spook: Aldergrove e-cash ANZUS covert video Croatian terrorism X-Ran: ht(bbv[x&xDzK/Z*-]@/V]^BuXcCFeIEniD3~-HDkYQ^Nw4MA31^6n<|1VRYXypp_uI!B? X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 15 Feb 2011 23:56:14 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8047 Cc: 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Eli Zaretskii wrote: > Set require-final-newline non-nil, and you will. Well, I wasn't going to guess that. Anyway, Emacs back to at least 22.1 behaves the same, so I disagree that this needs fixing before 23.3. (IMO the bug is for Emacs to try and add a newline to a binary file, so it's perhaps doing you a service by barfing...) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 05:02:41 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 10:02:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpeDZ-000665-95 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 05:02:41 -0500 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpeDX-00065u-9x for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 05:02:40 -0500 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 5A256182445A; Wed, 16 Feb 2011 11:11:41 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 6BEBA1C00119; Wed, 16 Feb 2011 11:11:41 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id XJTV19xh6q0v; Wed, 16 Feb 2011 11:11:40 +0100 (CET) Received: from hase (ppp-88-217-103-155.dynamic.mnet-online.de [88.217.103.155]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 16 Feb 2011 11:11:40 +0100 (CET) From: Andreas Schwab To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> X-Yow: DIDI... is that a MARTIAN name, or, are we in ISRAEL? Date: Wed, 16 Feb 2011 11:11:39 +0100 In-Reply-To: <83sjvowrfd.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Feb 2011 06:10:14 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8047 Cc: Glenn Morris , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Eli Zaretskii writes: >> Eli Zaretskii wrote: >> >> > 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 >> >> I don't see this in current emacs-23 or trunk on GNU/Linux. > > Set require-final-newline non-nil, and you will. Don't do that then. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 06:10:44 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 11:10:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpfHQ-0007a0-3M for submit@debbugs.gnu.org; Wed, 16 Feb 2011 06:10:44 -0500 Received: from mail-ww0-f42.google.com ([74.125.82.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpfHO-0007Zo-Jm for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 06:10:43 -0500 Received: by wwi17 with SMTP id 17so4277482wwi.3 for <8047@debbugs.gnu.org>; Wed, 16 Feb 2011 03:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=WB5Jpe7TaE8qlDq2VTfetU2VHlkvHU+fsGiGzuUlWGw=; b=CG5uJDi4RQKmu+BszvOc92eFiQQe1HwdYTp/y34khouQiyYH7pgIG47ux2yG3+xd6T rqDJ2pNzL0idtKMlfuMdJatlhKTXCZCudM0bjKDGbcoFGTau+CsaGUSr655WdH/ubMTS HLPx20E2L+A2ZMS+u/V2GjtXixPYT4lnuqV3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=C9wlmk7i6TNOBAwaPt0troCEwjS6UZumtgM/POSIjPkXyIOqU6jT0+EcwKePryHD5L nhp2Oa+fXXOu4I10J1s5hFvXWfBxwYE7h/+zEl12YksrbzlvMdPGriuceMTNdv2gct7K MQEefA1NBcKGBncerAAvulDcae3EcHSqXnPHc= Received: by 10.216.89.71 with SMTP id b49mr368957wef.28.1297855184598; Wed, 16 Feb 2011 03:19:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.230.24 with HTTP; Wed, 16 Feb 2011 03:19:22 -0800 (PST) In-Reply-To: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> From: Lennart Borgman Date: Wed, 16 Feb 2011 12:19:22 +0100 Message-ID: Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w To: Andreas Schwab Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Wed, Feb 16, 2011 at 11:11 AM, Andreas Schwab wr= ote: > Eli Zaretskii writes: > >>> Eli Zaretskii wrote: >>> >>> > =C2=A0emacs -Q >>> > =C2=A0C-x C-f FOO.png RET =C2=A0(or any other image file) >>> > =C2=A0C-x C-w BAR.png RET >>> > >>> > =C2=A0 =C2=A0=3D> save-buffer: Text is read-only >>> >>> I don't see this in current emacs-23 or trunk on GNU/Linux. >> >> Set require-final-newline non-nil, and you will. > > Don't do that then. ;-) Do you suggest removing the option? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 07:24:50 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 12:24:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpgR7-0000oV-Fn for submit@debbugs.gnu.org; Wed, 16 Feb 2011 07:24:49 -0500 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpgR4-0000oG-NT for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 07:24:47 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id F0E521C0F57E; Wed, 16 Feb 2011 13:33:48 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 8CA031C000A6; Wed, 16 Feb 2011 13:33:48 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id uRHeQnzl2GHb; Wed, 16 Feb 2011 13:33:46 +0100 (CET) Received: from hase (ppp-88-217-103-155.dynamic.mnet-online.de [88.217.103.155]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 16 Feb 2011 13:33:46 +0100 (CET) From: Andreas Schwab To: Lennart Borgman Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> X-Yow: A wide-eyed, innocent UNICORN, poised delicately in a MEADOW filled with LILACS, LOLLIPOPS & small CHILDREN at the HUSH of twilight?? Date: Wed, 16 Feb 2011 13:33:45 +0100 In-Reply-To: (Lennart Borgman's message of "Wed, 16 Feb 2011 12:19:22 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lennart Borgman writes: > Do you suggest removing the option? Why do you think so? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 07:28:19 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 12:28:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpgUU-0000tX-Vc for submit@debbugs.gnu.org; Wed, 16 Feb 2011 07:28:19 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpgUS-0000tJ-D1 for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 07:28:16 -0500 Received: by wyf23 with SMTP id 23so1316141wyf.3 for <8047@debbugs.gnu.org>; Wed, 16 Feb 2011 04:37:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=8vA649exardU/pVHVqSPIL8xoWJ6CbK0xzb7kgrE5AU=; b=kplB49JuW2bq5hL0+4eiSlg0Juar9BQc+ELNmmErQR0SMu5uZ3euwcPVxYi5ZCoKXu 1a4AnagkmgZxEPBOu0BE0H7BHuhoGtOrHJAjkgyPrQn4POu+3OWtmWlf/EjSLhylsj6P HjCyv3jlURwIys9QCPeCvKM3eL0DNFFYKk2kM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Bz444xvv9l/oOOcvZBCwgmZgTTSCV+HniMjf226kua/U2HiSJVyJmFUipkig/GdJQz voGlAtM1tqwCDHxwTYrp90RFpvSLwU2/sRoEXUmSrDe9jR8QRRZU6mq2PwQ0Ohhnu7le nXwMYVjomF+TmjNy4VaiguGamg09W0cZsiGec= Received: by 10.216.184.139 with SMTP id s11mr462011wem.13.1297859838415; Wed, 16 Feb 2011 04:37:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.230.24 with HTTP; Wed, 16 Feb 2011 04:36:58 -0800 (PST) In-Reply-To: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> From: Lennart Borgman Date: Wed, 16 Feb 2011 13:36:58 +0100 Message-ID: Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w To: Andreas Schwab Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Wed, Feb 16, 2011 at 1:33 PM, Andreas Schwab wrote: > Lennart Borgman writes: > >> Do you suggest removing the option? > > Why do you think so? What good is an option for if you should avoiding changing it? ;-) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 07:37:13 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 12:37:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppgd6-0001rj-L2 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 07:37:12 -0500 Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppgcq-0001qy-Fm for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 07:37:11 -0500 Received: by iym1 with SMTP id 1so1188436iym.3 for <8047@debbugs.gnu.org>; Wed, 16 Feb 2011 04:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=yTuY23uic9xCwahObzbsij75tJ3eC9g0f+3C5EQRIWI=; b=hzm45/IdX3ftLT5ttihN25B9wC7z7DxnK8zK6HKlwB85H5Hgt0Q1DBckRLo8kqwwWV qEyPUZb6pBLvQ65FV4IAlWkOhiYutZlg/d7x0WEF++LuElc/G3bgm0+tpjtYDe6f+lN2 sbSFYx//N5RokJUzFehWv4OOkgh2mPTdB+q5Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=l0+GTQidgD3B+Pwz5BMzXHl9sEv4o4i3eXY0hr2xceKoVrBfFt7AtS13C/gjOpBnjr 278FHIIzI/vO5ZsTWoRqSf+lz1uw36EEhDW7E/RyORALd0CxQgPlwr5z2DsdaIzNxzqY qyIscRrwXWeErFNnEVoXcnUWlLf/QC88TastI= Received: by 10.42.172.199 with SMTP id o7mr720482icz.381.1297860358363; Wed, 16 Feb 2011 04:45:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.19.67 with HTTP; Wed, 16 Feb 2011 04:45:38 -0800 (PST) In-Reply-To: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> From: Deniz Dogan Date: Wed, 16 Feb 2011 13:45:38 +0100 Message-ID: Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w To: Andreas Schwab Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 8047 Cc: Lennart Borgman , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) 2011/2/16 Andreas Schwab : > Lennart Borgman writes: > >> Do you suggest removing the option? > > Why do you think so? > Wouldn't it be great if we all just said what was on our minds? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 07:48:09 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 12:48:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppgnh-000271-Cw for submit@debbugs.gnu.org; Wed, 16 Feb 2011 07:48:09 -0500 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppgnf-00026n-K4 for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 07:48:08 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 9C6621C0039C; Wed, 16 Feb 2011 13:57:09 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 937D01C0018C; Wed, 16 Feb 2011 13:57:09 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id eEkHS5EmCQPA; Wed, 16 Feb 2011 13:57:08 +0100 (CET) Received: from hase (ppp-88-217-103-155.dynamic.mnet-online.de [88.217.103.155]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 16 Feb 2011 13:57:08 +0100 (CET) From: Andreas Schwab To: Lennart Borgman Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> X-Yow: I'm wearing PAMPERS!! Date: Wed, 16 Feb 2011 13:57:08 +0100 In-Reply-To: (Lennart Borgman's message of "Wed, 16 Feb 2011 13:36:58 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lennart Borgman writes: > On Wed, Feb 16, 2011 at 1:33 PM, Andreas Schwab wrote: >> Lennart Borgman writes: >> >>> Do you suggest removing the option? >> >> Why do you think so? > > What good is an option for if you should avoiding changing it? ;-) Where did I say that? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 07:59:46 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 12:59:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppgyw-0002MW-AF for submit@debbugs.gnu.org; Wed, 16 Feb 2011 07:59:46 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppgyt-0002MJ-NY for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 07:59:44 -0500 Received: by wyf23 with SMTP id 23so1348134wyf.3 for <8047@debbugs.gnu.org>; Wed, 16 Feb 2011 05:08:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=4FWAbIzhkJsCjCv1hAXcohBn+ro9C2UooCUnvrZav+w=; b=kyYo+B85LygGHZxdX23JDyrkr2WVKRAbwpmehxENCU72jOi1q+eWijSzcORMW7lo8Y QsMKzNm+CPz7tZJ/5cKh99p2Hs7RE/3ziq/i2277DKidH0pr3Hd0oZtvbnRUewEl5SzM pd6GWxzJy7IXjXyQF4PO7WEEu8Qid38YlKSRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=B3qySIZUr17Nw1oyPAkomqFMaPKxjhBMx+ggl1kiBKUUd94pkqw7QNIswvJz+/jctK nxUAfRbji1KgJyg5AZ3+l7lWMiIsfzJvDrtUX/5qP4vS0cEtDDor5MyBQCxF9vzoDu6v fDaMNKDyuweeRiXbV5fk2z9tI0Bvfm0o9Lu4s= Received: by 10.216.87.130 with SMTP id y2mr468730wee.58.1297861448747; Wed, 16 Feb 2011 05:04:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.230.24 with HTTP; Wed, 16 Feb 2011 05:03:48 -0800 (PST) In-Reply-To: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> From: Lennart Borgman Date: Wed, 16 Feb 2011 14:03:48 +0100 Message-ID: Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w To: Andreas Schwab Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Wed, Feb 16, 2011 at 1:57 PM, Andreas Schwab wrote: > Lennart Borgman writes: > >> On Wed, Feb 16, 2011 at 1:33 PM, Andreas Schwab wrote: >>> Lennart Borgman writes: >>> >>>> Do you suggest removing the option? >>> >>> Why do you think so? >> >> What good is an option for if you should avoiding changing it? ;-) > > Where did I say that? In your response to Eli. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 08:08:47 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 13:08:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pph7e-0002Z2-Mu for submit@debbugs.gnu.org; Wed, 16 Feb 2011 08:08:47 -0500 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pph7c-0002Yq-M4 for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 08:08:45 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 240501C0F56E; Wed, 16 Feb 2011 14:17:47 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 186681C0009F; Wed, 16 Feb 2011 14:17:47 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id UjPdhcKZdg6Z; Wed, 16 Feb 2011 14:17:46 +0100 (CET) Received: from hase (ppp-88-217-103-155.dynamic.mnet-online.de [88.217.103.155]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 16 Feb 2011 14:17:45 +0100 (CET) From: Andreas Schwab To: Lennart Borgman Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> X-Yow: Remember, in 2039, MOUSSE & PASTA will be available ONLY by prescription!! Date: Wed, 16 Feb 2011 14:17:45 +0100 In-Reply-To: (Lennart Borgman's message of "Wed, 16 Feb 2011 14:03:48 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lennart Borgman writes: > On Wed, Feb 16, 2011 at 1:57 PM, Andreas Schwab wrote: >> Lennart Borgman writes: >> >>> On Wed, Feb 16, 2011 at 1:33 PM, Andreas Schwab wrote: >>>> Lennart Borgman writes: >>>> >>>>> Do you suggest removing the option? >>>> >>>> Why do you think so? >>> >>> What good is an option for if you should avoiding changing it? ;-) >> >> Where did I say that? > > In your response to Eli. I don't see that. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 08:10:34 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 13:10:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pph9O-0002bb-4u for submit@debbugs.gnu.org; Wed, 16 Feb 2011 08:10:34 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pph9M-0002bQ-MB for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 08:10:33 -0500 Received: by wyf23 with SMTP id 23so1358594wyf.3 for <8047@debbugs.gnu.org>; Wed, 16 Feb 2011 05:19:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=WmBp8HD9aEWmNrssb60hINU0/2qRNof8LH63UMopTJg=; b=TXflMyeZ4kryl8vaIyYyAw3Y6pkfTyThTXYoXGSU8V/Nm7evJOSoxP+pVj0oF0G1lK S2/SExxh39BRk3j0qRPYSQjl2Fzoa8IxWqN15VO9GnAmJS0EWZ0LqJqVNNQmzTfHFDne +Aq7b/genipQGuiaWV8g6150yfEu2SlVikcJE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=W+UeEmDwvk1TlmGiNpni5N9lz9A5uAdoY2UFh2QmYOpCOmvaQ4puBjvago4LqxWUpX NQ2+D5UMhu3FLlcjpP8NfwoGB4byVnsI1TSFlZn+pQLHNSyz5wtll/gq0WpibJWMjURt klZjBaBVkOSgDSNdCgy4ImPbt9gpw2NCcithI= Received: by 10.216.184.139 with SMTP id s11mr505977wem.13.1297862374893; Wed, 16 Feb 2011 05:19:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.230.24 with HTTP; Wed, 16 Feb 2011 05:19:14 -0800 (PST) In-Reply-To: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> From: Lennart Borgman Date: Wed, 16 Feb 2011 14:19:14 +0100 Message-ID: Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w To: Andreas Schwab Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Wed, Feb 16, 2011 at 2:17 PM, Andreas Schwab wrote: > Lennart Borgman writes: > >> On Wed, Feb 16, 2011 at 1:57 PM, Andreas Schwab wrote: >>> Lennart Borgman writes: >>> >>>> On Wed, Feb 16, 2011 at 1:33 PM, Andreas Schwab wrote: >>>>> Lennart Borgman writes: >>>>> >>>>>> Do you suggest removing the option? >>>>> >>>>> Why do you think so? >>>> >>>> What good is an option for if you should avoiding changing it? ;-) >>> >>> Where did I say that? >> >> In your response to Eli. > > I don't see that. So what did you mean here then?: >> Set require-final-newline non-nil, and you will. > > Don't do that then. > > Andreas. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 08:21:09 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 13:21:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PphJc-0002qA-Pa for submit@debbugs.gnu.org; Wed, 16 Feb 2011 08:21:08 -0500 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PphJZ-0002pg-U5 for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 08:21:07 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 77C7B1C0F569; Wed, 16 Feb 2011 14:30:08 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 5853C1C0019C; Wed, 16 Feb 2011 14:30:08 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id ho9B5uLhQitD; Wed, 16 Feb 2011 14:30:07 +0100 (CET) Received: from hase (ppp-88-217-103-155.dynamic.mnet-online.de [88.217.103.155]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 16 Feb 2011 14:30:07 +0100 (CET) From: Andreas Schwab To: Lennart Borgman Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> X-Yow: ..Are we having FUN yet...? Date: Wed, 16 Feb 2011 14:30:06 +0100 In-Reply-To: (Lennart Borgman's message of "Wed, 16 Feb 2011 14:19:14 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lennart Borgman writes: > On Wed, Feb 16, 2011 at 2:17 PM, Andreas Schwab wrote: >> Lennart Borgman writes: >> >>> On Wed, Feb 16, 2011 at 1:57 PM, Andreas Schwab wrote: >>>> Lennart Borgman writes: >>>> >>>>> On Wed, Feb 16, 2011 at 1:33 PM, Andreas Schwab wrote: >>>>>> Lennart Borgman writes: >>>>>> >>>>>>> Do you suggest removing the option? >>>>>> >>>>>> Why do you think so? >>>>> >>>>> What good is an option for if you should avoiding changing it? ;-) >>>> >>>> Where did I say that? >>> >>> In your response to Eli. >> >> I don't see that. > > So what did you mean here then?: > >>> Set require-final-newline non-nil, and you will. >> >> Don't do that then. >> >> Andreas. > Where did I suggest removing the option? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 08:28:56 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 13:28:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PphRA-00031Q-EF for submit@debbugs.gnu.org; Wed, 16 Feb 2011 08:28:56 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PphR8-00031F-Fm for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 08:28:54 -0500 Received: by wyf23 with SMTP id 23so1377258wyf.3 for <8047@debbugs.gnu.org>; Wed, 16 Feb 2011 05:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=Mccf6s0Ho9i6BrgoNIKrCaCWRiNgHKUTRzYKsR8mg3A=; b=S7bKG3ejlrD8jcG0J8wuHvBI3YhVMjFGZubTSYpz4gREjckszepczqOziHLcug+vNN Im/LTwj7qUuGtLfDvj10QesnjjJ+qNvWPULyUKpkXws8NWRcTrWZJaNB6/qvpx5TkC4G f35TVkNBBbcMMa/xLslDOLyGbTnexpfpWl/Hk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=XeFm8GOhjPrMWI0TnXLz7UwILhIn43wdoKzZraVPDNGOGAKRZWlTUY8ricU3u5rM55 4MDfDbLagJg3uGadT3k8oXRTRrZdh7+CitGlNqkN5fIp1X1VqbSRvgstACVbA34KGrG2 iqFa1Fy6ZFjaN1Tgpbq1lB1jBUjZmz7CtLTHE= Received: by 10.216.184.139 with SMTP id s11mr522420wem.13.1297863474769; Wed, 16 Feb 2011 05:37:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.230.24 with HTTP; Wed, 16 Feb 2011 05:37:34 -0800 (PST) In-Reply-To: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> From: Lennart Borgman Date: Wed, 16 Feb 2011 14:37:34 +0100 Message-ID: Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w To: Andreas Schwab Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Wed, Feb 16, 2011 at 2:30 PM, Andreas Schwab wrote: > Lennart Borgman writes: > >> On Wed, Feb 16, 2011 at 2:17 PM, Andreas Schwab wrote: >>> Lennart Borgman writes: >>> >>>> On Wed, Feb 16, 2011 at 1:57 PM, Andreas Schwab wrote: >>>>> Lennart Borgman writes: >>>>> >>>>>> On Wed, Feb 16, 2011 at 1:33 PM, Andreas Schwab wrote: >>>>>>> Lennart Borgman writes: >>>>>>> >>>>>>>> Do you suggest removing the option? >>>>>>> >>>>>>> Why do you think so? >>>>>> >>>>>> What good is an option for if you should avoiding changing it? ;-) >>>>> >>>>> Where did I say that? >>>> >>>> In your response to Eli. >>> >>> I don't see that. >> >> So what did you mean here then?: >> >>>> Set require-final-newline non-nil, and you will. >>> >>> Don't do that then. >>> >>> Andreas. >> > > Where did I suggest removing the option? I suggest that you suggested it there. And I suggest that you agree with me so we can stop this ;-) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 09:31:30 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 14:31:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpiPi-0004Pa-Fk for submit@debbugs.gnu.org; Wed, 16 Feb 2011 09:31:30 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpiPZ-0004PH-0J for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 09:31:28 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAFNwW01MCqmX/2dsb2JhbAClX3S8NoVeBIUIj0c X-IronPort-AV: E=Sophos;i="4.60,479,1291611600"; d="scan'208";a="91876169" Received: from 76-10-169-151.dsl.teksavvy.com (HELO ceviche.home) ([76.10.169.151]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 16 Feb 2011 09:40:23 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 3BAD966188; Wed, 16 Feb 2011 09:40:23 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w Message-ID: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> Date: Wed, 16 Feb 2011 09:40:23 -0500 In-Reply-To: <83sjvowrfd.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Feb 2011 06:10:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8047 Cc: Glenn Morris , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> > 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 >> I don't see this in current emacs-23 or trunk on GNU/Linux. > Set require-final-newline non-nil, and you will. Even if it's set to `ask'? As for the actual fix, maybe require-final-newline should be ignored when the encoding is `binary'? Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 12:48:18 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 17:48:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PplU9-0000OE-W3 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 12:48:18 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PplU8-0000O0-6P for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 12:48:16 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LGQ00L0015GU200@a-mtaout20.012.net.il> for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 19:57:18 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.187.92]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGQ00L291VFYX00@a-mtaout20.012.net.il>; Wed, 16 Feb 2011 19:57:16 +0200 (IST) Date: Wed, 16 Feb 2011 19:57:19 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83pqqrx3pc.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: rgm@gnu.org, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Stefan Monnier > Cc: Glenn Morris , 8047@debbugs.gnu.org > Date: Wed, 16 Feb 2011 09:40:23 -0500 > > >> > 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 > >> I don't see this in current emacs-23 or trunk on GNU/Linux. > > Set require-final-newline non-nil, and you will. > > Even if it's set to `ask'? Of course not. > As for the actual fix, maybe require-final-newline should be ignored > when the encoding is `binary'? That's what I have in mind; feel free to beat me to it, because I don't buy the argument that since this was so in Emacs 22, we need to live with it until 24.1. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 13:26:36 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 18:26:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppm5D-0001EE-R5 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 13:26:36 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppm5C-0001E3-JN for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 13:26:35 -0500 Received: from localhost ([127.0.0.1]:37731) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpmDv-0005Tu-TK; Wed, 16 Feb 2011 13:35:36 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> X-Spook: asset morse Iran credit card Khaddafi Zachawi Hugo Chavez X-Ran: /j?FuMzOe<~.kO3{qdhh3GWdr`s5xaSMFV>lV_-KEryxl!9e`m\OpAT}x3xhf(7_+v+yWy X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 16 Feb 2011 13:35:35 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8047 Cc: Stefan Monnier , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Eli Zaretskii wrote: > That's what I have in mind; feel free to beat me to it, because I > don't buy the argument that since this was so in Emacs 22, we need to > live with it until 24.1. That was meant to be a reference to policy, not an argument. http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00649.html Developers: please note that the emacs-23 branch is now in hard freeze. Commits should be for regressions against 23.2, or documentation bugs, only. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 13:37:52 2011 Received: (at control) by debbugs.gnu.org; 16 Feb 2011 18:37:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpmG8-0001TL-3q for submit@debbugs.gnu.org; Wed, 16 Feb 2011 13:37:52 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpmG6-0001T6-Gk for control@debbugs.gnu.org; Wed, 16 Feb 2011 13:37:50 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PpmOr-0006Ez-Ja for control@debbugs.gnu.org; Wed, 16 Feb 2011 13:46:53 -0500 Date: Wed, 16 Feb 2011 13:46:53 -0500 Message-Id: Subject: control message for bug 8047 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) retitle 8047 image-mode and require-final-newline From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 14:54:15 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 19:54:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpnS2-0003v1-TM for submit@debbugs.gnu.org; Wed, 16 Feb 2011 14:54:15 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpnRz-0003ul-Ig for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 14:54:12 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LGQ00L007KBN300@a-mtaout21.012.net.il> for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 22:03:05 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.187.92]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGQ00LKO7P1LR60@a-mtaout21.012.net.il>; Wed, 16 Feb 2011 22:03:03 +0200 (IST) Date: Wed, 16 Feb 2011 22:03:06 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: <83pqqrx3pc.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: Stefan Monnier , Chong Yidong Message-id: <83fwrnwxvp.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Date: Wed, 16 Feb 2011 19:57:19 +0200 > From: Eli Zaretskii > Cc: 8047@debbugs.gnu.org > > > As for the actual fix, maybe require-final-newline should be ignored > > when the encoding is `binary'? > > That's what I have in mind; feel free to beat me to it, because I > don't buy the argument that since this was so in Emacs 22, we need to > live with it until 24.1. However, since emacs-23 is in deep freeze, I would like to suggest an even more conservative change, see below. This one affects only image-mode buffers that display image files. Chong, is this okay to install on the release branch, even though the bug predates Emacs 23.2? --- lisp/image-mode.el~ 2011-02-15 21:32:39.565125000 +0200 +++ lisp/image-mode.el 2011-02-16 21:55:04.190125000 +0200 @@ -507,6 +507,9 @@ (defun image-toggle-display-image () ;; This just makes the arrow displayed in the right fringe ;; area look correct when the image is wider than the window. (setq truncate-lines t) + ;; Disable adding a newline at the end of the image file when it + ;; is written with, e.g., C-x C-w. + (setq find-file-literally t) ;; Allow navigation of large images (set (make-local-variable 'auto-hscroll-mode) nil) (setq image-type type) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 15:49:57 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 20:49:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpoJw-00056y-BM for submit@debbugs.gnu.org; Wed, 16 Feb 2011 15:49:56 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpoJt-00056l-2y for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 15:49:54 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAG7JW01MCqmX/2dsb2JhbACmBXS9SoVeBIUIj0c X-IronPort-AV: E=Sophos;i="4.60,481,1291611600"; d="scan'208";a="91923027" Received: from 76-10-169-151.dsl.teksavvy.com (HELO ceviche.home) ([76.10.169.151]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 16 Feb 2011 15:58:56 -0500 Received: by ceviche.home (Postfix, from userid 20848) id A3BE266188; Wed, 16 Feb 2011 15:58:55 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w Message-ID: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> Date: Wed, 16 Feb 2011 15:58:55 -0500 In-Reply-To: <83fwrnwxvp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Feb 2011 22:03:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8047 Cc: Chong Yidong , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > --- lisp/image-mode.el~ 2011-02-15 21:32:39.565125000 +0200 > +++ lisp/image-mode.el 2011-02-16 21:55:04.190125000 +0200 > @@ -507,6 +507,9 @@ (defun image-toggle-display-image () > ;; This just makes the arrow displayed in the right fringe > ;; area look correct when the image is wider than the window. > (setq truncate-lines t) > + ;; Disable adding a newline at the end of the image file when it > + ;; is written with, e.g., C-x C-w. > + (setq find-file-literally t) > ;; Allow navigation of large images > (set (make-local-variable 'auto-hscroll-mode) nil) > (setq image-type type) Is this really as safe as it seems? I mean, what happens when you visit an XPM, PS, or SVG file encoded in utf-8? Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 15:59:17 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 20:59:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpoSz-0005Jh-18 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 15:59:17 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpoSv-0005JT-Mj for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 15:59:14 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LGQ00E00AKDB100@a-mtaout23.012.net.il> for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 23:08:07 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.187.92]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGQ00E9FAPH8680@a-mtaout23.012.net.il>; Wed, 16 Feb 2011 23:08:07 +0200 (IST) Date: Wed, 16 Feb 2011 23:08:10 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83d3mrwuv9.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Stefan Monnier > Cc: Chong Yidong , 8047@debbugs.gnu.org > Date: Wed, 16 Feb 2011 15:58:55 -0500 > > what happens when you visit an XPM, PS, or SVG file encoded in > utf-8? Maybe I'm missing something, but I don't think anything will happen that doesn't happen already. Care to elaborate what you had in mind? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 15:59:55 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 20:59:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpoTa-0005KS-Be for submit@debbugs.gnu.org; Wed, 16 Feb 2011 15:59:54 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpoTZ-0005KH-0R for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 15:59:53 -0500 Received: from localhost ([127.0.0.1]:47516) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpocJ-0005WY-Oj; Wed, 16 Feb 2011 16:08:55 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> X-Spook: SHA Project Monarch Firefly Israel Bosnia IRA ASDIC X-Ran: htLlKV5-%.;}ynj'dq0%PDck=Xb0>H]\KS064E,`*"oJ07A/CH:29Fgm@^!>z|I*n?1W)o X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 16 Feb 2011 16:08:55 -0500 In-Reply-To: <83fwrnwxvp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Feb 2011 22:03:06 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: 8047 Cc: Chong Yidong , Stefan Monnier , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) Eli Zaretskii wrote: > + ;; Disable adding a newline at the end of the image file when it > + ;; is written with, e.g., C-x C-w. > + (setq find-file-literally t) You would need to make it buffer-local. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 16:34:55 2011 Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 21:34:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppp1S-000685-S8 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:34:55 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppp1R-00067u-L6 for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 16:34:53 -0500 Received: from localhost ([127.0.0.1]:43648) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PppAD-0007T1-8V; Wed, 16 Feb 2011 16:43:57 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> X-Spook: FTS2000 weapons of mass destruction Qaddafi DES Zachawi X-Ran: ^^&S^5!S+n~[8{tU8$B/-8l]MF)^}E-F/b"R5;TxDOAli3-<%ko4)&G^>8=~8}k_:ui.XO X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 16 Feb 2011 16:43:56 -0500 In-Reply-To: <83fwrnwxvp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Feb 2011 22:03:06 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8047 Cc: Chong Yidong , Stefan Monnier , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Eli Zaretskii wrote: > However, since emacs-23 is in deep freeze, I would like to suggest an > even more conservative change, see below. This seems a lot less conservative than setting require-final-newline to nil at exactly the same location. > + ;; Disable adding a newline at the end of the image file when it > + ;; is written with, e.g., C-x C-w. > + (setq find-file-literally t) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 20:41:30 2011 Received: (at 8047) by debbugs.gnu.org; 17 Feb 2011 01:41:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppsru-0003oe-NH for submit@debbugs.gnu.org; Wed, 16 Feb 2011 20:41:30 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppsrs-0003oS-Of for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 20:41:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGUNXE1MCqmX/2dsb2JhbACmEnS8eoVeBIUJj0k X-IronPort-AV: E=Sophos;i="4.60,483,1291611600"; d="scan'208";a="91951347" Received: from 76-10-169-151.dsl.teksavvy.com (HELO ceviche.home) ([76.10.169.151]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 16 Feb 2011 20:50:20 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 2F70B66188; Wed, 16 Feb 2011 20:50:20 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w Message-ID: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83d3mrwuv9.fsf@gnu.org> Date: Wed, 16 Feb 2011 20:50:20 -0500 In-Reply-To: <83d3mrwuv9.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Feb 2011 23:08:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> what happens when you visit an XPM, PS, or SVG file encoded in >> utf-8? > Maybe I'm missing something, but I don't think anything will happen > that doesn't happen already. Care to elaborate what you had in mind? These aren't "binary files", so setting find-file-literally may have undesired effects. E.g. the coding cookie will be ignored upon save, even though such files might like to use them. Those will also like to obey require-final-newline, BTW. So I suggest to set find-file-literally only in the case where buffer-file-coding-system is `no-conversion'. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 22:49:38 2011 Received: (at 8047) by debbugs.gnu.org; 17 Feb 2011 03:49:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppus5-0006a8-J4 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 22:49:37 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppus2-0006Zu-5C for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 22:49:35 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LGQ00300TM6Z100@a-mtaout20.012.net.il> for 8047@debbugs.gnu.org; Thu, 17 Feb 2011 05:58:37 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.187.92]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGQ003FATPOUB90@a-mtaout20.012.net.il>; Thu, 17 Feb 2011 05:58:37 +0200 (IST) Date: Thu, 17 Feb 2011 05:58:41 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83bp2bwbv2.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Glenn Morris > Cc: Stefan Monnier , Chong Yidong , 8047@debbugs.gnu.org > Date: Wed, 16 Feb 2011 16:08:55 -0500 > > Eli Zaretskii wrote: > > > + ;; Disable adding a newline at the end of the image file when it > > + ;; is written with, e.g., C-x C-w. > > + (setq find-file-literally t) > > You would need to make it buffer-local. ??? It's permanently local already, see its doc string. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 22:51:26 2011 Received: (at 8047) by debbugs.gnu.org; 17 Feb 2011 03:51:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pputq-0006cm-1v for submit@debbugs.gnu.org; Wed, 16 Feb 2011 22:51:26 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pputp-0006cb-6o for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 22:51:25 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LGQ00300TM6Z100@a-mtaout20.012.net.il> for 8047@debbugs.gnu.org; Thu, 17 Feb 2011 06:00:25 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.187.92]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGQ003H3TSNUMA0@a-mtaout20.012.net.il>; Thu, 17 Feb 2011 06:00:25 +0200 (IST) Date: Thu, 17 Feb 2011 06:00:28 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83aahvwbs3.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Glenn Morris > Cc: Stefan Monnier , Chong Yidong , 8047@debbugs.gnu.org > Date: Wed, 16 Feb 2011 16:43:56 -0500 > > Eli Zaretskii wrote: > > > However, since emacs-23 is in deep freeze, I would like to suggest an > > even more conservative change, see below. > > This seems a lot less conservative than setting require-final-newline > to nil at exactly the same location. I'm okay with that as well. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 22:52:26 2011 Received: (at 8047) by debbugs.gnu.org; 17 Feb 2011 03:52:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppuun-0006eL-8c for submit@debbugs.gnu.org; Wed, 16 Feb 2011 22:52:25 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppuum-0006e9-7E for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 22:52:24 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LGQ00400TSV0000@a-mtaout20.012.net.il> for 8047@debbugs.gnu.org; Thu, 17 Feb 2011 06:01:27 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.187.92]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGQ003SXTUEMXF0@a-mtaout20.012.net.il>; Thu, 17 Feb 2011 06:01:27 +0200 (IST) Date: Thu, 17 Feb 2011 06:01:31 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <838vxfwbqc.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83d3mrwuv9.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Stefan Monnier > Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org > Date: Wed, 16 Feb 2011 20:50:20 -0500 > > So I suggest to set find-file-literally only in the case where > buffer-file-coding-system is `no-conversion'. Fine with me. So do you prefer the above, or do you prefer Glenn's suggestion to set require-final-newline instead? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 23:25:42 2011 Received: (at 8047) by debbugs.gnu.org; 17 Feb 2011 04:25:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpvQz-0007Mc-Qy for submit@debbugs.gnu.org; Wed, 16 Feb 2011 23:25:41 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpvQy-0007MQ-6G for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 23:25:40 -0500 Received: from localhost ([127.0.0.1]:42045) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpvZk-00019k-BA; Wed, 16 Feb 2011 23:34:44 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83bp2bwbv2.fsf@gnu.org> X-Spook: SSL ASO cryptanalysis military IMF 22nd SAS fraud X-Ran: SU~O@at+BOS$%Ox;Edc8$LFJjz_,O."u:jo"{j%,/.%Su|*>O@,2nK3c]2,8Fx*r@wUT)9 X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 16 Feb 2011 23:34:43 -0500 In-Reply-To: <83bp2bwbv2.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Feb 2011 05:58:41 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Eli Zaretskii wrote: >> You would need to make it buffer-local. > > ??? It's permanently local already, see its doc string. If you test your proposed patch, you will find it sets the global value. It is permanently local, *once made buffer local*. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 17 05:29:30 2011 Received: (at 8047) by debbugs.gnu.org; 17 Feb 2011 10:29:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pq174-0008W6-5J for submit@debbugs.gnu.org; Thu, 17 Feb 2011 05:29:30 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pq171-0008Vv-UQ for 8047@debbugs.gnu.org; Thu, 17 Feb 2011 05:29:28 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Pq1Fo-0007f6-2G; Thu, 17 Feb 2011 05:38:32 -0500 Date: Thu, 17 Feb 2011 05:38:32 -0500 Message-Id: From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Wed, 16 Feb 2011 23:34:43 -0500) Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83bp2bwbv2.fsf@gnu.org> X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) > From: Glenn Morris > Cc: monnier@iro.umontreal.ca, cyd@stupidchicken.com, 8047@debbugs.gnu.org > Date: Wed, 16 Feb 2011 23:34:43 -0500 > > Eli Zaretskii wrote: > > >> You would need to make it buffer-local. > > > > ??? It's permanently local already, see its doc string. > > If you test your proposed patch, you will find it sets the global value. I tested it, just not deep enough ;-) > It is permanently local, *once made buffer local*. Turns out I had a fundamental misunderstanding of what "permanently local" means. The fact that the Elisp manual is silent about that does not help. Is there something beyond the fact that kill-all-local-variables doesn't touch them, or is that all there is to it? From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 17 15:01:52 2011 Received: (at 8047) by debbugs.gnu.org; 17 Feb 2011 20:01:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqA2y-0005XA-4m for submit@debbugs.gnu.org; Thu, 17 Feb 2011 15:01:52 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqA2v-0005Wy-OV for 8047@debbugs.gnu.org; Thu, 17 Feb 2011 15:01:50 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACsPXU1MCqmX/2dsb2JhbACmHXS7e4VeBIUKj08 X-IronPort-AV: E=Sophos;i="4.62,182,1297054800"; d="scan'208";a="92023935" Received: from 76-10-169-151.dsl.teksavvy.com (HELO ceviche.home) ([76.10.169.151]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 17 Feb 2011 15:10:55 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 3AA5866188; Thu, 17 Feb 2011 15:10:55 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w Message-ID: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83bp2bwbv2.fsf@gnu.org> Date: Thu, 17 Feb 2011 15:10:55 -0500 In-Reply-To: (Eli Zaretskii's message of "Thu, 17 Feb 2011 05:38:32 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8047 Cc: Glenn Morris , cyd@stupidchicken.com, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > does not help. Is there something beyond the fact that > kill-all-local-variables doesn't touch them, or is that all there is > to it? That's all there is to them, Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 17 15:31:43 2011 Received: (at 8047) by debbugs.gnu.org; 17 Feb 2011 20:31:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqAVq-0006CN-PX for submit@debbugs.gnu.org; Thu, 17 Feb 2011 15:31:42 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqAVo-0006C7-5U for 8047@debbugs.gnu.org; Thu, 17 Feb 2011 15:31:40 -0500 Received: by eyd10 with SMTP id 10so1723314eyd.3 for <8047@debbugs.gnu.org>; Thu, 17 Feb 2011 12:40:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=nV464F1A6AaznWme1fFcm7oGkT9nWTwXCZl6thT/ESY=; b=haENO26ymeaG6H0uVhVBcoZE4KxuEZQuBI9DnN7nlOFuG7Hw+BV+VI2gYapUPmlL67 Oj382AKNCIdp6t7P6cNGlZ59i0qvP0PhpGTx8LaadNtltLgkNpLNdX3PwkRvnWhb/J6n hy9x+p/AZqtgSUhxZNNYHG763D+MnAyS2/ny4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=JrQtZhR2Xqj3hpBhQNd0f+JRwaFOuwY1rVGxMN/fPIpKT5GNxRNGl/tFWvIcfgMbhi lfkK5nwnItJDfPuWX/dL1PAeEUZ/G5hFdc3AhLKKqLdYWbz+e7cqPgBaU36rXV1F09EE zXRF7Xdhd/xBouIwbRnQkCMXhTPpUNLifrBgY= Received: by 10.213.7.67 with SMTP id c3mr2789326ebc.68.1297975245591; Thu, 17 Feb 2011 12:40:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.29.212 with HTTP; Thu, 17 Feb 2011 12:40:25 -0800 (PST) In-Reply-To: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83bp2bwbv2.fsf@gnu.org> From: Lennart Borgman Date: Thu, 17 Feb 2011 21:40:25 +0100 Message-ID: Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8047 Cc: Eli Zaretskii , cyd@stupidchicken.com, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Thu, Feb 17, 2011 at 9:10 PM, Stefan Monnier wrote: >> does not help. =C2=A0Is there something beyond the fact that >> kill-all-local-variables doesn't touch them, or is that all there is >> to it? > > That's all there is to them, Though it might be worth noting that local-permanent-hook has a bit more complicated semantics. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 18 04:45:12 2011 Received: (at 8047) by debbugs.gnu.org; 18 Feb 2011 09:45:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqMtk-0006Zd-2F for submit@debbugs.gnu.org; Fri, 18 Feb 2011 04:45:12 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqMtg-0006ZE-Fk for 8047@debbugs.gnu.org; Fri, 18 Feb 2011 04:45:09 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LGT00H004ADNV00@a-mtaout22.012.net.il> for 8047@debbugs.gnu.org; Fri, 18 Feb 2011 11:44:48 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.140.24]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGT00GK24ENEHE0@a-mtaout22.012.net.il>; Fri, 18 Feb 2011 11:44:48 +0200 (IST) Date: Fri, 18 Feb 2011 11:44:54 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: <838vxfwbqc.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: monnier@iro.umontreal.ca, cyd@stupidchicken.com Message-id: <83y65dvfqh.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83d3mrwuv9.fsf@gnu.org> <838vxfwbqc.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Date: Thu, 17 Feb 2011 06:01:31 +0200 > From: Eli Zaretskii > Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org > > > From: Stefan Monnier > > Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org > > Date: Wed, 16 Feb 2011 20:50:20 -0500 > > > > So I suggest to set find-file-literally only in the case where > > buffer-file-coding-system is `no-conversion'. > > Fine with me. > > So do you prefer the above, or do you prefer Glenn's suggestion to set > require-final-newline instead? Ping! Please say if you agree to install this change on the emacs-23 branch, and also which of the solutions (setting require-final-newline or find-file-literally) you prefer (both will be made buffer-local). I don't want to do this on my own so close to the release. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 18 05:25:02 2011 Received: (at 8047) by debbugs.gnu.org; 18 Feb 2011 10:25:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqNWH-0007Rz-IK for submit@debbugs.gnu.org; Fri, 18 Feb 2011 05:25:01 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqNWE-0007Rk-QS for 8047@debbugs.gnu.org; Fri, 18 Feb 2011 05:25:00 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LGT00H0065GX900@a-mtaout22.012.net.il> for 8047@debbugs.gnu.org; Fri, 18 Feb 2011 12:24:53 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.140.24]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGT00H4469FX210@a-mtaout22.012.net.il>; Fri, 18 Feb 2011 12:24:53 +0200 (IST) Date: Fri, 18 Feb 2011 12:24:58 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83wrkxvdvp.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83bp2bwbv2.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: rgm@gnu.org, cyd@stupidchicken.com, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Stefan Monnier > Cc: Glenn Morris , cyd@stupidchicken.com, 8047@debbugs.gnu.org > Date: Thu, 17 Feb 2011 15:10:55 -0500 > > > does not help. Is there something beyond the fact that > > kill-all-local-variables doesn't touch them, or is that all there is > > to it? > > That's all there is to them, So documented. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 18 12:25:00 2011 Received: (at 8047) by debbugs.gnu.org; 18 Feb 2011 17:25:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqU4i-0000qJ-1D for submit@debbugs.gnu.org; Fri, 18 Feb 2011 12:25:00 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqU4g-0000q4-1A for 8047@debbugs.gnu.org; Fri, 18 Feb 2011 12:24:58 -0500 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p1IHPYGf010891; Fri, 18 Feb 2011 12:25:35 -0500 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 67CB9B411A; Fri, 18 Feb 2011 12:24:50 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w Message-ID: References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83d3mrwuv9.fsf@gnu.org> <838vxfwbqc.fsf@gnu.org> <83y65dvfqh.fsf@gnu.org> Date: Fri, 18 Feb 2011 12:24:50 -0500 In-Reply-To: <83y65dvfqh.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Feb 2011 11:44:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3735=0 X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) >> > So I suggest to set find-file-literally only in the case where >> > buffer-file-coding-system is `no-conversion'. >> Fine with me. >> So do you prefer the above, or do you prefer Glenn's suggestion to set >> require-final-newline instead? > Please say if you agree to install this change on the emacs-23 branch, > and also which of the solutions (setting require-final-newline or > find-file-literally) you prefer (both will be made buffer-local). I > don't want to do this on my own so close to the release. I think find-file-literally is more right, but require-final-newline is safer, so I suggest to use require-final-newline in the emacs-23 branch and find-file-literally in the trunk. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 18 13:00:19 2011 Received: (at 8047) by debbugs.gnu.org; 18 Feb 2011 18:00:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqUct-0001iQ-Jr for submit@debbugs.gnu.org; Fri, 18 Feb 2011 13:00:19 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqUcr-0001iD-Jv for 8047@debbugs.gnu.org; Fri, 18 Feb 2011 13:00:18 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LGT00500RB9Q100@a-mtaout20.012.net.il> for 8047@debbugs.gnu.org; Fri, 18 Feb 2011 20:00:11 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.140.24]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGT0042ARC4ZLG0@a-mtaout20.012.net.il>; Fri, 18 Feb 2011 20:00:10 +0200 (IST) Date: Fri, 18 Feb 2011 20:00:11 +0200 From: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83ei75ust0.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83d3mrwuv9.fsf@gnu.org> <838vxfwbqc.fsf@gnu.org> <83y65dvfqh.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Stefan Monnier > Cc: cyd@stupidchicken.com, 8047@debbugs.gnu.org > Date: Fri, 18 Feb 2011 12:24:50 -0500 > > >> > So I suggest to set find-file-literally only in the case where > >> > buffer-file-coding-system is `no-conversion'. > >> Fine with me. > >> So do you prefer the above, or do you prefer Glenn's suggestion to set > >> require-final-newline instead? > > Please say if you agree to install this change on the emacs-23 branch, > > and also which of the solutions (setting require-final-newline or > > find-file-literally) you prefer (both will be made buffer-local). I > > don't want to do this on my own so close to the release. > > I think find-file-literally is more right, but require-final-newline is > safer, so I suggest to use require-final-newline in the emacs-23 branch > and find-file-literally in the trunk. Done. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 18 22:38:37 2011 Received: (at 8047) by debbugs.gnu.org; 19 Feb 2011 03:38:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqdeX-0008Ns-Kv for submit@debbugs.gnu.org; Fri, 18 Feb 2011 22:38:37 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqdeW-0008Nh-2T for 8047@debbugs.gnu.org; Fri, 18 Feb 2011 22:38:36 -0500 Received: from localhost ([127.0.0.1]:47121) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqdeQ-00062j-FG; Fri, 18 Feb 2011 22:38:30 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> <83pqqrx3pc.fsf@gnu.org> <83fwrnwxvp.fsf@gnu.org> <83d3mrwuv9.fsf@gnu.org> <838vxfwbqc.fsf@gnu.org> <83y65dvfqh.fsf@gnu.org> <83ei75ust0.fsf@gnu.org> X-Spook: basement Kh-11 rail gun Ruby Ridge secure Yukon Roswell X-Ran: l3l/24GqMR~#PEf(ZN$9CC=n?G{`Cq~^6"iOhw(p)eaQL0=({lEr/4R\=_h%Sa$EreMEDp X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 18 Feb 2011 22:38:30 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8047 Cc: cyd@stupidchicken.com, Stefan Monnier , 8047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Eli Zaretskii wrote: >> I think find-file-literally is more right, but require-final-newline is >> safer, so I suggest to use require-final-newline in the emacs-23 branch >> and find-file-literally in the trunk. > > Done. If you fix the same thing two different ways at the same time in trunk and branch, please try to mark the branch commit with "do not merge to trunk". It can be confusing if someone tries to merge branch to trunk several days later and is not familiar with the code in question. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 19 16:22:04 2011 Received: (at control) by debbugs.gnu.org; 19 Feb 2011 21:22:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PquFf-0007K6-FO for submit@debbugs.gnu.org; Sat, 19 Feb 2011 16:22:03 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PquFd-0007Jd-Tu for control@debbugs.gnu.org; Sat, 19 Feb 2011 16:22:02 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PquFY-0002hu-PQ for control@debbugs.gnu.org; Sat, 19 Feb 2011 16:21:56 -0500 Date: Sat, 19 Feb 2011 16:21:56 -0500 Message-Id: Subject: control message for bug 8047 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) close 8047 23.3 From unknown Tue Jul 08 17:24:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 20 Mar 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator