all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sameer Rahmani <lxsameer@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Lisp Api and backward compatibility
Date: Fri, 12 Apr 2019 23:38:50 +0300	[thread overview]
Message-ID: <83d0lrklgl.fsf@gnu.org> (raw)
In-Reply-To: <ebf99eee-85a6-f09e-b208-5cfe75885e66@gnu.org> (message from Sameer Rahmani on Fri, 12 Apr 2019 21:28:41 +0100)

> Cc: emacs-devel@gnu.org
> From: Sameer Rahmani <lxsameer@gnu.org>
> Date: Fri, 12 Apr 2019 21:28:41 +0100
> 
> 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.

The function desktop-save is also a command, so we will need to devise
a way to let the user specify the name interactively.  And the same
for desktop-read.

I didn't think about this too much, but maybe a separate command,
called desktop-save-named, say, would be a better alternative.



  reply	other threads:[~2019-04-12 20:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-12 20:09 Lisp Api and backward compatibility Sameer Rahmani
2019-04-12 20:20 ` Eli Zaretskii
2019-04-12 20:28   ` Sameer Rahmani
2019-04-12 20:38     ` Eli Zaretskii [this message]
2019-04-12 21:13     ` Drew Adams
2019-04-14  1:18 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d0lrklgl.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lxsameer@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.