From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41858: 28.0.50; [PATCH]: Make project-shell use universal argument Date: Thu, 18 Jun 2020 16:28:51 +0300 Message-ID: <83v9jozeng.fsf@gnu.org> References: <87tuzd33i3.fsf@thornhill.no> <874krdclk2.fsf@mail.linkov.net> <87ftaw3jqx.fsf@thornhill.no> <878sgndivw.fsf@mail.linkov.net> <87a710ofvs.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="29531"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, dgutov@yandex.ru, 41858@debbugs.gnu.org To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 18 15:41:59 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlunm-0007Wr-BP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Jun 2020 15:41:58 +0200 Original-Received: from localhost ([::1]:51884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlunj-0007zr-AA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Jun 2020 09:41:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlucE-0003dw-Ve for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2020 09:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlucE-0007Hm-Km for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2020 09:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jlucE-0001UI-FJ for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2020 09:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jun 2020 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41858 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41858-submit@debbugs.gnu.org id=B41858.15924869585647 (code B ref 41858); Thu, 18 Jun 2020 13:30:02 +0000 Original-Received: (at 41858) by debbugs.gnu.org; 18 Jun 2020 13:29:18 +0000 Original-Received: from localhost ([127.0.0.1]:53225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlubV-0001T0-U9 for submit@debbugs.gnu.org; Thu, 18 Jun 2020 09:29:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlubR-0001Sf-Ua for 41858@debbugs.gnu.org; Thu, 18 Jun 2020 09:29:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40202) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlubL-0007As-L9; Thu, 18 Jun 2020 09:29:07 -0400 Original-Received: from [176.228.60.248] (port=2347 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jlubJ-0001Mq-MW; Thu, 18 Jun 2020 09:29:06 -0400 In-Reply-To: <87a710ofvs.fsf@thornhill.no> (message from Theodor Thornhill on Thu, 18 Jun 2020 09:57:55 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182108 Archived-At: > Date: Thu, 18 Jun 2020 09:57:55 +0000 > From: Theodor Thornhill > Cc: 41858@debbugs.gnu.org, Dmitry Gutov > > Change default behaviour of 'project-shell' > > * lisp/progmodes/project.el (project-shell): If a shell already is open, pop to that buffer. Otherwise, or if universal argument is used, open a subsequent shell buffer and jump to it. Please always mention the bug number, if there is any, in the commit log message. A reference to a bug makes it easy to find discussions relevant to a change, which is very important when one needs to understand better the rationale for a change. Also, please format the log message according to our conventions, as described in CONTRIBUTE. TIA. > (defun project-shell () > - "Open Shell in the current project." > + "Open Shell in the current project. This doesn't say enough about what the command does. How about Start an inferior shell in the current project's root directory.