annotate lisp/rcompile.el @ 5814:eecc796f374d

Comment changes.
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Feb 1994 05:01:53 +0000
parents 1560c0f4ba84
children 982503548902
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5814
eecc796f374d Comment changes.
Richard M. Stallman <rms@gnu.org>
parents: 5813
diff changeset
1 ;;; rcompile.el Run a compilation on a remote machine
5813
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 ;;; Copyright (C) 1993 Free Software Foundation, Inc.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
5814
eecc796f374d Comment changes.
Richard M. Stallman <rms@gnu.org>
parents: 5813
diff changeset
5 ;; Author: Albert <alon@milcse.rtsg.mot.com>
eecc796f374d Comment changes.
Richard M. Stallman <rms@gnu.org>
parents: 5813
diff changeset
6 ;; Maintainer: FSF
eecc796f374d Comment changes.
Richard M. Stallman <rms@gnu.org>
parents: 5813
diff changeset
7 ;; Created: 1993 Oct 6
eecc796f374d Comment changes.
Richard M. Stallman <rms@gnu.org>
parents: 5813
diff changeset
8 ;; Version: 1.1
eecc796f374d Comment changes.
Richard M. Stallman <rms@gnu.org>
parents: 5813
diff changeset
9 ;; Keywords: tools, processes
5813
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 ;; This file is part of GNU Emacs.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 ;; GNU Emacs is free software; you can redistribute it and/or modify
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 ;; it under the terms of the GNU General Public License as published by
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 ;; the Free Software Foundation; either version 2, or (at your option)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ;; any later version.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 ;; GNU Emacs is distributed in the hope that it will be useful,
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 ;; GNU General Public License for more details.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 ;; You should have received a copy of the GNU General Public License
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 ;; along with GNU Emacs; see the file COPYING. If not, write to
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 ;;; Commentary:
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 ;;; This package is for running a remote compilation and using emacs to parse
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 ;;; the error messages. It works by rsh'ing the compilation to a remote host
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 ;;; and parsing the output. If the file visited at the time remote-compile was
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 ;;; called was loaded remotely (ange-ftp), the host and user name are obtained
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 ;;; by the calling ange-ftp-ftp-name on the current directory. In this case the
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 ;;; next-error command will also ange-ftp the files over. This is achieved
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 ;;; automatically because the compilation-parse-errors function uses
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 ;;; default-directory to build it's file names. If however the file visited was
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 ;;; loaded locally, remote-compile prompts for a host and user and assumes the
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 ;;; files mounted locally (otherwise, how was the visited file loaded).
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 ;;; See the user defined variables section for more info.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 ;;; I was contemplating redefining "compile" to "remote-compile" automatically
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 ;;; if the file visited was ange-ftp'ed but decided against it for now. If you
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 ;;; feel this is a good idea, let me know and I'll consider it again.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 ;;; Installation:
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 ;;; To use rcompile, you also need to give yourself permission to connect to
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 ;;; the remote host. You do this by putting lines like:
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 ;;; monopoly alon
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 ;;; vme33
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 ;;;
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 ;;; in a file named .rhosts in the home directory (of the remote machine).
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 ;;; Be careful what you put in this file. A line like:
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 ;;;
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 ;;; +
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 ;;;
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 ;;; Will allow anyone access to your account without a password. I suggest you
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 ;;; read the rhosts(5) manual page before you edit this file (if you are not
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 ;;; familiar with it already)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 ;;; History:
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 ;;; V1.1 Oct 13 1993 Alon Albert
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 ;;; SYSV support by Jay Finger <finger@mikey.convex.com>
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 ;;; V1.0 Oct 6 1993 Alon Albert
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 ;;; Initial cut.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 ;;; Code:
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 (provide 'rcompile)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 (require 'compile)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 ;;; The following should not be needed.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 ;;; (eval-when-compile (require 'ange-ftp))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 ;;;; user defined variables
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 (defvar remote-compile-rsh-command
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 (if (eq system-type 'usg-unix-v) "remsh" "rsh")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 "*Name of remote shell command: `rsh' for BSD or `remsh' for SYSV.")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 (defvar remote-compile-host nil
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 "*Host for remote compilations.")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 (defvar remote-compile-user nil
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 "User for remote compilations.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 nil means use the value returned by \\[user-login-name].")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 (defvar remote-compile-run-before nil
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 "*Command to run before compilation.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 This can be used for setting up enviroment variables,
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 since rsh does not invoke the shell as a login shell and files like .login
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 \(tcsh\) and .bash_profile \(bash\) are not run.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 nil means run no commands.")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 (defvar remote-compile-prompt-for-host nil
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 "*Non-nil means prompt for host if not available from filename.")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 (defvar remote-compile-prompt-for-user nil
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 "*Non-nil means prompt for user if not available from filename.")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 ;;;; internal variables
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 ;; History of remote compile hosts and users
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 (defvar remote-compile-host-history nil)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 (defvar remote-compile-user-history nil)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 ;;;; entry point
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 ;;;###autoload
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 (defun remote-compile (host user command)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 "Compile the the current buffer's directory on HOST. Log in as USER.
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 See \\[compile]."
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 (interactive
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 (let ((parsed (or (and (featurep 'ange-ftp)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 (ange-ftp-ftp-name default-directory))))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119 host user command prompt)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 (if parsed
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 (setq host (nth 0 parsed)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 user (nth 1 parsed))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 (setq prompt (if (stringp remote-compile-host)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 (format "Compile on host (default %s): "
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 remote-compile-host)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 "Compile on host: ")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 host (if (or remote-compile-prompt-for-host
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 (null remote-compile-host))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 (read-from-minibuffer prompt
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 "" nil nil
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 'remote-compile-host-history)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132 remote-compile-host)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 user (if remote-compile-prompt-for-user
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134 (read-from-minibuffer (format
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 "Compile by user (default %s)"
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136 (or remote-compile-user
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 (user-login-name)))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 "" nil nil
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 'remote-compile-user-history)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 remote-compile-user)))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 (setq command (read-from-minibuffer "Compile command: "
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 compile-command nil nil
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 '(compile-history . 1)))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 (list (if (string= host "") remote-compile-host host)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 (if (string= user "") remote-compile-user user)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 command)))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 (setq compile-command command)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 (cond (user
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 (setq remote-compile-user user))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 ((null remote-compile-user)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 (setq remote-compile-user (user-login-name))))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 (let* ((parsed (and (featurep 'ange-ftp)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 (ange-ftp-ftp-name default-directory)))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 (compile-command
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 (format "%s %s -l %s \"(%scd %s; %s)\""
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 remote-compile-rsh-command
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 host
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 remote-compile-user
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 (if remote-compile-run-before
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160 (concat remote-compile-run-before "; ")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 "")
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162 (if parsed (nth 2 parsed) default-directory)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 compile-command)))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164 (setq remote-compile-host host)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 (save-some-buffers nil nil)
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 (compile-internal compile-command "No more errors")))
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167
1560c0f4ba84 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 ;;; rcompile.el ends here