From unknown Sat Sep 13 11:23:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42332 <42332@debbugs.gnu.org> To: bug#42332 <42332@debbugs.gnu.org> Subject: Status: Function to add projects to project--list Reply-To: bug#42332 <42332@debbugs.gnu.org> Date: Sat, 13 Sep 2025 18:23:33 +0000 retitle 42332 Function to add projects to project--list reassign 42332 emacs submitter 42332 Sean Whitton severity 42332 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 12 02:43:25 2020 Received: (at submit) by debbugs.gnu.org; 12 Jul 2020 06:43:25 +0000 Received: from localhost ([127.0.0.1]:45334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juVht-0001yY-2i for submit@debbugs.gnu.org; Sun, 12 Jul 2020 02:43:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:35952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juVhr-0001yR-KB for submit@debbugs.gnu.org; Sun, 12 Jul 2020 02:43:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juVhp-0008MQ-TW for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2020 02:43:23 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:60263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juVhn-0002pG-Pb for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2020 02:43:21 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id F22FF1604 for ; Sun, 12 Jul 2020 02:43:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 12 Jul 2020 02:43:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:subject:date:message-id:mime-version:content-type; s= fm3; bh=w3dAu7I1Q5+yad1afXtDqDMLOokEg/wO9Iuu/pVxn7o=; b=iSKFSh2A 5oMKsAZGv2b+4SX7wG66ZqzekpabZnTaNELLg6W9BjN+vq1oyI5E/NZn2WBruC0Y JhfORONXJuZCXJv8Xby/3dSSJDdvy+dsAuVG8ncUy6YelFuOxiVFMU+z0lMpy7cz 0rDXq5pL5s53Kpy7KuiILXjLOcOKT7CVrMP3+USmB7sufly+OTJBG30TQSgl5VfP BedXmfSQPCsJhoVCPfNGSLqn4zqUvQKi7EGuQ+XcpkYqB14vtvirA3nxtxfKxNhl oVTms/Db//XCBc/1YFA0COuxGgrgNKZNbSM7bbuuZW+l8Rg30dHsNsqR6NfBDBtB Y2uokZL+S/XfPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=w3dAu7I1Q5+yad1afXtDqDMLOokEg /wO9Iuu/pVxn7o=; b=a37baD56iX3p/YODlUGZjiSd6edXIc/s9J7/Q2akPkXh2 gHudHOEwb6XisuULmdcO3kPqofL/8rms9dURTAOQIdHxEPuHMELbuBzilJfrNtLP 6z2Nx+Pti6A7AH/QdNRWAwl6fHt1vxoWdvi1KcvhL11d97biS1U6kh4vh5iNXrl8 i60scMGBpjWHSP1t8QcVFL6wvKGrIM3I5FS6o6da5jYlv8Duod35Ubn782SkVzPV trJynjDWdftPc3K5QV+lCg8xc19HgyhLRGpgU9XGLWlfwmMGiDr3aX6LCfXV+2yZ 0E1ZfMPqxeJLOtBPQdsVSIyQHtWhplhwkEJCwvW/g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrvdehgdduiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd enucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihh ihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeelleegjeehvdehgeehgfefge dvhfdvfefffeehjedtgeefheffiedtfeetjeeuheenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtoh hnrdhnrghmvg X-ME-Proxy: From: Sean Whitton To: bug-gnu-emacs@gnu.org Subject: Function to add projects to project--list X-debbugs-cc: juri@linkov.net, dgutov@yandex.ru Date: Sat, 11 Jul 2020 23:43:15 -0700 Message-ID: <877dv9s070.fsf@iris.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.19; envelope-from=spwhitton@spwhitton.name; helo=wout3-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/12 02:43:17 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, I just added this to my init file, but it uses the private function project--add-to-project-list-front -- it would be good to have an API function to add arbitrary projects from Lisp. (defun spw/register-programming-projects-and-switch () (interactive) (dolist (directory (spw/all-programming-projects)) (when-let ((project (project-current nil directory))) (project--add-to-project-list-front project))) (call-interactively 'project-switch-project)) -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 20:19:28 2020 Received: (at 42332-done) by debbugs.gnu.org; 25 Jul 2020 00:19:28 +0000 Received: from localhost ([127.0.0.1]:48986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz7uR-0003PU-Sf for submit@debbugs.gnu.org; Fri, 24 Jul 2020 20:19:28 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:42882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz7uQ-0003PH-0U for 42332-done@debbugs.gnu.org; Fri, 24 Jul 2020 20:19:26 -0400 Received: by mail-wr1-f45.google.com with SMTP id r4so6754403wrx.9 for <42332-done@debbugs.gnu.org>; Fri, 24 Jul 2020 17:19:25 -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=7szZWEerXeNXaV7VgJ4emJ5VG6p/L5PmufKKDrjrroI=; b=IhYRnSCjYgAnos/HUxG7DhuzF40AuacnjF0uL/xt9kaf84Xf5hPp8yCNwTuqp/0Rfv TtISEBU3TMqvPR6VAxzLTPbXD2pbttKIM0Rrkt/I2L5kJ6vscEgNuaiXQUu9DBpLp2r0 dlp/E75bJoivDB5tg59Ta+zPoWgFP/CEY8EcakQpPQy/GDxcP+fec5T58SmnMfaDUor3 n2o9HChrO49BLaW9yKPjfqmoOSUIFIfA+/zaTmWZ8ge28cVYKtEx+ndtZ4Eo4burRK9O v1Sz92XKRxI82NEI739U0gVH58vInj6AER++1P6gwCJbGUwfVSjDHiKmLvkzXOk+ltU2 TbRw== 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=7szZWEerXeNXaV7VgJ4emJ5VG6p/L5PmufKKDrjrroI=; b=AZFAkWfZ1GlYczp9l4y+SCJtFxpYZnmBL6lqJmDCz+pzLFkQ6LYBotr296EJ/e9yPn exKEiI+qsZM0MeJfw1hV/5WMtkDuv/NUzbAF7jZ3LvJgBm3qKnmZVRN+kgQIgmIhfnEn r1l/hvNuRCnbB1zXGEzLjRvnspN6qu+J5ORuSu+LYghGlC9E7YYGdoK+skL9e3y4Tucz /dmm7TLuL1PowVUc5QcJXWY8k0yJr8eY8RlPo5whw2syjWZVF8S9Bvj35CLN6cfq+5g9 npxvCOHjEjiPPOv5mRyFxqeZd5rzlsN42wZ7SQjIYm/iBsUAT3bEjse9Q45xZBEb6wfG pzDA== X-Gm-Message-State: AOAM531YHGCFoH+bUEsgaNJJYh+Vgm2/7MUJrkvoOvyQrfU/u+tmZe1h SNIhKHBcZmclQbAEmtZ6zmI= X-Google-Smtp-Source: ABdhPJz0rvBN+GKQ6tcFVHAWmDoe4z8mPHCmNUK5CvUBnqfHvOw3C6JSwxoZndbHSETx1DLDSGxrEw== X-Received: by 2002:a5d:4e92:: with SMTP id e18mr10680571wru.107.1595636360096; Fri, 24 Jul 2020 17:19:20 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id f124sm1958797wmf.7.2020.07.24.17.19.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jul 2020 17:19:19 -0700 (PDT) Subject: Re: bug#42332: Function to add projects to project--list To: Sean Whitton , 42332-done@debbugs.gnu.org References: <877dv9s070.fsf@iris.silentflame.com> From: Dmitry Gutov Message-ID: Date: Sat, 25 Jul 2020 03:19:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <877dv9s070.fsf@iris.silentflame.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 42332-done Cc: juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) On 12.07.2020 09:43, Sean Whitton wrote: > I just added this to my init file, but it uses the private function > project--add-to-project-list-front -- it would be good to have an API > function to add arbitrary projects from Lisp. > > (defun spw/register-programming-projects-and-switch () > (interactive) > (dolist (directory (spw/all-programming-projects)) > (when-let ((project (project-current nil directory))) > (project--add-to-project-list-front project))) > (call-interactively 'project-switch-project)) Thanks for the report. I did a rename, and 'project-remember-project' is a public function now. From unknown Sat Sep 13 11:23:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 22 Aug 2020 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator