[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacsweblogs] Re: weblogger 1.4.5

From: Mark A. Hershberger
Subject: Re: [Emacsweblogs] Re: weblogger 1.4.5
Date: Fri, 12 Mar 2010 13:51:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

Leo <address@hidden> writes:

> What is C-c C-e in the new entry buffer supposed to do? When I hit it
> the buffer turns into a nxml buffer but then I don't know from there
> onwards how to publish the post?

You can call M-x weblogger-toggle-edit-body to get back to
the weblogger-entry buffer.  This could be set to a key, but because of
the way this is designed, I didn't do that.

The mode that you can use to edit the body can be customized and a can
be used to take care of buffer conversion.

For instance, I have set weblogger-edit-mode to to org-mode and added a
hook to weblogger-weblogger-mode-toggle-hook to take care of converting
an org-mode buffer to HTML suitable for sending to the server.

I'm still not sure I like the design and will try to write a new
function – weblogger-post-this-buffer — that would take any buffer and
put the contents in a weblogger-entry mode buffer, optionally converting
it via hooks.

This would allow you to start writing in any buffer instead of starting
a weblogger-entry buffer first.  You'd have the full power of whatever
Emacs mode you wanted to use without this nasty hack.  Credit goes to
David Abrahmson, IIRC, for this idea.



The world is a dangerous place, not because of those who do evil, but
because of those who look on and do nothing.
                                            — Albert Einstein

reply via email to

[Prev in Thread] Current Thread [Next in Thread]