From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#36558: When the user forgets the filename when using M-x grep Date: Fri, 12 Jul 2019 02:48:10 +0800 Message-ID: <87a7dkcsr9.5.fsf@jidanni.org> References: <87lfx8f4zx.5.fsf@jidanni.org> <87k1cq5baw.fsf@mouse.gnus.org> <878st5xv69.5.fsf@jidanni.org> <8636jcj471.fsf@misasa.okayama-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="72351"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36558@debbugs.gnu.org, Lars Ingebrigtsen , tkk@misasa.okayama-u.ac.jp To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 11 20:49:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hle7x-000Ibk-Ig for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 20:49:10 +0200 Original-Received: from localhost ([::1]:44668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hle7w-0007Cp-JD for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 14:49:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58958) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hle7t-0007CL-75 for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 14:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hle7s-0000Ky-AR for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 14:49:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hle7q-0000JL-5X for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 14:49:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hle7q-0003eW-1r for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 14:49:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87lfx8f4zx.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jul 2019 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 36558-submit@debbugs.gnu.org id=B36558.156287090513926 (code B ref 36558); Thu, 11 Jul 2019 18:49:02 +0000 Original-Received: (at 36558) by debbugs.gnu.org; 11 Jul 2019 18:48:25 +0000 Original-Received: from localhost ([127.0.0.1]:38635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hle7E-0003cX-SZ for submit@debbugs.gnu.org; Thu, 11 Jul 2019 14:48:25 -0400 Original-Received: from dragonfly.birch.relay.mailchannels.net ([23.83.209.51]:28441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hle7B-0003cD-U1 for 36558@debbugs.gnu.org; Thu, 11 Jul 2019 14:48:22 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5452E1427BD; Thu, 11 Jul 2019 18:48:20 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com (100-96-92-226.trex.outbound.svc.cluster.local [100.96.92.226]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 90D08141A24; Thu, 11 Jul 2019 18:48:19 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.3); Thu, 11 Jul 2019 18:48:20 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Print-Army: 70b779cf2364a03b_1562870900070_4154031204 X-MC-Loop-Signature: 1562870900070:3879602857 X-MC-Ingress-Time: 1562870900070 Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a10.g.dreamhost.com (Postfix) with ESMTP id B55907F649; Thu, 11 Jul 2019 11:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=rCEp9ENkpg+HES1hMSNL8jaCCLs=; b=ZEwG102J5DV8B PIlXljM4XKMe3OBQqSgEznldLa9gURjgCOOwG5t93L8QYyrzxlKGT+4GYxoTHXrh nBNS0XcVmqKDueWRs2y2CJDhCl6H01Xsq8TS8FWFMhwYf+X5hg41tqmkb3D2QO5E KmKgw9L3YAuqJNcjsfwQrxPSzBlxkM= Original-Received: from jidanni.org (114-41-4-179.dynamic-ip.hinet.net [114.41.4.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a10.g.dreamhost.com (Postfix) with ESMTPSA id 6FADC7F63A; Thu, 11 Jul 2019 11:48:15 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a10 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrgeekgddufeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhffffkgggtsehttdertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrgedurdegrddujeelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurdegrddujeelpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepthhkkhesmhhishgrshgrrdhokhgrhigrmhgrqdhurdgrtgdrjhhpnecuvehluhhsthgvrhfuihiivgep td 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: 209.51.188.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:162730 Archived-At: >>>>> "TK" == Tak Kunihiro writes: TK> How about something like this? TK> (grep-apply-setting 'grep-command (cons "grep --color -nH --null -e *" 28)) Ah! But I need something that I can put in (some grep hook in) .emacs. Something without the flags hardwired into it. Something that just takes what grep gives me and then adds " *" to it and moves backwards like yours does without hardwiring numbers. And even worth mentioning on grep's docstring too.