Mercurial > hg > xemacs-beta
annotate lisp/gtk-glyphs.el @ 5582:873d7425c1ad
Change integer to fixnum in a few places where it wasn't possible mechanically.
src/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
Do a couple of non-mechanical things that would otherwise have
been included in the last change.
* data.c:
* data.c (Ftype_of):
Return Qfixnum for fixnums, not Qinteger.
* lisp.h (MOST_POSITIVE_FIXNUM):
Delete an obsolete comment here.
man/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* internals/internals.texi (Top):
* internals/internals.texi (Authorship of XEmacs):
* internals/internals.texi (Modules for Other Aspects of the Lisp Interpreter and Object System):
* internals/internals.texi (Introduction to Writing C Code):
* internals/internals.texi (Working with Lisp Objects):
* internals/internals.texi (Adding Global Lisp Variables):
* internals/internals.texi (The XEmacs Object System (Abstractly Speaking)):
* internals/internals.texi (How Lisp Objects Are Represented in C):
* internals/internals.texi (Allocation of Objects in XEmacs Lisp):
* internals/internals.texi (Introduction to Allocation):
* internals/internals.texi (GCPROing):
* internals/internals.texi (mark_object):
* internals/internals.texi (sweep_bit_vectors_1):
* internals/internals.texi (Fixnums and Characters):
* internals/internals.texi (Future Work -- Unicode):
Say fixnum rather than integer when specifically talking about
fixed-width Lisp integers.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 09 Oct 2011 10:39:09 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
462 | 1 ;;; gtk-glyphs.el --- Support for glyphs in Gtk |
2 | |
3 ;; Copyright (C) 1994, 1997 Free Software Foundation, Inc. | |
4 | |
5 ;; Author: Kirill M. Katsnelson <kkm@kis.ru> | |
6 ;; Maintainer: XEmacs Development Team | |
7 ;; Keywords: extensions, internal, dumped | |
8 | |
9 ;; This file is part of XEmacs. | |
10 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
11 ;; XEmacs is free software: you can redistribute it and/or modify it |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
12 ;; under the terms of the GNU General Public License as published by the |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
13 ;; Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
14 ;; option) any later version. |
462 | 15 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
16 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
17 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
18 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
19 ;; for more details. |
462 | 20 |
21 ;; You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
462
diff
changeset
|
22 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
462 | 23 |
24 ;;; Synched up with: Not in FSF. | |
25 | |
26 ;;; Commentary: | |
27 | |
28 ;; This file contains temporary definitions for 'gtk glyphs. | |
29 ;; Since there currently is no image support, the glyps are defined | |
30 ;; TTY-style. This file has to be removed or reworked completely | |
31 ;; when we have images. | |
32 | |
33 ;; This file is dumped with XEmacs. | |
34 | |
35 ;;; Code: | |
36 | |
37 (progn | |
38 (if (featurep 'gtk) | |
39 (set-console-type-image-conversion-list | |
40 'gtk | |
41 `(,@(if (featurep 'xpm) '(("\\.xpm\\'" [xpm :file nil] 2))) | |
42 ("\\.xbm\\'" [xbm :file nil] 2) | |
43 ,@(if (featurep 'xpm) '(("\\`/\\* XPM \\*/" [xpm :data nil] 2))) | |
44 ,@(if (featurep 'xface) '(("\\`X-Face:" [xface :data nil] 2))) | |
45 ,@(if (featurep 'gif) '(("\\.gif\\'" [gif :file nil] 2) | |
46 ("\\`GIF8[79]" [gif :data nil] 2))) | |
47 ,@(if (featurep 'jpeg) '(("\\.jpe?g\\'" [jpeg :file nil] 2))) | |
48 ;; all of the JFIF-format JPEG's that I've seen begin with | |
49 ;; the following. I have no idea if this is standard. | |
50 ,@(if (featurep 'jpeg) '(("\\`\377\330\377\340\000\020JFIF" | |
51 [jpeg :data nil] 2))) | |
52 ,@(if (featurep 'png) '(("\\.png\\'" [png :file nil] 2))) | |
53 ,@(if (featurep 'png) '(("\\`\211PNG" [png :data nil] 2))) | |
54 ("" [autodetect :data nil] 2)))) | |
55 (cond ((featurep 'xpm) | |
56 (set-glyph-image frame-icon-glyph | |
57 (concat "../etc/" "xemacs-icon3.xpm") | |
58 'global 'gtk) | |
59 (set-glyph-image xemacs-logo | |
60 (concat "../etc/" | |
61 (if emacs-beta-version | |
62 "xemacs-beta.xpm" | |
63 "xemacs.xpm")) | |
64 'global 'gtk)) | |
65 (t | |
66 (set-glyph-image xemacs-logo | |
67 "XEmacs <insert spiffy graphic logo here>" | |
68 'global 'gtk))) | |
69 (set-glyph-image octal-escape-glyph "\\") | |
70 (set-glyph-image control-arrow-glyph "^") | |
71 (set-glyph-image invisible-text-glyph " ...") | |
72 ) | |
73 | |
74 ;;; gtk-glyphs.el ends here |