From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.help Subject: wgrep.el does not work on Emacs 26 Date: Sun, 25 Feb 2018 18:51:01 +0100 Organization: Nautilus Entertainments Message-ID: <87tvu5yn3u.fsf@metapensiero.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1519580986 23547 195.159.176.226 (25 Feb 2018 17:49:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Feb 2018 17:49:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 25 18:49:42 2018 Return-path: Envelope-to: geh-help-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 1eq0Qf-0005ij-T6 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2018 18:49:42 +0100 Original-Received: from localhost ([::1]:55373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq0Si-0008WF-CE for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2018 12:51:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq0SF-0008Vw-DS for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 12:51:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eq0SB-0008Jz-8A for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 12:51:19 -0500 Original-Received: from [195.159.176.226] (port=34501 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eq0SB-0008H8-1L for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 12:51:15 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eq0Q1-0002LG-Nh for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 18:49:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:ZsnqDEyWypavJC9MMiWWS2saRhw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116075 Archived-At: Hi, since some time now wgrep[*] does not work anymore in my Emacs 26 installation. I cannot be 100% sure, but I seem to remember it used to work with that version (I recompile my Emacs every month or so, refreshing its sources from the repository). Today I tried to dig into the issue, but with no luck. I then compiled an Emacs 25 just to test it, and no surprise, there it works as expected. On Emacs 26, its standard keybinding C-c C-p (wgrep-change-to-wgrep-mode) does not alter the buffer readonly state, but even when toggling it manually with C-x C-q the *grep* buffer remains unmodifiable; when I tried setting inhibit-read-only to t, I was able to change its content, but applying the changes with C-c C-e (wgrep-finish-edit) emits only the message "(No changes to be performed)"... I noticed that the normal wgrep behaviour of using a "green" face for the modifications (that is, when in wgrep-mode, altering the matched lines makes them appear with a green background...) does not happen neither. Any hint on where to dig deeper, or on alternative to wgrep? Thanks in advance, ciao, lele. [*] https://github.com/mhayashi1120/Emacs-wgrep -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.