[Chicago] [Editor]Python Auto Fill
Atul Varma
varmaa at gmail.com
Sat Mar 10 16:09:50 CET 2007
Thanks for the comments, Ian. I didn't see the lightning talk at
PyCon, though from what you described, I wish I did. Using a
stack-based approach sounds really interesting, I'll have to look into
that (and Oberon).
I agree that Pymacs would definitely make a good lightning talk topic.
I can give one of those the next time we do lightning talks. As for
the Pymacs API, it's actually pretty nice and straightforward: you can
just use the "Pymacs.lisp" object to access the entire elisp API,
which is documented here:
http://www.gnu.org/software/emacs/elisp-manual/html_node/index.html
I think the pymdev source file is actually pretty useful as a simple
example of using the Pymacs API, too; the section "Public module
helper functions" contains some basic functionality that wraps the
elisp API in some of the ways you mentioned:
http://www.toolness.com/pymdev/pymdev.py
I do wish there was an easier way to set up Pymacs, though; and
perhaps a simplified high-level Pythonic wrapper to the elisp API
would be useful, too.
- Atul
On 3/9/07, Ian Bicking <ianb at colorstudy.com> wrote:
> Atul Varma wrote:
> > I've posted my Python Emacs development module here, with documentation:
> >
> > http://www.toolness.com/pymdev
> >
> > Feedback is appreciated. If anyone's interested (and there's enough
> > time), I could also give a quick 5-minute presentation on it at
> > tonight's meeting.
>
> Did you see that lightning talk at PyCon that involved clicking and
> stacks on the UI? It was a little vague, but it reminded me of Oberon,
> and I think of pymdev too -- though using something more Forthish made
> composition a bit easier, I think.
>
> I'd definitely be interested in Pymacs in general, though admittedly
> either people will care about it (because they use Emacs) or it will be
> totally boring and useless. Lightning talk material?
>
> I feel like if I just understood a little bit of the Pymacs API (and
> hence the Emacs API) I could do most of what I want. I probably want...
> mmmm... the filename, current position of the point, ability to change
> the contents (treating it as one big string) and save that content, move
> the point around. Maybe that's it? I bet there's a lot of interesting
> things that could happen just using that. People get really excited
> about TextMate extensions, but I suspect in part because they are really
> easy to write, and Emacs is more intimidating. (Of course people get
> excited about Emacs extensions too...)
>
>
> --
> Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>
More information about the Chicago
mailing list