annotate etc/emacs.csh @ 53207:83d9437acbf3

2003-11-30 Kai Grossjohann <kai.grossjohann@gmx.net> Tramp version 2.0.38 released. * tramp.texi (Remote shell setup): Warn of environment variables FRUMPLE if user frumple exists. Suggested by Sven Gabriel <sven.gabriel@imk.fzk.de>. (Configuration): Tramp now chooses base64/uuencode automatically. Update wording accordingly. (Top): More description for the `Default Method' menu entry. (Default Method): Use @code, not @var, for Lisp variables. (Default Method): New subsection `Which method is the right one for me?' Suggested by Christian Kirsch. (Configuration): Pointer to new subsection added. (Default Method): Too many "use" in one sentence. Rephrase. Reported by Christian Kirsch. (Filename Syntax): Old `su' example is probably a left-over from the sm/su method naming. Replace with `ssh', instead. (External transfer methods, Auto-save and Backup): Typo fixes. 2003-11-02 Michael Albinus <Michael.Albinus@alcatel.de> * tramp.texi (all): Harmonize all occurences of @tramp{}. (Top): Mention japanese manual only if flag `jamanual' is set. Insert section `Japanese manual' in menu.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Sun, 30 Nov 2003 18:15:58 +0000
parents 695cf19ef79e
children 3681678d3d86 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
1 # This defines a csh command named `edit' which resumes an
Dave Love <fx@gnu.org>
parents:
diff changeset
2 # existing Emacs or starts a new one if none exists.
Dave Love <fx@gnu.org>
parents:
diff changeset
3 # One way or another, any arguments are passed to Emacs to specify files
Dave Love <fx@gnu.org>
parents:
diff changeset
4 # (provided you have loaded `resume.el').
Dave Love <fx@gnu.org>
parents:
diff changeset
5 # - Michael DeCorte
Dave Love <fx@gnu.org>
parents:
diff changeset
6
Dave Love <fx@gnu.org>
parents:
diff changeset
7 # These are the possible values of $whichjob
Dave Love <fx@gnu.org>
parents:
diff changeset
8 # 1 = new ordinary emacs (the -nw is so that it doesn't try to do X)
Dave Love <fx@gnu.org>
parents:
diff changeset
9 # 2 = resume emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
10 # 3 = new emacs under X (-i is so that you get a reasonable icon)
Dave Love <fx@gnu.org>
parents:
diff changeset
11 # 4 = resume emacs under X
Dave Love <fx@gnu.org>
parents:
diff changeset
12 # 5 = new emacs under suntools
Dave Love <fx@gnu.org>
parents:
diff changeset
13 # 6 = resume emacs under suntools
Dave Love <fx@gnu.org>
parents:
diff changeset
14 # 7 = new emacs under X and suntools - doesn't make any sense, so use X
Dave Love <fx@gnu.org>
parents:
diff changeset
15 # 8 = resume emacs under X and suntools - doesn't make any sense, so use X
Dave Love <fx@gnu.org>
parents:
diff changeset
16 set EMACS_PATTERN="^\[[0-9]\] . Stopped ............ $EMACS"
Dave Love <fx@gnu.org>
parents:
diff changeset
17
Dave Love <fx@gnu.org>
parents:
diff changeset
18 alias edit 'set emacs_command=("emacs -nw \!*" "fg %emacs" "emacs -i \!* &"\
Dave Love <fx@gnu.org>
parents:
diff changeset
19 "emacsclient \!* &" "emacstool \!* &" "emacsclient \!* &" "emacs -i \!* &"\
Dave Love <fx@gnu.org>
parents:
diff changeset
20 "emacsclient \!* &") ; \
Dave Love <fx@gnu.org>
parents:
diff changeset
21 jobs >! $HOME/.jobs; grep "$EMACS_PATTERN" < $HOME/.jobs >& /dev/null; \
Dave Love <fx@gnu.org>
parents:
diff changeset
22 @ isjob = ! $status; \
Dave Love <fx@gnu.org>
parents:
diff changeset
23 @ whichjob = 1 + $isjob + $?DISPLAY * 2 + $?WINDOW_PARENT * 4; \
Dave Love <fx@gnu.org>
parents:
diff changeset
24 test -S ~/.emacs_server && emacsclient \!* \
Dave Love <fx@gnu.org>
parents:
diff changeset
25 || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]'
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25853
diff changeset
26
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25853
diff changeset
27 # arch-tag: 433d58df-15b9-446f-ad37-f0393e3a23d4