Re: [bugs] Allow using :x instead of :wq

On Mon, 22 Oct 2018 at 00:03:18, Lars Henriksen wrote:
> I'm wondering why. The generic command (:) to me looks like a deprecated
> interface that is neither documented nor maintained and should be removed.

It is both documented and maintained. Press the help key binding for
details.

> 
> As an example, if you have changed several items and then leave calcurse
> with ':q', your work is lost.

That is expected. Well, kind of expected at least. If you use the exit
key binding, those changes are lost as well. You can exit with :wq to
save and exit.

It seems like auto save is not working with :q --- we should either fix
or document that. To me, it seems like a good idea to be able to exit
*without* making changes, even if auto save is enabled (in case you
screwed up). Not sure whether having :q do that is the best idea,
though.

> 
> The few supported actions (quit, save and help) are better done with the
> dedicated commands.

There are things which cannot be done using "dedicated commands", such
as the :help interface.

Regards,
Lukas

Links