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

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 ?





  reply	other threads:[~2019-04-12 20:28 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 [this message]
2019-04-12 20:38     ` Eli Zaretskii
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=ebf99eee-85a6-f09e-b208-5cfe75885e66@gnu.org \
    --to=lxsameer@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.