On Thu, Jun 9, 2022, at 8:37 PM, Luciano wrote: > By the way, git seems to interpret the EDITOR variable in a way > consistent with C-x C-e, while the pass program as I said seems to just > execute $EDITOR, like fc. I wonder if POSIX leaves room for > interpretation here.
It does, insofar as it barely concerns itself with EDITOR at all. It only specifies that the "crontab", "fc", "mailx", and "more" utilities use EDITOR and advises other applications to avoid using it in a conflicting manner. (The descriptions of the aforementioned utilities are not all that detailed vis-à-vis EDITOR and could reasonably be interpreted as allowing either method, but it doesn't really matter as far as other utilities are concerned.) -- vq