all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: 35222@debbugs.gnu.org
Subject: bug#35222: 26.1; `read-command' documentation
Date: Wed, 10 Apr 2019 18:24:14 -0400	[thread overview]
Message-ID: <CAM-tV-_Yrzb=0_GN2=ShiNjG4hShr4ZAr61XUCsa5caXA0JakQ@mail.gmail.com> (raw)
In-Reply-To: <54098355-6406-459c-9a3a-b7c5b4fe286b@default>

On Wed, 10 Apr 2019 at 18:14, Drew Adams <drew.adams@oracle.com> wrote:
>
> 1. The doc string does not say what happens if DEFAULT is not provided
>    (so `nil') and the user enters empty input.  And what happens is not
>    obvious.  Please add that information to the doc string.

Um, can we declare the current behaviour a bug, and instead return nil
in this case? That matches the current doc string (i.e., return
DEFAULT-VALUE), and avoids the whole mess with the empty string symbol
which is weird and pretty useless as far as I can tell.





  reply	other threads:[~2019-04-10 22:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10 22:13 bug#35222: 26.1; `read-command' documentation Drew Adams
2019-04-10 22:24 ` Noam Postavsky [this message]
2019-04-10 23:32   ` Drew Adams
2019-04-11 18:55   ` Stefan Monnier
2019-04-12  0:11     ` Noam Postavsky
2019-04-11 14:02 ` Eli Zaretskii

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='CAM-tV-_Yrzb=0_GN2=ShiNjG4hShr4ZAr61XUCsa5caXA0JakQ@mail.gmail.com' \
    --to=npostavs@gmail.com \
    --cc=35222@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.