[Orgmode] Re: Update on Org-mode clone in Vim

2010-11-29 Thread Matt Lundin
Herbert Sitz hes...@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?

___
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


[Orgmode] Re: Update on Org-mode clone in Vim

2010-11-25 Thread Matt Lundin
Herbert Sitz hes...@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


___
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


[Orgmode] Re: Update on Org-mode clone in Vim

2010-11-25 Thread Herbert Sitz
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



___
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


[Orgmode] Re: Update on Org-mode clone in Vim

2010-11-25 Thread Herbert Sitz
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



___
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