Bug#718422: elvis: "-c open" at startup fails to start in "open mode"
The man pages state the "-c <command>" should act like
issuing ":command" after the first buffer has been opened.
However, starting elvis with
bash$ elvis -c open myfile.txt
doen't actually switch to "open mode" like
bash$ elvis myfile.txt
does. I've tried it with "+open", "-c :open", and "+:open",
none of which switch to open mode in the same way as
manually executing the ":open" ex command.
Either the docs need to be updated to reflect what can/can't
be issued as an ex command, or elvis should be updated to
actually perform as advertised in the docs.
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages elvis depends on:
ii elvis-common 2.2.0-11.1
ii libc6 2.13-38
ii libncurses5 5.9-10
ii libx11-6 2:1.5.0-1+deb7u1
ii libxft2 2.3.1-1
ii libxpm4 1:3.5.10-1
elvis recommends no packages.
Versions of packages elvis suggests:
pn elvis-tools <none>
-- no debconf information