Function: message-tamago-not-in-use-p

message-tamago-not-in-use-p is a byte-compiled function defined in message.el.gz.

Signature

(message-tamago-not-in-use-p POS)

Documentation

Return t when tamago version 4 is not in use at the cursor position.

Tamago version 4 is a popular input method for writing Japanese text. It uses the properties intangible, invisible, modification-hooks and read-only when translating ascii or kana text to kanji text. These properties are essential to work, so we should never strip them.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message-tamago-not-in-use-p (pos)
  "Return t when tamago version 4 is not in use at the cursor position.
Tamago version 4 is a popular input method for writing Japanese text.
It uses the properties `intangible', `invisible', `modification-hooks'
and `read-only' when translating ascii or kana text to kanji text.
These properties are essential to work, so we should never strip them."
  (not (and (boundp 'egg-modefull-mode)
	    (symbol-value 'egg-modefull-mode)
	    (or (memq (get-text-property pos 'intangible)
		      '(its-part-1 its-part-2))
		(get-text-property pos 'egg-end)
		(get-text-property pos 'egg-lang)
		(get-text-property pos 'egg-start)))))