How do I start emacs with a command and its option, for example, I want emacs start with entering gdb mi mode, otherwise it does not go to the gdb mode during startup.
The following works:
Or using evaluate:
emacs gdb -e gdb
But I want to enter the mi mode and this does not work:
emacs gdb -i=mi
emacs -e gdb -i=mi
Unfortunately I just want to enter mi mode directly during startup.