From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#25905: 25.1; Can't find regexp and replace in SVG files Date: Wed, 01 Mar 2017 01:20:56 +0100 Organization: Delair-Tech Message-ID: <1488327656.1648.1.camel@delair-tech.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-or3MUuetcP7HYFimmZWt" X-Trace: blaine.gmane.org 1488327918 20553 195.159.176.226 (1 Mar 2017 00:25:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2017 00:25:18 +0000 (UTC) To: 25905@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 01 01:25:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cis4q-0004L1-WD for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Mar 2017 01:25:09 +0100 Original-Received: from localhost ([::1]:37773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cis4w-0006gr-Ne for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Feb 2017 19:25:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cis4l-0006fa-HH for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:25:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cis4j-0005JQ-V1 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:25:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34287) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cis4j-0005JM-SG for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cis4j-0006XG-Mr for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Mar 2017 00:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25905 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.148832788425089 (code B ref -1); Wed, 01 Mar 2017 00:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Mar 2017 00:24:44 +0000 Original-Received: from localhost ([127.0.0.1]:60719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cis4R-0006Wb-UB for submit@debbugs.gnu.org; Tue, 28 Feb 2017 19:24:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cis12-0006Qx-Jy for submit@debbugs.gnu.org; Tue, 28 Feb 2017 19:21:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cis0v-0003sB-Tm for submit@debbugs.gnu.org; Tue, 28 Feb 2017 19:21:07 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cis0v-0003s6-PE for submit@debbugs.gnu.org; Tue, 28 Feb 2017 19:21:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cis0t-00067W-Vz for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:21:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cis0s-0003rY-Ap for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:21:03 -0500 Original-Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:36378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cis0r-0003qB-Va for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:21:02 -0500 Original-Received: by mail-wm0-x22a.google.com with SMTP id v77so97579932wmv.1 for ; Tue, 28 Feb 2017 16:21:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delair-tech-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:organization:mime-version; bh=VhW7cEbvRv5bC6BnBpYK/7HLbgk/zVqnaNyrBDhkYD4=; b=ZbxCOd/DyTnKgquwFyplnkfiaEYCshYzj0D035OC4tAgBmyV0w6f4byLJp2/LNkXQe hnGMsIf/f753EGBncgob4bNp1HUZE8OAFMBDLReaR4gMLRz33lVFe+Fj/InT8pkWtDwg L4YqfCep6Va+D8Pw7gCvo9qnJ2/ILfsZkeXLWjkwJUekkEey9h0vrEuePHfJXGLuSS/N 2qhA/you8Rnx4Ul6q5Ko6fDpMr3ocTncDvEnaLcZ++0CImI5yV7f8RVv0klXIlmdXblu DQ6GgQrJu9KuKKxucva6JTOTSOXVwzHtUMG5vxCCYPCWPMlW7QOY7CVVFVd/Hb4RTxC7 e6UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:organization :mime-version; bh=VhW7cEbvRv5bC6BnBpYK/7HLbgk/zVqnaNyrBDhkYD4=; b=pJt4yJZDVx1INljXgnNuLz/Gpr2rYYuEwbJj7C0lAcj+5vrYbJ+gDAbnEWdOw0SiSU Hjem+gQJNbmAE48/mousYa8NF3xXVcbT3I9RDKKBc45qv+xUmzZh+bVJ5+AliNh5W9Gz CizhoHkKpYmMx1nA0xWzDbvg9qe8lGFFyaBTZDdTv3SEjAR1aT5uvC0B02XcYlxJrUlF 7hgxsoWUKGvvkCZbbdS2lEQ8ZZAo9S+gIjlaoKEtu/IJwBaL9UwbdUqRuNAjO4fWUvll 3ZtrWImKdhAnHKwas1/5ugdPvPZzAq9DmU6QQT3CjNmUMcL82JML1TT2xhm8p8jfAO6J MnWw== X-Gm-Message-State: AMke39mcBvO9dnEGpFLUn3tJF2bQR+ibSOA8fkUOLJaLNqdpaeNkRtjT+8CrMXyD8IdKDA== X-Received: by 10.28.74.28 with SMTP id x28mr877199wma.131.1488327658865; Tue, 28 Feb 2017 16:20:58 -0800 (PST) Original-Received: from ?IPv6:2a01:e35:2e58:8f70:189:a06a:d022:a398? ([2a01:e35:2e58:8f70:189:a06a:d022:a398]) by smtp.gmail.com with ESMTPSA id 36sm4282000wrk.57.2017.02.28.16.20.57 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Feb 2017 16:20:58 -0800 (PST) X-Mailer: Evolution 3.22.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 28 Feb 2017 19:24:43 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:129968 Archived-At: --=-or3MUuetcP7HYFimmZWt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Open a dired buffer visiting a directory with SVG images. Mark some SVG files then try to `dired-do-find-regexp-and-replace' in those files. It fails due to `image-file-mode' turning all visited buffers as read-only... In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.7)  of 2017-02-07 built on arojas Windowing system distributor 'The X.Org Foundation', version 11.0.11901000 System Description: Arch Linux Configured using:  'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib  --localstatedir=/var --with-x-toolkit=gtk3 --with-xft  'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe  -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2  LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings:   value of $LANG: fr_FR.UTF-8   value of $XMODIFIERS: @im=ibus   locale-coding-system: utf-8-unix Major mode: Image[imagemagick] Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   electric-indent-mode: t   mouse-wheel-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: For information about GNU Emacs and the GNU system, type C-h C-a. Marking matching files... 48 matching files marked. Type C-c C-c to view the image as text. [2 times] Mark set replace-match-maybe-edit: Text is read-only Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils image-mode find-dired semantic/fw mode-local find-func xref cl-seq project eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv cl-extra help-mode easymenu grep compile comint ansi-color ring dired-aux cl-loaddefs pcase cl-lib thingatpt dired time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp- opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 113568 8337)  (symbols 48 21910 0)  (miscs 40 133 179)  (strings 32 21059 4609)  (string-bytes 1 676212)  (vectors 16 15375)  (vector-slots 8 461447 4393)  (floats 8 242 81)  (intervals 56 1459 8)  (buffers 976 25)) --  Matthias Meulien www.delair-tech.com --=-or3MUuetcP7HYFimmZWt Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
Open a dired buffer visiting a directory with SVG images. Mark some SVG
files then try to `dired-do-find-regexp-and-replace' in those files.

It fails due to `image-file-mode' turning all visited buffers as
read-only...



In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.7)
 of 2017-02-07 built on arojas
Windowing system distributor 'The X.Org Foundation', version 11.0.11901000
System Description:	Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=gtk3 --with-xft
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe
 -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: fr_FR.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Image[imagemagick]

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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:
For information about GNU Emacs and the GNU system, type C-h C-a.
Marking matching files...
48 matching files marked.
Type C-c C-c to view the image as text. [2 times]
Mark set
replace-match-maybe-edit: Text is read-only
Making completion list... [2 times]

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message idna format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils
image-mode find-dired semantic/fw mode-local find-func xref cl-seq
project eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv
cl-extra help-mode easymenu grep compile comint ansi-color ring
dired-aux cl-loaddefs pcase cl-lib thingatpt dired time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 113568 8337)
 (symbols 48 21910 0)
 (miscs 40 133 179)
 (strings 32 21059 4609)
 (string-bytes 1 676212)
 (vectors 16 15375)
 (vector-slots 8 461447 4393)
 (floats 8 242 81)
 (intervals 56 1459 8)
 (buffers 976 25))
-- 
Matthias Meulien www.delair-tech.com
--=-or3MUuetcP7HYFimmZWt--