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: Fri, 11 Sep 2020 12:11:39 +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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39691"; 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 Fri Sep 11 11:12:09 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 1kGf6H-000ADk-Im for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Sep 2020 11:12:09 +0200 Original-Received: from localhost ([::1]:57382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGf6G-0006bC-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Sep 2020 05:12:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGf6A-0006b3-K3 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 05:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGf6A-0006gA-Ax for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 05:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGf6A-000392-70 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 05:12: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: Fri, 11 Sep 2020 09:12: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.159981551812078 (code B ref 12443); Fri, 11 Sep 2020 09:12:02 +0000 Original-Received: (at 12443) by debbugs.gnu.org; 11 Sep 2020 09:11:58 +0000 Original-Received: from localhost ([127.0.0.1]:42292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGf65-00038k-PZ for submit@debbugs.gnu.org; Fri, 11 Sep 2020 05:11:57 -0400 Original-Received: from mail-lf1-f46.google.com ([209.85.167.46]:32861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGf63-00038U-Az for 12443@debbugs.gnu.org; Fri, 11 Sep 2020 05:11:55 -0400 Original-Received: by mail-lf1-f46.google.com with SMTP id x77so5136301lfa.0 for <12443@debbugs.gnu.org>; Fri, 11 Sep 2020 02:11:55 -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=Uhalqr+INEeTdf/a9Jjr33HPs0NW5PysUcEuEUq5HaE=; b=rZxNCW/PTBSLouaJ2nJQMbwCiMJjmPNYXPv9fD1IEop5+GAIQIpNZWjGi3ZOxWmTWw zFxyo0VJUhwfhgboEwtpSwqp2Zk1UTvbJsjIT/4d5jV+PGzDGteIb5Ru8q3WDkPOE8yP SbgFcOMOAKCegMzYOYMJzjUQwiz/sD+h+lIdkVjqhUwb6NhD/64nbs+4+uj/YvITmgWb sfunpzhoARgMj9kt60EOp2kRKLo7cuH5ZVAMiw3tjSOASmAivRLm6ezDWeF6G+L3v1X1 cTFCKkxLamrFjBpS6yfDx6pTH4w5Ofx7xTUS297lk2Pkwrr+72aBZ9dBmMMrTaHltbo9 BGpA== 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=Uhalqr+INEeTdf/a9Jjr33HPs0NW5PysUcEuEUq5HaE=; b=CIMpZbcb9LQV7rhwwxohxtBYFqkkWebhFKxVE8xQkuFVpxWNe4y+qbIvEPTiR7FpwD 6bYttgr3D0xMlXvBrslnvpSq6tk4mjl8I1Az2eoZhMCRMh6bL38GQxPcI6Ud5hcyaSF2 H2rvyufG6Ca4UGw3rJCfCeLTLZwPvmPGdKI6ZgCgRwCEiMsFhqPpoPGdMXK0Sjs6hTOi uy2WfcCkQRIfjTXJiJRtKubs3XtLTsA+EvbsDQWFE2+PpVNuvX+b95QXpq4wBffmiB4n ePfa0IJEWnLjCL1vPFcq/3KSfZivbF3Mp9XpkoAs/7FBQCOko3v4b7Fj5lKlR4+yZJOJ yahw== X-Gm-Message-State: AOAM532wvjxJFCAS/vO2OHjmy8EHBO+3O9D4iaX+hDuctgzfcg+uvUmb g44WoTl7TkTGjfxVvm3jecaNjXbgOTU= X-Google-Smtp-Source: ABdhPJw9g2AcS1VIKtIbICsApuYGRvrCNnZNX0CrU/FNX32whUIdsCL6dGSSOzvGsiBMoLA3JJa3qA== X-Received: by 2002:a19:8148:: with SMTP id c69mr2064lfd.295.1599815508885; Fri, 11 Sep 2020 02:11:48 -0700 (PDT) Original-Received: from muffinmac (102-26-207-82.ip.ukrtel.net. [82.207.26.102]) by smtp.gmail.com with ESMTPSA id u26sm430260ljd.47.2020.09.11.02.11.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 02:11:47 -0700 (PDT) In-Reply-To: <87imcl7p0k.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 10 Sep 2020 15:14:03 +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:187798 Archived-At: Lars Ingebrigtsen writes: > Juri Linkov writes: > >> It seems this "default" value is needed here only for convenience >> of retrieving it into the minibuffer for editing using the M-n key. > > Ah, right. Is it possible that changes related to this bug leads to broken minibuffer-electric-default-mode? 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".