annotate src/=mach2.h @ 20112:6e6838a12511

The summary of the following changes: (1) Make all coding systems (including aliases and subsidiaries) directly have coding-spec vector in `coding-system' property. (2) Properties of a coding system (except for `coding-system' and `eol-type') is embeded in PLIST slot of coding-spec vector. (coding-spec-plist-idx): Initialize to 3. (coding-system-spec-ref): Deleted. (coding-system-spec): Moved from src/coding.c. (coding-system-type): Adjusted for the above change. (coding-system-mnemonic): Likewise. (coding-system-doc-string): Likewise. (coding-system-flags): Likewise. (coding-system-eol-type): Likewise. (coding-system-category): Likewise. (coding-system-get, coding-system-put, coding-system-category): New functions. (coding-system-base): Moved from mule-util.el and adjusted for the above change. (coding-system-parent): Make it obsolete alias of coding-system-base. (make-subsidiary-coding-system): Adjusted for the above change. Update coding-system-list and coding-system-alist. (make-coding-system): Likewise. (set-buffer-file-coding-system): Typo in doc-string fixed. (after-insert-file-set-buffer-file-coding-system): Change enable-multibyte-characters only when find-new-buffer-file-coding-system returns non-nil value. (find-new-buffer-file-coding-system): Adjusted for the abobe change.
author Kenichi Handa <handa@m17n.org>
date Tue, 21 Oct 1997 10:47:35 +0000
parents 7be0f0a02725
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2621
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* Definitions for Emacs running on Mach version 2 (non-kernelized system).
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2 Copyright (C) 1990 Free Software Foundation, Inc.
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 This file is part of GNU Emacs.
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
3699
7be0f0a02725 Updated GPL version to 2.
Jim Blandy <jimb@redhat.com>
parents: 2621
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
2621
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 any later version.
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 GNU General Public License for more details.
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20 #include "bsd4-3.h"
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 /* SYSTEM_TYPE should indicate the kind of system you are using.
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 It sets the Lisp variable system-type. We'll need to undo the bsd one. */
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 #undef SYSTEM_TYPE
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 #define SYSTEM_TYPE "next-mach"
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 #define LD_SWITCH_SYSTEM -X -noseglinkedit
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 /* Don't use -lc on the NeXT. */
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 #define LIB_STANDARD -lsys_s
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #define LIB_MATH -lm
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 #define environ _environ
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
36 #define START_FILES pre-crt0.o
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37 #define UNEXEC unexnext.o
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39 /* start_of_text isn't actually used, so make it compile without error. */
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40 #define TEXT_START 0
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
41 /* This seems to be right for end_of_text, but it may not be used anyway. */
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42 #define TEXT_END get_etext ()
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43 /* This seems to be right for end_of_data, but it may not be used anyway. */
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44 #define DATA_END get_edata ()
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46 /* Defining KERNEL_FILE causes lossage because sys/file.h
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 stupidly gets confused by it. */
40bed0333cd3 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 #undef KERNEL_FILE