(defun est-eval-value-default (value)
(if (listp value)
- (list* 'list
- '(:separator " ")
- (mapcar
- (lambda (unit)
- (format "%S" unit))
- value))
+ (if (eq (car value) 'omitted)
+ value
+ (list* 'list
+ '(:separator " ")
+ (mapcar
+ (lambda (unit)
+ (format "%S" unit))
+ value)))
(est-eval-value-as-S-exp value)))
(defun est-eval-value-as-object (value)
(setq value (www-get-feature-value object feature-name)))
(unless format
(setq format (www-feature-value-format feature-name)))
+ (if (consp value)
+ (let ((ret (condition-case nil
+ (nthcdr 127 value)
+ (error nil nil))))
+ (when ret
+ (setcdr ret
+ (list (list 'omitted
+ (list :object object :feature feature-name)
+ "..."))))))
(cond
((symbolp format)
(est-eval-apply-value object feature-name
(format "@%s" domain)
""))
)
+ ((eq (car exp) 'omitted)
+ (list 'omitted
+ (list :object object :feature feature-name)
+ "...")
+ )
((eq (car exp) 'prev-char)
(list 'prev-char
(list :object object :feature feature-name)