emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-info.js
@ 2010-05-19 13:23 Dan Davison
  2010-05-19 13:58 ` org-info.js Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Davison @ 2010-05-19 13:23 UTC (permalink / raw)
  To: emacs org-mode mailing list

If I'm viewing the manual with Sebastian's org-info javascript info
emulation, and I'm on node 13 of the manual, what key do I press to get
to 13.1?

I wish I were better with info. My understanding is that I would use
space or ] in emacs.

Thanks,

Dan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-info.js
  2010-05-19 13:23 org-info.js Dan Davison
@ 2010-05-19 13:58 ` Nick Dokos
  2010-05-19 14:34   ` org-info.js Dan Davison
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2010-05-19 13:58 UTC (permalink / raw)
  To: Dan Davison; +Cc: nicholas.dokos, emacs org-mode mailing list

Dan Davison <davison@stats.ox.ac.uk> wrote:

> If I'm viewing the manual with Sebastian's org-info javascript info
> emulation, and I'm on node 13 of the manual, what key do I press to get
> to 13.1?
> 
> I wish I were better with info. My understanding is that I would use
> space or ] in emacs.
> 

In emacs info, <SPACE> advances down the imaginary scroll, so it may or
may not get you to the next (sub)section, depending on the length of the
current section and the size of your screen. ']' will go to the next
node in a depth-first traversal, 'n' will get you to the next node in a
level-traversal (always assuming that the relevant nodes exist).
Numeric arguments will get you to the relevant subsection (i.e. if you
are in sec. 13 and press 6, you'll end up in subsection 13.6 - assuming
that it exists), whereas 'n' and 'p' will get you to the next/previous
heading at the same level and 'u' will go up a level.

Now I'm on much shakier ground (iow, I don't necessarily know what I'm
talking about), but I think `n' does a depth-first traversal, so it will
go from 13 to 13.1 - the question is how to go from 13 to 14 without
visiting all the 13.x... in-between: I thought I would go UP to the TOC
and then TAB to or click on the next section, but the UP link does not
seem to do what I think it should do (go up one level in the hierarchy -
at least that seems to be the case in the org-info pages:
http://orgmode.org/worg/code/org-info-js). I'm not saying there is no
way: I just didn't find one after a few minutes of fooling around.

HTH,
Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-info.js
  2010-05-19 13:58 ` org-info.js Nick Dokos
@ 2010-05-19 14:34   ` Dan Davison
  2010-05-19 15:37     ` org-info.js Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Davison @ 2010-05-19 14:34 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs org-mode mailing list

Nick Dokos <nicholas.dokos@hp.com> writes:

> Dan Davison <davison@stats.ox.ac.uk> wrote:
>
>> If I'm viewing the manual with Sebastian's org-info javascript info
>> emulation, and I'm on node 13 of the manual, what key do I press to get
>> to 13.1?
>> 
>> I wish I were better with info. My understanding is that I would use
>> space or ] in emacs.
>> 
>
> In emacs info, <SPACE> advances down the imaginary scroll, so it may or
> may not get you to the next (sub)section, depending on the length of the
> current section and the size of your screen. ']' will go to the next
> node in a depth-first traversal, 'n' will get you to the next node in a
> level-traversal (always assuming that the relevant nodes exist).
> Numeric arguments will get you to the relevant subsection (i.e. if you
> are in sec. 13 and press 6, you'll end up in subsection 13.6 - assuming
> that it exists), whereas 'n' and 'p' will get you to the next/previous
> heading at the same level and 'u' will go up a level.
>
> Now I'm on much shakier ground (iow, I don't necessarily know what I'm
> talking about), but I think `n' does a depth-first traversal, so it will
> go from 13 to 13.1 - the question is how to go from 13 to 14 without
> visiting all the 13.x... in-between:

Actually, no, n goes from 13 to 14 (at least in google-chrome). But I'm
with you -- it seems to behave differently in

http://orgmode.org/worg/code/org-info-js

There n does the depth-first traversal you describe (and that is the
behaviour I'm looking for).

So
- how to get the full traversal in the org manual?
- why is there different behaviour between the manual and the worg page?

Dan


> I thought I would go UP to the TOC
> and then TAB to or click on the next section, but the UP link does not
> seem to do what I think it should do (go up one level in the hierarchy -
> at least that seems to be the case in the org-info pages:
> http://orgmode.org/worg/code/org-info-js). I'm not saying there is no
> way: I just didn't find one after a few minutes of fooling around.
>
> HTH,
> Nick
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: org-info.js
  2010-05-19 14:34   ` org-info.js Dan Davison
@ 2010-05-19 15:37     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-05-19 15:37 UTC (permalink / raw)
  To: Dan Davison; +Cc: nicholas.dokos, emacs org-mode mailing list


On May 19, 2010, at 4:34 PM, Dan Davison wrote:

> Nick Dokos <nicholas.dokos@hp.com> writes:
>
>> Dan Davison <davison@stats.ox.ac.uk> wrote:
>>
>>> If I'm viewing the manual with Sebastian's org-info javascript info
>>> emulation, and I'm on node 13 of the manual, what key do I press  
>>> to get
>>> to 13.1?
>>>
>>> I wish I were better with info. My understanding is that I would use
>>> space or ] in emacs.
>>>
>>
>> In emacs info, <SPACE> advances down the imaginary scroll, so it  
>> may or
>> may not get you to the next (sub)section, depending on the length  
>> of the
>> current section and the size of your screen. ']' will go to the next
>> node in a depth-first traversal, 'n' will get you to the next node  
>> in a
>> level-traversal (always assuming that the relevant nodes exist).
>> Numeric arguments will get you to the relevant subsection (i.e. if  
>> you
>> are in sec. 13 and press 6, you'll end up in subsection 13.6 -  
>> assuming
>> that it exists), whereas 'n' and 'p' will get you to the next/ 
>> previous
>> heading at the same level and 'u' will go up a level.
>>
>> Now I'm on much shakier ground (iow, I don't necessarily know what  
>> I'm
>> talking about), but I think `n' does a depth-first traversal, so it  
>> will
>> go from 13 to 13.1 - the question is how to go from 13 to 14 without
>> visiting all the 13.x... in-between:
>
> Actually, no, n goes from 13 to 14 (at least in google-chrome). But  
> I'm
> with you -- it seems to behave differently in
>
> http://orgmode.org/worg/code/org-info-js
>
> There n does the depth-first traversal you describe (and that is the
> behaviour I'm looking for).
>
> So
> - how to get the full traversal in the org manual?

> - why is there different behaviour between the manual and the worg  
> page?


Because the manual is created by texinfo, Worg is published by Org-mode.
I also would love to have a depth-first way to travel in the manual -  
but I don't know how.

I *am* hacking the html manual pages already (UTILITIES/mansplit.pl)  
to get the sidebar toc in there - the same program could maybe also  
hack some of those keys, I guess.  But I don't know how.  And there  
are issues of what people expect.  I love it that Sebastian has made a  
way to travel depth-first, but I also think that people who are used  
to read texinfo manpages like to have consistent keys....

- Carsten

>
> Dan
>
>
>> I thought I would go UP to the TOC
>> and then TAB to or click on the next section, but the UP link does  
>> not
>> seem to do what I think it should do (go up one level in the  
>> hierarchy -
>> at least that seems to be the case in the org-info pages:
>> http://orgmode.org/worg/code/org-info-js). I'm not saying there is no
>> way: I just didn't find one after a few minutes of fooling around.
>>
>> HTH,
>> Nick
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-19 16:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-19 13:23 org-info.js Dan Davison
2010-05-19 13:58 ` org-info.js Nick Dokos
2010-05-19 14:34   ` org-info.js Dan Davison
2010-05-19 15:37     ` org-info.js Carsten Dominik

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).