[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: Follow convention for reading with the minibuffer.
From: |
Richard M. Stallman |
Subject: |
Re: Patch: Follow convention for reading with the minibuffer. |
Date: |
Fri, 09 Sep 2005 08:50:48 -0400 |
I guess the current format of the default buffer prompt was easier
to implement. Finding an appropriate place in the given prompt to
insert the default value is not a trivial task to do in C.
This suggests a simple solution: define a convention whereby the
prompt string for use with `b' and `B' specifies where to insert the
default. The convention could be "use %s", and the insertion would be
done with `format'. This is an incompatible change, in principle, but
I think no real uses will ever break.
If there is no %s in the prompt, it can add the default at the end,
just as it does now.
Does anyone see a problem with this simple solution?
Re: Patch: Follow convention for reading with the minibuffer., Emilio Lopes, 2005/09/11
Re: Patch: Follow convention for reading with the minibuffer., Juri Linkov, 2005/09/29