From unknown Sat Aug 16 15:55:08 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#15581 <15581@debbugs.gnu.org> To: bug#15581 <15581@debbugs.gnu.org> Subject: Status: grep buffer: header missing after hitting 'g' Reply-To: bug#15581 <15581@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:55:08 +0000 retitle 15581 grep buffer: header missing after hitting 'g' reassign 15581 emacs submitter 15581 Paul Pogonyshev severity 15581 minor tag 15581 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 10 04:25:33 2013 Received: (at submit) by debbugs.gnu.org; 10 Oct 2013 08:25:33 +0000 Received: from localhost ([127.0.0.1]:39622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUBYm-0005J8-8T for submit@debbugs.gnu.org; Thu, 10 Oct 2013 04:25:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56832) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUBYd-0005Ij-94 for submit@debbugs.gnu.org; Thu, 10 Oct 2013 04:25:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUBYY-0006Lh-IX for submit@debbugs.gnu.org; Thu, 10 Oct 2013 04:25:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUBYY-0006Ld-FJ for submit@debbugs.gnu.org; Thu, 10 Oct 2013 04:25:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUBYT-0004ia-OP for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 04:25:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUBYS-0006Ke-Jw for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 04:25:09 -0400 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:36993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUBYS-0006KF-E0 for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 04:25:08 -0400 Received: by mail-ie0-f169.google.com with SMTP id tp5so4442168ieb.28 for ; Thu, 10 Oct 2013 01:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gC+G9QaULU0na9ZIwvdDNS6K9/TZhc4tF4oB7gZffOA=; b=QL3MgBYCqatLoMOT5yGAp6VDM3fxv8n1k70H+oICJXt6qElfUDsqmaWI6XMtyZLIj5 kDBaFD0MEYLPQQINjCyVnLDx5pwsI3Cj75yT/1aAKXJ57tQwQvIc4iL/ZUDlZJln1GI7 3KhECuHPXZND1fJ6wESMPVXrq8+no5zvlXk7Hbo41Gbs3JieEX0ciL1okmpcHOGiD7/i 3+Dy+DjCUOGKdRBCBuWled1Op1xp8rfHfy0KW0WpZn8w3vzHC4skfZCdWKjUTp3k9kHB WSAzwSlZa20waPQZcfDou+EHvERhR6ac6+dvbwehWVWSIdO4ahMZyCZ8Vs2N0keH/mjk Mcgw== MIME-Version: 1.0 X-Received: by 10.50.45.34 with SMTP id j2mr5469279igm.13.1381393507047; Thu, 10 Oct 2013 01:25:07 -0700 (PDT) Received: by 10.42.240.66 with HTTP; Thu, 10 Oct 2013 01:25:07 -0700 (PDT) Date: Thu, 10 Oct 2013 10:25:07 +0200 Message-ID: Subject: grep buffer: header missing after hitting 'g' From: Paul Pogonyshev To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=089e0122f00c48612e04e85ebd85 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --089e0122f00c48612e04e85ebd85 Content-Type: text/plain; charset=UTF-8 When you are in a grep buffer and press 'g', it does re-search properly, but doesn't prepend the normal header lines, i.e. sth. like: -*- mode: grep; default-directory: "..." -*- Grep started at Thu Oct 10 10:23:38 find ... -print0 | xargs -0 egrep -n -e ... Same is if you M-x grep-find while the grep buffer is the current one; but if you issue command from another buffer, the header is inserted properly. Paul --089e0122f00c48612e04e85ebd85 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When you are in a grep buffer and press 'g', = it does re-search properly, but doesn't prepend the normal header lines= , i.e. sth. like:

=C2=A0=C2=A0=C2=A0 -*- mode: grep; default-directo= ry: "..." -*-
=C2=A0=C2=A0=C2=A0 Grep started at Thu Oct 10 10:23:38

=C2=A0=C2=A0= =C2=A0 find ... -print0 | xargs -0 egrep -n -e ...

Same i= s if you M-x grep-find while the grep buffer is the current one; but if you= issue command from another buffer, the header is inserted properly.

Paul

--089e0122f00c48612e04e85ebd85-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 10 14:55:28 2013 Received: (at 15581) by debbugs.gnu.org; 10 Oct 2013 18:55:28 +0000 Received: from localhost ([127.0.0.1]:41383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VULOR-0006Wu-LI for submit@debbugs.gnu.org; Thu, 10 Oct 2013 14:55:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:51988) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VULOM-0006Wi-Dl for 15581@debbugs.gnu.org; Thu, 10 Oct 2013 14:55:23 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VULOK-0005mw-J6; Thu, 10 Oct 2013 14:55:20 -0400 From: Glenn Morris To: Paul Pogonyshev Subject: Re: bug#15581: grep buffer: header missing after hitting 'g' References: X-Spook: HAMASMOIS NWO sniper Gazprom top secret quarter ICE SCUD X-Ran: 1O5'R-:Pd5PqnD=YBG@pgeJhRK[0pgP[JJQ\8;Wq!-['o[/4;Bx&AsD#%"L.u]"]P)}ZO8 X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 10 Oct 2013 14:55:20 -0400 In-Reply-To: (Paul Pogonyshev's message of "Thu, 10 Oct 2013 10:25:07 +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: -5.2 (-----) X-Debbugs-Envelope-To: 15581 Cc: 15581@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) Paul Pogonyshev wrote: > When you are in a grep buffer and press 'g', it does re-search properly, > but doesn't prepend the normal header lines, i.e. sth. like: > > -*- mode: grep; default-directory: "..." -*- > Grep started at Thu Oct 10 10:23:38 > > find ... -print0 | xargs -0 egrep -n -e ... > > Same is if you M-x grep-find while the grep buffer is the current one; I can't reproduce either issue in 24.3 or current trunk. Do you have a recipe starting from emacs -Q? From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 11 03:12:01 2013 Received: (at 15581) by debbugs.gnu.org; 11 Oct 2013 07:12:01 +0000 Received: from localhost ([127.0.0.1]:42369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUWtE-0001lg-JD for submit@debbugs.gnu.org; Fri, 11 Oct 2013 03:12:01 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:40063) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUWtB-0001lX-7a for 15581@debbugs.gnu.org; Fri, 11 Oct 2013 03:11:57 -0400 Received: by mail-ie0-f171.google.com with SMTP id at1so7238810iec.2 for <15581@debbugs.gnu.org>; Fri, 11 Oct 2013 00:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9t2uQNR9ej+kh6Ptp3abmniONLaly2Vl04hWnCIzzoM=; b=Xo1Ju5twjy0FVaqbQeUqyRiEIuw2+akrnRuaZeVpqIKfrtfmkFlnYT7CXnpqhmV61S lQp8rr+++vemuaEks6vHkax6T/3iRiIj+aPzFGAHLXFQyCPjVPCjtBtbV2hah8DiKWI2 V+YK+JpC5DF8OSHDSPL6r4kRPU3Id96O7HEEJ9vyZohOzgzAScEOVROsmp87gRyyWAy/ AXzUTokwY8Au5O7MoLJOX3q37Cg5XRNG5VTYYgk0C465iVVPJ5onzvDxpTsI55HbnxlQ qs9izf5N8M6oqAv8lREayYNa7+h8GAgSscyV6wW00fiodLloFjwqQb6VBeAW7pVLQN8r nkSg== MIME-Version: 1.0 X-Received: by 10.50.20.137 with SMTP id n9mr1591685ige.13.1381475516442; Fri, 11 Oct 2013 00:11:56 -0700 (PDT) Received: by 10.42.240.66 with HTTP; Fri, 11 Oct 2013 00:11:56 -0700 (PDT) In-Reply-To: References: Date: Fri, 11 Oct 2013 09:11:56 +0200 Message-ID: Subject: Re: bug#15581: grep buffer: header missing after hitting 'g' From: Paul Pogonyshev To: Glenn Morris Content-Type: multipart/alternative; boundary=047d7bd756b66c713904e871d56f X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 15581 Cc: 15581@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --047d7bd756b66c713904e871d56f Content-Type: text/plain; charset=UTF-8 Indeed, it seems to be a problem somewhere in my configuration. Sorry for the trouble. Paul On 10 October 2013 20:55, Glenn Morris wrote: > Paul Pogonyshev wrote: > > > When you are in a grep buffer and press 'g', it does re-search properly, > > but doesn't prepend the normal header lines, i.e. sth. like: > > > > -*- mode: grep; default-directory: "..." -*- > > Grep started at Thu Oct 10 10:23:38 > > > > find ... -print0 | xargs -0 egrep -n -e ... > > > > Same is if you M-x grep-find while the grep buffer is the current one; > > I can't reproduce either issue in 24.3 or current trunk. > Do you have a recipe starting from emacs -Q? > --047d7bd756b66c713904e871d56f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Indeed, it seems to be a problem somewhere in my conf= iguration. Sorry for the trouble.

Paul


On 10 October 2013 20:55, G= lenn Morris <rgm@gnu.org> wrote:
Paul Pogonyshev wrote:

> When you are in a grep buffer and press 'g', it does re-search= properly,
> but doesn't prepend the normal header lines, i.e. sth. like:
>
> =C2=A0 =C2=A0 -*- mode: grep; default-directory: "..." -*- > =C2=A0 =C2=A0 Grep started at Thu Oct 10 10:23:38
>
> =C2=A0 =C2=A0 find ... -print0 | xargs -0 egrep -n -e ...
>
> Same is if you M-x grep-find while the grep buffer is the current one;=

I can't reproduce either issue in 24.3 or current trunk.
Do you have a recipe starting from emacs -Q?

--047d7bd756b66c713904e871d56f-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 12 19:15:00 2013 Received: (at control) by debbugs.gnu.org; 12 Oct 2013 23:15:00 +0000 Received: from localhost ([127.0.0.1]:44754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VV8Oh-0007Vd-Of for submit@debbugs.gnu.org; Sat, 12 Oct 2013 19:14:59 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48164 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VV8Of-0007VV-Vx for control@debbugs.gnu.org; Sat, 12 Oct 2013 19:14:58 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VV8Of-00043N-86 for control@debbugs.gnu.org; Sat, 12 Oct 2013 19:14:57 -0400 Date: Sat, 12 Oct 2013 19:14:57 -0400 Message-Id: Subject: control message for bug 15581 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) tag 15581 notabug close 15581 From unknown Sat Aug 16 15:55:08 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, 10 Nov 2013 12:24:03 +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