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, 29 May 2020 16:51:33 +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> 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="9207"; 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: "Basil L. Contovounesios" , =?UTF-8?Q?Simen_Heggest=c3=b8yl?= , emacs-devel To: "Philip K." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 29 16:22:36 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 1jefu7-0002Hh-AD for ged-emacs-devel@m.gmane-mx.org; Fri, 29 May 2020 16:22:35 +0200 Original-Received: from localhost ([::1]:53274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jefu6-0006JB-BS for ged-emacs-devel@m.gmane-mx.org; Fri, 29 May 2020 10:22:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jefQA-0005it-Ml for emacs-devel@gnu.org; Fri, 29 May 2020 09:51:38 -0400 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:44977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jefQ9-0002BG-Gv for emacs-devel@gnu.org; Fri, 29 May 2020 09:51:38 -0400 Original-Received: by mail-wr1-x42e.google.com with SMTP id y17so3648761wrn.11 for ; Fri, 29 May 2020 06:51:37 -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=5RZHdTy4uoL/DSQF12G8Q3CGpfarO8C9uBSgiQU+7+w=; b=Udl+8MpIML+at1Kr5PwEivfwXSzM/mPGYrL5967KzTeRMkVUzUiagS1OvQDWMtYl5h 1HTihWMD0D8vhVu4e/WshvdgTNRAM3xe2i6I870YA/s65hVuLkx12r72nEvy3Z8eC9JW xRKSYwwFDIqPmozkYEuw6oJtSmSuDLWtHUdZVueS2LUnLeddbNkZAcEWHQZjniryGecO YeVxkWD1cYaiuEiGkldOaC4BuDCznm7gz7wh8U8f1SFoFqu0vSDJJvporLc7BCmzhw9A zT/u9PedYpGKJ3MSMmBfbBZEw4WSdtbmjlsZFr+wemVQN7qtD/YKkw7pcA6AWjEWujr8 HPHg== 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=5RZHdTy4uoL/DSQF12G8Q3CGpfarO8C9uBSgiQU+7+w=; b=WZ6hdKrQLaflii4xHGaSR0n6FIuNyiZeFq3yeAF+3IoATc8Mz0haNpFghdy0PqFsMD 9Hxn04kFgrzpQ7cgzGZonKELXWL6PZxvSySlA03amnkW3XlSqa8HCtKAWiT43w6tsN8L P8QW3axFbvbXWVWHUG5WIpJCTufP0iYIuJnmv+uGBq+4/7HkOGXDyGbWHPE2/j8Vw4Te Z3K60rUm1NTpunJFA7bgmmf1WTW3+BdBegLDn2PbCVeJ3IKJSqStqEUaviMbVeTM3DoF rHnyUzMkkXVKFnqilLfRI6fXEeHWbdBj+myc9wZjI0Gjx33mB0KPRA1MWrUD74e8Y9Hg YIyg== X-Gm-Message-State: AOAM532BLHUIoEo6/dCgCOSBaGAr8VHrDsHKUzaZ6xtFLSJi5Xfwmi4s vkUQ8mLQzkwZKFH2vS9P6jhVvFZf X-Google-Smtp-Source: ABdhPJze0KRvqLkUsaI3o7G2ZXKDhGjtUtRehy0o0RPGRYix/LvmHsN8djbOpOHQT2BNHlebQ/P7hA== X-Received: by 2002:adf:edc8:: with SMTP id v8mr8505421wro.176.1590760295832; Fri, 29 May 2020 06:51:35 -0700 (PDT) Original-Received: from [192.168.0.69] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id 23sm11968025wmo.18.2020.05.29.06.51.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 May 2020 06:51:35 -0700 (PDT) In-Reply-To: <87eer3nqnd.fsf@warpmail.net> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42e.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: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 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, URIBL_BLOCKED=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:251619 Archived-At: On 29.05.2020 10:31, Philip K. wrote: > Dmitry Gutov writes: > >> On 29.05.2020 02:05, Basil L. Contovounesios wrote: > >>> Could project-switch-project reuse read-multiple-choice or similar? >> >> I'm attaching a patch that makes it use read-multiple-choice, check it >> out. But I'm not sure the result looks better than what we have now. >> >> Suggestions on "similar" welcome. > > I tried to same thing last night, but didn't get around to submitting it > in time. It's mosty the same, I just dropped project--keymap-prompt and > changed the type of project-switch-commands, because it seemed easier > that way. Let's see what Simen thinks about this. FWIW, I somewhat prefer the current version. > I think it can be improved by adding a "case-insenstive" option to > read-multiple-choice, because for example currently it seems to > highlight the second "f" in "Find file" > ^ > this one here ____________| > > I have tried something out, and will submit a patch right after this one. A patch is good, but note that project.el is in ELPA now. So we might be unable to take advantage of the new version fully. Maybe with a version check, etc.