Mercurial > emacs
annotate src/m/ibmrt-aix.h @ 82975:590114f9753d gnus-5_10-pre-merge-josefsson
2004-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-agent.el (gnus-agent-restore-gcc): Use ^ and regexp-quote.
* gnus-sum.el (gnus-newsgroup-variables): Doc fix (tiny change).
From Helmut Waitzmann <Helmut.Waitzmann@web.de>.
* gnus-agent.el (gnus-agent-regenerate-group): Activate the group
when the group's active is not available.
* gnus-art.el (article-hide-headers): Refer to the values for
gnus-ignored-headers and gnus-visible-headers in the summary
buffer since a user may have set them as group parameters.
(gnus-article-next-page): Fix the way to find a real end-of-buffer
(tiny change). From YAGI Tatsuya <ynyaaa@ybb.ne.jp>.
(gnus-article-read-summary-keys): Restore new window-start and
hscroll to summary window.
(gnus-prev-page-map): Remove duplicated one.
* gnus-cite.el (gnus-cite-ignore-quoted-from): New user option.
(gnus-cite-parse): Ignore quoted envelope From_. Suggested by
Karl Chen <quarl@nospam.quarl.org> and Reiner Steib
<Reiner.Steib@gmx.de>.
* gnus-cus.el (gnus-agent-cat-prepare-category-field): Replace
pp-to-string with gnus-pp-to-string.
* gnus-eform.el (gnus-edit-form): Replace pp with gnus-pp.
* gnus-group.el (gnus-group-make-kiboze-group): Replace pp with
gnus-pp.
* gnus-msg.el (gnus-setup-message): Ignore an article copy while
parsing gnus-posting-styles when the message is not for replying.
(gnus-summary-resend-message-edit): Call mime-to-mml. Suggested
by Hiroshi Fujishima <pooh@nature.tsukuba.ac.jp>.
(gnus-debug): Replace pp with gnus-pp.
* gnus-score.el (gnus-score-save): Replace pp with gnus-pp.
* gnus-spec.el (gnus-update-format): Replace pp-to-string with
gnus-pp-to-string.
* gnus-sum.el (gnus-read-header): Don't remove a header for the
parent article of a sparse article in the thread hashtb. From
Stefan Wiens <s.wi@gmx.net>.
* gnus-util.el (gnus-bind-print-variables): New macro.
(gnus-prin1): Use it.
(gnus-prin1-to-string): Use it.
(gnus-pp): New function.
(gnus-pp-to-string): New function.
* gnus.el: Don't make unnecessary *Group* buffer when loading.
* mail-source.el (mail-source-touch-pop): Doc fix.
* message.el (message-mode): Don't modify paragraph-separate there.
(message-setup-fill-variables): Add mml tags to paragraph-start
and paragraph-separate. Suggested by Andrew Korty <ajk@iu.edu>.
(message-smtpmail-send-it): Doc fix.
(message-exchange-point-and-mark): Don't activate region if it was
inactive. Suggested by Hiroshi Fujishima
<pooh@nature.tsukuba.ac.jp> and Jesper Harder <harder@ifa.au.dk>.
* mm-decode.el (mm-save-part): Bind enable-multibyte-characters to
t while entering a file name using the mm-with-multibyte macro.
Suggested by Hiroshi Fujishima <pooh@nature.tsukuba.ac.jp>.
* mm-encode.el (mm-content-transfer-encoding-defaults): Use
qp-or-base64 for the application/* types.
(mm-safer-encoding): Consider 7bit is safe.
* mm-util.el (mm-with-multibyte-buffer): New macro.
(mm-with-multibyte): New macro.
* mm-view.el (mm-inline-render-with-function): Use multibyte
buffer; decode html source by charset.
* nndoc.el (nndoc-type-alist): Improve regexp for article-begin,
add generate-head-function and generate-article-function to the
rfc822-forward entry.
(nndoc-forward-type-p): Recognize envelope From_.
(nndoc-rfc822-forward-generate-article): New function.
(nndoc-rfc822-forward-generate-head): New function.
From David Hedbor <dhedbor@real.com>.
* nnmail.el (nnmail-split-lowercase-expanded): New user option.
(nnmail-expand-newtext): Lowercase expanded entries if
nnmail-split-lowercase-expanded is non-nil.
* score-mode.el (gnus-score-pretty-print): Replace pp with gnus-pp.
* webmail.el (webmail-debug): Replace pp with gnus-pp.
* gnus-art.el (gnus-article-wash-html-with-w3m): Bind
w3m-safe-url-regexp as the value for mm-w3m-safe-url-regexp; use
w3m-minor-mode-map instead of mm-w3m-local-map-property.
(gnus-mime-save-part-and-strip): Use mm-complicated-handles
instead of mm-multiple-handles.
(gnus-mime-delete-part): Ditto.
* mm-decode.el (mm-multiple-handles): Recognize a string as a mime
handle, as well as a list.
(mm-complicated-handles): Former definition of mm-multiple-handles.
* mm-view.el (mm-w3m-mode-map): Remove.
(mm-w3m-local-map-property): Remove.
(mm-w3m-cid-retrieve-1): Call itself recursively. Suggested by
ARISAWA Akihiro <ari@mbf.sphere.ne.jp>.
(mm-w3m-cid-retrieve): Simplify.
(mm-inline-text-html-render-with-w3m): Decode html source by
charset; check META tags only when charsets are not specified in
headers; specify charset to w3m-region; use w3m-minor-mode-map
instead of mm-w3m-local-map-property.
author | Reiner Steib <Reiner.Steib@gmx.de> |
---|---|
date | Tue, 31 Aug 2004 14:47:59 +0000 |
parents | 695cf19ef79e |
children | 23a17af379b1 375f2633d815 |
rev | line source |
---|---|
446 | 1 /* RTPC AIX machine/system dependent defines |
44601
4be8406ebef9
Don't define HAVE_ALLOCA, C_ALLOCA and STACK_DIRECTION, now set by autoconf.
Andreas Schwab <schwab@suse.de>
parents:
29793
diff
changeset
|
2 Copyright (C) 1988, 1999, 2002 Free Software Foundation, Inc. |
446 | 3 |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
3699 | 8 the Free Software Foundation; either version 2, or (at your option) |
446 | 9 any later version. |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GNU Emacs; see the file COPYING. If not, write to | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
446 | 20 |
21 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
22 /* The following line tells the configuration script what sort of |
446 | 23 operating system this machine is likely to run. |
24 USUAL-OPSYS="usg5-2-2" */ | |
25 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
26 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
27 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
28 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
29 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
30 |
446 | 31 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
32 * group of arguments and treat it as an array of the arguments. */ | |
33 | |
34 #define NO_ARG_ARRAY | |
35 | |
36 /* Now define a symbol for the cpu type, if your compiler | |
37 does not define it automatically. */ | |
38 | |
39 #ifndef IBMAIX | |
40 #define IBMAIX | |
41 #endif | |
42 | |
43 /* Use type int rather than a union, to represent Lisp_Object */ | |
44 /* This is desirable for most machines. */ | |
45 | |
46 #define NO_UNION_TYPE | |
47 | |
48 /* No load average information appears in the AIX kernel. VRM has this | |
49 info, and if anyone desires they should fix fns.c to get it out of VRM */ | |
50 | |
51 /* Define CANNOT_DUMP on machines where unexec does not work. | |
52 Then the function dump-emacs will not be defined | |
53 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
54 | |
55 /* #define CANNOT_DUMP */ | |
56 | |
57 /* Define addresses, macros, change some setup for dump */ | |
58 | |
59 #undef COFF | |
60 #define NO_REMAP | |
61 #undef static | |
62 /* Since NO_REMAP, problem with statics doesn't exist */ | |
63 | |
64 #define TEXT_START 0x10000000 | |
65 #define TEXT_END 0 | |
66 #define DATA_START 0x20000000 | |
67 #define DATA_END 0 | |
68 | |
69 /* The data segment in this machine always starts at address 0x20000000. | |
70 An address of data cannot be stored correctly in a Lisp object; | |
71 we always lose the high bits. We must tell XPNTR to add them back. */ | |
72 | |
73 #define DATA_SEG_BITS 0x20000000 | |
74 | |
75 #define N_BADMAG(x) BADMAG(x) | |
76 #define N_TXTOFF(x) A_TEXTPOS(x) | |
77 #define N_SYMOFF(x) A_SYMPOS(x) | |
78 #define A_TEXT_OFFSET(HDR) sizeof(HDR) | |
79 #define ADJUST_EXEC_HEADER \ | |
80 unexec_text_start += sizeof(hdr); \ | |
81 unexec_data_start = ohdr.a_dbase | |
82 #undef ADDR_CORRECT | |
83 #define ADDR_CORRECT(x) ((int)(x)) | |
84 | |
85 /* This is the offset of the executable's text, from the start of the file. */ | |
86 | |
87 #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) | |
88 | |
89 /* AIX has PTYs, so define here, along with macros needed to make them work. */ | |
90 | |
91 #define HAVE_PTYS | |
92 #define PTY_ITERATION for (i=0; i<256; i++) | |
93 #define PTY_NAME_SPRINTF sprintf (ptyname, "/dev/ptc%d", i); | |
94 | |
95 #define PTY_TTY_NAME_SPRINTF \ | |
96 { /* Check that server side not already open */ \ | |
97 if ((ioctl (*ptyv, PTYSTATUS, 0) & 0xFFFF) != 0) \ | |
98 { \ | |
26089
1a4c3573a216
* m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now.
Paul Eggert <eggert@twinsun.com>
parents:
16221
diff
changeset
|
99 emacs_close (*ptyv); \ |
446 | 100 continue; \ |
101 } \ | |
102 /* And finally to be sure we can open it later */ \ | |
103 sprintf (ptyname, "/dev/pts%d", i); \ | |
104 signal (SIGHUP,SIG_IGN); \ | |
105 } /* ignore hangup at process end */ | |
106 | |
107 /* TIOCNOTTY doesn't occur on AIX, but the rest | |
108 of the conditionalized code in process.c does | |
109 the right thing if we fake this out. */ | |
110 #define TIOCNOTTY IOCTYPE | |
111 | |
112 /* AIX has IPC. It also has sockets, and either can be used for client/server. | |
113 I would suggest the client/server code be changed to use HAVE_SOCKETS rather | |
16221 | 114 than BSD_SYSTEM as the conditional if sockets provide any advantages. */ |
446 | 115 |
116 #define HAVE_SYSVIPC | |
117 | |
118 /* AIX has sockets */ | |
119 | |
120 #define HAVE_SOCKETS | |
121 /* #define SKTPAIR */ /* SKTPAIR works, but what is advantage over pipes? */ | |
122 | |
123 /* Specify the font for X to use. */ | |
124 | |
125 #define X_DEFAULT_FONT "Rom14.500" | |
126 | |
127 /* Here override various assumptions in ymakefile */ | |
128 | |
129 /* On AIX 2.2.1, use these definitions instead | |
130 #define C_SWITCH_MACHINE -I/usr/include -Nn2000 | |
131 #define LIBS_MACHINE -lX -lrts | |
132 */ | |
133 | |
134 #define C_SWITCH_MACHINE -I/usr/include -I/usr/include/bsd -Nn2000 | |
135 #define LIBS_MACHINE -lXMenu -lX -lsock -lbsd -lrts | |
136 | |
137 #define OBJECTS_MACHINE hftctl.o | |
138 #define START_FILES /lib/crt0.o | |
139 /* -lXMenu, -lX must precede -lsock, -lbsd */ | |
140 #define LD_SWITCH_MACHINE -n -T0x10000000 -K -e start | |
141 | |
142 #if 0 /* I refuse to promulgate a recommendation that would make | |
143 users unable to debug - RMS. */ | |
144 /* delete the following line to foil optimization, enable debugging */ | |
145 #define C_DEBUG_SWITCH -O | |
146 #endif | |
147 | |
148 | |
149 /* Setup to do some things BSD way - these won't work previous to AIX 2.1.2 */ | |
150 | |
151 #include </usr/include/bsd/BSDtoAIX.h> | |
152 #define BSTRING | |
153 | |
8892 | 154 /* AIX utimes allegedly causes SIGSEGV. */ |
155 #undef HAVE_UTIMES /* override configuration decision */ | |
446 | 156 |
157 /* AIX defines FIONREAD, but it does not work. */ | |
158 #define BROKEN_FIONREAD | |
3458 | 159 |
160 /* rocky@watson.ibm.com says this is needed. */ | |
161 #define HAVE_FTIME | |
52401 | 162 |
163 /* arch-tag: eea85307-0ca9-4a9c-a4f6-89fad7591d28 | |
164 (do not change this comment) */ |