From: Sebastian Rose <sebastian_rose@gmx.de>
To: Xin Shi <shixin111@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-info.js?
Date: Sat, 27 Jun 2009 23:49:56 +0200 [thread overview]
Message-ID: <877hyxz6rf.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <5236d6f90906271245o590cdab3m726477353de80236@mail.gmail.com> (Xin Shi's message of "Sat, 27 Jun 2009 15:45:23 -0400")
Xin Shi <shixin111@gmail.com> writes:
> Hi Sebastian,
>
> Thanks for your quick fix.
>
> Just curious, what was the problem before?
getElementsByTagName() is not recursive when called on certain HTML
elements. I had to use `document.getElementsByTagName("a");' instead to
catch links inside list elements. Before I did that for each sections
block level elements (the headline and the <div id="text-sec-2.2"...>).
I wonder how no one noticed that for such a long time :) links in a list
is not too strange...
> Shall I just download the new js file?
Yes. Nothing else has changed, just added that fix.
It looks as if some more stuff has changed sometimes, because I minify
the script. That leads to bigger chunks if you diff it. The diff of the
org-info-src.js file shows what has actually changed.
Best wishes
Sebastian
next prev parent reply other threads:[~2009-06-27 21:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-25 18:56 Problem with org-info.js? Xin Shi
2009-06-25 21:26 ` Sebastian Rose
2009-06-26 21:14 ` Xin Shi
2009-06-26 23:07 ` Sebastian Rose
2009-06-26 23:21 ` Sebastian Rose
2009-06-27 19:45 ` Xin Shi
2009-06-27 21:49 ` Sebastian Rose [this message]
2009-06-28 1:03 ` Xin Shi
2009-06-28 3:37 ` Sebastian Rose
2009-06-28 15:08 ` Xin Shi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877hyxz6rf.fsf@kassiopeya.MSHEIMNETZ \
--to=sebastian_rose@gmx.de \
--cc=emacs-orgmode@gnu.org \
--cc=shixin111@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).