From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Shahid Newsgroups: gmane.emacs.help Subject: Re: wgrep.el does not work on Emacs 26 Date: Sun, 25 Feb 2018 21:05:08 -0500 Message-ID: <877er0jyjv.fsf@gmail.com> References: <87tvu5yn3u.fsf@metapensiero.it> <87bmgckf6o.fsf@gmail.com> <87po4szrxo.fsf@metapensiero.it> <87h8q4puzy.fsf@metapensiero.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519610630 8660 195.159.176.226 (26 Feb 2018 02:03:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2018 02:03:50 +0000 (UTC) User-Agent: mu4e 1.0-alpha3; emacs 26.0.91 Cc: help-gnu-emacs@gnu.org To: Lele Gaifax Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 26 03:03:45 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 1eq88n-0001fD-DZ for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Feb 2018 03:03:45 +0100 Original-Received: from localhost ([::1]:56763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq8An-0004ie-Tj for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2018 21:05:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq8AK-0004hz-QR for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 21:05:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eq8AH-0005Ja-FD for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 21:05:20 -0500 Original-Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:46070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eq8AH-0005IT-9Z for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 21:05:17 -0500 Original-Received: by mail-qk0-x234.google.com with SMTP id g2so17329217qkd.12 for ; Sun, 25 Feb 2018 18:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=AYxwIRIi1piO/kiZ7JtZ0m5rt5YbV4A7/9wISatAa8Y=; b=f9js+P874XJNZin8VE/ZbqlkVXxu3rgKGacq8CLUkukfI5573sTuaB6qCPX/Q5meL+ 7vVshVeFMFhCQMmX/jg7SHCkmE/z7qkSYJA6qwnz8uQXK6Eyb5vSMmXaiW3ta3lWHahv N0blNwFOQeqj5gb5GrpMvE0VwtRbSaKdPYcYPlPTNodmaor2FlcWM0X1+yxbPZ3mNw+S GL4sQtECRJ75d+jM5vauV7SvlKgQmacDrFIENQKTS1HSqOBMRs3gLzVMeX9pEerOne2B wEgRHOgML8bgUkks7Ll4HrAWljPvXB4uovFWYsagvIiZ7vmi0pZHVnFNX6LAFsEgZLS+ xWuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=AYxwIRIi1piO/kiZ7JtZ0m5rt5YbV4A7/9wISatAa8Y=; b=GbmA5jLDw6qfQdDLgVMKEkVuybsUaavXfajSkUM9+RikOi4y5fcibM9S/pSuKgsy9s +kmzPa7o8JdLx4RkMFtD4qvbpqnIDOqc+9KD7cZcuplHA81RJK87CHhVNcjdfX+3SNtl Jd5IrWqauH6MjWZjGKBVPzDbDICWnaHRERgPEyq5q519JZENNBTANvsFmd36jaKN/RRw BBpptvT/gQpSs/IaOJU+Z39l2F2B3CMZEjF9WwXB2EILzaiU0l7W7JKnoUMH61TeK2DK lOc738hUZK7nUKckHWI2rTxURNyZlRxsnNBlhfX7kHyAMfR8n88uPtGaqIWOsZrRIhA7 JLBw== X-Gm-Message-State: APf1xPAhtP8OrJlip8m/cXLb36jM/BITv+SkW6odyCUYqzbU9mFv8B0b 6i/Nu7wLYI7pqDONZ2KdLg7bYM7Y X-Google-Smtp-Source: AG47ELtaKxGElnA7BGiGqToohTw3WdzUNXgAS5wZ7lOYEztofs4MS42HXp2l5cw1pT3MMtKU5W5RiQ== X-Received: by 10.55.161.205 with SMTP id k196mr15134843qke.113.1519610716292; Sun, 25 Feb 2018 18:05:16 -0800 (PST) Original-Received: from amun (cpe-184-152-54-116.nyc.res.rr.com. [184.152.54.116]) by smtp.gmail.com with ESMTPSA id e7sm1771467qkf.18.2018.02.25.18.05.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Feb 2018 18:05:15 -0800 (PST) In-reply-to: <87h8q4puzy.fsf@metapensiero.it> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::234 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:116085 Archived-At: It turns out I use ag instead of grep which works as expected. For clarity, I'm replacing the grep command with "ag --nogroup something" and the resulting buffer works fine with wgrep. If I use the default grep command "grep -nH --null something" then I'm able to reproduce the issue you're reporting. Unfortunately I don't have time right now to dig deeper into this. cheers, -js Lele Gaifax writes: > Lele Gaifax writes: > >> John Shahid writes: >> >>> I do not have trouble using wgrep with the emacs-26 branch (commit >>> 71243f0b13). >> >> Uhm, very strange. My emacs-repository-version says 47aa85c7, and I'm going to >> refresh it right now. > > I'm now at your same commit, and doing this: > >> Just to be sure, do you mean that doing the following steps within an "emacs -q": >> >> - M-x load-file wgrep.el >> - M-x grep >> - C-c C-p > > I end in a *grep* buffer that is *not* in read-only mode, but where I can't > change its content. > > ciao, lele.