From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthias Redies Newsgroups: gmane.emacs.bugs Subject: bug#21598: 24.5; Auto-revert-mode loads images as text Date: Thu, 1 Oct 2015 17:17:03 +0200 Message-ID: <560D4E6F.3020800@yahoo.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1443719810 19853 80.91.229.3 (1 Oct 2015 17:16:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 17:16:50 +0000 (UTC) To: 21598@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 19:16:35 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZhhT4-00083Q-64 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 19:16:30 +0200 Original-Received: from localhost ([::1]:53861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhhT3-0006s4-96 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 13:16:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhg6W-0002P5-DJ for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 11:49:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zhg6R-000554-A5 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 11:49:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhg6Q-00054q-VP for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 11:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zhg6Q-0001F5-MF for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Redies Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2015 15:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14437145084725 (code B ref -1); Thu, 01 Oct 2015 15:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Oct 2015 15:48:28 +0000 Original-Received: from localhost ([127.0.0.1]:50764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zhg5r-0001E8-39 for submit@debbugs.gnu.org; Thu, 01 Oct 2015 11:48:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33061) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zhfbj-0000WG-Ih for submit@debbugs.gnu.org; Thu, 01 Oct 2015 11:17:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zhfbf-00071C-1B for submit@debbugs.gnu.org; Thu, 01 Oct 2015 11:17:19 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhfbe-000710-U6 for submit@debbugs.gnu.org; Thu, 01 Oct 2015 11:17:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhfba-0002up-H8 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 11:17:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhfbX-0006zl-N1 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 11:17:10 -0400 Original-Received: from nm4-vm5.bullet.mail.ir2.yahoo.com ([212.82.96.103]:36706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhfbX-0006zf-Bz for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 11:17:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1443712625; bh=226kqgusIEAqRj0ftq3wIklvLOESm6z5MnomI8h/7kE=; h=To:Subject:From:Date:From:Subject; b=YnbumTR3BipYs1z7Zt8W0MC51gA8CMgYKrzoRGSH8e14hQSaA8wNEDCkC9rUWmhN0Dstwu9zXlyQy3NvsHiLN84Qb7ua7mbFGtGHs/t3Wp4n6hPYkUWA8DVDDTZH2HxUIk8f9sW4E0Th5O2Ug1w0sL/NJ32KoA2EVGMoS7WzAwcq2jzSd52aYJjyX5frsqtI5OmLQGQ8UhKp8vrSB6QeB4XjbnAXxhYumCsaEXopzcmZHfmr6lCLqf32LxP13l8NqrX9B3hZIi4H1vlRBO6CXqdU+vkXf7rwqJSbDxDD3qHscQP+2U0UOLxY7qX6b7zawawJTMLETDFWsw/7lCr5xA== Original-Received: from [212.82.98.54] by nm4.bullet.mail.ir2.yahoo.com with NNFMP; 01 Oct 2015 15:17:05 -0000 Original-Received: from [46.228.39.91] by tm7.bullet.mail.ir2.yahoo.com with NNFMP; 01 Oct 2015 15:17:05 -0000 Original-Received: from [127.0.0.1] by smtp128.mail.ir2.yahoo.com with NNFMP; 01 Oct 2015 15:17:05 -0000 X-Yahoo-Newman-Id: 140509.33922.bm@smtp128.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: XQA97BcVM1n6gYzPpYQQk1USBY1FWjEHrQwcWnsgmQ4Ux_H Alt2keeVR6gUoehWD3tnfyVu6.wjZ7DzmzJAyglII2NZuznRiYSEV4YNSYgE lPSV2z1Vg4_HFxPcEFgwrpFHFcZH06Ukv65SC5SKKL_KDodGyYP_euWD4kxk fLj_7fxc.anjFpzOJ8kiZ7gaYWj4QU9SBLiw_bFg8iDSIBf5.P17k0KWS5IG juehNLuuVcGZ5EYCSDasYahaE6U4r_2eRj8Vf.VYhEeAW3rewuqQ4gfdLycv jc4BEGmYJFiI8eWL21gDyy2gMRbztwI9ASPzVZvpoplkY87SqnpJh1JT57mJ ltV9.Iaai5pPa0WmsUclyBls9NaNINgRqBrxpOkD69a7A4M18ZBaJH2zSHD3 MCsMwSlLKIQRsm38W9WdJbpaMGlZedTA5Xhf7b51cs7xcmNPg6ilet25CiWF W3PuSplZgcx9OtUN5ZL_jIIx.5BvZVtNaoruqYJgQpaQ4zxCfEakKf8g4LSO QhY.4Uqx.x4Rbl4hXaVHT6UeYcgC2D3P61Et4zns9ffciHyn0 X-Yahoo-SMTP: w737Lo6swBD16exrGffHCTiB5wmQz8J9uiIP User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Thu, 01 Oct 2015 11:48:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107155 Archived-At: description: This is how I reproduce the Bug: 1. open image C-x C-f and select "output.png". This will display the image as an image as it should. 2. change Image using an external program. This causes the auto-revert-mode to reload the image(good), but as a text, although my default (as in 1.) is to open the picture as an image This forces me to redo C-x C-f, which makes auto-revert-mode pointless. In GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.16.6) of 2015-09-14 on buildvm-10.phx2.fedoraproject.org Windowing system distributor `Fedora Project Copy and paste whole report: Date: Thu, 01 Oct 2015 17:15:22 +0200 Message-ID: <8737xumxh1.fsf@linux.fritz.box> description: This is how I reproduce the Bug: 1. open image C-x C-f and select "output.png". This will display the image as an image as it should. 2. change Image using an external program. This causes the auto-revert-mode to reload the image(good), but as a text, although my default (as in 1.) is to open the picture as an image This forces me to redo C-x C-f, which makes auto-revert-mode pointless. In GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.16.6) of 2015-09-14 on buildvm-10.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11702000 System Description: Fedora release 22 (Twenty Two) Configured using: `configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro' Important settings: value of $LANG: de_DE.utf8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Image[png] Minor modes in effect: global-auto-revert-mode: t shell-dirtrack-mode: t tooltip-mode: t electric-indent-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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...done Finding all versions of R on your system... Sorry, no version of R could be found on your system. For information about GNU Emacs and the GNU system, type C-h C-a. scroll-up-command: End of buffer call-interactively: End of buffer C-c C-f is undefined Making completion list... [2 times] Type C-c C-c to view the image as text. Reverting buffer `output.png'. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message cl-macs rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git image-mode help-mode autorevert filenotify ido ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia julia-mode ert find-func ewoc debug ess-r-d ess-r-completion compile ess-tracebug format-spec ess-roxy advice hideshow ess-help ess-developer eldoc help-fns ess-s-l ess ess-inf comint ansi-color ring ess-mode ess-noweb-mode ess-utils cl gv cl-loaddefs cl-lib ess-custom executable easymenu ess-compat ess-site autumn-light-theme time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 124278 7973) (symbols 48 24280 0) (miscs 40 52 112) (strings 32 32508 4413) (string-bytes 1 892807) (vectors 16 15689) (vector-slots 8 459570 5130) (floats 8 124 266) (intervals 56 262 0) (buffers 960 15) (heap 1024 53411 1010))