From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 20:41:35 2019 Received: (at submit) by debbugs.gnu.org; 9 Jul 2019 00:41:35 +0000 Received: from localhost ([127.0.0.1]:60029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkeCM-0001CK-PD for submit@debbugs.gnu.org; Mon, 08 Jul 2019 20:41:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:59817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkeCL-0001CD-G9 for submit@debbugs.gnu.org; Mon, 08 Jul 2019 20:41:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50351) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkeCK-0001b6-HZ for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 20:41:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FROM_EXCESS_BASE64, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkeCJ-0002sY-KM for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 20:41:32 -0400 Received: from aye.elm.relay.mailchannels.net ([23.83.212.6]:23504) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkeCJ-0002qL-6k for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 20:41:31 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E589E8C118D for ; Tue, 9 Jul 2019 00:41:28 +0000 (UTC) Received: from pdx1-sub0-mail-a63.g.dreamhost.com (100-96-23-68.trex.outbound.svc.cluster.local [100.96.23.68]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 797798C159A for ; Tue, 9 Jul 2019 00:41:28 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a63.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); Tue, 09 Jul 2019 00:41:28 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Stretch-Grain: 65920a507d059c0c_1562632888747_2292132755 X-MC-Loop-Signature: 1562632888747:3148430821 X-MC-Ingress-Time: 1562632888747 Received: from pdx1-sub0-mail-a63.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a63.g.dreamhost.com (Postfix) with ESMTP id 40F198325E for ; Mon, 8 Jul 2019 17:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=nQeswFuUjeRgOrOFR3SG1yEYdeY=; b=HX5yTItHc+bdXJj2 qv1gEQ770M/5+BxTxzXVAEGwX86sdQL9kFHt5TKrVfcx9aNTN+iOMSV39KKiRACL /0OD+zklXcW3AWvGDvrfbhq1UyYRMkt2+lHBGLafZf+06vOWjRWxS12E1lHCSx8T 0Rn3LTGQ5lFpxrXPhRPMLF6H7K4= Received: from jidanni.org (111-246-86-9.dynamic-ip.hinet.net [111.246.86.9]) (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-a63.g.dreamhost.com (Postfix) with ESMTPSA id 8B54C8325D for ; Mon, 8 Jul 2019 17:41:25 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a63 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: When the user forgets the filename when using M-x grep Date: Tue, 09 Jul 2019 08:04:02 +0800 Message-ID: <87lfx8f4zx.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrgedugdefjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppeduuddurddvgeeirdekiedrleenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduuddurddvgeeirdekiedrledprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.212.6 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.4 (--) I don't think the M-x grep command has the ability for the user to change the default prompt from the current Run grep (like this): grep --color -nH --null -e to the rather more sophisticated Run grep (like this): grep --color -nH --null -e [] * where "[]" represents where the cursor should be placed when prompting the user. Mentioning how to do so in (info "(emacs) Grep Searching") or indeed, simply making it the new default, would save the 98% mistake rate of users forgetting to add a filename and think there was no matches (as outside of emacs this would hang without a filename, alerting the user to the problem.) Also M-x grep should detect that something tried to read stdin, meaning the user forgot the filename, and then warn the user, instead of just saying "No matches". Currently this is a very high possibility the user will just do Run grep (like this): grep --color -nH --null -e STRING and forget FILENAMEs creating an impossible situation, for which emacs currently just treats as if the user did Run grep (like this): grep --color -nH --null -e STRING /dev/null which helps nobody. At least emacs should catch this situation. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 08:22:39 2019 Received: (at 36558) by debbugs.gnu.org; 10 Jul 2019 12:22:39 +0000 Received: from localhost ([127.0.0.1]:35000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlBcN-0003pQ-9C for submit@debbugs.gnu.org; Wed, 10 Jul 2019 08:22:39 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlBcJ-0003pF-Or for 36558@debbugs.gnu.org; Wed, 10 Jul 2019 08:22:37 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlBcG-00009g-6G; Wed, 10 Jul 2019 14:22:34 +0200 From: Lars Ingebrigtsen To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#36558: When the user forgets the filename when using M-x grep References: <87lfx8f4zx.5.fsf@jidanni.org> Date: Wed, 10 Jul 2019 14:22:31 +0200 In-Reply-To: <87lfx8f4zx.5.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Tue, 09 Jul 2019 08:04:02 +0800") Message-ID: <87k1cq5baw.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 積丹尼 Dan Jacobson writes: > I don't think the M-x grep command has the ability for the user to > change the default prompt from the current > > Run grep (like this): grep --color -nH --null -e > > to the rather more sophistica [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36558 Cc: 36558@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > I don't think the M-x grep command has the ability for the user to > change the default prompt from the current > > Run grep (like this): grep --color -nH --null -e > > to the rather more sophisticated > > Run grep (like this): grep --color -nH --null -e [] * > > where "[]" represents where the cursor should be placed when prompting > the user. I virtually never want to grep all files in a directory, so having to hit `C-k' first would be a disadvantage, I think. And this is the kind of interface twiddling that annoys people used to the old defaults, so I'm closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 08:22:41 2019 Received: (at control) by debbugs.gnu.org; 10 Jul 2019 12:22:41 +0000 Received: from localhost ([127.0.0.1]:35003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlBcP-0003pf-HJ for submit@debbugs.gnu.org; Wed, 10 Jul 2019 08:22:41 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlBcO-0003pY-Sy for control@debbugs.gnu.org; Wed, 10 Jul 2019 08:22:41 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlBcM-00009n-DM for control@debbugs.gnu.org; Wed, 10 Jul 2019 14:22:40 +0200 Date: Wed, 10 Jul 2019 14:22:38 +0200 Message-Id: <87imsa5bap.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36558 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 36558 wontfix close 36558 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) tags 36558 wontfix close 36558 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 19:23:13 2019 Received: (at 36558) by debbugs.gnu.org; 10 Jul 2019 23:23:14 +0000 Received: from localhost ([127.0.0.1]:36813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlLvd-0005Nw-KY for submit@debbugs.gnu.org; Wed, 10 Jul 2019 19:23:13 -0400 Received: from mail-pg1-f172.google.com ([209.85.215.172]:46636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlLva-0005Ni-PV for 36558@debbugs.gnu.org; Wed, 10 Jul 2019 19:23:12 -0400 Received: by mail-pg1-f172.google.com with SMTP id i8so1937462pgm.13 for <36558@debbugs.gnu.org>; Wed, 10 Jul 2019 16:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Aymju/urYHsc7OlVJCi44MZseP/bOTzwSncYAPy27RA=; b=Ypyc99XZ+uZd65c/txCNFXsLTvUeQhwku8ATxZyRakIU2MgguepjiuuTTi++ikPhd6 +zpYQlZQQPYm0F4axKku3kRSKve87DzY80LXKRN2bISipivGDqX8VMiQtQaRl/Xm0rnY V2i9i1OVxLz8eA8nmMnMsmMltZd9VVhr3gbI9ImbeIzFRYvxSLWEs0BqUgxKv5mar77R DyrOgx5UcLaqbieCVFMGoGazpOucWCmATAIDQ/ByxZaJR7gkV8ZI/oqjh6+L/Bbnbl26 l6k2JnhP+Rg5a5wcSJIqqkbRjELURaiLUgIzrgCjARrndaPNpOwNoD0KQTVffIvG3PpA Uh/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Aymju/urYHsc7OlVJCi44MZseP/bOTzwSncYAPy27RA=; b=tjVEXnULFlkhgUbWeb9l2+Vfq8gcI2orcReeFag23P3lMRhcYqCpElmTKQyVYpKDvI 5FaSAL+TmPAhPXXB0G8VU40SeJExcfKr4+2tSxkT41JLTLkLlrUZBFgZSw47rw6fbbvo +4H+hQaRqi3KtGAWuUO0zY4x2NwtTF2V0KMUeKy0HFLjZ/XtZmyKBzfkgUQjh6Pprp/V mb3yRiLQ9BnhKYzRp/Ve2spoGr0CBNSyvU5107VYVV+SxU+KF5wJcb2seKe9LOvzSzI6 LbDBqtfLP4YhM6T6WuVmwoKfxFZ9XoOKB6wDbQarEPgztae6CiM6oc57+VX1OW/TTbBm GAZA== X-Gm-Message-State: APjAAAUfaKx0lgQvyT34kGQOdzw4Rve/x2xGqIR6mKgo+1r59Gv24WqI BC3pxDMzv0utAZNhw5UjvK4= X-Google-Smtp-Source: APXvYqyY9o+3VhkhFdO+AmzRHwOXgyQXlSPRLIqAFy+YMmqe3W08+lCKbR3CZXxX5J+hbylWXfa4Cw== X-Received: by 2002:a63:10a:: with SMTP id 10mr873195pgb.281.1562800984597; Wed, 10 Jul 2019 16:23:04 -0700 (PDT) Received: from thinkless2017 (vesta.misasa.okayama-u.ac.jp. [150.46.48.154]) by smtp.gmail.com with ESMTPSA id h1sm2711914pgv.93.2019.07.10.16.23.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Jul 2019 16:23:04 -0700 (PDT) From: Tak Kunihiro X-Google-Original-From: Tak Kunihiro To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#36558: When the user forgets the filename when using M-x grep References: <87lfx8f4zx.5.fsf@jidanni.org> <87k1cq5baw.fsf@mouse.gnus.org> Date: Thu, 11 Jul 2019 08:22:59 +0900 In-Reply-To: <87k1cq5baw.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Wed, 10 Jul 2019 14:22:31 +0200") Message-ID: <8636jdqxt8.fsf@misasa.okayama-u.ac.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> I don't think the M-x grep command has the ability for the user to >> change the default prompt from the current >> >> Run grep (like this): grep --color -nH --null -e >> >> to the rather more soph [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.172 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (homeros.misasa[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 PDS_NO_HELO_DNS High profile HELO but no A record X-Debbugs-Envelope-To: 36558 Cc: 36558@debbugs.gnu.org, Lars Ingebrigtsen , tkk@misasa.okayama-u.ac.jp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.3 (/) >> I don't think the M-x grep command has the ability for the user to >> change the default prompt from the current >> >> Run grep (like this): grep --color -nH --null -e >> >> to the rather more sophisticated >> >> Run grep (like this): grep --color -nH --null -e [] * >> >> where "[]" represents where the cursor should be placed when prompting >> the user. > > I virtually never want to grep all files in a directory, so having to > hit `C-k' first would be a disadvantage, I think. And this is the kind > of interface twiddling that annoys people used to the old defaults, so > I'm closing this bug report. I had a similar thought. I am OK now with following configuration. (grep-apply-setting 'grep-command "grep -inHr . -e ") From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 21:23:20 2019 Received: (at 36558) by debbugs.gnu.org; 11 Jul 2019 01:23:20 +0000 Received: from localhost ([127.0.0.1]:36844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlNnr-0008IY-Le for submit@debbugs.gnu.org; Wed, 10 Jul 2019 21:23:19 -0400 Received: from anteater.elm.relay.mailchannels.net ([23.83.212.3]:60017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlNno-0008IG-F7 for 36558@debbugs.gnu.org; Wed, 10 Jul 2019 21:23:16 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5FF3F141E37; Thu, 11 Jul 2019 01:23:15 +0000 (UTC) Received: from pdx1-sub0-mail-a96.g.dreamhost.com (100-96-38-48.trex.outbound.svc.cluster.local [100.96.38.48]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9D23D14168F; Thu, 11 Jul 2019 01:23:14 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a96.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 01:23:15 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Celery-Coil: 35ae4c087dc92397_1562808195156_3304013203 X-MC-Loop-Signature: 1562808195156:2643054849 X-MC-Ingress-Time: 1562808195156 Received: from pdx1-sub0-mail-a96.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a96.g.dreamhost.com (Postfix) with ESMTP id 07DD580758; Wed, 10 Jul 2019 18:23:10 -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 :content-transfer-encoding; s=jidanni.org; bh=f0rP4n5KfvZsMgW4vG EOnvMVE9o=; b=UrmBAH+VHXzP1/BsUBhunbITr7HgFk2dmTU/J80i6rRppKvCcz AOsLkp+/hnitHg9re/00pb6eWVhUPQ1zDy57osIX+MrqABz6bEZ/Tl+ovP4PtZoH o7fIfk9qGD5cNGs+qTJL76aAPqMVSZDcgMzrUWV9dPTQwG6EAorGhongE= Received: from jidanni.org (114-46-58-152.dynamic-ip.hinet.net [114.46.58.152]) (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-a96.g.dreamhost.com (Postfix) with ESMTPSA id 6BE0480765; Wed, 10 Jul 2019 18:23:08 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a96 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: Lars Ingebrigtsen Subject: Re: bug#36558: When the user forgets the filename when using M-x grep References: <87lfx8f4zx.5.fsf@jidanni.org> <87k1cq5baw.fsf@mouse.gnus.org> Date: Thu, 11 Jul 2019 08:38:06 +0800 Message-ID: <878st5xv69.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrgeejgdeghecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrgeeirdehkedrudehvdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduudegrdegiedrheekrdduhedvpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepfeeiheehkeesuggvsggsuhhgshdrghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36558 Cc: 36558@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) >>>>> "LI" =3D=3D Lars Ingebrigtsen writes: LI> =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes= : >> I don't think the M-x grep command has the ability for the user to >> change the default prompt from the current >>=20 >> Run grep (like this): grep --color -nH --null -e >>=20 >> to the rather more sophisticated >>=20 >> Run grep (like this): grep --color -nH --null -e [] * >>=20 >> where "[]" represents where the cursor should be placed when prompting >> the user. Indeed, grep.el is already so complicated... LI> I virtually never want to grep all files in a directory, so having to I'm the opposite. LI> hit `C-k' first would be a disadvantage, I think. And this is the ki= nd LI> of interface twiddling that annoys people used to the old defaults, s= o I didn't say changing any defaults. I was asking for the "ability"... LI> I'm closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 05:44:45 2019 Received: (at 36558) by debbugs.gnu.org; 11 Jul 2019 09:44:45 +0000 Received: from localhost ([127.0.0.1]:37036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlVd7-0005UK-8p for submit@debbugs.gnu.org; Thu, 11 Jul 2019 05:44:45 -0400 Received: from mail-pg1-f170.google.com ([209.85.215.170]:37791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlVd5-0005U2-E9 for 36558@debbugs.gnu.org; Thu, 11 Jul 2019 05:44:44 -0400 Received: by mail-pg1-f170.google.com with SMTP id g15so2675981pgi.4 for <36558@debbugs.gnu.org>; Thu, 11 Jul 2019 02:44:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=FfmZMRaz5WI6topSFDMrHhH/igwsoxvcm3keYAGg5to=; b=iiMC18ZbqbTR3/pj5UCO43SqaEY34m1jQmy6ZWrYcnwBXC/MeeSRTrWB3KGkQpJHyb +XJXLjGsHrgNvW/QxY/XU3hBk8MyYnemFa9Sn9XlkGQnvjpVQuObzjenFSMpBZI+cDbc xO0tQZFON1VsZYea0ReyYC3CS6DLAOazR3pn/wCBVAcVpmDuxK8ZZiotExGY5LEHEqt8 awZMV+l7IZhXF8EEiupChcU5SPER/O2UuxkQ6PxyRJwzELXfTgTtdriWpGuzHw3uYnFf GZPWGKz8xv61V5OLPeDXwJmJ834mfzTPQFrZQFFIOxIbKxWq6JPs56pLGKogHYno6FF1 1fTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=FfmZMRaz5WI6topSFDMrHhH/igwsoxvcm3keYAGg5to=; b=tfGQQRozTRvbE0xXlgYIcT+0U0nZCHzbKbfEPshCodH3sflnsIrr5xmSLG/oiZ2y0w IiAWmchxXpzXJzWPxLaY0xk4DsVpynVYtiC8f1qXd0QQJNaD14LGF7DUdjSIT/3K3y3e 7HsCww+xlLb3YKZMY1I11NEidIV4DG8WjVOplInNEi+/Tickc0yZwSp+gYR9JjIaCUID zrxqqkMHiuMuh7wKsx/y7kcsY517Kdat1/3GWB0fKK60BLiX1+IAbPAZjvhDMzIcofEo 8IqupXarU0Hxg+E4zPK8pY91VXdvVf+bWgJyozA2Ec4911xAVN7Il2zun+OAdZfWFSN/ vo9g== X-Gm-Message-State: APjAAAWOsrJKWQpaSdRtgn1ozHH5RYif47rK+zYJgbT+QqdTlaENLOaW 6upMpuPAWRXeh9Ohym1GFpI= X-Google-Smtp-Source: APXvYqxWlzhnIqnjOVB8YYUZ4OC6v0vdhqfMz+vN5KDye3WaPuswwzgfaKom7JxrtGLzDbk373WFRw== X-Received: by 2002:a65:648e:: with SMTP id e14mr3466280pgv.317.1562838277299; Thu, 11 Jul 2019 02:44:37 -0700 (PDT) Received: from thinkless2017 (vesta.misasa.okayama-u.ac.jp. [150.46.48.154]) by smtp.gmail.com with ESMTPSA id c130sm4670478pfc.184.2019.07.11.02.44.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Jul 2019 02:44:36 -0700 (PDT) From: Tak Kunihiro X-Google-Original-From: Tak Kunihiro To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#36558: When the user forgets the filename when using M-x grep References: <87lfx8f4zx.5.fsf@jidanni.org> <87k1cq5baw.fsf@mouse.gnus.org> <878st5xv69.5.fsf@jidanni.org> Date: Thu, 11 Jul 2019 18:44:34 +0900 In-Reply-To: <878st5xv69.5.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Thu, 11 Jul 2019 08:38:06 +0800") Message-ID: <8636jcj471.fsf@misasa.okayama-u.ac.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >>> I don't think the M-x grep command has the ability for the user to >>> change the default prompt from the current >>> >>> Run grep (like this): grep --color -nH --null -e >>> >>> to the rather mor [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (homeros.misasa[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.170 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 PDS_NO_HELO_DNS High profile HELO but no A record X-Debbugs-Envelope-To: 36558 Cc: 36558@debbugs.gnu.org, Lars Ingebrigtsen , tkk@misasa.okayama-u.ac.jp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.3 (/) >>> I don't think the M-x grep command has the ability for the user to >>> change the default prompt from the current >>> >>> Run grep (like this): grep --color -nH --null -e >>> >>> to the rather more sophisticated >>> >>> Run grep (like this): grep --color -nH --null -e [] * >>> >>> where "[]" represents where the cursor should be placed when prompting >>> the user. How about something like this? (grep-apply-setting 'grep-command (cons "grep --color -nH --null -e *" 28)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 14:48:25 2019 Received: (at 36558) by debbugs.gnu.org; 11 Jul 2019 18:48:25 +0000 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 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 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) 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 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 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= 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 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: Tak Kunihiro Subject: Re: bug#36558: When the user forgets the filename when using M-x grep References: <87lfx8f4zx.5.fsf@jidanni.org> <87k1cq5baw.fsf@mouse.gnus.org> <878st5xv69.5.fsf@jidanni.org> <8636jcj471.fsf@misasa.okayama-u.ac.jp> Date: Fri, 12 Jul 2019 02:48:10 +0800 Message-ID: <87a7dkcsr9.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrgeekgddufeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhffffkgggtsehttdertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrgedurdegrddujeelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurdegrddujeelpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepthhkkhesmhhishgrshgrrdhokhgrhigrmhgrqdhurdgrtgdrjhhpnecuvehluhhsthgvrhfuihiivgeptd X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36558 Cc: 36558@debbugs.gnu.org, Lars Ingebrigtsen , tkk@misasa.okayama-u.ac.jp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) >>>>> "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. From unknown Sat Jun 21 03:31:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Aug 2019 11:24:06 +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