From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: New feature in project.el: Remembering the previously used projects Date: Sun, 20 Dec 2020 00:18:36 +0200 Message-ID: References: <87a71hvi3b.fsf@bulbul> <87a71hsjf0.fsf@warpmail.net> <877dwlm1fq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10739"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: Jamie Beardslee , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 19 23:20:09 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 1kqka8-0002fh-Mr for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Dec 2020 23:20:08 +0100 Original-Received: from localhost ([::1]:36754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqka7-0001FX-PH for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Dec 2020 17:20:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqkYk-0000nm-Ry for emacs-devel@gnu.org; Sat, 19 Dec 2020 17:18:42 -0500 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:45440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqkYj-0006mQ-5k for emacs-devel@gnu.org; Sat, 19 Dec 2020 17:18:42 -0500 Original-Received: by mail-ed1-x536.google.com with SMTP id r5so5993231eda.12 for ; Sat, 19 Dec 2020 14:18:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Je3iEQbHEDXb2jeIsBPBT8r0Zrl60o6U3S5NmLT9QN0=; b=edV1HlMHv4Y6H/eRYqD7IJzR6PrJ+op9PtVkc7NNhunNKkiq0I8biM+LX6VG9fTYdM i6OWObXj8PI3DKH06D+5+f4+6qlTJckOzBImqA9NwgLeLN6VaM/wh3WtnyokPBodtMQ9 RqY1BViIozeyrv1mUGrc/ImXchCXb94KcTL+E8tMGs90j8jG/ZoVx+okZh9hbsd9IA4i P55zlV0qTLAAk5FMIdZgBdbWvuQcQIARO2UGON9qbe90edn/yH/77rHsG21sJJXWQNCT H+CLedLMg2pajr1BWSVMmhXzsyGfXpAVaoElYplM3JkL7BxrmtCby4ssxw/uZREY6waG T8Mw== 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:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Je3iEQbHEDXb2jeIsBPBT8r0Zrl60o6U3S5NmLT9QN0=; b=s62ndHFECjSEf91dX59A3jXVDoz2SMEROl1BqFa3tAttV8NXuqXIEeE97qhxeWH8fJ 4GMRVDnDjgA3JRhc0/XNT2wMsfLJLanor+18EcMINu/Rukk6bjd6THVqzbY3TFiPTWMw uEFUS7nZE1zyhKcI0jFxaabDX1sUpm3gGnRqkIte4NEzi7c2A7LBbdUWxaFgz8eKK+Ju IcrU1J+mUQLfaN7XtqGVIq0A4BuC8SA9HqJKqCkrckqT1oFSA6yjpKYnnuVs2tNeiQf5 TwgdY8pzMn9ButiE/KKnusaGsO1rsTen7g2VhQbb7Q2rvtJAMg0wX9jRnL4J1Mkph9QP fWhw== X-Gm-Message-State: AOAM530xOa3FwepzupWQDVOgpy/Evlw01qoNUJIzi1q4xh3FMX9DNGMv 7dcSnAUuxOcmriup7ozXlafOchSZNAxRkA== X-Google-Smtp-Source: ABdhPJwO20EfW4qSQ8aCUCbu1WpAZjgFX6NwfuWuaX2fY8SfeBHRnStciJXdZW4yEAjwvTajXIqs1A== X-Received: by 2002:a50:a694:: with SMTP id e20mr10415594edc.261.1608416318576; Sat, 19 Dec 2020 14:18:38 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id e27sm7313970ejm.60.2020.12.19.14.18.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Dec 2020 14:18:37 -0800 (PST) In-Reply-To: <877dwlm1fq.fsf@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=raaahh@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no 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:261295 Archived-At: Hi all, On 06.06.2020 04:24, Jamie Beardslee wrote: > "Philip K." writes: > >> An initial attempt attached below. It seems like everything works, the >> only thing I wasn't sure about was execute-extended-command's "typed" >> argument, since it seems to always be nil, when invoked interactivly? > I have no idea what's going on with that typed argument, but maybe it > would be more sensible to use `call-interactively' just in case? > > (defun project-execute-extended-command () > "Execute an extended command in project root." > (declare (interactive-only command-execute)) > (interactive) > (let ((default-directory > (project-root (project-current t)))) > (call-interactively #'execute-extended-command))) Sorry for the, uh, delay. I've pushed this now in 32e781b2. Thanks!