Mercurial > emacs
annotate src/s/sol2-4.h @ 54754:fe0b01c2265f
(Info-history): Doc fix.
(Info-history-list): New var.
(info-xref): Change magenta4 to blue, remove bold for dark and
light backgrounds, change bold to underline for non-color classes.
(info-xref-visited): New face.
(Info-fontify-visited-nodes): New custom.
(Info-hide-note-references): Add new value `hide'. Doc fix.
(Info-reference-name): New var.
(Info-selection-hook): New custom.
(Info-edit-mode-hook): New var.
(Info-find-file): New fun.
(Info-find-node): Move part of code to Info-find-file.
(Info-find-node-2): Add anchors to Info-history-list. Move point
to the place with the reference name if name is defined.
(Info-select-node): Add current node to Info-history-list.
(Info-goto-node): Switch to *info* from *info-history* *info-toc*.
(Info-search-whitespace-regexp): New custom.
(Info-search-case-fold): New var.
(Info-search): Add "case-sensitively" to the prompt. Use
Info-search-whitespace-regexp. Set Info-search-case-fold.
(Info-search-case-sensitively, Info-search-next): New fun.
(Info-up): Move point to the menu item of the current node.
(Info-history): New fun. Add *info-history* to same-window-buffer-names.
(Info-toc): New fun. Add *info-toc* to same-window-buffer-names.
(Info-insert-toc): New fun.
(Info-build-toc): New fun.
(Info-follow-reference): Add new arg `fork'. Doc fix.
Replace [ \n\t]* by [ \n\t]+ in the *Note regexp. For references
with the same name prefer the reference closest to point.
(Info-next-reference): Replace * by + in the *Note regexp.
Add regexp for http:// and ftp://. Skip the *Note prefix.
(Info-prev-reference): Replace * by + in the *Note regexp.
Add regexp for http:// and ftp://. Skip the *Note prefix.
(Info-follow-nearest-node): Add new arg `fork'.
(Info-try-follow-nearest-node): Add new arg `fork'.
Call browse-url for http:// and ftp:// references.
Set Info-reference-name for index entries.
(Info-mode-menu): Add menu items for Info-search-case-sensitively,
Info-search-next, Info-history, Info-toc, clone-buffer.
(Info-menu-update): Replace * by + in the *Note regexp.
(Info-mode): Add documentation for Info-history, Info-toc,
Info-search-case-sensitively, Info-search-next, clone-buffer.
(Info-fontify-menu-headers): Remove fun. Move code to
Info-fontify-node.
(Info-fontify-node): Add docstring. Add local vars
fontify-visited-p and not-fontified-p. If not-fontified-p is t
then fontify header line, titles, menu headers, http and ftp
references, refill paragraphs. If not-fontified-p is t or
fontify-visited-p is t then fontify cross references, menu items.
Fontify menu headers. Fontify http and ftp references. Change
regexp for cross references to require whitespace after *Note, add
matching groups for file and node names. Remove hack for quote.
Use display property for Info-hide-note-references=t. Use fifth
or fourth match for help-echo. Display visited nodes in a
different face. Unhide file names of external references. Unhide
newlines. Display visited menu items in a different face.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 08 Apr 2004 03:42:59 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 cb1bfa1dca4f |
rev | line source |
---|---|
8451 | 1 /* Handle Solaris 2.4. */ |
2 | |
8475
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
3 #include "sol2-3.h" |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
4 |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
5 #define SOLARIS2_4 |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
6 |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
7 /* Get rid of -traditional and let const really do its thing. */ |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
8 |
8451 | 9 #ifdef __GNUC__ |
8475
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
10 #undef C_SWITCH_SYSTEM |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
11 #undef const |
8451 | 12 #endif /* __GNUC__ */ |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
13 |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
14 #undef LD_SWITCH_SYSTEM |
18763
8f719bb518cc
(XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents:
15456
diff
changeset
|
15 |
23139
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
16 /* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet. |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
17 Instead, dynamically check whether USE_MOTIF expands to something. */ |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
18 #define NOT_USING_MOTIF { set x USE_MOTIF; test "$$2" = "USE_MOTIF"; } |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
19 |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
20 #ifndef __GNUC__ |
23139
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
21 #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib LD_SWITCH_X_SITE_AUX \ |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
22 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib'` |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
23 #else /* GCC */ |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
24 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
25 has anything in it. It can be empty. |
18763
8f719bb518cc
(XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents:
15456
diff
changeset
|
26 This works ok in temacs. */ |
8f719bb518cc
(XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents:
15456
diff
changeset
|
27 #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \ |
23139
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
28 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \ |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
29 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'` |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
30 #endif /* GCC */ |
15118
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
31 |
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
32 /* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files |
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
33 are in this directory on Solaris 2.4. */ |
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
34 #define C_SWITCH_X_SYSTEM -I/usr/dt/include |
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
35 |
52401 | 36 /* arch-tag: 6f0de37b-cfda-427a-a5ae-b83ed54aaae7 |
37 (do not change this comment) */ |