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?
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel