* camel.el, for CamelCase links
@ 2010-08-03 15:36 David O'Toole
2010-08-03 16:27 ` Bastien
0 siblings, 1 reply; 12+ messages in thread
From: David O'Toole @ 2010-08-03 15:36 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
http://github.com/dto/folio/blob/master/camel.el
Someone asked about this recently, i have some partially working code.
Anyone want to try?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-08-03 15:36 camel.el, for CamelCase links David O'Toole
@ 2010-08-03 16:27 ` Bastien
2010-08-04 20:50 ` Olivier Berger
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Bastien @ 2010-08-03 16:27 UTC (permalink / raw)
To: David O'Toole; +Cc: emacs-orgmode Mailinglist
"David O'Toole" <dto1138@gmail.com> writes:
> http://github.com/dto/folio/blob/master/camel.el
>
> Someone asked about this recently, i have some partially working code.
I'm willing to test.
Can you provide the handlers so that the code works for Org?
I'm not a big fan of CamelCase links because it encourages the habit of
creating many files -- but that may be useful for some.
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-08-03 16:27 ` Bastien
@ 2010-08-04 20:50 ` Olivier Berger
2010-08-04 22:28 ` Michael Gilbert
2010-08-07 6:47 ` camel.el, for CamelCase links Carsten Dominik
2 siblings, 0 replies; 12+ messages in thread
From: Olivier Berger @ 2010-08-04 20:50 UTC (permalink / raw)
To: David O'Toole; +Cc: emacs-orgmode Mailinglist
Hi.
Le mardi 03 août 2010 à 18:27 +0200, Bastien a écrit :
> "David O'Toole" <dto1138@gmail.com> writes:
>
> > http://github.com/dto/folio/blob/master/camel.el
> >
> > Someone asked about this recently, i have some partially working code.
>
Looks promising. Thanks.
> I'm willing to test.
>
> Can you provide the handlers so that the code works for Org?
>
I'd too like to be able to test too... provided I knew how to ;) ... any
hints on how to integrate it ?
Thanks in advance.
Best regards,
P.S. what's the Folio project ?
--
Olivier BERGER <olivier.berger@it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-08-03 16:27 ` Bastien
2010-08-04 20:50 ` Olivier Berger
@ 2010-08-04 22:28 ` Michael Gilbert
2010-08-05 5:36 ` Olivier Berger
2010-08-05 10:02 ` Sebastian Rose
2010-08-07 6:47 ` camel.el, for CamelCase links Carsten Dominik
2 siblings, 2 replies; 12+ messages in thread
From: Michael Gilbert @ 2010-08-04 22:28 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
On Aug 3,2010, at 9:27 AM, Bastien wrote:
> "David O'Toole" <dto1138@gmail.com> writes:
>
>> http://github.com/dto/folio/blob/master/camel.el
>> Someone asked about this recently, i have some partially working code.
>
> I'm not a big fan of CamelCase links because it encourages the habit of
> creating many files -- but that may be useful for some.
I'm on the fence about that one. I would definitely love an easier way to create remote files and headings. This might help with the file end of that.
A question for people people on the list: I'm not sure of the conventions with CamelCase and wikis (and a quick search didn't reveal the answer), but I'm wondering what might work to complete the model — that is to say include creation of remote headings as well as remote files. For example, perhaps using the # sign convention, we would write 'CamelCase#usage' and the first part would act as has been described. The second part (after the # sign) would reference a (top level?) heading in that file. If the heading existed, then great. If not, then it's created as part of the same trigger.
Perhaps this is all old hat, but I couldn't dig up answers for myself, so I thought I would run it by you all.
— Michael
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-08-04 22:28 ` Michael Gilbert
@ 2010-08-05 5:36 ` Olivier Berger
2010-08-05 10:02 ` Sebastian Rose
1 sibling, 0 replies; 12+ messages in thread
From: Olivier Berger @ 2010-08-05 5:36 UTC (permalink / raw)
To: Michael Gilbert; +Cc: emacs-orgmode Mailinglist
Hi.
Le mercredi 04 août 2010 à 15:28 -0700, Michael Gilbert a écrit :
> A question for people people on the list: I'm not sure of the
> conventions with CamelCase and wikis (and a quick search didn't reveal
> the answer), but I'm wondering what might work to complete the model —
> that is to say include creation of remote headings as well as remote
> files. For example, perhaps using the # sign convention, we would
> write 'CamelCase#usage' and the first part would act as has been
> described. The second part (after the # sign) would reference a (top
> level?) heading in that file. If the heading existed, then great. If
> not, then it's created as part of the same trigger.
>
I think that's the way I would expect it to work in most wikis (or with
[[CamelCase#usage]] maybe for some.
Best regards,
--
Olivier BERGER <olivier.berger@it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-08-04 22:28 ` Michael Gilbert
2010-08-05 5:36 ` Olivier Berger
@ 2010-08-05 10:02 ` Sebastian Rose
2010-08-06 9:06 ` Syntax to trigger org-capture (Re: camel.el, for CamelCase links) Bastien
1 sibling, 1 reply; 12+ messages in thread
From: Sebastian Rose @ 2010-08-05 10:02 UTC (permalink / raw)
To: Michael Gilbert; +Cc: emacs-orgmode Mailinglist
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
Michael Gilbert <mcg@gilbert.org> writes:
> On Aug 3,2010, at 9:27 AM, Bastien wrote:
>
>> "David O'Toole" <dto1138@gmail.com> writes:
>>
>>> http://github.com/dto/folio/blob/master/camel.el
>>> Someone asked about this recently, i have some partially working code.
>>
>> I'm not a big fan of CamelCase links because it encourages the habit of
>> creating many files -- but that may be useful for some.
>
> I'm on the fence about that one. I would definitely love an easier way
> to create remote files and headings. This might help with the file end
> of that.
(Return key broken? No auto-fill-mode?)
I don't see why typing
[[file:xy.org]]
and
`C-b C-c C-0'
to follow that link is to much.
How about a function like this (just a quick hack):
[-- Attachment #2: Type: application/emacs-lisp, Size: 940 bytes --]
[-- Attachment #3: Type: text/plain, Size: 246 bytes --]
and bind it to a sensible key, e.g
`C-c M-l'
This avoids any problems with camel case syntax and is easy to use.
The function does not use the default link method yet (i.e. ID
locations) but I couldn't make that work yet.
Sebastian
[-- Attachment #4: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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] 12+ messages in thread
* Syntax to trigger org-capture (Re: camel.el, for CamelCase links)
2010-08-05 10:02 ` Sebastian Rose
@ 2010-08-06 9:06 ` Bastien
2010-08-07 6:31 ` Carsten Dominik
0 siblings, 1 reply; 12+ messages in thread
From: Bastien @ 2010-08-06 9:06 UTC (permalink / raw)
To: Sebastian Rose; +Cc: emacs-orgmode Mailinglist
When you think of CamelCase and on-the-fly creating of non-existing
files/headlines, it's just another way of *capturing* stuff.
Why not defining some simple syntax to trigger the capture mechanism
from special links?
For example:
"I write a reference to a >c:newfile which I can create later."
- The ">c:newfile" is a link.
- The ">c" is a link abbreviation.
- The ">" part is the syntax for link abbrevations to trigger a capture.
- The "c" part is the keybinding of capture template to call.
- The "newfile" would be passed on as a variable for the (nth 3) of the
template (we could have several variables separated by "#"
This would combine the flexibility of on-the-fly file creation and of
the capture mechanism, allowing multiple templates.
What do you think?
--
Bastien
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Syntax to trigger org-capture (Re: camel.el, for CamelCase links)
2010-08-06 9:06 ` Syntax to trigger org-capture (Re: camel.el, for CamelCase links) Bastien
@ 2010-08-07 6:31 ` Carsten Dominik
0 siblings, 0 replies; 12+ messages in thread
From: Carsten Dominik @ 2010-08-07 6:31 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode Mailinglist
On Aug 6, 2010, at 11:06 AM, Bastien wrote:
> When you think of CamelCase and on-the-fly creating of non-existing
> files/headlines, it's just another way of *capturing* stuff.
>
> Why not defining some simple syntax to trigger the capture mechanism
> from special links?
>
> For example:
>
> "I write a reference to a >c:newfile which I can create later."
>
> - The ">c:newfile" is a link.
> - The ">c" is a link abbreviation.
> - The ">" part is the syntax for link abbrevations to trigger a
> capture.
> - The "c" part is the keybinding of capture template to call.
> - The "newfile" would be passed on as a variable for the (nth 3) of
> the
> template (we could have several variables separated by "#"
>
> This would combine the flexibility of on-the-fly file creation and of
> the capture mechanism, allowing multiple templates.
This is a pretty smart idea, going through capture for this.
It would have the advantage that the new entry could be created
without having to switch buffers.
I just did push a change where
[[file:xyz.org::My new heading]]
will create a new entry when activated - but I will think about going
through capture.
Thanks!
- Carsten
>
> What do you think?
>
> --
> Bastien
>
> _______________________________________________
> 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] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-08-03 16:27 ` Bastien
2010-08-04 20:50 ` Olivier Berger
2010-08-04 22:28 ` Michael Gilbert
@ 2010-08-07 6:47 ` Carsten Dominik
2010-09-13 17:45 ` Marcelo de Moraes Serpa
2 siblings, 1 reply; 12+ messages in thread
From: Carsten Dominik @ 2010-08-07 6:47 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode Mailinglist
On Aug 3, 2010, at 6:27 PM, Bastien wrote:
> "David O'Toole" <dto1138@gmail.com> writes:
>
>> http://github.com/dto/folio/blob/master/camel.el
>>
>> Someone asked about this recently, i have some partially working
>> code.
>
> I'm willing to test.
>
> Can you provide the handlers so that the code works for Org?
>
> I'm not a big fan of CamelCase links because it encourages the habit
> of
> creating many files -- but that may be useful for some.
I am not a big fan of CamelCase for two reasons:
1. as Bastien says, to creates many small files. Org does work
with a number of files - I think it is less than perfect for a very
large number of files. If you want to create many files, David
O'Toole's
implementation might work for you - also it is not limited to Org
files.
2. Using CamelCase does encourage to write stuff in strange, hard to
read syntax which conflicts with some words or names that should not
be spelled like this, and which also does not look very good on
export.
THis is why most wikis have either stepped away from CamelCase, or
added
additional syntax, for example with brackets.
In fact, for Org mode, it seems more natural to use outline nodes for
the
structure of a wiki, not files. Russel Adams suggested this in another
thread:
http://thread.gmane.org/gmane.emacs.orgmode/27442/focus=27465
With the change I just made to make [[..]] links match exact headlines
and
to offer headline creation when no match is found, I do find it simple
enough to type [[My Heading]] or [[file:xyz.org::My Heading]]
I have toyed with CamelCase in the past though. And since there seems
to be at least some interest, I have just wrapped this code into a
contributed package and linked it properly into the hyperlink and
export mechanisms in Org. The modules is called org-wikinodes.el
and it is documented here:
http://orgmode.org/worg/org-contrib/org-wikinodes.php
- Carsten
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-08-07 6:47 ` camel.el, for CamelCase links Carsten Dominik
@ 2010-09-13 17:45 ` Marcelo de Moraes Serpa
2010-09-15 18:56 ` Marcelo de Moraes Serpa
0 siblings, 1 reply; 12+ messages in thread
From: Marcelo de Moraes Serpa @ 2010-09-13 17:45 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode Mailinglist, Bastien
Hi guys -- I have pulled the last version from the repo which include
org-wikinodes, but I don't see the line for the org-wikinodes module
when customizing the org-modules variable. What should I do?
Marcelo.
On Sat, Aug 7, 2010 at 1:47 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Aug 3, 2010, at 6:27 PM, Bastien wrote:
>
>> "David O'Toole" <dto1138@gmail.com> writes:
>>
>>> http://github.com/dto/folio/blob/master/camel.el
>>>
>>> Someone asked about this recently, i have some partially working code.
>>
>> I'm willing to test.
>>
>> Can you provide the handlers so that the code works for Org?
>>
>> I'm not a big fan of CamelCase links because it encourages the habit of
>> creating many files -- but that may be useful for some.
>
> I am not a big fan of CamelCase for two reasons:
>
> 1. as Bastien says, to creates many small files. Org does work
> with a number of files - I think it is less than perfect for a very
> large number of files. If you want to create many files, David O'Toole's
> implementation might work for you - also it is not limited to Org files.
>
>
> 2. Using CamelCase does encourage to write stuff in strange, hard to
> read syntax which conflicts with some words or names that should not
> be spelled like this, and which also does not look very good on export.
> THis is why most wikis have either stepped away from CamelCase, or added
> additional syntax, for example with brackets.
>
> In fact, for Org mode, it seems more natural to use outline nodes for the
> structure of a wiki, not files. Russel Adams suggested this in another
> thread:
>
> http://thread.gmane.org/gmane.emacs.orgmode/27442/focus=27465
>
> With the change I just made to make [[..]] links match exact headlines and
> to offer headline creation when no match is found, I do find it simple
> enough to type [[My Heading]] or [[file:xyz.org::My Heading]]
>
> I have toyed with CamelCase in the past though. And since there seems
> to be at least some interest, I have just wrapped this code into a
> contributed package and linked it properly into the hyperlink and
> export mechanisms in Org. The modules is called org-wikinodes.el
> and it is documented here:
>
> http://orgmode.org/worg/org-contrib/org-wikinodes.php
>
> - Carsten
>
>
> _______________________________________________
> 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] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-09-13 17:45 ` Marcelo de Moraes Serpa
@ 2010-09-15 18:56 ` Marcelo de Moraes Serpa
2010-09-19 21:40 ` Bastien
0 siblings, 1 reply; 12+ messages in thread
From: Marcelo de Moraes Serpa @ 2010-09-15 18:56 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode Mailinglist, Bastien
*bump*
On Mon, Sep 13, 2010 at 12:45 PM, Marcelo de Moraes Serpa
<celoserpa@gmail.com> wrote:
> Hi guys -- I have pulled the last version from the repo which include
> org-wikinodes, but I don't see the line for the org-wikinodes module
> when customizing the org-modules variable. What should I do?
>
> Marcelo.
>
> On Sat, Aug 7, 2010 at 1:47 AM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>>
>> On Aug 3, 2010, at 6:27 PM, Bastien wrote:
>>
>>> "David O'Toole" <dto1138@gmail.com> writes:
>>>
>>>> http://github.com/dto/folio/blob/master/camel.el
>>>>
>>>> Someone asked about this recently, i have some partially working code.
>>>
>>> I'm willing to test.
>>>
>>> Can you provide the handlers so that the code works for Org?
>>>
>>> I'm not a big fan of CamelCase links because it encourages the habit of
>>> creating many files -- but that may be useful for some.
>>
>> I am not a big fan of CamelCase for two reasons:
>>
>> 1. as Bastien says, to creates many small files. Org does work
>> with a number of files - I think it is less than perfect for a very
>> large number of files. If you want to create many files, David O'Toole's
>> implementation might work for you - also it is not limited to Org files.
>>
>>
>> 2. Using CamelCase does encourage to write stuff in strange, hard to
>> read syntax which conflicts with some words or names that should not
>> be spelled like this, and which also does not look very good on export.
>> THis is why most wikis have either stepped away from CamelCase, or added
>> additional syntax, for example with brackets.
>>
>> In fact, for Org mode, it seems more natural to use outline nodes for the
>> structure of a wiki, not files. Russel Adams suggested this in another
>> thread:
>>
>> http://thread.gmane.org/gmane.emacs.orgmode/27442/focus=27465
>>
>> With the change I just made to make [[..]] links match exact headlines and
>> to offer headline creation when no match is found, I do find it simple
>> enough to type [[My Heading]] or [[file:xyz.org::My Heading]]
>>
>> I have toyed with CamelCase in the past though. And since there seems
>> to be at least some interest, I have just wrapped this code into a
>> contributed package and linked it properly into the hyperlink and
>> export mechanisms in Org. The modules is called org-wikinodes.el
>> and it is documented here:
>>
>> http://orgmode.org/worg/org-contrib/org-wikinodes.php
>>
>> - Carsten
>>
>>
>> _______________________________________________
>> 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] 12+ messages in thread
* Re: camel.el, for CamelCase links
2010-09-15 18:56 ` Marcelo de Moraes Serpa
@ 2010-09-19 21:40 ` Bastien
0 siblings, 0 replies; 12+ messages in thread
From: Bastien @ 2010-09-19 21:40 UTC (permalink / raw)
To: Marcelo de Moraes Serpa; +Cc: emacs-orgmode Mailinglist, Carsten Dominik
Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
> *bump*
>
> On Mon, Sep 13, 2010 at 12:45 PM, Marcelo de Moraes Serpa
> <celoserpa@gmail.com> wrote:
>> Hi guys -- I have pulled the last version from the repo which include
>> org-wikinodes, but I don't see the line for the org-wikinodes module
>> when customizing the org-modules variable. What should I do?
wikinode is available from the `org-modules' variable since july 16th.
Maybe you're not using Org from where you're pulling the git repo?
--
Bastien
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2010-09-19 21:40 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 15:36 camel.el, for CamelCase links David O'Toole
2010-08-03 16:27 ` Bastien
2010-08-04 20:50 ` Olivier Berger
2010-08-04 22:28 ` Michael Gilbert
2010-08-05 5:36 ` Olivier Berger
2010-08-05 10:02 ` Sebastian Rose
2010-08-06 9:06 ` Syntax to trigger org-capture (Re: camel.el, for CamelCase links) Bastien
2010-08-07 6:31 ` Carsten Dominik
2010-08-07 6:47 ` camel.el, for CamelCase links Carsten Dominik
2010-09-13 17:45 ` Marcelo de Moraes Serpa
2010-09-15 18:56 ` Marcelo de Moraes Serpa
2010-09-19 21:40 ` Bastien
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).