From unknown Mon Aug 18 11:17:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56183 <56183@debbugs.gnu.org> To: bug#56183 <56183@debbugs.gnu.org> Subject: Status: 29.0.50; read-from-minibuffer does not result with default value Reply-To: bug#56183 <56183@debbugs.gnu.org> Date: Mon, 18 Aug 2025 18:17:22 +0000 retitle 56183 29.0.50; read-from-minibuffer does not result with default va= lue reassign 56183 emacs submitter 56183 Jean Louis severity 56183 normal tag 56183 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 03:38:35 2022 Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 07:38:35 +0000 Received: from localhost ([127.0.0.1]:40738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4dti-0008SY-Pf for submit@debbugs.gnu.org; Fri, 24 Jun 2022 03:38:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:55078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4dtg-0008SP-DM for submit@debbugs.gnu.org; Fri, 24 Jun 2022 03:38:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4dtf-00051b-9S for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 03:38:31 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:35609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4dtY-0004fW-Jb for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 03:38:28 -0400 Received: from localhost ([::ffff:197.239.7.48]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000087C5D.0000000062B569CD.00004853; Fri, 24 Jun 2022 00:37:48 -0700 From: Jean Louis To: bug-gnu-emacs@gnu.org Subject: 29.0.50; read-from-minibuffer does not result with default value Date: Fri, 24 Jun 2022 10:05:34 +0300 Message-ID: <86zgi2k0ch.fsf@protected.rcdrun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_SBL=0.141, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: How I understand the "default" is that it should be the value that function gives as result in case when user does not write anything else, hits enter. However, it does not work this way with `read-from-minibuffer', so I will file bug report. Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=admin%40protected.rcdrun.com; ip=209.51.188.17; r=debbugs.gnu.org] 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [197.239.7.48 listed in zen.spamhaus.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) How I understand the "default" is that it should be the value that function gives as result in case when user does not write anything else, hits enter. However, it does not work this way with `read-from-minibuffer', so I will file bug report. (read-from-minibuffer "Your name: " nil nil nil nil "Jean") =E2=87=92 "" However, in this function it does work the expected way: (completing-read "Your name: " '("Jean" "Emmanuel" "Adebayo") nil nil nil n= il "Jean") =E2=87=92 "Jean" (completing-read "Your name: " '("Jean" "Emmanuel" "Adebayo") nil nil nil n= il "Adebayo") =E2=87=92 "Adebayo" In GNU Emacs 29.0.50 (build 10, x86_64-pc-linux-gnu, X toolkit, cairo versi= on 1.17.6, Xaw3d scroll bars) of 2022-06-18 built on protected.rcdrun.com Repository revision: 99577312f569e22f05a4d0960cc881ff46d4dc3a Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Parabola GNU/Linux-libre Configured using: 'configure --with-x-toolkit=3Dlucid' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=3Dexwm-xim locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date seq gv subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 47056 8487) (symbols 48 6255 3) (strings 32 17744 2189) (string-bytes 1 558767) (vectors 16 12163) (vector-slots 8 172412 13460) (floats 8 22 38) (intervals 56 246 0) (buffers 992 11)) --=20 Thanks, Jean Louis Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 04:03:39 2022 Received: (at 56183) by debbugs.gnu.org; 24 Jun 2022 08:03:39 +0000 Received: from localhost ([127.0.0.1]:40776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4eHy-0000h4-Ot for submit@debbugs.gnu.org; Fri, 24 Jun 2022 04:03:39 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:39792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4eHu-0000go-92 for 56183@debbugs.gnu.org; Fri, 24 Jun 2022 04:03:36 -0400 Received: by mail-pg1-f196.google.com with SMTP id q140so1710583pgq.6 for <56183@debbugs.gnu.org>; Fri, 24 Jun 2022 01:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=xC2xeJLORXDQhejys5my1Vdjhnc2fYT6n2RIaxulCYE=; b=ZSG++nsdvDAVTGHsnZelbBn4bYrSVw2SglM3FVtgEsFChQDDY/2Z1XfrMxpvvk2kpb cQfPUGBd6vuAeomAaoXt+M5Y7bG7+d2O/Z8cBWzc1X8e/fL54wxBiH8bRrf2tD6rcx5k UNuhTgkAqmknW39c1+vkKOnlaeMbKVzhJShf4nVEpgjMDDDDNWseN/iKwAM3NTkq+U0U VYHrm+i9pHDs8e15iulxs6PgHTjuWDG2RZJnDHxrbqO2z4xK4PfH0wLOv8jDtgRcXUDC YcbTMZ9G7sLwil8ab3j7Fn0Py/1cvj46dLZ1gj8I9Lerqa6ycNP97/lOqFJLtU25uUU5 SmWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=xC2xeJLORXDQhejys5my1Vdjhnc2fYT6n2RIaxulCYE=; b=4XOfu/Eghzdxp8YkTDmpDNINGCckRaKqKY+x46blrLwcKRFSftH2HvfoYCZivZo9Qe l6xPFTaEUETsHi7vwLpuzC09IgBZ6L9L769WpjTi6qS80Uw+ix/hqwga2WscX/AaHVyg xJs8/DZmjSn1tgGrP+duTi5LY6BPNI3x3fGz/IIqbKeoA3n68CR1WDhWlbBWRsDS1+EL 38/17w3zNmIeDGRRa8LUiYUDjCygqZW8tY3e5OfWKdzObdMHOxuthz7IQCG4QK1uwlz4 Wr2SZCjL1S0+R8kESgwXCUJ5Ir5KSQ+C36Jwqgfwjbeu1ZlfjnDyloqBQ0EtFP3t4+UU 4QGQ== X-Gm-Message-State: AJIora86SQ9bI79XUOZ4oZ70bEUCZW6JNFvA2ZafzgUzxNVoDcW1YeO2 c3GALA4DATSdUtriBuEZiTk= X-Google-Smtp-Source: AGRyM1sNgEhQbvjs2fQwXA6aTk+ogbeRE4CkoAkcuFcIOAl/vWogrqXtelNCuWwLuKLB+zgHbACfMw== X-Received: by 2002:a05:6a00:2311:b0:4e1:52bf:e466 with SMTP id h17-20020a056a00231100b004e152bfe466mr44927776pfh.77.1656057808286; Fri, 24 Jun 2022 01:03:28 -0700 (PDT) Received: from localhost ([49.204.128.184]) by smtp.gmail.com with ESMTPSA id y16-20020a17090264d000b0016a12fab6c2sm1083870pli.307.2022.06.24.01.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 01:03:27 -0700 (PDT) From: Visuwesh To: Jean Louis Subject: Re: bug#56183: 29.0.50; read-from-minibuffer does not result with default value References: <86zgi2k0ch.fsf@protected.rcdrun.com> Date: Fri, 24 Jun 2022 13:33:16 +0530 In-Reply-To: <86zgi2k0ch.fsf@protected.rcdrun.com> (Jean Louis's message of "Fri, 24 Jun 2022 10:05:34 +0300") Message-ID: <87edzemqt7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56183 Cc: 56183@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 24, 2022] Jean Louis wrote: > How I understand the "default" is that it should be the value > that function gives as result in case when user does not write > anything else, hits enter. > > However, it does not work this way with `read-from-minibuffer', > so I will file bug report. > > (read-from-minibuffer "Your name: " nil nil nil nil "Jean") =E2=87=92 "" > 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 =E2=80=98read=E2=80=99 if READ is non-nil and the u= ser 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. Try (read-from-minibuffer "Your name: " nil nil t nil "Jean") instead. > However, in this function it does work the expected way: > > (completing-read "Your name: " '("Jean" "Emmanuel" "Adebayo") nil nil nil= nil "Jean") =E2=87=92 "Jean" > > (completing-read "Your name: " '("Jean" "Emmanuel" "Adebayo") nil nil nil= nil "Adebayo") =E2=87=92 "Adebayo" > > > > In GNU Emacs 29.0.50 (build 10, x86_64-pc-linux-gnu, X toolkit, cairo ver= sion 1.17.6, Xaw3d scroll bars) > of 2022-06-18 built on protected.rcdrun.com > Repository revision: 99577312f569e22f05a4d0960cc881ff46d4dc3a > Repository branch: master > Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 > System Description: Parabola GNU/Linux-libre > > Configured using: > 'configure --with-x-toolkit=3Dlucid' > > Configured features: > ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG > JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY > PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS > WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB > > Important settings: > value of $LC_ALL: en_US.UTF-8 > value of $LANG: de_DE.UTF-8 > value of $XMODIFIERS: @im=3Dexwm-xim > locale-coding-system: utf-8-unix > > Major mode: Lisp Interaction > > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > eldoc-mode: t > show-paren-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > line-number-mode: t > indent-tabs-mode: t > transient-mark-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny > dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg > rfc6068 epg-config gnus-util text-property-search time-date seq gv > subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs > cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils > iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks > lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd > tool-bar dnd fontset image regexp-opt fringe tabulated-list replace > newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar > rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock > font-lock syntax font-core term/tty-colors frame minibuffer nadvice > simple cl-generic indonesian philippine cham georgian utf-8-lang > misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms > cp51932 hebrew greek romanian slovak czech european ethiopic indian > cyrillic chinese composite emoji-zwj charscript charprop case-table > epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button > loaddefs faces cus-face macroexp files window text-properties overlay > sha1 md5 base64 format env code-pages mule custom widget keymap > hashtable-print-readable backquote threads dbusbind inotify lcms2 > dynamic-setting system-font-setting font-render-setting cairo x-toolkit > xinput2 x multi-tty make-network-process emacs) > > Memory information: > ((conses 16 47056 8487) > (symbols 48 6255 3) > (strings 32 17744 2189) > (string-bytes 1 558767) > (vectors 16 12163) > (vector-slots 8 172412 13460) > (floats 8 22 38) > (intervals 56 246 0) > (buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 05:21:20 2022 Received: (at 56183) by debbugs.gnu.org; 24 Jun 2022 09:21:20 +0000 Received: from localhost ([127.0.0.1]:40865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4fVA-0004lx-DL for submit@debbugs.gnu.org; Fri, 24 Jun 2022 05:21:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4fV8-0004li-Gh for 56183@debbugs.gnu.org; Fri, 24 Jun 2022 05:21:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=JAJ0NK3GZcutWc0qQRQ/InuXGMdrQ8vcyLkbPCMWCNY=; b=jyoNWhgrXgWnD1JtrmunujGt3f LaA2m9XeT36wXEi7UXAW7RA0kOkKJhvdW9za0f1RdKIMC9COlHoMGXionuYLESWAoq+mAWg2tPaos fNXnKZh0OZCO4owmLo37PXWsYnqRkg2yUNNZS6Scn9Yh0W2NAHZSowNrx7c1gRYws7J4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4fUz-0008IE-1T; Fri, 24 Jun 2022 11:21:11 +0200 From: Lars Ingebrigtsen To: Visuwesh Subject: Re: bug#56183: 29.0.50; read-from-minibuffer does not result with default value References: <86zgi2k0ch.fsf@protected.rcdrun.com> <87edzemqt7.fsf@gmail.com> X-Now-Playing: Coil's _Heartworms_: "Heartworms" Date: Fri, 24 Jun 2022 11:21:07 +0200 In-Reply-To: <87edzemqt7.fsf@gmail.com> (Visuwesh's message of "Fri, 24 Jun 2022 13:33:16 +0530") Message-ID: <87fsjus9h8.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Visuwesh 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 defaul [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56183 Cc: 56183@debbugs.gnu.org, Jean Louis X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Visuwesh 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 =E2=80=98read=E2=80=99 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 strin= g. > > so everything works as expected. Yup. So I'm closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 05:21:25 2022 Received: (at control) by debbugs.gnu.org; 24 Jun 2022 09:21:25 +0000 Received: from localhost ([127.0.0.1]:40868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4fVE-0004mF-KP for submit@debbugs.gnu.org; Fri, 24 Jun 2022 05:21:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4fVB-0004lm-L0 for control@debbugs.gnu.org; Fri, 24 Jun 2022 05:21:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9GeYtz5Zp7HrnKdfFy+z3U9Rj+HY40Ht0VSJySfzmlE=; b=dI+SvrGstJxIEegY48YrOEukQ5 fkc0Ggpl3fimG0Nozhi9qMv3KROHFsdn2HpmhginajSDb+pPVm1VmFiNebZXUXM+U8w9XSCr4wKbG j1fsFIpeIn+XpRI8mFkj62KPTAgKm1hrHoK56dnkxhxBU/zi0Dk9TXe6Wea03bbYM+O0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4fV3-0008IL-IR for control@debbugs.gnu.org; Fri, 24 Jun 2022 11:21:15 +0200 Date: Fri, 24 Jun 2022 11:21:13 +0200 Message-Id: <87edzes9h2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56183 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 56183 notabug close 56183 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 56183 notabug close 56183 quit From unknown Mon Aug 18 11:17:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 Jul 2022 11:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator