/[emacs]/emacs/lisp/composite.el
ViewVC logotype

Diff of /emacs/lisp/composite.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by lute, Mon Jul 4 23:08:52 2005 UTC revision 1.18 by lektu, Wed Jul 20 13:03:40 2005 UTC
# Line 82  follows (the point `*' corresponds to bo Line 82  follows (the point `*' corresponds to bo
82  (defun encode-composition-rule (rule)  (defun encode-composition-rule (rule)
83    "Encode composition rule RULE into an integer value.    "Encode composition rule RULE into an integer value.
84  RULE is a cons of global and new reference point symbols  RULE is a cons of global and new reference point symbols
85  \(see reference-point-alist)."  \(see `reference-point-alist')."
86    
87    ;; This must be compatible with C macro COMPOSITION_ENCODE_RULE    ;; This must be compatible with C macro COMPOSITION_ENCODE_RULE
88    ;; defined in composite.h.    ;; defined in composite.h.
# Line 219  The return value is STRING where `compos Line 219  The return value is STRING where `compos
219  the characters in it.  the characters in it.
220    
221  Optional 2nd and 3rd arguments START and END specify the range of  Optional 2nd and 3rd arguments START and END specify the range of
222  STRING to be composed.  They defaults to the beginning and the end of  STRING to be composed.  They default to the beginning and the end of
223  STRING respectively.  STRING respectively.
224    
225  Optional 4th argument COMPONENTS, if non-nil, is a character or a  Optional 4th argument COMPONENTS, if non-nil, is a character or a
# Line 355  The argument is a parameterized event of Line 355  The argument is a parameterized event of
355  where N is the number of characters before point to compose,  where N is the number of characters before point to compose,
356  COMPONENTS, if non-nil, is the same as the argument to `compose-region'  COMPONENTS, if non-nil, is the same as the argument to `compose-region'
357  \(which see).  If it is nil, `compose-chars-after' is called,  \(which see).  If it is nil, `compose-chars-after' is called,
358  and that function find a proper rule to compose the target characters.  and that function finds a proper rule to compose the target characters.
359  This function is intended to be used from input methods.  This function is intended to be used from input methods.
360  The global keymap binds special event `compose-last-chars' to this  The global keymap binds special event `compose-last-chars' to this
361  function.  Input method may generate an event (compose-last-chars N COMPONENTS)  function.  Input method may generate an event (compose-last-chars N COMPONENTS)
362  after a sequence character events."  after a sequence of character events."
363    (interactive "e")    (interactive "e")
364    (let ((chars (nth 1 args)))    (let ((chars (nth 1 args)))
365      (if (and (numberp chars)      (if (and (numberp chars)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26