From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Behavior of Gnus when called from an hyperlink Date: Sat, 17 Jul 2010 09:18:36 +0200 Message-ID: <87hbjyzicz.fsf@thinkpad.tsdh.de> References: <87r5jrcx9g.fsf@mundaneum.com> <8763138nna.fsf@thinkpad.tsdh.de> <87ocev5pn3.fsf@mundaneum.com> <87fx071fsg.fsf@mundaneum.com> <23582.1277735944@gamaville.dokosmarshall.org> <87vd936wiq.fsf@mundaneum.com> <87eifr3t52.fsf@thinkpad.tsdh.de> <87vd8gcu6k.fsf@mundaneum.com> <87oce7j26i.fsf@thinkpad.tsdh.de> <87fwzjfyf8.fsf@mundaneum.com> <878w5bkxx7.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=49283 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oa1fe-000780-Ke for emacs-orgmode@gnu.org; Sat, 17 Jul 2010 03:18:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oa1fd-0002IH-7w for emacs-orgmode@gnu.org; Sat, 17 Jul 2010 03:18:50 -0400 Received: from lo.gmane.org ([80.91.229.12]:35064) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oa1fc-0002I6-Rs for emacs-orgmode@gnu.org; Sat, 17 Jul 2010 03:18:49 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oa1fY-0005x6-Fd for emacs-orgmode@gnu.org; Sat, 17 Jul 2010 09:18:44 +0200 Received: from dslb-084-061-104-211.pools.arcor-ip.net ([84.61.104.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jul 2010 09:18:44 +0200 Received: from tassilo by dslb-084-061-104-211.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jul 2010 09:18:44 +0200 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 Sébastien Vauban writes: Hi Sébastien, > When stepping with SPC, the "arrow mark" (in the left fringe) stayed 5 > mins on line 487: > > --8<---------------cut here---------------start------------->8--- > ;; Use `head' function. > ((fboundp head) > (setq res (funcall head article (gnus-group-real-name group) >> (nth 1 gnus-command-method)))) > ^ > cursor after first paren > --8<---------------cut here---------------end--------------->8--- > > If I understand well, it wasted all the time evaluating > > --8<---------------cut here---------------start------------->8--- > (nth 1 gnus-command-method) > --8<---------------cut here---------------end--------------->8--- > > I can't understand anything from the above... Someone does? Not really. Picking the second element out of a list must not take 5 minutes! What's the value of `gnus-command-method' when this happens? One SPC before the hang, that variable is evaluated and its contents are printed to *Messages*. For example, checking with an org-gnus link to an article in a gmane group, the value of `gnus-command-method' at that time was (nntp "Gmane" (nntp-address "news.gmane.org")) here, and picking out "Gmane" took no time at all... Bye, Tassilo