annotate tests/gutter-test.el @ 578:190b164ddcac
[xemacs-hg @ 2001-05-25 11:26:50 by ben]
device-msw.c, eldap.c, emodules.c, hpplay.c, process-unix.c, sound.h, tooltalk.c, win32.c: Revert Martin's attempted compile-warnings fix. It does fix
the warnings, but not the right way. We are trying to eliminate
the raw use of `char' and `unsigned char' absolutely everywhere.
There is never an occasion to reintroduce these.
buffer.h: Instead, we fix these macros so they don't care about the type of
their lvalues. We already do this for the non-C-string
equivalents of these, and it's correct because it should be OK to
pass in an SBufbyte *, for example. In any case, we do not need
any type-correctness checking here -- errors will be caught for
sure as soon as we remove the -Wno-sign-compare switch.
mule-charset.c: Use invalid_argument, not generic signal_error (Qerror, ).
alloc.c, chartab.c, console-gtk.c, console-msw.c, console-stream.c, console-stream.h, console-tty.c, console-tty.h, console-x.c, console.c, console.h, device-x.c, device.c, elhash.c, eval.c, faces.c, faces.h, fns.c, glyphs.c, glyphs.h, gui.c, gui.h, lisp.h, lread.c, nt.c, objects-gtk.c, objects-gtk.h, objects-msw.c, objects-tty.c, objects-x.c, objects.c, process-unix.c, rangetab.c, search.c, specifier.c, toolbar.c, window.c, window.h:
Rename Error_behavior to Error_Behavior, to be consistent with
general naming practices (Lisp_Object, Char_Binary, etc.).
author |
ben |
date |
Fri, 25 May 2001 11:27:01 +0000 |
parents |
abe6d1db359e |
children |
42375619fa45 |
rev |
line source |
442
|
1 (setq str "Hello\nAgain")
|
|
2 (setq str-ext (make-extent 0 5 str))
|
398
|
3 (set-extent-begin-glyph
|
442
|
4 str-ext
|
398
|
5 (make-glyph [xpm :file "../etc/xemacs-icon.xpm"]))
|
442
|
6 (set-extent-property str-ext 'mouse-face 'highlight)
|
398
|
7
|
442
|
8 (setq str2 "Hello\n")
|
|
9 (setq str2-ext (make-extent 0 1 str2))
|
398
|
10 (set-extent-begin-glyph
|
442
|
11 str2-ext
|
398
|
12 (make-glyph
|
|
13 [button :width 5 :height 1
|
|
14 :face modeline-mousable
|
442
|
15 :callback (set-specifier bottom-gutter-visible-p '(str2))
|
398
|
16 :descriptor "ok" :selected t]))
|
|
17
|
442
|
18 (set-specifier bottom-gutter-height 'autodetect)
|
|
19 (set-specifier bottom-gutter-border-width 2)
|
|
20
|
|
21 (set-gutter-element
|
|
22 bottom-gutter 'str
|
|
23 (make-glyph
|
|
24 [layout :orientation vertical
|
|
25 :justify left :margin-width 4
|
|
26 :items ([string :data "Fontifying glyphs.c..."]
|
|
27 [layout :orientation horizontal
|
|
28 :items
|
|
29 ([progress-gauge :value 0 :pixel-height 24
|
|
30 :pixel-width 250 :descriptor
|
|
31 "Progress"]
|
|
32 [button :pixel-height 24
|
|
33 :descriptor " Stop "
|
|
34 :callback (quote quit)])])]))
|
|
35
|
|
36 (set-gutter-element bottom-gutter 'str2 str2)
|
|
37 (set-gutter-element-visible-p bottom-gutter-visible-p 'str t)
|
|
38 (set-gutter-element-visible-p bottom-gutter-visible-p 'str2 t)
|
|
39
|