Show
Ignore:
Timestamp:
03/21/07 09:51:40 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/etc/emacs.csh

    r4190 r4196  
    1 # Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007 
    2 # Free Software Foundation, Inc. 
    3 
    4 # This defines a csh command named `edit' which resumes an 
    5 # existing Emacs or starts a new one if none exists. 
    6 # One way or another, any arguments are passed to Emacs to specify files 
    7 # (provided you have loaded `resume.el'). 
    8 # - Michael DeCorte 
     1### emacs.csh 
    92 
    10 # These are the possible values of $whichjob 
    11 # 1 = new ordinary emacs (the -nw is so that it doesn't try to do X) 
    12 # 2 = resume emacs 
    13 # 3 = new emacs under X (-i is so that you get a reasonable icon) 
    14 # 4 = resume emacs under X 
    15 # 5 = new emacs under suntools 
    16 # 6 = resume emacs under suntools 
    17 # 7 = new emacs under X and suntools - doesn't make any sense, so use X 
    18 # 8 = resume emacs under X and suntools - doesn't make any sense, so use X 
     3## Add legal notice if non-trivial amounts of code are added. 
     4 
     5## Author: Michael DeCorte 
     6 
     7### Commentary: 
     8 
     9## This defines a csh command named `edit' which resumes an 
     10## existing Emacs or starts a new one if none exists. 
     11## One way or another, any arguments are passed to Emacs to specify files 
     12## (provided you have loaded `resume.el'). 
     13 
     14## These are the possible values of $whichjob 
     15## 1 = new ordinary emacs (the -nw is so that it doesn't try to do X) 
     16## 2 = resume emacs 
     17## 3 = new emacs under X (-i is so that you get a reasonable icon) 
     18## 4 = resume emacs under X 
     19## 5 = new emacs under suntools 
     20## 6 = resume emacs under suntools 
     21## 7 = new emacs under X and suntools - doesn't make any sense, so use X 
     22## 8 = resume emacs under X and suntools - doesn't make any sense, so use X 
    1923set EMACS_PATTERN="^\[[0-9]\]  . Stopped ............ $EMACS" 
    2024 
     
    2832 || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]' 
    2933 
    30 #COPYING PERMISSIONS: 
    31 # 
    32 #    Permission is hereby granted, free of charge, to any person obtaining 
    33 #    a copy of this file, to deal in the file without restriction, including 
    34 #    without limitation the rights to use, copy, modify, merge, publish, 
    35 #    distribute, sublicense, and/or sell copies of the file, and to 
    36 #    permit persons to whom the file is furnished to do so, subject to 
    37 #    the following condition: 
    38 # 
    39 #    The above copyright notice and this permission notice shall be 
    40 #    included in all copies or substantial portions of the file. 
    41  
    42  
    4334# arch-tag: 433d58df-15b9-446f-ad37-f0393e3a23d4