From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy) Date: Mon, 14 Sep 2020 11:40:59 +0300 Message-ID: References: <871ui48di4.fsf@mail.jurta.org> <878se2aox0.fsf@gnus.org> <87imd669dh.fsf@gnus.org> <875z961u2l.fsf@mail.linkov.net> <871rjt1uc1.fsf@gnus.org> <878se0gc25.fsf@mail.linkov.net> <87imd2vp1k.fsf@gnus.org> <87sgbv7xtn.fsf@gnus.org> <877dt6er29.fsf@gnus.org> <87363tbe58.fsf@mail.linkov.net> <87wo154cbd.fsf@gnus.org> <87ft7si0fn.fsf@mail.linkov.net> <87v9gogg3s.fsf@gnus.org> <87mu1y6c59.fsf@mail.linkov.net> <87imcl7p0k.fsf@gnus.org> <87een8xyo5.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15233"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Juri Linkov , 12443@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 14 10:42:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHk3y-0003rM-JC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 10:42:14 +0200 Original-Received: from localhost ([::1]:52774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHk3x-000562-MI for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 04:42:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHk3m-00055q-GD for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 04:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHk3m-0004Hw-77 for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 04:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHk3m-0003jp-55 for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 04:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Sep 2020 08:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12443 X-GNU-PR-Package: emacs Original-Received: via spool by 12443-submit@debbugs.gnu.org id=B12443.160007287114303 (code B ref 12443); Mon, 14 Sep 2020 08:42:02 +0000 Original-Received: (at 12443) by debbugs.gnu.org; 14 Sep 2020 08:41:11 +0000 Original-Received: from localhost ([127.0.0.1]:52467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHk2w-0003ic-RV for submit@debbugs.gnu.org; Mon, 14 Sep 2020 04:41:11 -0400 Original-Received: from mail-lj1-f176.google.com ([209.85.208.176]:37805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHk2u-0003iL-Cq for 12443@debbugs.gnu.org; Mon, 14 Sep 2020 04:41:09 -0400 Original-Received: by mail-lj1-f176.google.com with SMTP id n25so17896099ljj.4 for <12443@debbugs.gnu.org>; Mon, 14 Sep 2020 01:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=7fqQ5pebWYBSev/J8ELvaisnR5dnXZXfD9gv9HZn+LQ=; b=sN776JK2e6G2zxx2WZWDlIO8VcB58MmZX2FJ1XCe0DGfe6YFjqHqy4gbnI6aSgijLA c2b52fchMPli2JHLLmBFruxAhPiFHh/68oS9XLj2ed7rIxH6mS0Rzc/94At4/hB9Ut8J pVj/BCBPKIzVVbFUsigO1XDhel6aBolWTZLM7TmmRVDquZWsVuKWQBI2EQzgGR5nXuQu HegwFUKPfuU5pzeB0LpSnqS/sBU5CJ3+uF7WeEHFUDAMxX3fakNIQPeMMU6uq33N1UD7 OM8ukCDBBuEZX93M6VEnjOH/Xpf0MCS/ZbQTbzMt1kgttXhaBzG8ExHeHPZKrvwZeYcq XMmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7fqQ5pebWYBSev/J8ELvaisnR5dnXZXfD9gv9HZn+LQ=; b=YCmLZ8TYuHBFQNhHEJ6tLPLcLk5cc95Se1dXjjCmL/O69LEiUG0qUZBGLGBrKcELx6 4rCjKuZ5aVYmgsWLtiYh1c8P9QWAG0bOeAMdgS0lZTnFFsTkdizkigqGzWYoZhOJ0nCd 1bZ2toSzlHGSOyujAzYCNzJMSD1Cfw2VbDuHypNEoMPXAhFAW+4I/Mm6bV7+LOITaPXf Q21PSMHxzY25TkgK60Lb3xmAV/vSjr58Ck32TwAuatVewIDGkDJI1Vn/w3Knx5fO9Y+d dfjPTCS8jJlYMZEIsvszcURX2IXJSwI5JulFMQuxhImacdRkoeLNGWBGHK/ISDgK/YRg C+qQ== X-Gm-Message-State: AOAM531utzhz4uuph+SduO3cICW5FXWRA9lN63wPT/1UIdSunmQOvnJD WLnODp8bm6bxdztz7nyD8nkyXquDDxE= X-Google-Smtp-Source: ABdhPJyYB2VwQ8OjQbKmd4QLRYjEdwZScA7Gc5Tyboa1Rz5Qb17NmgJG8pltrduHkXzhCTGh/9BCeA== X-Received: by 2002:a2e:a554:: with SMTP id e20mr5181661ljn.458.1600072861834; Mon, 14 Sep 2020 01:41:01 -0700 (PDT) Original-Received: from muffinmac ([91.206.110.141]) by smtp.gmail.com with ESMTPSA id q24sm3280267lfo.149.2020.09.14.01.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 01:41:01 -0700 (PDT) In-Reply-To: <87een8xyo5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 11 Sep 2020 14:53:14 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188031 Archived-At: Lars Ingebrigtsen writes: > Andrii Kolomoiets writes: > >> Code to evaluate: >> >> (custom-set-variables >> '(minibuffer-eldef-shorten-default t)) >> (minibuffer-electric-default-mode) >> (read-string "prompt (default foo): ") >> >> In Emacs 27 prompt looks like "prompt [foo]: ". After input "z" prompt >> will looks like "prompt: z". >> >> In Emacs 28 prompt looks like "prompt (default foo): ". And after input >> "z" prompt will looks like "promptz". > > Yup -- it was 19bff57f609854f257780f20043e96fb2eddc713 that included the > ": " bit in the portion to be replaced. This should now be fixed on the > trunk. Indeed. Thanks! But the 'minibuffer-eldef-shorten-default' variable is still ignored. The "(default ...)" part of the prompt is not shortened to "[...]".