From: "Drew Adams" <drew.adams@oracle.com>
To: <gebser@mousecar.com>, "'GNU Emacs List'" <help-gnu-emacs@gnu.org>
Subject: RE: need obsolete arg in (read-from-minibuffer ...)
Date: Fri, 18 Mar 2011 13:37:52 -0700 [thread overview]
Message-ID: <57C62106C2FC4A8DABE33A73A9A35201@us.oracle.com> (raw)
In-Reply-To: <4D83BF4A.1030707@mousecar.com>
> the docs say that 2nd arg is obsolete. However,
> I've tried a lot of permutations of the args listed and I
> can't get this function to work without using that obsolete 2nd arg.
> (defun mygetstr (def-val)
> (read-from-minibuffer "Enter/Edit string: "
> def-val nil nil nil def-val t))
What do you mean by "work"? And what do you mean "without" the obsolete arg?
That argument must be present if you include any arguments to the right of it.
What is considered (by some) to be "obsolete" is to use a non-nil value for the
argument. That's all. You cannot simply remove the arg if you include args
such as the DEFAULT-VALUE and INHERIT-INPUT-METHOD. A nil argument can be
omitted if there are no non-nil args coming after it (i.e., to the right).
next prev parent reply other threads:[~2011-03-18 20:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-18 20:23 need obsolete arg in (read-from-minibuffer ...) ken
2011-03-18 20:37 ` Drew Adams [this message]
2011-03-18 22:12 ` ken
2011-03-18 23:03 ` Drew Adams
2011-03-19 2:22 ` ken
2011-03-19 2:34 ` Drew Adams
[not found] ` <mailman.0.1300501334.15172.help-gnu-emacs@gnu.org>
2011-03-22 1:02 ` Stefan Monnier
[not found] ` <mailman.23.1300486344.31996.help-gnu-emacs@gnu.org>
2011-03-19 1:59 ` Stefan Monnier
2011-03-19 5:23 ` ken
2011-03-19 5:51 ` need obsolete arg in (read-from-minibuffer ...) in Version 2.0 ken
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=57C62106C2FC4A8DABE33A73A9A35201@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=gebser@mousecar.com \
--cc=help-gnu-emacs@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.