emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* CamelCase link type
@ 2009-04-17  7:29 Giorgio Brajnik
  2009-04-18 16:27 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Giorgio Brajnik @ 2009-04-17  7:29 UTC (permalink / raw)
  To: emacs-orgmode

I'm an Org-mode newby, and have not been able to find examples of 
how to customize orgmode so that
CamelCase words are treated as links.
Is this possible? and if so, what should I customize or change?

(I have a bunch of emacs-wiki pages I'd like to port under orgmode.)

Thanks
-- 

   Giorgio Brajnik
______________________________________________________________________
Dip. di Matematica e Informatica | voice: +39 (0432) 55.8445
Università di Udine | fax: +39 (0432) 55.8499
Via delle Scienze, 206 | email: giorgio@dimi.uniud.it
Loc. Rizzi -- 33100 Udine -- ITALY | http://www.dimi.uniud.it/giorgio

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

* Re: CamelCase link type
  2009-04-17  7:29 CamelCase link type Giorgio Brajnik
@ 2009-04-18 16:27 ` Carsten Dominik
  2009-04-19  9:16   ` Giorgio Brajnik
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-04-18 16:27 UTC (permalink / raw)
  To: Giorgio Brajnik; +Cc: emacs-orgmode

Org-mode does not have support for CamelCase links, you can use other  
methods to link
to other files.

I am not a big fan of CamelCase links and don't want to
add it to the core.  But maybe someone wants to write
it as an add-on, this would be easy to do.

- Carsten

On Apr 17, 2009, at 9:29 AM, Giorgio Brajnik wrote:

> I'm an Org-mode newby, and have not been able to find examples of  
> how to customize orgmode so that
> CamelCase words are treated as links.
> Is this possible? and if so, what should I customize or change?
>
> (I have a bunch of emacs-wiki pages I'd like to port under orgmode.)
>
> Thanks
> -- 
>
>  Giorgio Brajnik
> ______________________________________________________________________
> Dip. di Matematica e Informatica | voice: +39 (0432) 55.8445
> Università di Udine | fax: +39 (0432) 55.8499
> Via delle Scienze, 206 | email: giorgio@dimi.uniud.it
> Loc. Rizzi -- 33100 Udine -- ITALY | http://www.dimi.uniud.it/giorgio
>
>
>
> _______________________________________________
> 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

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

* Re: CamelCase link type
  2009-04-18 16:27 ` Carsten Dominik
@ 2009-04-19  9:16   ` Giorgio Brajnik
  2009-04-19  9:44     ` Taru Karttunen
  0 siblings, 1 reply; 6+ messages in thread
From: Giorgio Brajnik @ 2009-04-19  9:16 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode, Giorgio Brajnik

Carsten,
thank you for your prompt answer.
I understand your attitude towards CamelCase, and tend to agree, but I
also think it would be nice to have a utility to easily port a set of
emacs-wiki pages into orgmode.
I'll see if I can come out with a simple elisp or python script to convert
those files.

Thanks again
Giorgio

On Sat, April 18, 2009 6:27 pm, Carsten Dominik wrote:
> Org-mode does not have support for CamelCase links, you can use other
> methods to link
> to other files.
>
> I am not a big fan of CamelCase links and don't want to
> add it to the core.  But maybe someone wants to write
> it as an add-on, this would be easy to do.
>
> - Carsten
>
> On Apr 17, 2009, at 9:29 AM, Giorgio Brajnik wrote:
>
>> I'm an Org-mode newby, and have not been able to find examples of
>> how to customize orgmode so that
>> CamelCase words are treated as links.
>> Is this possible? and if so, what should I customize or change?
>>
>> (I have a bunch of emacs-wiki pages I'd like to port under orgmode.)
>>
>> Thanks
>> --
>>
>>  Giorgio Brajnik
>> ______________________________________________________________________
>> Dip. di Matematica e Informatica | voice: +39 (0432) 55.8445
>> Università di Udine | fax: +39 (0432) 55.8499
>> Via delle Scienze, 206 | email: giorgio@dimi.uniud.it
>> Loc. Rizzi -- 33100 Udine -- ITALY | http://www.dimi.uniud.it/giorgio
>>
>>
>>
>> _______________________________________________
>> 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
>
>




-- 
 Giorgio Brajnik
______________________________________________________________________
Dip. di Matematica e Informatica | voice: +39 (0432) 55.8445
Università di Udine | fax: +39 (0432) 55.8499
Via delle Scienze, 206 | email: giorgio@dimi.uniud.it
Loc. Rizzi -- 33100 Udine -- ITALY | http://www.dimi.uniud.it/giorgio

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

* Re: CamelCase link type
  2009-04-19  9:16   ` Giorgio Brajnik
@ 2009-04-19  9:44     ` Taru Karttunen
  2009-04-19 13:49       ` Carsten Dominik
  2009-05-06  2:31       ` Samuel Wales
  0 siblings, 2 replies; 6+ messages in thread
From: Taru Karttunen @ 2009-04-19  9:44 UTC (permalink / raw)
  To: emacs-orgmode

Excerpts from Giorgio Brajnik's message of Sun Apr 19 12:16:58 +0300 2009:
> Carsten,
> thank you for your prompt answer.
> I understand your attitude towards CamelCase, and tend to agree, but I
> also think it would be nice to have a utility to easily port a set of
> emacs-wiki pages into orgmode.
> I'll see if I can come out with a simple elisp or python script to convert
> those files.

perl -pe 's/((?:[[:upper:]][\p{lower}_-\d]+){2,})/[[$1]]/' 

+- whatever special characters you allow in camel case links.

- Taru Karttunen

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

* Re: CamelCase link type
  2009-04-19  9:44     ` Taru Karttunen
@ 2009-04-19 13:49       ` Carsten Dominik
  2009-05-06  2:31       ` Samuel Wales
  1 sibling, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-04-19 13:49 UTC (permalink / raw)
  To: Taru Karttunen; +Cc: emacs-orgmode


On Apr 19, 2009, at 11:44 AM, Taru Karttunen wrote:

> Excerpts from Giorgio Brajnik's message of Sun Apr 19 12:16:58 +0300  
> 2009:
>> Carsten,
>> thank you for your prompt answer.
>> I understand your attitude towards CamelCase, and tend to agree,  
>> but I
>> also think it would be nice to have a utility to easily port a set of
>> emacs-wiki pages into orgmode.
>> I'll see if I can come out with a simple elisp or python script to  
>> convert
>> those files.
>
> perl -pe 's/((?:[[:upper:]][\p{lower}_-\d]+){2,})/[[$1]]/'

Awesome.

- Carsten

>
> +- whatever special characters you allow in camel case links.
>
> - Taru Karttunen
>
>
> _______________________________________________
> 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

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

* Re: CamelCase link type
  2009-04-19  9:44     ` Taru Karttunen
  2009-04-19 13:49       ` Carsten Dominik
@ 2009-05-06  2:31       ` Samuel Wales
  1 sibling, 0 replies; 6+ messages in thread
From: Samuel Wales @ 2009-05-06  2:31 UTC (permalink / raw)
  To: Taru Karttunen; +Cc: emacs-orgmode

> perl -pe 's/((?:[[:upper:]][\p{lower}_-\d]+){2,})/[[$1]]/'

Very nice.  Makes me want a little table comparing perl, grep/sed
normal, grep/sed extended, and emacs syntax.

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

end of thread, other threads:[~2009-05-06  2:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-17  7:29 CamelCase link type Giorgio Brajnik
2009-04-18 16:27 ` Carsten Dominik
2009-04-19  9:16   ` Giorgio Brajnik
2009-04-19  9:44     ` Taru Karttunen
2009-04-19 13:49       ` Carsten Dominik
2009-05-06  2:31       ` Samuel Wales

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