From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: New feature in project.el: Remembering the previously used projects Date: Wed, 03 Jun 2020 12:27:30 +0100 Message-ID: <87lfl42xul.fsf@tcd.ie> References: <6f0f6cc9-52f4-8383-9827-ead54e898472@yandex.ru> <87pnan8xuf.fsf@tcd.ie> <8834c5e9-90c7-a8ad-3dcd-b8fb95f99df5@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="67754"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Simen =?utf-8?Q?Heggest=C3=B8yl?= , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 03 13:28:24 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 1jgRZH-000HVu-FV for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jun 2020 13:28:23 +0200 Original-Received: from localhost ([::1]:46648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgRZG-0000Co-Fy for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jun 2020 07:28:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgRYi-0008DB-Nu for emacs-devel@gnu.org; Wed, 03 Jun 2020 07:27:48 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:36380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgRYd-0006ep-T3 for emacs-devel@gnu.org; Wed, 03 Jun 2020 07:27:45 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id q11so1966488wrp.3 for ; Wed, 03 Jun 2020 04:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=EzUchh/K3K55O+Gsivd5L5bq2PjYY3geRXJ2Hc5k7mI=; b=qCuve17gcID3tW/EzVT3FcZFa13qDOIwXOczUaD3VBIbr3TeTRy2sE7y5wnMLJbW1x f8vWF4OAtUeveO7J+FOwyj3NyAOhBdE6dgHUIXSX2v8cwLvkkfYryMuDkAvKz8cjlqHZ ZuDY9XSfPfSyX5Hqa6HsPTHNaPf6POwg92QRhlFGIwgA2Mx1UZ6RNE0g7RhijJBHtpw4 fjG2NeBPyo/w/Mh4uigfGVjicRhEIY9ugrg6eVM+uNU6n2ZqLYexKMAE+5yMh3qlcRAs S9+rNMvd1zzY16UhVAgvioNqiNJlvbEdFZ8aZyn41Imi8cPoF+uHT79k8AYPQ8lGI0rG +Ebw== 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:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=EzUchh/K3K55O+Gsivd5L5bq2PjYY3geRXJ2Hc5k7mI=; b=KrzYYgpGU1b2i6MF75BooIHukNLJsM2k5L2eCvbde6a3cXHwpPvxLncvusQQX/1PPb cUoUB+/8Q6iZpU+Cx57gLyKd4gxu555+D78fChAJrrE0/bROBj14wSQuo6QpthIXZIvt StGg+h4BvJE8lO9yxFa/ICO4ncpQGhH+qT6U3hUVM2MlPxk9A0Z7BHES6KARE0xDIIkb KScsUWgX3dbwrv6wCjaT6IsvmBeRLpUr6kFNQzqVinhhnaOZhgorjWL30kiI9dy4TtmU gfFOZgOKYQg1mBKCDcWjxs6GPQWZ0o/tCWavo4vHZtQtlsDm63+dkGz9b8vTeRphTvta FezA== X-Gm-Message-State: AOAM533/cGswsT+TZS82BjkpSK70eVuiH3pihNesJRTVv5rxYM/i65pg Q7b3tAC9xAxJ9lr5joQCidTq4A== X-Google-Smtp-Source: ABdhPJyTI/zR0U7zTG8qlNim+Btg0c2Wi0DhHNEFC20DqWSpniRyDZiG4RstG2HxHuxOfGUBmk7T1w== X-Received: by 2002:adf:e30e:: with SMTP id b14mr29638835wrj.334.1591183658083; Wed, 03 Jun 2020 04:27:38 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id e12sm1845791wro.52.2020.06.03.04.27.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 04:27:37 -0700 (PDT) In-Reply-To: <8834c5e9-90c7-a8ad-3dcd-b8fb95f99df5@yandex.ru> (Dmitry Gutov's message of "Fri, 29 May 2020 02:29:35 +0300") Received-SPF: none client-ip=2a00:1450:4864:20::431; envelope-from=contovob@tcd.ie; helo=mail-wr1-x431.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: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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:251792 Archived-At: Dmitry Gutov writes: > On 29.05.2020 02:05, Basil L. Contovounesios wrote: > >> Could the contents of the project-list file comprise easily readable, >> printable, and even extensible sexps? >> 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. Thanks. > But I'm not sure the result looks better than what we have now. You're right, it doesn't look as good, and what we have now is fine. But as far as I'm concerned that's a bug with read-multiple-choice that should eventually be fixed so that it can be used in more places. With that in mind, I wonder whether project-switch-commands should use character rather than string keys. Or would that be too limiting? -- Basil