Mercurial > emacs
annotate lwlib/lwlib-int.h @ 58556:8ff63943e93e
(bibtex-sort-entry-class)
(bibtex-comment-start): Use defcustom.
(bibtex-entry-field-alist): Use nil if initial content of the
field is undefined. Fix docstring.
(bibtex-parse-keys-timeout, bibtex-autokey-additional-names)
(bibtex-generate-autokey, bibtex-parse-buffers-stealthily)
(bibtex-mode, bibtex-field-list, bibtex-entry-updat)
(bibtex-autofill-entry, bibtex-entry-index, bibtex-next-field):
Fix docstring.
(bibtex-autokey-title-terminators): Use only one regexp.
(bibtex-string-maybe-empty-head): New variable.
(bibtex-remove-delimiters-string): New function.
(bibtex-text-in-field-bounds, bibtex-text-in-string):
Use bibtex-remove-delimiters-string.
(bibtex-progress-message, bibtex-field-left-delimiter)
(bibtex-field-right-delimiter, bibtex-entry-left-delimiter)
(bibtex-entry-right-delimiter, bibtex-search-entry): Use eq.
(bibtex-insert-kill): Rename from `bibtex-insert-current-kill'.
Simplify.
(bibtex-format-entry): Use save-excursion for inherited booktitle.
Use eq and bibtex-remove-delimiters-string. For end markers use
insertion type so that marker stays after inserted text.
(bibtex-autokey-get-names): Return empty string if name is missing.
(bibtex-autokey-demangle-name): Call bibtex-autokey-abbrev before
calling bibtex-autokey-name-case-convert.
(bibtex-autokey-demangle-title):
Call bibtex-autokey-titleword-case-convert. Remove call to
bibtex-autokey-titleword-case-convert from bibtex-autokey-get-title.
(bibtex-global-key-alist, bibtex-read-string-key): New functions.
(bibtex-read-key): New optional arg global.
(bibtex-files-expand): New optional arg force.
(bibtex-complete-string-cleanup): Expansion of abbrev can be absent.
(bibtex-complete-crossref-cleanup): Rename from
bibtex-complete-key-cleanup. Simplify code.
(bibtex-copy-summary-as-kill): Remove arg key. Operate on current entry.
Use looking-at.
(bibtex-button): Add docstring.
(bibtex-entry): Simplify.
(bibtex-make-field): Replace optional arg called-by-yank with more
specific args move and interactive.
(bibtex-end-of-entry): Use forward-sexp.
(bibtex-find-entry-globally): Remove.
(bibtex-find-crossref): Allow for crossref key located in other buffer.
Bound to C-c C-x.
(bibtex-find-entry): New optional args global and display.
(bibtex-find-text): Fix docstring. Remove arg as-if-interactive.
(bibtex-validate): Use arg force of bibtex-files-expand.
(bibtex-clean-entry): Bugfix, clean string entries properly.
Always keep point at beginning of entry.
(bibtex-complete): Bugfix. Handle string entries properly.
Call cleanup functions only if needed.
(bibtex-String): Use bibtex-read-string-key.
(bibtex-url): Use bibtex-remove-delimiters-string. Do not alter
case of replacement text.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 26 Nov 2004 23:24:44 +0000 |
parents | 695cf19ef79e |
children | 9f78501bf1f3 375f2633d815 |
rev | line source |
---|---|
5626 | 1 #ifndef LWLIB_INTERNAL_H |
2 #define LWLIB_INTERNAL_H | |
3 | |
4 #include "lwlib.h" | |
5 | |
29466 | 6 extern char *safe_strdup __P ((const char *)); |
5626 | 7 |
8 typedef struct _widget_instance | |
9 { | |
10 Widget widget; | |
11 Widget parent; | |
12 Boolean pop_up_p; | |
13 struct _widget_info* info; | |
14 struct _widget_instance* next; | |
15 } widget_instance; | |
16 | |
17 typedef struct _widget_info | |
18 { | |
19 char* type; | |
20 char* name; | |
21 LWLIB_ID id; | |
22 widget_value* val; | |
23 Boolean busy; | |
24 lw_callback pre_activate_cb; | |
25 lw_callback selection_cb; | |
26 lw_callback post_activate_cb; | |
27336
397da07a6912
Add prototype for lw_get_widget_instance.
Gerd Moellmann <gerd@gnu.org>
parents:
14018
diff
changeset
|
27 lw_callback highlight_cb; |
5626 | 28 struct _widget_instance* instances; |
29 struct _widget_info* next; | |
30 } widget_info; | |
31 | |
32 typedef Widget | |
5706
75570af32e92
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
33 (*widget_creation_function) (); |
5626 | 34 |
35 typedef struct _widget_creation_entry | |
36 { | |
37 char* type; | |
38 widget_creation_function function; | |
39 } widget_creation_entry; | |
40 | |
41 /* update all other instances of a widget. Can be used in a callback when | |
14018 | 42 a widget has been used by the user */ |
5626 | 43 void |
29466 | 44 lw_internal_update_other_instances __P ((Widget, XtPointer, XtPointer)); |
5626 | 45 |
46 /* get the widget_value for a widget in a given instance */ | |
47 widget_value* | |
29466 | 48 lw_get_widget_value_for_widget __P ((widget_instance *, Widget)); |
5626 | 49 |
29466 | 50 widget_info *lw_get_widget_info __P ((LWLIB_ID)); |
51 widget_instance * lw_get_widget_instance __P ((Widget)); | |
8723 | 52 |
5626 | 53 #endif /* LWLIB_INTERNAL_H */ |
52401 | 54 |
55 /* arch-tag: ae02f67d-ef25-421c-b956-b01a4b0aac76 | |
56 (do not change this comment) */ |