From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sameer Rahmani Newsgroups: gmane.emacs.devel Subject: Re: Lisp Api and backward compatibility Date: Fri, 12 Apr 2019 21:28:41 +0100 Message-ID: References: <83ef67kmb0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="7799"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 12 22:29:20 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hF2nY-0001vy-Ok for ged-emacs-devel@m.gmane.org; Fri, 12 Apr 2019 22:29:20 +0200 Original-Received: from localhost ([127.0.0.1]:42257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hF2nX-0007lv-Ig for ged-emacs-devel@m.gmane.org; Fri, 12 Apr 2019 16:29:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hF2my-0007kj-Nz for emacs-devel@gnu.org; Fri, 12 Apr 2019 16:28:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hF2my-0002AK-Et for emacs-devel@gnu.org; Fri, 12 Apr 2019 16:28:44 -0400 Original-Received: from [46.7.100.2] (port=46580 helo=[192.168.0.165]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1hF2mw-0007lf-RS; Fri, 12 Apr 2019 16:28:43 -0400 In-Reply-To: <83ef67kmb0.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235380 Archived-At: I picked up a task to change `desktop.el` to be able to save/read desktops with a name ( basically writes the desktop in to a file under a given name and later read from it). As you already know the `desktop-save` fn for example gets directory name as the first argument following by several optional args. So I was thinking to either: 1) Add a new optional arg called filename and ask the desktop name from user in interactive. 2) don't add anything to the function signature and `read-string` it in the function body. what do you think ?