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: Fri, 5 Jun 2020 01:37:01 +0300 Message-ID: References: <6f0f6cc9-52f4-8383-9827-ead54e898472@yandex.ru> <87pnan8xuf.fsf@tcd.ie> <8834c5e9-90c7-a8ad-3dcd-b8fb95f99df5@yandex.ru> <87eer3nqnd.fsf@warpmail.net> <871rn2ivne.fsf@simenheg@gmail.com> <87367hozkq.fsf@mail.linkov.net> <1cc7dff3-6e39-2cf4-ec65-379c9f72ac72@yandex.ru> <87d06is84l.fsf@mail.linkov.net> <71832015-6be9-4433-02ba-99b54f63a0ed@yandex.ru> <878sh3ydrl.fsf@mail.linkov.net> <015bbdb0-e9c3-a19e-287c-a26bc305d155@yandex.ru> <87d06ems49.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127505"; 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: =?UTF-8?Q?Simen_Heggest=c3=b8yl?= , "Basil L. Contovounesios" , "Philip K." , emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 05 00:37:40 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 1jgyUV-000X4M-Uu for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Jun 2020 00:37:39 +0200 Original-Received: from localhost ([::1]:44194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgyUV-00025v-0H for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Jun 2020 18:37:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgyTz-0001eP-DF for emacs-devel@gnu.org; Thu, 04 Jun 2020 18:37:07 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:55800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgyTy-0000fb-6a for emacs-devel@gnu.org; Thu, 04 Jun 2020 18:37:07 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id c71so6691326wmd.5 for ; Thu, 04 Jun 2020 15:37:05 -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=D9VSMXO4aq0p/A/ymBzadwHNL/sW2QuAm8FbXh9i5fw=; b=o9Y3slcom/kefTgd4MbG6Qx+l0ITLo1mWbFeFE5BM6AfGLR/PrKN9YjA6CmFaBeM9x XCGqK4xAW67eNLT0NIFElnRU5zNyw7mDRi2nrL8HG11S6u+8LzRRTgTR+qwbfoH+PJEK MrAF1Eiu0TsOxWhZzGlNZp0IW4TgLLQNVNnYuHVHBpV8VdfRZT2r3bL87HftsiGZTOXJ YDSGK5r5UVlQ2B0WCsgj6ov8oAZjt+kfsvFXKZaCEyDOOPgztDVDEpK6//wf2vqm8OW5 M3JjC3G2X7C4r3kBafUmiXCP1BKe7eAwnrJiDnw1IGEh64MJ7JPaJQaG0fGE8c6ls/n+ /1OA== 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=D9VSMXO4aq0p/A/ymBzadwHNL/sW2QuAm8FbXh9i5fw=; b=BrOOyDb6Jg1QcCVVahMB3iIfGW0+NCgnlJZMLRPOqbwSlhpP96LF8Rtim6oB2bvZX1 p3EJHOhlij0QpDVq9ZKwC98L9myJBhmEVc08s+V/wBrdcMap6y+4obq5lo5aodZ8AH62 c7mlxn6W7sIj24X9YUdXbLyj/gHp+c4lqs8iX9FLkkeUM2pAQhJ8JzL2TDSA31LmIzGA Mu5zACwRD8vZasyWj7V6tGSVxGoWC+F/jW2i3rN75kFciT4WnNd5UwxG3wy4y4E093DS jWlWe95foi7JyA+DbQbXOLeDo/V04CYtr+5ynn6UtZ77ZwG+qId+zHdOM6GhS4MgFHb5 Je/g== X-Gm-Message-State: AOAM530297c+Dz2khiFI2KMV0hK/mCzVMG5bbsZ/6TrkK9z6CwL3Xmih IGjaiUy7sQdJJ7dUYhaTbWPG7rXd X-Google-Smtp-Source: ABdhPJyV51NlsMC4dOajFDpIDkAKuq30+w+40rRHe+FZR7bljeSngpMXCHco+ZSdsAC+YtV/4lqn1Q== X-Received: by 2002:a1c:e40a:: with SMTP id b10mr5790654wmh.41.1591310224134; Thu, 04 Jun 2020 15:37:04 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id u9sm5770759wme.16.2020.06.04.15.37.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jun 2020 15:37:03 -0700 (PDT) In-Reply-To: <87d06ems49.fsf@mail.linkov.net> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=raaahh@gmail.com; helo=mail-wm1-x330.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:251873 Archived-At: On 05.06.2020 00:55, Juri Linkov wrote: >> They both have 'e' in their names. If we imagine that both 's' and 'h' are >> taken (the latter standing for 'help', maybe), then 'e' is kind of >> a natural choice. > > Maybe it's not too bad when read-multiple-choice will underline > the letter ‘e’ in ‘shell’ in the prompt with: > > (read-multiple-choice "Switch project" > '((?E "Eshell") > (?e "shell") > (?h "help"))) > > so the prompt will be: _E_shell, sh_e_ll, _h_elp Sure. But we not using read-multiple-choice, or at least not yet. >> And maybe 'search' is more important than 'shell', as far as the choice for >> 's' goes. > > Is it possible to use key sequences, e.g. ‘s h’ for ‘shell’, ‘s e’ for ‘search’? Provided someone implements it, sure. But if we'd put two commands on the same letter this way, I'd rather we use two similar ones, again shell and eshell. And keep 'search' separate. I'm pretty sure the latter is going to be used more often, so it deserves a separate letter.