[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsi
From: |
Lars Ingebrigtsen |
Subject: |
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy) |
Date: |
Tue, 25 Aug 2020 21:12:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Juri Linkov <juri@jurta.org> writes:
>> (setq from-coding (read-coding-system
>> (format-prompt "Recode filename %s"
>> default-coding filename)
>> default-coding))
>
> Simpler would be to format arguments separately:
>
> (setq from-coding (read-coding-system
> (format-prompt (format "Recode filename %s from"
> filename)
> default-coding)
> default-coding))
Yeah, but that's longer and more awkward, isn't it?
> 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))
I don't think we have to have gettexting in mind, because that's never
gonna happen. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/08/25
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Stefan Kangas, 2020/08/25
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Stefan Monnier, 2020/08/25
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/08/25
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Drew Adams, 2020/08/25
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Stefan Kangas, 2020/08/25
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Juri Linkov, 2020/08/25
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy),
Lars Ingebrigtsen <=
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Stefan Monnier, 2020/08/25
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/08/26
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Juri Linkov, 2020/08/27
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/08/28
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Stefan Monnier, 2020/08/28
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/08/30
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/08/28