Mercurial > hg > xemacs-beta
annotate lwlib/lwlib-Xm.h @ 5243:808131ba4a57
Print symbols with ratio-like names and the associated ratios distinctly.
src/ChangeLog addition:
2010-08-15 Aidan Kehoe <kehoea@parhasard.net>
* print.c (print_symbol):
Escape any symbols that look like ratios, in the same way we do
symbols that look like floats or integers. Prevents confusion in
the Lisp reader.
* lread.c (isratio_string): Make this available even on builds
without HAVE_RATIO, so we can print symbols that look like ratios
with the appropriate escapes.
* lisp.h:
Make isratio_string available even if HAVE_RATIO is not defined.
tests/ChangeLog addition:
2010-08-15 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el:
Test that symbols with names that look like ratios are printed
distinctly from the equivalent ratios.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 15 Aug 2010 13:29:10 +0100 |
parents | 98528da0b7fc |
children | ade4c7e2c6cb |
rev | line source |
---|---|
440 | 1 #ifndef INCLUDED_lwlib_Xm_h_ |
2 #define INCLUDED_lwlib_Xm_h_ | |
428 | 3 |
4 #include "lwlib-internal.h" | |
5 | |
450 | 6 extern const widget_creation_entry xm_creation_table []; |
428 | 7 |
8 Widget | |
9 xm_create_dialog (widget_instance* instance); | |
10 | |
11 Widget | |
12 xm_create_label (Widget parent, widget_value* val); | |
13 | |
14 Boolean | |
15 lw_motif_widget_p (Widget widget); | |
16 | |
17 void | |
18 xm_update_one_widget (widget_instance* instance, Widget widget, | |
19 widget_value* val, Boolean deep_p); | |
20 | |
21 void | |
22 xm_update_one_value (widget_instance* instance, Widget widget, | |
23 widget_value* val); | |
24 | |
25 void | |
26 xm_destroy_instance (widget_instance* instance); | |
27 | |
28 void | |
29 xm_set_keyboard_focus (Widget parent, Widget w); | |
30 | |
31 void | |
32 xm_popup_menu (Widget widget, XEvent *event); | |
33 | |
34 void | |
35 xm_pop_instance (widget_instance* instance, Boolean up); | |
36 | |
37 extern Widget first_child (Widget); /* garbage */ | |
38 | |
440 | 39 #endif /* INCLUDED_lwlib_Xm_h_ */ |