Discussion:
[VM] Programmer's guide to VM code?
Konrad Hinsen
2012-01-16 16:44:23 UTC
Permalink
I wonder if there is any useful documentation for those who wish to
write e-lisp code that manipulates VM buffers. For example, I have
spent some time trying to figure out how to get the presentation
buffer for the active folder, but so far without success. I don't
expect a full manual, but perhaps there are some notes, discussions
on this list, etc. that could help.

Konrad.
Uday Reddy
2012-01-16 18:14:56 UTC
Permalink
Post by Konrad Hinsen
I wonder if there is any useful documentation for those who wish to
write e-lisp code that manipulates VM buffers. For example, I have
spent some time trying to figure out how to get the presentation
buffer for the active folder, but so far without success. I don't
expect a full manual, but perhaps there are some notes, discussions
on this list, etc. that could help.
Hi Konrad, have you looked at the "Internals" section of the VM manual?

There are two (buffer-local) variables that hold the identity of the
Presentation buffer, called `vm-presentation-buffer' and
`vm-presentation-buffer-handle'. I don't yet know why there are two
variables. But they generally seem to be the same.

Cheers,
Uday
Konrad Hinsen
2012-01-17 15:37:04 UTC
Permalink
Post by Uday Reddy
Hi Konrad, have you looked at the "Internals" section of the VM manual?
Apparently not, since that's what I was looking for :-(

Thanks for the pointer!
Post by Uday Reddy
There are two (buffer-local) variables that hold the identity of the
Presentation buffer, called `vm-presentation-buffer' and
`vm-presentation-buffer-handle'. I don't yet know why there are two
variables. But they generally seem to be the same.
I had found vm-presentation-buffer by looking at various pieces of VM
code, but when I look at its value it's always nil. I just checked
vm-presentation-buffer-handle and found it to be nil as well.

Konrad.

Loading...