rgheck wrote:
Here's why I'm unhappy with the patch. It's simple in a way: We have a
vector of commands to execute rather than just one---that was the
first problem. So now you could do something like:
lyx -x "file-open /tmp/branchTest.lyx" -x "buffer-end" -x
"break-paragraph" -x "self-insert This is so cool!"
with the expected results.
By the way, this reminds me to tell you that we have
LFUN_COMMAND_SEQUENCE to avoid repetitive '-x' option. In your example
that would be:
lyx -x "command-sequence file-open /tmp/branchTest.lyx; buffer-end;
break-paragraph; self-insert This is so cool!"
Abdel.