Le 28/02/2017 à 04:50, Scott Kostyshak a écrit :
On Tue, Feb 28, 2017 at 12:47:12AM +0100, Guillaume Munch wrote:
commit a1faa41c839089a9f21323af6540926eae90ec6f
Author: Guillaume Munch <g...@lyx.org>
Date: Mon Feb 27 20:43:11 2017 +0100
buffer-export without argument exports the default format
buffer-export is proposed as a default binding in the preferences so now it
does
what a user expects when binding it to a key.
Thanks for this commit. What do you think of the attached patch that
extends it so that one can export to the default format from the command
line?
Do you agree that, because of how we pass arguments, there is no simple
way to get it to work with -E (see the FIXME in the patch)?
If you think the idea is good, and agree there is no simple way to get
it to work with -E, then I would just remove that part of the patch, and
would document in --help for -E that "default" does not work as
described for -e.
In any case, the user can easily use bash to extend -e to -E on their
own (i.e., they can rename the output file).
I am not sure to understand since I am not familiar with this part of
LyX. But I will push a patch that makes "buffer-export *" synonymous to
buffer-export so that your patch becomes simpler.
Guillaume