fer at most, and for exiting a PO buffer properly ;; should offer to close all pending edits. Variable EDITED-FIELDS holds an ;; an list of "slots" of the form: (ENTRY-MARKER EDIT-BUFFER OVERLAY-INFO). ;; To allow simultaneous edition of the comment and the msgstr of an entry, ;; ENTRY-MARKER points to the msgid line if a comment is being edited, or to ;; the msgstr line if the msgstr is being edited. EDIT-BUFFER is the ;; temporary Emacs buffer used to edit the string. OVERLAY-INFO, when not ;; nil, holds an overlay (or if overlays are not supported, a cons of two ;; markers) for this msgid string which became highlighted for the edit. (defvar po-edited-fields) ;; We maintain a set of movable pointers for returning to entries. (defvar po-marker-stack) ;; SEARCH path contains a list of directories where files may be found, ;; in a format suitable for read completion. Each directory includes ;; its trailing slash. PO mode starts with "./" and "../". (defvar po-search-path) ;; The following variables are meaningful only when REFERENCE-CHECK ;; is identical to START-OF-ENTRY, else they should be recomputed. ;; REFERENCE-ALIST contains all known references for the current ;; entry, each list element is (PROMPT FILE LINE), where PROMPT may ;; be used for completing read, FILE is a string and LINE is a number. ;; REFERENCE-CURSOR is a cycling cursor into REFERENCE-ALIST. (defvar po-reference-alist) (defvar po-reference-cursor) (defvar po-reference-check) ;; The following variables are for marking translatable strings in program ;; sources. KEYWORDS is the list of keywords for marking translatable ;; strings, kept in a format suitable for reading with completion. ;; STRING-CONTENTS holds the value of the most recent string found in sources, ;; and when it is not nil, then STRING-BUFFER, STRING-START and STRING-END ;; describe where it is. MARKING-OVERLAY, if not 'nil', holds the overlay ;; which highlight the last found string; for older Emacses, it holds the cons ;; of two markers around the highlighted region. (defvar po-keywords) (defvar po-string-contents) (defvar po-string-buffer) (defvar po-string-start) (defvar po-string-end) (defvar po-marking-overlay)