https://github.com/blutsvente/em
A Linux (C-shell) wrapper script for launching Emacs/emacsclient/XEmacs/gnuclient
https://github.com/blutsvente/em
Last synced: 3 months ago
JSON representation
A Linux (C-shell) wrapper script for launching Emacs/emacsclient/XEmacs/gnuclient
- Host: GitHub
- URL: https://github.com/blutsvente/em
- Owner: blutsvente
- License: apache-2.0
- Created: 2016-01-05T16:15:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-11-30T08:03:55.000Z (over 3 years ago)
- Last Synced: 2025-01-12T05:27:01.977Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# em.csh
A Linux (C-shell) wrapper script for launching XEmacs/gnuclientStarts either XEmacs (on current host) or gnuclient, depending on whether there is
already an XEmacs process; this is determined by looking for the process or a tag file (.gnuhost)
in user's home directory.
With -n option, starts a new XEmacs process, skipping the gnuclient functionality..cshrc setup: gnuclient requires GNU_SECURE to be set. I recommend the following your .cshrc file:
setenv GNU_SECURE $HOME/.gnu_secure_file
if ( ! -e $GNU_SECURE ) then
touch $GNU_SECURE >> /dev/null
endif
grep `hostname` $GNU_SECURE >> /dev/null
if ( $status ) then
echo $HOST >> $GNU_SECURE
endifUsage: em.csh [-n] [file(s)]
Note: within the script you might want to adjust values for variables XEMACS/XEMACS_OPTIONS/GNUCLIENT
to suit your environment. If IGNORE_LOCAL_XEMACS_PROCESS is set to 0, and the .gnuhost tag file
is missing, gnuclient tries to connect to the local running XEmacs process (if there is one).# em.sh
Wrapper script for Emacs and emacsclient.Starts either Emacs (on current host) or emacsclient, depending on whether there is
already an Emacs process; this is determined by looking for the process or a tag file (.emacshost)
in user's home directory.
With -n option, starts a new Emacs process, skipping the emacsclient functionality.
With -d commands are only printed, not executedUsage: em.sh [-n] [-d] [emacs-option(s)] [file(s)]