From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: New feature in project.el: Remembering the previously used projects Date: Sun, 31 May 2020 00:57:57 +0300 Organization: LINKOV.NET Message-ID: <87367hozkq.fsf@mail.linkov.net> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="43423"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: "Basil L. Contovounesios" , "Philip K." , emacs-devel , Dmitry Gutov To: Simen =?iso-8859-1?Q?Heggest=F8yl?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 31 00:35:00 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 1jfA4C-000B95-At for ged-emacs-devel@m.gmane-mx.org; Sun, 31 May 2020 00:35:00 +0200 Original-Received: from localhost ([::1]:53556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfA4B-0000ol-Bn for ged-emacs-devel@m.gmane-mx.org; Sat, 30 May 2020 18:34:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfA3V-00007M-AH for emacs-devel@gnu.org; Sat, 30 May 2020 18:34:17 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:47987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfA3S-0000wC-UQ for emacs-devel@gnu.org; Sat, 30 May 2020 18:34:16 -0400 X-Originating-IP: 91.129.108.6 Original-Received: from mail.gandi.net (m91-129-108-6.cust.tele2.ee [91.129.108.6]) (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id A22CCFF805; Sat, 30 May 2020 22:34:06 +0000 (UTC) In-Reply-To: <871rn2ivne.fsf@simenheg@gmail.com> ("Simen =?iso-8859-1?Q?He?= =?iso-8859-1?Q?ggest=F8yl=22's?= message of "Fri, 29 May 2020 17:54:45 +0200") Received-SPF: pass client-ip=217.70.183.199; envelope-from=juri@linkov.net; helo=relay9-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 18:34:09 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:251662 Archived-At: >> Could the contents of the project-list file comprise easily readable, >> printable, and even extensible sexps? > > I guess it could, but do you have any immediate use case in mind, or > were you thinking about easier forward compatibility in general? > > I modeled the current approach after org-agenda-files, thinking that the > scheme with one project directory per line would be the easiest to edit > by hand. Please use a more future-proof format like is used by saveplace.el, for example, in ~/.emacs.d/places it's saved as: ;;; -*- coding: utf-8; mode: lisp-data -*- (("/tmp/" (dired-filename . "/tmp/file")) that allows adding more metadata in future. Also could you please add a command to run shell, in addition to the already added eshell.