emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Anders Waldenborg <anders@0x63.nu>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Personal wiki
Date: Sun, 24 Jul 2011 21:57:59 +0200	[thread overview]
Message-ID: <20110724195759.GD5700@0x63.nu> (raw)
In-Reply-To: <87d3gzsctq.fsf@gnu.org>

On Sun, Jul 24, 2011 at 09:22:57PM +0200, Bastien wrote:
> Org has `C-x n s' to narrow to a subtree.

Right. The difference is that aw-org-pw re-narrows when navigating to
a different section. Maybe that is a feature that would be useful
directly in org instead. Maybe pre/post-link-follow hooks could do that?

Also aw-org-pw autowidens on isearch. (the reason for that is that when
used as a personal wiki each section should be small, so searching is
seldom required within a section, and searching the full "wiki" is
more useful).

(aw-org-pw narrowing hides the actual header line too, partially to
prevent renaming sections as they have links to them, and partially
because it already puts the title in the header-line)

> > * Automatic links of all text matching a section name.
> >   Much like org-wikinodes, but without camel case.
> 
> In Org, when clicking on [[my section]] it goes to the next headline
> called * My section.  I guess your implementation of such a feature
> don't need surrounding [[...]]. 

Indeed, much like org-wikinodes.el.

But the more I think about it maybe I should just use [[...]] as it
would greatly simplify the implementation.

> 
> > * Navigation history
> >   When visiting different sections in the same file history is
> >   recorded allowing navigation "back" to previous section.
> 
> Could you describe the difference with `C-c &'?

Oh, I wasn't aware of the existance of the org mark ring. Interesting.
It doesn't work outside narrowed region. Also the breadcrumbs in
aw-org-pw keeps track of the section name, which and shows "back:
Previouslyvisitedsection" in the header-line.

But I guess I should build on top of the org mark ring instead of
reinventing it completely.

Thanks for your input!

 anders

  reply	other threads:[~2011-07-24 19:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23 21:25 Personal wiki Anders Waldenborg
2011-07-24 19:22 ` Bastien
2011-07-24 19:57   ` Anders Waldenborg [this message]
2011-07-26  0:51     ` Bastien
2011-07-29 20:58       ` Anders Waldenborg

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=20110724195759.GD5700@0x63.nu \
    --to=anders@0x63.nu \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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).