On Wed, Aug 13, 2014 at 10:47 AM, Dufriz <[email protected]> wrote:
> Could you please explain to me the meaning of a mode "prompt", as in the
> following:
>
> - If the @mode headline contains ::, everything following the :: is the
> mode prompt. For example::
>
> @mode abc :: xyz
>
> creates the enter-abc-mode command, but the prompt for the command is xyz.
>
> What is meant by "prompt" here?
The prompt is what is shown in at the top of the Mode tab in the log pane.
An example will make this clear. leoSettings.leo contains this node::
@mode quick-command :: quick command
This creates the enter-quick-command command. When you do, say,
<alt-x>enter-<tab><return>
You will see something like this in the Mode tab::
quick command
convert-blanks B
convert-tabs T
...
So the "prompt" is "quick command". The prompt is important because
it indicates what mode you are in.
HTH.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.