From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: New feature in project.el: Remembering the previously used projects Date: Sun, 7 Jun 2020 03:40:51 +0300 Message-ID: <48862f99-c174-71c1-877f-bcf35fc4363d@yandex.ru> References: <87eeqtvrmq.fsf@bulbul> <87ftb7dbun.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="99634"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: simenheg@runbox.com, contovob@tcd.ie, emacs-devel@gnu.org To: Juri Linkov , "Philip K." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 07 02:41:38 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jhjNY-000PpD-TW for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jun 2020 02:41:36 +0200 Original-Received: from localhost ([::1]:57438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhjNX-0005fo-U5 for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jun 2020 20:41:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhjMv-0005F6-0o for emacs-devel@gnu.org; Sat, 06 Jun 2020 20:40:57 -0400 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:33015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhjMt-0000d1-S0 for emacs-devel@gnu.org; Sat, 06 Jun 2020 20:40:56 -0400 Original-Received: by mail-wm1-x332.google.com with SMTP id j198so11732081wmj.0 for ; Sat, 06 Jun 2020 17:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=F9F+nAVcm8NwrUorllafvQsVTgpX79sYEs59GJzqZO4=; b=WBkd+rWc2qKUKRwda6qWbA1EoV0WQ9VaojPj3gUvhKS2IzFNapgFxw76iMSuYol1qk xLDaqGmqmVcOlyyoxUPm31ZfjgCGcd1rh6/WVXBGffm0fenyKyRvyas+2sEr0ahxdX54 USCIaY/yKDHJGLGd1cY1tSStHFZxCAGveHU+Mp/qoPPfh+zOcr8PZcamPn0UTOQASWWj Wi+4D0K+lMs9kufRV2I/RERgPHLgtxjNOYN52Wad6LlhiZsNe2iZpQYbS/xaG8Ypoes6 8xOmRgBfkM3ZgWOqTRdBWXCSjoFZMRjdwcajqczLaQ2SCn8xv4/O6bHdRX5rPef5EI8h Px1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=F9F+nAVcm8NwrUorllafvQsVTgpX79sYEs59GJzqZO4=; b=FHm+3gz4rN5IoLReNU99SUXUdoud5Qq00aWcIKlevQ2W/N/4xSEFqEBpAd0xeJxLjl tJOF3x4lk1scxOegQdo8qE2INZOkpLtfGgGoc75ebm68MSGUKQVK5HIBOfwRF7h/vZDV t9cJbRDbnrEpJmiE5ghFUgWMRy1Z3hFViUGWh3+HZs98r1CXNkbTlkNmAiTCWn74jJrX bqWRR2kJMstF7/WL/H8MI9hF23g41HavsuTshOnKFm70Fn6WfS4y/jX+xwjj7DYcnwc3 9Gx1+P72twRIImNES4amlhj9hvWddeIA09QJ5Y80jHzvqYlshuJVabweXJB0U4G2PNTQ 3rdQ== X-Gm-Message-State: AOAM530cHrxjMt+4vIUWJSAGwl0uz4u3CXf+xIpSKgi37XP3UezWDRVH UVXkMwor/PGwE6mTTdXobd/Se0Fu X-Google-Smtp-Source: ABdhPJya6Xdubpy2Myvl/Eq5oSPnKgr17XfOhCuirXwEo0otRVyiMYMqF/oPet1M4JyEDbBJ/xKRUw== X-Received: by 2002:a1c:2d83:: with SMTP id t125mr1223063wmt.187.1591490453901; Sat, 06 Jun 2020 17:40:53 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id y25sm20171454wmi.2.2020.06.06.17.40.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Jun 2020 17:40:52 -0700 (PDT) In-Reply-To: <87ftb7dbun.fsf@mail.linkov.net> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=raaahh@gmail.com; helo=mail-wm1-x332.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:251983 Archived-At: On 07.06.2020 02:46, Juri Linkov wrote: >> Don't most people tend to use either shell, eshell or some other >> terminal application? If I were to use shell, over eshell, I guess that >> this would be somewhat annoying, at least by default. > > I wonder why people who prefer eshell, don't enable it with > > (fset 'shell 'eshell) I thought the point of 'shell' was that 'eshell' doesn't handle all possible programs you could run in it? For those cases, people would run 'shell'. The above line would make that harder. > Then the project menu could have just one entry 'shell'. A slightly longer line can change the entry in project-switch-commands. >> I was thinking that a "x" key could be added, which would invoke >> execute-extended-command, but in the project root. > > Or as a more general solution a prefix key sequence could be added > like recently was added a prefix key sequence 'C-x t t' to run the > next command in a new tab, a similar key like 'C-x p p' could be used > to run the next command in the project root. It's a good idea, and we really should have a command like that. But, for commands that are present in the switch menu, it would still be more economical to use project-switch-project, right? I mean, as far as the total number of keypresses goes. BTW, I thought 'C-x p p' would be for 'project-switch-project'. But maybe people have a different idea, it's not a strong preference.