From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Wiki-like creating links on the fly for org Date: Wed, 28 Jul 2010 12:01:12 -0500 Message-ID: References: <4C3B5778.2060100@ccbr.umn.edu> <20100712213621.GX5297@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0122660539==" Return-path: Received: from [140.186.70.92] (port=55001 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeA0K-00030t-50 for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 13:01:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeA0I-0000DY-2V for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 13:01:15 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:57561) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeA0H-0000DM-Up for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 13:01:14 -0400 Received: by vws16 with SMTP id 16so4918041vws.0 for ; Wed, 28 Jul 2010 10:01:13 -0700 (PDT) In-Reply-To: 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: Marcelo de Moraes Serpa Cc: emacs-orgmode@gnu.org --===============0122660539== Content-Type: multipart/alternative; boundary=001485e0b496ac8e28048c759075 --001485e0b496ac8e28048c759075 Content-Type: text/plain; charset=ISO-8859-1 I migrated to orgmode from TiddlyWiki and understand the ease of simply writing [[PageName]] during edits. I don't think, however, that this is all that far from what org already provides with links: http://www.gnu.org/software/emacs/manual/html_node/org/Handling-links.html I just tried this out and while admittedly it's not as easy as writing CamelCase, it's pretty straightforward: - Write along and decide to link somewhere - C-u C-c C-l - Minibuffer starts with a relative location to your current working directory, e.g. ~/org/ for me - Pressing tab brings up a list of possible files in this directory - Editing the location to point to a different dir would allow for linking elsewhere - Enter when file name is found (or suggest a brand new .org file that doesn't exist) - Enter the description Once the link is created: - With cursor on it, do C-c C-o to open the existing file or create a blank one if it didn't exist - C-x C-o to bounce back and forth between buffers or C-c & to close opened link and just return to original file I'm sure others will chime in with ways to perhaps alter this existing functionality for automated detection, but the system as-is is also pretty nice. Oh, you can link to specific headlines as well. - Go to the headline you want and do C-c l - Go back where you want the link and do C-c C-l + up/down arrows to pull up the stored link - Enter the description (or press enter to accept the headline title) That simple. John On Wed, Jul 28, 2010 at 11:47 AM, Marcelo de Moraes Serpa < celoserpa@gmail.com> wrote: > Would it be hard to create an extension (not sure where, elisp skills > still very limited) that highlights camel-cased words and, when > clicking on it, would create or open a file with the name of the word > + .org? > > For "dynamic" reference data (data you want to keep, and that you want > to keep editing and improving over time) the concept of a wiki (even > if its collaboration aspect is not being used) is perfect, in my > opinion. If you try wikidpad, you'll see how organic and pragmatic it > is, allowing you to just input new data and constructing an overview > tree dynamically. Pretty cool. > > Whenever I have time, I will check the algorithm WikiDPad uses to > create the visualization tree (which is also one of its greates > features, in my opinion). > > Cheers, > > Marcelo. > > On Mon, Jul 12, 2010 at 4:36 PM, Russell Adams > wrote: > > Actually, the idea of CamelCase linking to a headline in the same file > > is an interesting idea, using RadioTarges for external links. > > > > ** MyTopic > > > > ** Another topic > > > > Those people who like MyTopic are totally cool. > > > > Naysayers live in file:~/doc/Woopie.org:NaySayers > > > > > > > > On Mon, Jul 12, 2010 at 01:09:00PM -0500, Marcelo de Moraes Serpa wrote: > >> This doesn't seem to apply to what I want. It only links to org items > >> inside the org file. > >> > >> Thanks for the hint, though! > >> > >> On Mon, Jul 12, 2010 at 12:57 PM, Erik Iverson > wrote: > >> > Perhaps I am confused, but have you tried radio targets? > >> > > >> > http://orgmode.org/org.html#Radio-targets > >> > > >> > > >> > Marcelo de Moraes Serpa wrote: > >> >> > >> >> Hey all! > >> >> > >> >> I used to be an avid user of WikiDPad, and I loved the way it > >> >> automatically (or manually, using [ ]) created links and files to > >> >> these links (CamelCase) for me. The way it provided a visual tree of > >> >> the wiki was also pretty cool. > >> >> > >> >> This was awesome for reference kind of data, to build your own > >> >> knowledge base. I've been trying to test different approaches with > >> >> org, but none of them work as smoothly as it worked for me when using > >> >> wikidpad. > >> >> > >> >> I divide reference data in two main categories: Dynamic and Static. > >> >> Static are the notes and stuff that youl want to keep somewhere and > >> >> that you'll eventually refer to later. Dynamic are the kind of that > >> >> you'll be editing often, but does not fit in any other category > >> >> GTD-wise. It is reference, you want to keep it somewhere, not take > >> >> action on it per se (other than editing it), but you want to expand > >> >> and modify it often. > >> >> > >> >> How difficult would it be to implement a small system that would > index > >> >> the files of directory, get the names (camel-case) and automatically > >> >> link to these names if written on an org buffer? My elisp skills are > >> >> very weak as of now. > >> >> > >> >> I know some of you might list a number of points against implementing > >> >> this, but I really loved the way Wikdpad created links on the fly. > >> >> > >> >> Thanks, > >> >> > >> >> Marcelo > >> >> > >> >> _______________________________________________ > >> >> 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 > >> > > > > > > ------------------------------------------------------------------ > > Russell Adams RLAdams@AdamsInfoServ.com > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > _______________________________________________ > > 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 > --001485e0b496ac8e28048c759075 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I migrated to orgmode from TiddlyWiki and understand the ease of simply wri= ting [[PageName]] during edits.

I don't think, howev= er, that this is all that far from what org already provides with links:



- Write along and decide to link somewhere
- = C-u C-c C-l
- Minibuffer starts with a relative location to your = current working directory, e.g. ~/org/ for me
- Pressing tab brin= gs up a list of possible files in this directory
- Editing the location to point to a different dir would allow for lin= king elsewhere
- Enter when file name is found (or suggest a bran= d new .org file that doesn't exist)
- Enter the description

Once the link is created:
- With cursor on it= , do C-c C-o to open the existing file or create a blank one if it didn'= ;t exist
- C-x C-o to bounce back and forth between buffers or C-= c & to close opened link and just return to original file

I'm sure others will chime in with ways to perhaps = alter this existing functionality for automated detection, but the system a= s-is is also pretty nice.

Oh, you can link to spec= ific headlines as well.
- Go to the headline you want and do C-c l
- Go back where y= ou want the link and do C-c C-l + up/down arrows to pull up the stored link=
- Enter the description (or press enter to accept the headline t= itle)

That simple.


Jo= hn

On Wed, Jul 28, 2010 at 11:47 A= M, Marcelo de Moraes Serpa <celoserpa@gmail.com> wrote:
Would it be hard to create an extension (no= t sure where, elisp skills
still very limited) that highlights camel-cased words and, when
clicking on it, would create or open a file with the name of the word
+ .org?

For "dynamic" reference data (data you want to keep, and that you= want
to keep editing and improving over time) the concept of a wiki (even
if its collaboration aspect is not being used) is perfect, in my
opinion. If you try wikidpad, you'll see how organic and pragmatic it is, allowing you to just input new data and constructing an overview
tree dynamically. Pretty cool.

Whenever I have time, I will check the algorithm WikiDPad uses to
create the visualization tree (which is also one of its greates
features, in my opinion).

Cheers,

Marcelo.

On Mon, Jul 12, 2010 at 4:36 PM, Russell Adams
<RLAdams@adamsinfoserv.com<= /a>> wrote:
> Actually, the idea of CamelCase linking to a headline in the same file=
> is an interesting idea, using RadioTarges for external links.
>
> ** MyTopic
>
> ** Another topic
>
> Those people who like MyTopic are totally cool.
>
> Naysayers live in file:~/doc/Woopie.org:NaySayers
>
>
>
> On Mon, Jul 12, 2010 at 01:09:00PM -0500, Marcelo de Moraes Serpa wrot= e:
>> This doesn't seem to apply to what I want. It only links to or= g items
>> inside the org file.
>>
>> Thanks for the hint, though!
>>
>> On Mon, Jul 12, 2010 at 12:57 PM, Erik Iverson <
eriki@ccbr.umn.edu> wrote:
>> > Perhaps I am confused, but have you tried radio targets?
>> >
>> > http://orgmode.org/org.html#Radio-targets
>> >
>> >
>> > Marcelo de Moraes Serpa wrote:
>> >>
>> >> Hey all!
>> >>
>> >> I used to be an avid user of WikiDPad, and I loved the wa= y it
>> >> automatically (or manually, using [ ]) created links and = files to
>> >> these links (CamelCase) for me. The way it provided a vis= ual tree of
>> >> the wiki was also pretty cool.
>> >>
>> >> This was awesome for reference kind of data, to build you= r own
>> >> knowledge base. I've been trying to test different ap= proaches with
>> >> org, but none of them work as smoothly as it worked for m= e when using
>> >> wikidpad.
>> >>
>> >> I divide reference data in two main categories: Dynamic a= nd Static.
>> >> Static are the notes and stuff that youl want to keep som= ewhere and
>> >> that you'll eventually refer to later. Dynamic are th= e kind of that
>> >> you'll be editing often, but does not fit in any othe= r category
>> >> GTD-wise. It is reference, you want to keep it somewhere,= not take
>> >> action on it per se (other than editing it), but you want= to expand
>> >> and modify it often.
>> >>
>> >> How difficult would it be to implement a small system tha= t would index
>> >> the files of directory, get the names (camel-case) and au= tomatically
>> >> link to these names if written on an org buffer? My elisp= skills are
>> >> very weak as of now.
>> >>
>> >> I know some of you might list a number of points against = implementing
>> >> this, but I really loved the way Wikdpad created links on= the fly.
>> >>
>> >> Thanks,
>> >>
>> >> Marcelo
>> >>
>> >> _______________________________________________
>> >> Emacs-orgmode mailing list
>> >> Please use `Reply All' to send replies to the list. >> >> Emacs-orgmode@gn= u.org
>> >> http://lists.gnu.org/mailman/listinfo/emacs-orgmod= e
>> >
>>
>> _______________________________________________
>> 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
>>
>
>
> ------------------------------------------------------------------
> Russell Adams =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0R= LAdams@AdamsInfoServ.com
>
> PGP Key ID: =A0 =A0 0x1160DCB3 =A0 =A0 =A0 =A0 =A0 http://www.adamsinfoserv.com/<= br> >
> Fingerprint: =A0 =A01723 D8CA 4280 1EC9 557F =A066E8 1154 E018 1160 DC= B3
>
> _______________________________________________
> 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

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