From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#15581: grep buffer: header missing after hitting 'g' Date: Thu, 10 Oct 2013 10:25:07 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0122f00c48612e04e85ebd85 X-Trace: ger.gmane.org 1381393567 16524 80.91.229.3 (10 Oct 2013 08:26:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2013 08:26:07 +0000 (UTC) To: 15581@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 10 10:26:10 2013 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 1VUBZR-0000LJ-Mr for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2013 10:26:09 +0200 Original-Received: from localhost ([::1]:45615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUBZR-0004ky-0Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2013 04:26:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUBZM-0004jw-CJ for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 04:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUBZL-0006dn-0T for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 04:26:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUBZK-0006dU-OZ for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 04:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VUBZK-0005KA-Fm for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2013 04:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2013 08:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15581 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.138139353320418 (code B ref -1); Thu, 10 Oct 2013 08:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Oct 2013 08:25:33 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== X-Received: by 10.50.45.34 with SMTP id j2mr5469279igm.13.1381393507047; Thu, 10 Oct 2013 01:25:07 -0700 (PDT) Original-Received: by 10.42.240.66 with HTTP; Thu, 10 Oct 2013 01:25:07 -0700 (PDT) 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-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: 140.186.70.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:79139 Archived-At: --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--