which is identified by references, set linked as nil.
+2004-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * wl-thread.el (wl-thread-set-parent): If parent is a message
+ which is identified by references, set linked as nil.
+
2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
* wl-vars.el (wl-summary-mode-line-format-spec-alist): Added spec "m".
(wl-thread-entity-set-children
dst-parent-entity
(append children (list number)))
- (wl-thread-entity-set-linked entity t))
+ (wl-thread-entity-set-linked
+ entity
+ (let ((parent (elmo-message-entity-parent
+ wl-summary-buffer-elmo-folder
+ (elmo-message-entity
+ wl-summary-buffer-elmo-folder
+ number))))
+ (or (null parent)
+ (/= parent-number (elmo-message-entity-number parent))))))
;; insert as top
(wl-append wl-thread-entity-list (list number))
(wl-thread-entity-set-linked entity nil))