From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tokuya Kameshima Subject: Re: Needless opening of threads in org-wl Date: Sun, 28 Sep 2008 00:33:37 +0900 () Message-ID: <20080928.003337.86194634.kames@fa2.so-net.ne.jp> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjbpX-0006Dj-CP for emacs-orgmode@gnu.org; Sat, 27 Sep 2008 11:35:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjbpU-0006C6-A0 for emacs-orgmode@gnu.org; Sat, 27 Sep 2008 11:35:34 -0400 Received: from [199.232.76.173] (port=39168 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjbpU-0006C1-5H for emacs-orgmode@gnu.org; Sat, 27 Sep 2008 11:35:32 -0400 Received: from mta.airbonet.com ([202.238.82.244]:22336 helo=mx53.ms.so-net.ne.jp) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KjbpT-0007zR-Hr for emacs-orgmode@gnu.org; Sat, 27 Sep 2008 11:35:32 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: kames@fa2.so-net.ne.jp Dhruv, Thank you for the report. The line of (wl-thread-open-all) is needless. I completely forgot to remove it. Carsten, Could you remove the line of (wl-thread-open-all) from org-wl.el and update the git repository? -*-*- In my initial implementation of org-wl.el, `org-wl-open' was able to jump to the message by the message number ([[wl:folder#number]]) as well as by the message id ([[wl:folder#msgid]]). To jump to the message by the number, the message line had to be shown in the summary buffer. So I added the code to show all the message lines in the summary buffer. The current version of org-wl.el does not support the link with the message number such as [[wl:folder#number]]. Thanks, --Tokuya > From: Dhruv Bansal gmail.com> > Subject: Needless opening of threads in org-wl > Newsgroups: gmane.emacs.orgmode > Date: 2008-09-20 10:05:12 GMT (5 days, 13 hours and 37 minutes ago) > > I like to link to Wanderlust emails from Org Mode. I just downloaded > the latest git version and linking to WL emails works as advertised > except that I wind up sitting for five minutes as every thread in my > 13,000 message inbox is opened. Is there a reason for this behavior? > > I "fixed" the problem with the following patch which merely comments > out the command to open all the threads. Linking emails works > perfectly fine and now I don't have to wait long at all. > > ================ > diff --git a/lisp/org-wl.el b/lisp/org-wl.el > index 4fae584..58ddd31 100644 > --- a/lisp/org-wl.el > +++ b/lisp/org-wl.el > @@ -135,7 +135,7 @@ > ;; in the old buffer. > (set-buffer old-buf) > (goto-char old-point)) > - (wl-thread-open-all) > +; (wl-thread-open-all) > (and (wl-summary-jump-to-msg-by-message-id (org-add-angle-brackets > article)) > (wl-summary-redisplay))))) > ================ > > Just thought I'd post this in case anyone else was similarly > frustrated. > > I'm excited about the new org version; thanks so much everyone for > helping to create such a great application! > > -- > Dhruv Bansal > http://www.dhruvbansal.com > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >