emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Update on Org-mode clone in Vim
@ 2010-11-25 10:02 Herbert Sitz
  2010-11-25 13:14 ` OSiRiS
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Herbert Sitz @ 2010-11-25 10:02 UTC (permalink / raw)
  To: emacs-orgmode

Just wanted to update anybody interested that I'm still making progress on my
Vim org-mode clone.  Agenda view and flexible agenda searches on dates, todos,
and tags all work pretty well now.  I've got basic clocking and clock table
generation done, and some other things.  All is available at github:
https://github.com/hsitz/VimOrganizer

Another video on very basic date spec and agenda viewing stuff is here:
http://vimeo.com/17182850

I have a list of videos I want to get done in short order on:
(1) specifying tags and tag editing and searching
(2) specifying todos and editing todos and searching
(3) agenda searches on dates, tags, todos, their combinations, other properties,
etc.
(4) clocking in and out and clock tables

All this stuff is very similar to how Emacs Org-mode works, so the videos won't
be too interesting to most of you.  But I think they'll be quite helpful to
people coming from Vim, some of whom have never even heard of Org-mode (if you
can imagine that).

Cheers,

Herb Sitz

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

* Re: Update on Org-mode clone in Vim
  2010-11-25 10:02 Update on Org-mode clone in Vim Herbert Sitz
@ 2010-11-25 13:14 ` OSiRiS
  2010-11-25 17:19 ` Carsten Dominik
  2010-11-26  5:55 ` Matt Lundin
  2 siblings, 0 replies; 10+ messages in thread
From: OSiRiS @ 2010-11-25 13:14 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 502 bytes --]

On jue, 25 nov 2010, Herbert Sitz wrote:

> All this stuff is very similar to how Emacs Org-mode works, so the videos won't
> be too interesting to most of you.  But I think they'll be quite helpful to
> people coming from Vim, some of whom have never even heard of Org-mode (if you
> can imagine that).

Excelent!!

-- 

Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
E1B1 EB8E E37B 10B3 47E9 D73A 2C09 297C FFB9 4410
http://wiki.buenosaireslibre.org/NodoOsiux
http://osiux.com.ar


[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: 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] 10+ messages in thread

* Re: Update on Org-mode clone in Vim
  2010-11-25 10:02 Update on Org-mode clone in Vim Herbert Sitz
  2010-11-25 13:14 ` OSiRiS
@ 2010-11-25 17:19 ` Carsten Dominik
  2010-11-26  6:30   ` Herbert Sitz
  2010-11-26  7:12   ` Eric S Fraga
  2010-11-26  5:55 ` Matt Lundin
  2 siblings, 2 replies; 10+ messages in thread
From: Carsten Dominik @ 2010-11-25 17:19 UTC (permalink / raw)
  To: Herbert Sitz; +Cc: emacs-orgmode


On Nov 25, 2010, at 11:02 AM, Herbert Sitz wrote:

> Just wanted to update anybody interested that I'm still making  
> progress on my
> Vim org-mode clone.  Agenda view and flexible agenda searches on  
> dates, todos,
> and tags all work pretty well now.  I've got basic clocking and  
> clock table
> generation done, and some other things.  All is available at github:
> https://github.com/hsitz/VimOrganizer
>
> Another video on very basic date spec and agenda viewing stuff is  
> here:
> http://vimeo.com/17182850
>
> I have a list of videos I want to get done in short order on:
> (1) specifying tags and tag editing and searching
> (2) specifying todos and editing todos and searching
> (3) agenda searches on dates, tags, todos, their combinations, other  
> properties,
> etc.
> (4) clocking in and out and clock tables
>
> All this stuff is very similar to how Emacs Org-mode works, so the  
> videos won't
> be too interesting to most of you.  But I think they'll be quite  
> helpful to
> people coming from Vim, some of whom have never even heard of Org- 
> mode (if you
> can imagine that).

:)

You know what gut feeling I have when I see you write about your  
project?

I am jealous.  It must be a lot of fun to write Org mode from scratch,  
with a clear final feature set and detailed functionality already  
cleanly in your mind, and no legacy code to keep running and no  
detailed backward compatibility to worry about. :D

I am very curious to find out if Org's philosophy and ideas will get  
as much traction in the vi world.  It seems to me that they should.   
Even though there is little overlap between these worlds because an  
Editor choice is such a basic thing, I guess we are all the same geeks.

Cheers

- Carsten

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

* Re: Update on Org-mode clone in Vim
  2010-11-25 10:02 Update on Org-mode clone in Vim Herbert Sitz
  2010-11-25 13:14 ` OSiRiS
  2010-11-25 17:19 ` Carsten Dominik
@ 2010-11-26  5:55 ` Matt Lundin
  2010-11-26  6:22   ` Herbert Sitz
  2010-11-26  6:42   ` Herbert Sitz
  2 siblings, 2 replies; 10+ messages in thread
From: Matt Lundin @ 2010-11-26  5:55 UTC (permalink / raw)
  To: Herbert Sitz; +Cc: emacs-orgmode

Herbert Sitz <hesitz@gmail.com> writes:

> Just wanted to update anybody interested that I'm still making
> progress on my Vim org-mode clone. Agenda view and flexible agenda
> searches on dates, todos, and tags all work pretty well now. I've got
> basic clocking and clock table generation done, and some other things.
> All is available at github: https://github.com/hsitz/VimOrganizer

Thanks for putting the code up. I installed the files in ~/.vim and took
the code for a spin.

I found the cycling and navigation to be quite fluid.

There are some very nice touches. My favorites include the ability to
view entries directly in the agenda and the convenient ",2", ",3", ",4",
etc. to view the outline at various depths. (The latter reminded me of
commands I used to use in vim outliner.)

I'm curious to see how hyperlinks and capture might work in a vim
environment. Being able to call org-capture from anywhere in my Emacs
ecosystem (or should I say operating system) has spoiled me. :)

Best,
Matt

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

* Re: Update on Org-mode clone in Vim
  2010-11-26  5:55 ` Matt Lundin
@ 2010-11-26  6:22   ` Herbert Sitz
  2010-11-26  6:42   ` Herbert Sitz
  1 sibling, 0 replies; 10+ messages in thread
From: Herbert Sitz @ 2010-11-26  6:22 UTC (permalink / raw)
  To: emacs-orgmode

Matt Lundin <mdl <at> imapmail.org> writes:

> 
> I'm curious to see how hyperlinks and capture might work in a vim
> environment. Being able to call org-capture from anywhere in my Emacs
> ecosystem (or should I say operating system) has spoiled me. :)
> 
> Best,
> Matt
> 
> 

Matt -- There's some basic capture functionality in there
right now that you may want to try out. I was going to flesh
it out a bit and do a little video on it but it's probably
usable right now.  It's implemented using two simple 
functions:  

CaptureBuffer(), which opens a new window and is hard-coded
with a simple template that starts a level 2 heading with
a date-time stamp in next line, and then pressing :W 
when done calls: 

ProcessCapture(), which saves the entry 
you make in the capture buffer to the end of a first
level '* Agenda' heading in whatever file you have
defined as g:capture_file.  If you also have the 
g:capture_file included as one of your g:agenda_files
you can add entries from agenda and do immediate
refresh pretty much just like Russell Adams
demonstrates in his recent Org-mode
screencast at > http://vimeo.com/16533939 .

You can map a keycombo to :call CaptureBuffer and it 
should work for you.  If you try to get it working 
I'd be happy to hear of your success or help you 
resolve any problems.

Regards,

Herb

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

* Re: Update on Org-mode clone in Vim
  2010-11-25 17:19 ` Carsten Dominik
@ 2010-11-26  6:30   ` Herbert Sitz
  2010-11-26  7:12   ` Eric S Fraga
  1 sibling, 0 replies; 10+ messages in thread
From: Herbert Sitz @ 2010-11-26  6:30 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik <at> gmail.com> writes:
> 
> > All this stuff is very similar to how Emacs Org-mode works, so the  
> > videos won't
> > be too interesting to most of you.  But I think they'll be quite  
> > helpful to
> > people coming from Vim, some of whom have never even heard of Org- 
> > mode (if you
> > can imagine that).
> 
> :)
> 
> You know what gut feeling I have when I see you write about your  
> project?
> 
> I am jealous.  It must be a lot of fun to write Org mode from scratch,  
> with a clear final feature set and detailed functionality already  
> cleanly in your mind, and no legacy code to keep running and no  
> detailed backward compatibility to worry about. :D
> 
> I am very curious to find out if Org's philosophy and ideas will get  
> as much traction in the vi world.  It seems to me that they should.   
> Even though there is little overlap between these worlds because an  
> Editor choice is such a basic thing, I guess we are all the same geeks.
> 
> Cheers
> 
> - Carsten
> 

Carsten -- Yes, it is nice to code having a design spec that is already
fleshed out and time-tested in the real world.  I know there's a huge
amount of time, effort, and careful decision making that's gone into
the design of Org-mode.  It feels good to be able to piggy-
back off of it.

I just wish I knew Emacs and elisp a little better
so I could see how certain functions were implemented in it.  Some
things seem obvious; I expect I'm doing them very similarly in Vim
to the way they were done in Org-mode.  Other things, not so much.

Regards,

Herb

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

* Re: Update on Org-mode clone in Vim
  2010-11-26  5:55 ` Matt Lundin
  2010-11-26  6:22   ` Herbert Sitz
@ 2010-11-26  6:42   ` Herbert Sitz
  2010-11-29 14:00     ` Matt Lundin
  1 sibling, 1 reply; 10+ messages in thread
From: Herbert Sitz @ 2010-11-26  6:42 UTC (permalink / raw)
  To: emacs-orgmode

Matt Lundin <mdl <at> imapmail.org> writes:
> 
> I'm curious to see how hyperlinks and capture might work in a vim
> environment. Being able to call org-capture from anywhere in my Emacs
> ecosystem (or should I say operating system) has spoiled me. :)
> 
> Best,
> Matt
> 

Matt -- Regarding the hyperlinks there's a Vim plugin that already
seems to have pretty complete hyperlinking functionality.  Just put
it in your plugin folder and you're good to go with it.  You
can find it here:

http://www.vim.org/scripts/script.php?script_id=293

I haven't done any checking to see what needs to be done to make 
it compatible with Org-mode hyperlinking markup.  I don't think it 
should be too bad.

At least before 'conceal text' was available in Vim73 I don't 
think there's any good way to hide link details and have just
the link text appear in the document.  I haven't used Vim73
or looked at conceal text much, but it seems that feature
might make it possible to closely replicate the way
Emacs does things.  I'd be happy to hear suggestions from
people who know more about this. . . 

I think there are some other existing Vim plugins that can
be made use of.  There's a footnoting plugin that I want
to look into adopting at some point.  

Also, I have done
nothing at all to implement any of Org's table editing
functionality.  This is pretty much independent of Org
itself, and I was hoping there was an existing Vim plugin
that would be somewhere along lines of what's in Org, 
but I haven't found anything close yet.

-- Herb

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

* Re: Update on Org-mode clone in Vim
  2010-11-25 17:19 ` Carsten Dominik
  2010-11-26  6:30   ` Herbert Sitz
@ 2010-11-26  7:12   ` Eric S Fraga
  1 sibling, 0 replies; 10+ messages in thread
From: Eric S Fraga @ 2010-11-26  7:12 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode, Herbert Sitz

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Nov 25, 2010, at 11:02 AM, Herbert Sitz wrote:
>
>> Just wanted to update anybody interested that I'm still making
>> progress on my
>> Vim org-mode clone.  Agenda view and flexible agenda searches on
>> dates, todos,
>> and tags all work pretty well now.  I've got basic clocking and
>> clock table
>> generation done, and some other things.  All is available at github:
>> https://github.com/hsitz/VimOrganizer

[...]

> I am very curious to find out if Org's philosophy and ideas will get
> as much traction in the vi world.  It seems to me that they should.
> Even though there is little overlap between these worlds because an
> Editor choice is such a basic thing, I guess we are all the same
> geeks.

Actually, the overlap may not be as small as you might think.  Or maybe
I'm strange...  I /live/ in emacs *but* I use vi for quick and dirty
editing jobs, especially when I don't already have emacs running
(e.g. I've su-ed to another user when I'm managing my various computers
and tramp is not necessarily convenient).  Having a file compatible org
mode in both editors is doing to be fantastic!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.134.g88bd7)

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

* Re: Update on Org-mode clone in Vim
  2010-11-26  6:42   ` Herbert Sitz
@ 2010-11-29 14:00     ` Matt Lundin
  2010-11-29 14:58       ` Carsten Dominik
  0 siblings, 1 reply; 10+ messages in thread
From: Matt Lundin @ 2010-11-29 14:00 UTC (permalink / raw)
  To: Herbert Sitz; +Cc: emacs-orgmode

Herbert Sitz <hesitz@gmail.com> writes:

> Matt Lundin <mdl <at> imapmail.org> writes:
>> 
>> I'm curious to see how hyperlinks and capture might work in a vim
>> environment. Being able to call org-capture from anywhere in my Emacs
>> ecosystem (or should I say operating system) has spoiled me. :)
>
> Matt -- Regarding the hyperlinks there's a Vim plugin that already
> seems to have pretty complete hyperlinking functionality.  Just put
> it in your plugin folder and you're good to go with it.  You
> can find it here:
>
> http://www.vim.org/scripts/script.php?script_id=293
>
> I haven't done any checking to see what needs to be done to make 
> it compatible with Org-mode hyperlinking markup.  I don't think it 
> should be too bad.

The syntax does indeed seem similar at points:

http://mars.iti.pk.edu.pl/doc/vim-scripts/html/plugin_utl.vim.html

>
> At least before 'conceal text' was available in Vim73 I don't 
> think there's any good way to hide link details and have just
> the link text appear in the document.  I haven't used Vim73
> or looked at conceal text much, but it seems that feature
> might make it possible to closely replicate the way
> Emacs does things.  I'd be happy to hear suggestions from
> people who know more about this. . . 

This is a very interesting development in Vim. I remember that the
ability to hide text (in Org-mode and auctex) was one of the things that
drew me to Emacs in the first place.

> I think there are some other existing Vim plugins that can
> be made use of.  There's a footnoting plugin that I want
> to look into adopting at some point.  
>
> Also, I have done
> nothing at all to implement any of Org's table editing
> functionality.  This is pretty much independent of Org
> itself, and I was hoping there was an existing Vim plugin
> that would be somewhere along lines of what's in Org, 
> but I haven't found anything close yet.

I'd agree. I remember wishing for a self-aligning table editor in Vim
(let alone a spreadsheet). Then again, it took Carsten's genius to bring
that particular bit of magic to Emacs, so who knows what is possible in
Vim. The Vim/Unix philosophy (which I admire just as much as I admire
the all-in-one "second OS" philosophy behind Emacs) seems to be that
such things are better handled by external programs and that scripting
and integration should take place in the shell, not the editor.[1] All
of which makes an Org-mode clone in Vim a particularly impressive
accomplishment!

Thanks again. I look forward to following your progress.

Best,
Matt

Footnotes:
[1] And why not enjoy the best of both worlds, right?

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

* Re: Re: Update on Org-mode clone in Vim
  2010-11-29 14:00     ` Matt Lundin
@ 2010-11-29 14:58       ` Carsten Dominik
  0 siblings, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2010-11-29 14:58 UTC (permalink / raw)
  To: Matt Lundin; +Cc: emacs-orgmode, Herbert Sitz


On Nov 29, 2010, at 3:00 PM, Matt Lundin wrote:

> Herbert Sitz <hesitz@gmail.com> writes:
>
>> Matt Lundin <mdl <at> imapmail.org> writes:
>>>
>>> I'm curious to see how hyperlinks and capture might work in a vim
>>> environment. Being able to call org-capture from anywhere in my  
>>> Emacs
>>> ecosystem (or should I say operating system) has spoiled me. :)
>>
>> Matt -- Regarding the hyperlinks there's a Vim plugin that already
>> seems to have pretty complete hyperlinking functionality.  Just put
>> it in your plugin folder and you're good to go with it.  You
>> can find it here:
>>
>> http://www.vim.org/scripts/script.php?script_id=293
>>
>> I haven't done any checking to see what needs to be done to make
>> it compatible with Org-mode hyperlinking markup.  I don't think it
>> should be too bad.
>
> The syntax does indeed seem similar at points:
>
> http://mars.iti.pk.edu.pl/doc/vim-scripts/html/plugin_utl.vim.html
>
>>
>> At least before 'conceal text' was available in Vim73 I don't
>> think there's any good way to hide link details and have just
>> the link text appear in the document.  I haven't used Vim73
>> or looked at conceal text much, but it seems that feature
>> might make it possible to closely replicate the way
>> Emacs does things.  I'd be happy to hear suggestions from
>> people who know more about this. . .
>
> This is a very interesting development in Vim. I remember that the
> ability to hide text (in Org-mode and auctex) was one of the things  
> that
> drew me to Emacs in the first place.
>
>> I think there are some other existing Vim plugins that can
>> be made use of.  There's a footnoting plugin that I want
>> to look into adopting at some point.
>>
>> Also, I have done
>> nothing at all to implement any of Org's table editing
>> functionality.  This is pretty much independent of Org
>> itself, and I was hoping there was an existing Vim plugin
>> that would be somewhere along lines of what's in Org,
>> but I haven't found anything close yet.
>
> I'd agree. I remember wishing for a self-aligning table editor in Vim
> (let alone a spreadsheet). Then again, it took Carsten's genius to  
> bring
> that particular bit of magic to Emacs, so who knows what is possible  
> in
> Vim. The Vim/Unix philosophy (which I admire just as much as I admire
> the all-in-one "second OS" philosophy behind Emacs) seems to be that
> such things are better handled by external programs

This reminds me:  Almost 10 years ago, I did write such
a tool for table formatting:

http://staff.science.uva.nl/~dominik/Tools/tfmt/index.html

The man page even mentions that it can be used as a filter for
vi and Emacs.  And it implements computations of columns using
Perl syntax :)

- Carsten




> and that scripting
> and integration should take place in the shell, not the editor.[1] All
> of which makes an Org-mode clone in Vim a particularly impressive
> accomplishment!
>
> Thanks again. I look forward to following your progress.
>
> Best,
> Matt
>
> Footnotes:
> [1] And why not enjoy the best of both worlds, right?
>
> _______________________________________________
> 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] 10+ messages in thread

end of thread, other threads:[~2010-11-29 14:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-25 10:02 Update on Org-mode clone in Vim Herbert Sitz
2010-11-25 13:14 ` OSiRiS
2010-11-25 17:19 ` Carsten Dominik
2010-11-26  6:30   ` Herbert Sitz
2010-11-26  7:12   ` Eric S Fraga
2010-11-26  5:55 ` Matt Lundin
2010-11-26  6:22   ` Herbert Sitz
2010-11-26  6:42   ` Herbert Sitz
2010-11-29 14:00     ` Matt Lundin
2010-11-29 14:58       ` 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).