[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: open file before running poke script
|
From: |
Jose E. Marchesi |
|
Subject: |
Re: Feature request: open file before running poke script |
|
Date: |
Sat, 06 Feb 2021 14:39:26 +0100 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> It is clear that -s and --script are misleading. Any suggestion for a
>> better one?
>>
>
> A few suggestions:
>
> - What about `-s` and `--source`?
> - Remove the `-s`/`--script` and change the `-c`/`--command` to
> accept files, e.g., `-c @/path/to/cmdfile'.
> - Replace `-s`/`--script` with `-C`/`--commands`.
I think changing --script to --source is perfect.
We could also add a dot-command .source to load command files.
> I think the documentation should be more explicit that these are
> commands for the `poke` command-line program and are different from
> Poke sources (e.g., the `-l` option).
What about this:
@item -s
@itemx --source=@var{file}
Load @var{file} as a command file. Any number of @samp{-s} options may
be specified, and they are loaded in the given order. @xref{Command
Files}.