annotate lib-src/emacs.csh @ 5066:545ec923b4eb

add documentation on keywords to cl*.el -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * cl-seq.el: * cl-seq.el (reduce): * cl-seq.el (fill): * cl-seq.el (replace): * cl-seq.el (remove*): * cl-seq.el (remove-if): * cl-seq.el (remove-if-not): * cl-seq.el (delete*): * cl-seq.el (delete-if): * cl-seq.el (delete-if-not): * cl-seq.el (remove-duplicates): * cl-seq.el (delete-duplicates): * cl-seq.el (substitute): * cl-seq.el (substitute-if): * cl-seq.el (substitute-if-not): * cl-seq.el (nsubstitute): * cl-seq.el (nsubstitute-if): * cl-seq.el (nsubstitute-if-not): * cl-seq.el (find): * cl-seq.el (find-if): * cl-seq.el (find-if-not): * cl-seq.el (position): * cl-seq.el (position-if): * cl-seq.el (position-if-not): * cl-seq.el (count): * cl-seq.el (count-if): * cl-seq.el (count-if-not): * cl-seq.el (mismatch): * cl-seq.el (search): * cl-seq.el (sort*): * cl-seq.el (stable-sort): * cl-seq.el (merge): * cl-seq.el (member*): * cl-seq.el (member-if): * cl-seq.el (member-if-not): * cl-seq.el (assoc*): * cl-seq.el (assoc-if): * cl-seq.el (assoc-if-not): * cl-seq.el (rassoc*): * cl-seq.el (rassoc-if): * cl-seq.el (rassoc-if-not): * cl-seq.el (union): * cl-seq.el (nunion): * cl-seq.el (intersection): * cl-seq.el (nintersection): * cl-seq.el (set-difference): * cl-seq.el (nset-difference): * cl-seq.el (set-exclusive-or): * cl-seq.el (nset-exclusive-or): * cl-seq.el (subsetp): * cl-seq.el (subst-if): * cl-seq.el (subst-if-not): * cl-seq.el (nsubst): * cl-seq.el (nsubst-if): * cl-seq.el (nsubst-if-not): * cl-seq.el (sublis): * cl-seq.el (nsublis): * cl-seq.el (tree-equal): * cl-seq.el (cl-tree-equal-rec): * cl.el: * cl.el (pushnew): * cl.el (adjoin): * cl.el (subst): Document the keywords to the various sequence/list functions.
author Ben Wing <ben@xemacs.org>
date Mon, 22 Feb 2010 21:17:47 -0600
parents 376386a54a3c
children 06dd936cde16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 # This defines a csh command named `edit' which resumes an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 # existing Emacs or starts a new one if none exists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 # One way or another, any arguments are passed to Emacs to specify files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 # (provided you have loaded `resume.el').
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 # - Michael DeCorte
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 # These are the possible values of $whichjob
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 # 1 = new ordinary emacs (the -nw is so that it doesn't try to do X)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 # 2 = resume emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 # 3 = new emacs under X (-i is so that you get a reasonable icon)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 # 4 = resume emacs under X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 # 5 = new emacs under suntools
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 # 6 = resume emacs under suntools
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 # 7 = new emacs under X and suntools - doesn't make any sense, so use X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 # 8 = resume emacs under X and suntools - doesn't make any sense, so use X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 set EMACS_PATTERN="^\[[0-9]\] . Stopped ............ $EMACS"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 alias edit 'set emacs_command=("emacs -nw \!*" "fg %emacs" "emacs -i \!* &"\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 "emacsclient \!* &" "emacstool \!* &" "emacsclient \!* &" "emacs -i \!* &"\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 "emacsclient \!* &") ; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 jobs >! $HOME/.jobs; grep "$EMACS_PATTERN" < $HOME/.jobs >& /dev/null; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 @ isjob = ! $status; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 @ whichjob = 1 + $isjob + $?DISPLAY * 2 + $?WINDOW_PARENT * 4; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 test -S ~/.emacs_server && emacsclient \!* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]'