From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Behavior of Gnus when called from an hyperlink Date: Fri, 16 Jul 2010 21:23:50 +0200 Message-ID: <87mxtrp6wp.fsf@mundaneum.com> 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> <10216.1279303875@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Nick, Nick Dokos wrote: > S=C3=A9bastien Vauban wrote: >> Tassilo Horn wrote: >>> S=C3=A9bastien Vauban writes: >>> >>>> I've followed Nick's procedure, hoping to get even more details: >>>> >>>> --8<---------------cut here---------------start------------->8--- >>>> Function Name Call Count Elapsed Time Average Time >>>> ... >>>> gnus-request-head 1 312.993525 312.993525 >>>> gnus-activate-group 1 13.587475 13.587475 >>>> gnus-group-read-group 1 7.949638 7.949638 >>>> ... >>>> --8<---------------cut here---------------end--------------->8--- >>> >>> Looks to me that `gnus-request-head' is the culprit. Looking at the cod= e, >>> I cannot see why that function is so slow. I'd try to edebug that to see >>> what exact part of it takes that long. >>=20 >> Sorry to be such a newbie on that, but I'd understood I would have to ty= pe >> `C-u C-M-x' (`edebug-defun') when on that function definition, right? >>=20 >> My problem is I can't access the definition, as all of Gnus is only pres= ent >> as "byte-compiled" files, located in >>=20 >> /usr/share/emacs/23.1/lisp/ >>=20 >> Is there a way, still, to debug the function, then, the way you intend i= t? > > Is this because you are using the distro's package and they don't distrib= ute > sources? Exactly. Just installed `emacs' (the virtual package) under Ubuntu 10.4, and got Emacs 23.1. > There is usually a emacs-el package that installs sources as well. Of course. Did not even think at that... Thanks for pointing this out! Now, installed `emacs23-el' (there is no `emacs-el' or so, so here I have to explictly state a version number), and have access to the sources. Thanks Nick. Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode