From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#36558: When the user forgets the filename when using M-x grep Date: Thu, 11 Jul 2019 08:22:59 +0900 Message-ID: <8636jdqxt8.fsf@misasa.okayama-u.ac.jp> References: <87lfx8f4zx.5.fsf@jidanni.org> <87k1cq5baw.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="63594"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) Cc: 36558@debbugs.gnu.org, Lars Ingebrigtsen , tkk@misasa.okayama-u.ac.jp To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 11 01:24:10 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 1hlLwY-000GS7-DL for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 01:24:10 +0200 Original-Received: from localhost ([::1]:37606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlLwX-0007O8-5i for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jul 2019 19:24:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59335) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlLwR-0007O2-WA for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 19:24:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlLwR-0002oF-3p for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 19:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlLwQ-0002mj-Qs for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 19:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlLwQ-0005P6-IL for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 19:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jul 2019 23:24: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.156280099420708 (code B ref 36558); Wed, 10 Jul 2019 23:24:02 +0000 Original-Received: (at 36558) by debbugs.gnu.org; 10 Jul 2019 23:23:14 +0000 Original-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 Original-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 Original-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) Original-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) X-Google-Original-From: Tak Kunihiro In-Reply-To: <87k1cq5baw.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Wed, 10 Jul 2019 14:22:31 +0200") 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:162670 Archived-At: >> 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 ")