all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: 56183@debbugs.gnu.org, Jean Louis <bugs@gnu.support>
Subject: bug#56183: 29.0.50; read-from-minibuffer does not result with default value
Date: Fri, 24 Jun 2022 11:21:07 +0200	[thread overview]
Message-ID: <87fsjus9h8.fsf@gnus.org> (raw)
In-Reply-To: <87edzemqt7.fsf@gmail.com> (Visuwesh's message of "Fri, 24 Jun 2022 13:33:16 +0530")

Visuwesh <visuweshm@gmail.com> writes:

> As the docstring of read-from-minibuffer says, READ should be non-nil if
> DEFAULT-VALUE is to be returned:
>
>     Sixth arg DEFAULT-VALUE, if non-nil, should be a string, which is used
>       as the default to ‘read’ if READ is non-nil and the user enters
>       empty input.  But if READ is nil, this function does _not_ return
>       DEFAULT-VALUE for empty input!  Instead, it returns the empty string.
>
> so everything works as expected.

Yup.  So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2022-06-24  9:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24  7:05 bug#56183: 29.0.50; read-from-minibuffer does not result with default value Jean Louis
2022-06-24  8:03 ` Visuwesh
2022-06-24  9:21   ` Lars Ingebrigtsen [this message]

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=87fsjus9h8.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56183@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=visuweshm@gmail.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.