changeset 110308:74362068fc07

Remove some obsolete files from etc/. * emacs.bash, emacs.csh, ms-kermit: Remove obsolete files (use emacsclient -a instead of the first two).
author Glenn Morris <rgm@gnu.org>
date Fri, 10 Sep 2010 19:06:11 -0700
parents 5495085c9b6c
children 14a601b405fc
files etc/ChangeLog etc/emacs.bash etc/emacs.csh etc/ms-kermit
diffstat 4 files changed, 5 insertions(+), 274 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ChangeLog	Fri Sep 10 18:58:42 2010 -0700
+++ b/etc/ChangeLog	Fri Sep 10 19:06:11 2010 -0700
@@ -1,3 +1,8 @@
+2010-09-11  Glenn Morris  <rgm@gnu.org>
+
+	* emacs.bash, emacs.csh, ms-kermit: Remove obsolete files (use
+	emacsclient -a instead of the first two).
+
 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
 	* NEWS: Mention the new libxml2 functions.
--- a/etc/emacs.bash	Fri Sep 10 18:58:42 2010 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-### emacs.bash --- contact/resume an existing Emacs, or start a new one
-
-## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-##   Free Software Foundation, Inc.
-
-## Author: Noah Friedman
-
-## This file is part of GNU Emacs.
-
-## GNU Emacs is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-
-## GNU Emacs is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-
-## You should have received a copy of the GNU General Public License
-## along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
-
-### Commentary:
-
-## This file is obsolete.  Use emacsclient -a instead.
-
-## This defines a bash command named `edit' which contacts/resumes an
-## existing emacs or starts a new one if none exists.
-
-## One way or another, any arguments are passed to emacs to specify files
-## (provided you have loaded `resume.el').
-
-## This function assumes the emacs program is named `emacs' and is somewhere
-## in your load path.  If either of these is not true, the most portable
-## (and convenient) thing to do is to make an alias called emacs which
-## refers to the real program, e.g.
-##
-##        alias emacs=/usr/local/bin/gemacs
-
-function edit ()
-{
- local windowsys="${WINDOW_PARENT+sun}"
-
- windowsys="${windowsys:-${DISPLAY+x}}"
-
- if [ -n "${windowsys:+set}" ]; then
-    # Do not just test if these files are sockets.  On some systems
-    # ordinary files or fifos are used instead.  Just see if they exist.
-    if [ -e "${HOME}/.emacs_server" -o -e "/tmp/emacs${UID}/server" ]; then
-       emacsclient "$@"
-       return $?
-    else
-       echo "edit: starting emacs in background..." 1>&2
-    fi
-
-    case "${windowsys}" in
-      x ) (emacs "$@" &) ;;
-      sun ) echo "unsupported window system"; return 1 ;;
-    esac
- else
-    if jobs %emacs 2> /dev/null ; then
-       echo "$(pwd)" "$@" >| ${HOME}/.emacs_args && fg %emacs
-    else
-       emacs "$@"
-    fi
- fi
-}
-
-
-# arch-tag: 1e1b74b9-bf2c-4b23-870f-9eebff7515cb
-### emacs.bash ends here
--- a/etc/emacs.csh	Fri Sep 10 18:58:42 2010 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-### emacs.csh
-
-## Add legal notice if non-trivial amounts of code are added.
-
-## Author: Michael DeCorte
-
-### Commentary:
-
-## This file is obsolete.  Use emacsclient -a instead.
-
-## This defines a csh command named `edit' which resumes an
-## existing Emacs or starts a new one if none exists.
-## One way or another, any arguments are passed to Emacs to specify files
-## (provided you have loaded `resume.el').
-
-## These are the possible values of $whichjob
-## 1 = new ordinary emacs (the -nw is so that it doesn't try to do X)
-## 2 = resume emacs
-## 3 = new emacs under X (-i is so that you get a reasonable icon)
-## 4 = resume emacs under X
-set EMACS_PATTERN="^\[[0-9]\]  . Stopped ............ $EMACS"
-
-alias edit 'set emacs_command=("emacs -nw \!*" "fg %emacs" "emacs -i \!* &"\
- "emacsclient \!* &") ; \
- jobs >! $HOME/.jobs; grep "$EMACS_PATTERN" < $HOME/.jobs >& /dev/null; \
- @ isjob = ! $status; \
- @ whichjob = 1 + $isjob + $?DISPLAY * 2 + $?WINDOW_PARENT * 4; \
- test -S ~/.emacs_server && emacsclient \!* \
- || echo `pwd` \!* >! ~/.emacs_args && eval $emacs_command[$whichjob]'
-
-# arch-tag: 433d58df-15b9-446f-ad37-f0393e3a23d4
--- a/etc/ms-kermit	Fri Sep 10 18:58:42 2010 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,172 +0,0 @@
-;;; The code here is forced by the interface, and is not subject to
-;;; copyright, constituting the only possible expression of the algorithm
-;;; in this format.
-
-;;; This file is designed for an 8-bit connection.
-;;; Use the file ms-7bkermit if you have a 7-bit connection.
-
-;; Meta key mappings for EMACS
-;; By Robert Earl (rearl@watnxt3.ucr.edu)
-;; May 13, 1990
-;;
-;; WARNING:
-;;  requires an 8-bit path to host.  many dialups and lans won't pass the
-;;  eighth bit by default and may require a special command to turn this
-;;  off.  `screen' is known to mask the eighth bit of input as well.
-
-set term controls 8-bit
-set translation key off
-
-;; control keys
-set key \3449 \128	;; m-c-@
-set key \3358 \129	;; m-c-a
-set key \3376 \130	;; m-c-b
-set key \3374 \131	;; m-c-c
-set key \3360 \132	;; m-c-d
-set key \3346 \133	;; m-c-e
-set key \3361 \134	;; m-c-f
-set key \3362 \135	;; m-c-g
-set key \3342 \136	;; m-bs
-set key \3363 \136	;; m-c-h (sends same code as above)
-set key \2469 \137	;; m-tab
-set key \3351 \137	;; m-c-i (same as above)
-set key \3364 \138	;; m-c-j
-set key \3365 \139	;; m-c-k
-set key \3366 \140	;; m-c-l
-;set key \3378 \141	;; m-c-m
-set key \2332 \141	;; m-ret (sends same code as above)
-set key \3377 \142	;; m-c-n
-set key \3352 \143	;; m-c-o
-set key \3353 \144	;; m-c-p
-set key \3344 \145	;; m-c-q
-set key \3347 \146	;; m-c-r
-set key \3359 \147	;; m-c-s
-set key \3348 \148	;; m-c-t
-set key \3350 \149	;; m-c-u
-set key \3375 \150	;; m-c-v
-set key \3345 \151	;; m-c-w
-set key \3373 \152	;; m-c-x
-set key \3349 \153	;; m-c-y
-set key \3372 \154	;; m-c-z
-
-;; misc keys
-;set key \3354 \155	;; m-c-[
-set key \2305 \155	;; m-esc (sends same as above)
-set key \3371 \156	;; m-c-\
-set key \3355 \157	;; m-c-]
-set key \3453 \158	;; m-c-^
-set key \3458 \159	;; m-c-_
-
-;; \160 is conspicuously missing here--
-;; alt-spc doesn't generate a distinct scan code...
-;; neither do shift-spc and ctrl-spc.
-;; no idea why.
-
-set key \2936 \161	;; m-!
-set key \2856 \162	;; m-"
-set key \2938 \163	;; m-#
-set key \2939 \164	;; m-$
-set key \2940 \165	;; m-%
-set key \2942 \166	;; m-&
-set key \2344 \167	;; m-'
-set key \2944 \168	;; m-(
-set key \2945 \169	;; m-)
-set key \2943 \170	;; m-*
-set key \2947 \171	;; m-+
-set key \2355 \172	;; m-,
-set key \2434 \173	;; m--
-set key \2356 \174	;; m-.
-set key \2357 \175	;; m-/
-
-;; number keys
-set key \2433 \176	;; m-0
-set key \2424 \177	;; m-1
-set key \2425 \178
-set key \2426 \179
-set key \2427 \180
-set key \2428 \181
-set key \2429 \182
-set key \2430 \183
-set key \2431 \184
-set key \2432 \185	;; m-9
-
-set key \2855 \186	;; m-:
-set key \2343 \187	;; m-;
-set key \2867 \188	;; m-<
-set key \2435 \189	;; m-=
-set key \2868 \190	;; m->
-set key \2869 \191	;; m-?
-set key \2937 \192	;; m-@
-
-;; shifted A-Z
-set key \2846 \193	;; m-A
-set key \2864 \194
-set key \2862 \195
-set key \2848 \196
-set key \2834 \197
-set key \2849 \198
-set key \2850 \199
-set key \2851 \200
-set key \2839 \201
-set key \2852 \202
-set key \2853 \203
-set key \2854 \204
-set key \2866 \205
-set key \2865 \206
-set key \2840 \207
-set key \2841 \208
-set key \2832 \209
-set key \2835 \210
-set key \2847 \211
-set key \2836 \212
-set key \2838 \213
-set key \2863 \214
-set key \2833 \215
-set key \2861 \216
-set key \2837 \217
-set key \2860 \218	;; m-Z
-
-set key \2330 \219	;; m-[
-set key \2347 \220	;; m-\
-set key \2331 \221	;; m-]
-set key \2941 \222	;; m-^
-set key \2946 \223	;; m-_
-set key \2345 \224	;; m-`
-
-;; lowercase a-z
-set key \2334 \225	;; m-a
-set key \2352 \226
-set key \2350 \227
-set key \2336 \228
-set key \2322 \229
-set key \2337 \230
-set key \2338 \231
-set key \2339 \232
-set key \2327 \233
-set key \2340 \234
-set key \2341 \235
-set key \2342 \236
-set key \2354 \237
-set key \2353 \238
-set key \2328 \239
-set key \2329 \240
-set key \2320 \241
-set key \2323 \242
-set key \2335 \243
-set key \2324 \244
-set key \2326 \245
-set key \2351 \246
-set key \2321 \247
-set key \2349 \248
-set key \2325 \249
-set key \2348 \250	;; m-z
-
-;; more shifted misc. keys
-set key \2842 \251	;; m-{
-set key \2859 \252	;; m-|
-set key \2843 \253	;; m-}
-set key \2857 \254	;; m-~
-set key \2318 \255	;; m-del
-
-
-;;; arch-tag: 93cefb0a-2b07-4d09-ae78-4d807b15645d