Mercurial > emacs
annotate msdos/sed3.inp @ 83043:78a785f205ea
Added -w option to emacsclient for opening a new X frame.
lib-src/emacsclient.c (window_system): New variable.
(frame): Renamed to tty for consistency with the option name.
(longopts, print_help_and_exit): Added -w option. (Suggested by Ami
Fischman <ami at fischman dot org>.
(decode_options): Initialize display to $DISPLAY. Handle -w option.
(main): Implement the -w option. Changed to a more elaborate protocol
between Emacs and emacsclient, in preparation to suspend support.
lisp/server.el (server-frames): New variable.
(server-handle-delete-frame): New function.
(server-start): Add it to delete-frame-functions.
(server-select-display): Don't make the new frame invisible.
(server-with-errors-reported): New macro for brevity.
(server-process-filter): Implement the "-window-system" command.
Use server-with-errors-reported. Fixed regexp for +line:column syntax.
Use the new protocol.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-83
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 19 Feb 2004 23:55:51 +0000 |
parents | 695cf19ef79e |
children | 3723093a21fd 375f2633d815 |
rev | line source |
---|---|
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
1 # -sed3.inp------------------------------------------------------------- |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
2 # Configuration script for lib-src/makefile |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
3 # ---------------------------------------------------------------------- |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
4 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
5 # Copyright (C) 1993, 1994, 1995 |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
6 # Free Software Foundation, Inc. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
8 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
10 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
11 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
12 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
14 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
18 # ---------------------------------------------------------------------- |
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
19 /^# DIST: /d |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
20 /^SHELL *=/s/^/# / |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
21 /^CC *=/s/=.*$/=gcc/ |
7407
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
22 # Actually, here we should patch in the exact version number, but only |
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
23 # [ce]tags uses it. Don't pass it. This is more update-resistant. |
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
24 /-DVERSION=/s/-DVERSION="\\"\${version}\\""// |
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
25 /^configname *=/s/=.*$/=msdos/ |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
26 /^archlibdir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
27 /^bindir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
28 /^libdir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
29 /^srcdir *=/s!=.*$!=.! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
30 /^VPATH *=/s!=.*$!=.! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
31 /^CFLAGS *=/s!=.*$!=-O2 -g! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
32 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
33 /^LOADLIBES *=/s!=.*$!=! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
34 /^ALLOCA *=/s!=.*$!=alloca.o! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
35 /^INSTALLABLES/s/emacsclient *// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
36 s!^ \./! go32 ./! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
37 /^UTILITIES=/s/ wakeup// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
38 /^UTILITIES=/s/ movemail// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
39 /^UTILITIES=/s/ emacsserver// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
40 /^UTILITIES=/s/ timer// |
10507
de02c5579c5e
Delete mysterious dot. Add comment to protect blank
Richard M. Stallman <rms@gnu.org>
parents:
10385
diff
changeset
|
41 /^all *:/s/$/ make-docfile/ |
13615
3276c8c1843c
Alter test-distrib to test-dis.
Richard M. Stallman <rms@gnu.org>
parents:
10509
diff
changeset
|
42 s!^ go32 ./test-distrib! go32 ./test-dis! |
10385
7826b6c2b6e8
Use coff2exe on make-docfile, instead of go32 when running it.
Karl Heuer <kwzh@gnu.org>
parents:
7407
diff
changeset
|
43 /-o make-docfile/a\ |
10509
49f3296db01d
Fix sed append command to behave as intended.
Karl Heuer <kwzh@gnu.org>
parents:
10507
diff
changeset
|
44 coff2exe make-docfile |
52401 | 45 |
46 # arch-tag: cac6f5c7-3dbf-4e84-9d0c-44f0126f0ea8 |