From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: org-info.js: new navigation history Date: Fri, 19 Jun 2009 12:50:05 -0400 Message-ID: <5236d6f90906190950p230a249ckfa2d5e4bd2eb6129@mail.gmail.com> References: <87skhyv84v.fsf@kassiopeya.MSHEIMNETZ> <5236d6f90906180731j463a0ae2i36ecbba45d3f9075@mail.gmail.com> <87ab45z63e.fsf@kassiopeya.MSHEIMNETZ> <5236d6f90906181337p2a957c3fg7bceb1d6b901135d@mail.gmail.com> <87skhxyzec.fsf@kassiopeya.MSHEIMNETZ> <5236d6f90906190720t5ef98b7cy622b6df1eaf6efa6@mail.gmail.com> <87ws782rbe.fsf@kassiopeya.MSHEIMNETZ> <5236d6f90906190828t1afb59f3u1d61a0a90fafa5a3@mail.gmail.com> <87iqis2okp.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1815915513==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHhI3-0007E7-Pl for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 12:50:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHhHz-00078i-4j for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 12:50:11 -0400 Received: from [199.232.76.173] (port=48611 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHhHz-00078S-0R for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 12:50:07 -0400 Received: from mail-fx0-f224.google.com ([209.85.220.224]:37682) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHhHy-0002l4-EW for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 12:50:06 -0400 Received: by fxm24 with SMTP id 24so2586798fxm.42 for ; Fri, 19 Jun 2009 09:50:05 -0700 (PDT) In-Reply-To: <87iqis2okp.fsf@kassiopeya.MSHEIMNETZ> 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: Sebastian Rose Cc: emacs-orgmode --===============1815915513== Content-Type: multipart/alternative; boundary=001636c5b351fc8960046cb6509e --001636c5b351fc8960046cb6509e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Sebastian, I have an idea of testing whether it works or not. In the orgmode page: http://orgmode.org/Changes.html#sec-2.1.1 It's talking about the custom ID. Could you try to add an example after line: Links written like [[#my-target-name] ] can be used to target a custom ID. For example: [[#v6.24][Version 6.24]] should go to the section Version 6.24. If this link can be used, that means the problem is solved. Thank you! Xin On Fri, Jun 19, 2009 at 12:08 PM, Sebastian Rose wrote: > > Hm - the following methods work here. As I found in > http://article.gmane.org/gmane.emacs.orgmode/13047/match=custom+id they > shouldn't. Seems the links should be prepended with the hash sign as you > proposed. But it works both ways here (org-mode from today). I jumped > the gun and took a look in a testfile I use here (see below). > > > > And: > > There really _was_ a bug in org-info.js that should be fixed now. > The current code is here: > > http://repo.or.cz/w/Worg.git?a=commit;h=366e95c4c3dd9bcca7093d6aad137fc89eadf37a > > Now we see the prefered (i.e. custom) IDs in the browser's location > bar (and therefor the history panel, if the browser has such a thing). > > > > > This is the relevant part of a file I use here for testing: > > => --->8----------------------------->8----------------------------->8--- > # <> > * Section C > > ...some content ... > > *These links work:* > > + [[fill-table-column-with-incremental-numbers][Section C]] > + [[subsection-four][Subsection C.2]] > > > *** Subsection C.2 > :PROPERTIES: > :CUSTOM_ID: subsection-four > :END: > > + [[#fill-table-column-with-incremental-numbers][Section C]] > + [[#subsection-four][Subsection C.2]] > > <= ---8<-----------------------------8<-----------------------------8<--- > > > > > > > Could you send us the part of your sources that does _not_ work? > > > > > Regards > > > > Sebastian > --001636c5b351fc8960046cb6509e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Sebastian,

I have an idea of testing whether it works or not.
In the orgmode page:

http://orgmode.org/Changes.html#sec-2.1.1

It's t= alking about the custom ID. Could you try to add an example after line:

Links written like [[#my-target-name] ] can be used to tar= get a custom ID.

For example:=A0 [[#v6.24][Version 6.24]] should go to the section V= ersion 6.24.

If this link can be used, that means the=A0 problem is= solved.

Thank you!

Xin






On Fri, Jun 19, 2009 at 12:08 PM, Sebastian Rose <sebastian_rose@gmx.de> w= rote:

Hm - the following methods work here. As I found in
http://article.gmane.org/gmane.emacs.orgmode/13047/= match=3Dcustom+id they
shouldn't. Seems the links should be prepended with the hash sign as yo= u
proposed. But it works both ways here (org-mode from today). =A0I jumped the gun and took a look in a testfile I use here (see below).



And:

=A0There really _was_ a bug in org-info.js that should be fixed now.
=A0The current code is here:
=A0http://repo.or.cz/w/Worg.git?a= =3Dcommit;h=3D366e95c4c3dd9bcca7093d6aad137fc89eadf37a

=A0Now we see the prefered (i.e. custom) IDs in the browser's location=
=A0bar (and therefor the history panel, if the browser has such a thing).<= br>



This is the relevant part of a file I use here for testing:

=3D> --->8----------------------------->8-------------------------= ---->8---
# <<fill-table-column-with-incremental-numbers>>
* Section C

=A0...some content ...

=A0 =A0*These links work:*

=A0 =A0+ [[fill-table-column-with-incremental-numbers][Section C]]
=A0 =A0+ [[subsection-four][Subsection C.2]]


*** Subsection C.2
=A0 =A0:PROPERTIES:
=A0 =A0:CUSTOM_ID: subsection-four
=A0 =A0:END:

=A0 =A0+ [[#fill-table-column-with-incremental-numbers][Section C]]
=A0 =A0+ [[#subsection-four][Subsection C.2]]

<=3D ---8<-----------------------------8<-------------------------= ----8<---






Could you send us the part of your sources that does _not_ work?




Regards



=A0 Sebastian

--001636c5b351fc8960046cb6509e-- --===============1815915513== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1815915513==--