In the emacsclient documentation, an example EDITOR setting is:
EDITOR="emacsclient --alternate-editor emacs +%d %s"
How can the %d and %s be used? I understand that + starts at the specified line and the %s is the file name to edit, but what program replaces %d and %s the values?
For example, if subversion tried to kick of $EDITOR
, emacs will edit 3 files: +%d
, %s
, and the target file. Is there any program that replaces these %d and %s with the next two arguments? Is the emacs documentation just incorrect? Why wouldn't you just set EDITOR
to `emacsclient --alternate-editor emacs
?