From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy) Date: Tue, 25 Aug 2020 16:00:13 -0400 Message-ID: References: <871ui48di4.fsf@mail.jurta.org> <878se2aox0.fsf@gnus.org> <87imd669dh.fsf@gnus.org> <875z961u2l.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13879"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , Dani Moncayo , Stefan Kangas , 12443@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 25 22:01:13 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 1kAf85-0003Sp-3m for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Aug 2020 22:01:13 +0200 Original-Received: from localhost ([::1]:46806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAf84-00082h-4I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Aug 2020 16:01:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAf7u-00080W-O1 for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 16:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAf7u-00031z-Az for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 16:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAf7u-0002Gx-9m for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 16:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Aug 2020 20:01: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.15983856258681 (code B ref 12443); Tue, 25 Aug 2020 20:01:02 +0000 Original-Received: (at 12443) by debbugs.gnu.org; 25 Aug 2020 20:00:25 +0000 Original-Received: from localhost ([127.0.0.1]:36190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAf7J-0002Fx-AQ for submit@debbugs.gnu.org; Tue, 25 Aug 2020 16:00:25 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:41844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAf7G-0002Fg-Q4 for 12443@debbugs.gnu.org; Tue, 25 Aug 2020 16:00:23 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1C84D1002CF; Tue, 25 Aug 2020 16:00:17 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 63AD7100283; Tue, 25 Aug 2020 16:00:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1598385615; bh=4lGFXUr/gueNF2lPX9oI2C59AArT8ctyJsDWA/wn1Ko=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ENDp7v8DKpI+eqH9n1KnC3J+OfCe/VAUel8ma8k/53gmLKcHIwJENZI0Nh0xdGBFh bYHTxtMia99xFoRj39+KZe+gzEfecllYqhSQVGo5MQD5rjgd1gRmqrADnyjjWEJy11 uiHvUNUz0dwLL/D64DUBR5XsUYZYp9hvbH+s3lZxNQU7B7M4CkiArrndW38N4u1GTr Rcd+YPogoYe5B1yFLqQ1w959123/+TnJ6yuH+PBrXi+/92EuQrpKvjxbL9ZPgm12xT n/xCJ8oU+b5uKZCVIXP2IEqetHzKzyERffblVkXJNQuv0dqk7szK+tPtyT4DAeONq6 FxpFIuU3BH9eA== Original-Received: from alfajor (unknown [45.72.246.108]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 244C2120263; Tue, 25 Aug 2020 16:00:15 -0400 (EDT) In-Reply-To: <875z961u2l.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 25 Aug 2020 21:23:46 +0300") 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:186349 Archived-At: > that would allow easier replacement of 'format' with 'gettext' later: > > (setq from-coding (read-coding-system > (format-prompt (gettext "Recode filename %s from" > filename) > default-coding) > default-coding)) Couldn't `format-prompt` do the `gettext` internally? Stefan