Questions tagged [invocation]
The invocation tag has no summary.
7 questions
0 votes
1 answer
508 views
script to Ediff two files in running gui Emacs?
I'm putting together a presentation that involves some live demos in the terminal. In one of the demos, I run a shell script that takes an input file, runs it through an Awk script, and generates a ...
4 votes
1 answer
1k views
From an external script, open file and run some simple expression whether emacs already running or not
Context / initial need (works fine) I wrote and use a script that generates a file and uses emacsclient to edit it in an existing or new instance of emacs, in a new window. Similar to Set up Emacs ...
13 votes
3 answers
5k views
Launch emacs with ediff-files (of ediff-directories) from command line
I would like to launch emacs to ediff either files or directories. For example, I'd like something like: emacs -f ediff-files file1 file2 But when I do this, it doesn't take file1 and file2 as the ...
2 votes
1 answer
114 views
Behavior of '-e' option during emacs invocation
There command-line option -e behaves similar to the --eval option, but yet it is not the same. For example, of these two invocations, only the first one works: emacs --eval '(global-linum-mode)' ...