annotate lib-src/emacs.csh @ 2536:7edc33019aa4
[xemacs-hg @ 2005-01-31 20:01:49 by ben]
Documentation updates
GETTING.GNU.SOFTWARE, Makefile.in.in: Delete GETTING.GNU.SOFTWARE from SOURCES.
PROBLEMS: Delete reference to check_cygwin_setup.sh.
Delete stuff that is irrelevant, mislocated or woefully out-of-date.
GNU, SERVICE: Delete.
* ORDERS, ORDERS.EUROPE, ORDERS.JAPAN: Delete.
* CHARSETS, CODINGS: Delete.
* DEBUG, LPF, MORE.STUFF, MOTIVATION: Delete.
aliases.ksh: Delete. (moved to xemacs-builds/steve)
* README.HYPERBOLE, README.OO-BROWSER: Delete.
* chr.png, chrm.png: Move to photos/.
check_cygwin_setup.sh: Delete.
* gnu.xpm, gnu.xbm, sink.xbm: Delete.
* ms-kermit, ms-kermit-7bit: Delete.
TERMS: Delete.
* DISTRIB, FTP, MACHINES, MAILINGLISTS, PACKAGES:
Delete and move to FAQ.
BETA: Delete and move to man/beta.texi.
README: Update.
help.el: Removed.
xemacs/help.texi: Delete references to DISTRIB. Point to FAQ.
xemacs/new.texi: Update sample code for version checking.
xemacs/xemacs.texi: Delete references to DISTRIB. Point directly to web site.
Update stuff referring to GNU Emacs. Delete references to Win-Emacs.
Makefile: Add beta.texi and built files.
xemacs-faq.texi: Major overhaul of section 1. Add mailing list info, update
downloading info, add info on CVS, etc.
xemacs.mak: Also copy BUGS, README, COPYING and Installation.
author |
ben |
date |
Mon, 31 Jan 2005 20:01:50 +0000 |
parents |
376386a54a3c |
children |
06dd936cde16 |
rev |
line source |
0
|
1 # This defines a csh command named `edit' which resumes an
|
|
2 # existing Emacs or starts a new one if none exists.
|
|
3 # One way or another, any arguments are passed to Emacs to specify files
|
|
4 # (provided you have loaded `resume.el').
|
|
5 # - Michael DeCorte
|
|
6
|
|
7 # These are the possible values of $whichjob
|
|
8 # 1 = new ordinary emacs (the -nw is so that it doesn't try to do X)
|
|
9 # 2 = resume emacs
|
|
10 # 3 = new emacs under X (-i is so that you get a reasonable icon)
|
|
11 # 4 = resume emacs under X
|
|
12 # 5 = new emacs under suntools
|
|
13 # 6 = resume emacs under suntools
|
|
14 # 7 = new emacs under X and suntools - doesn't make any sense, so use X
|
|
15 # 8 = resume emacs under X and suntools - doesn't make any sense, so use X
|
|
16 set EMACS_PATTERN="^\[[0-9]\] . Stopped ............ $EMACS"
|
|
17
|
|
18 alias edit 'set emacs_command=("emacs -nw \!*" "fg %emacs" "emacs -i \!* &"\
|
|
19 "emacsclient \!* &" "emacstool \!* &" "emacsclient \!* &" "emacs -i \!* &"\
|
|
20 "emacsclient \!* &") ; \
|
|
21 jobs >! $HOME/.jobs; grep "$EMACS_PATTERN" < $HOME/.jobs >& /dev/null; \
|
|
22 @ isjob = ! $status; \
|
|
23 @ whichjob = 1 + $isjob + $?DISPLAY * 2 + $?WINDOW_PARENT * 4; \
|
|
24 test -S ~/.emacs_server && emacsclient \!* \
|
|
25 || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]'
|