[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacsweblogs] Re: weblogger & major mode
From: |
David Abrahams |
Subject: |
[Emacsweblogs] Re: weblogger & major mode |
Date: |
Mon, 21 Sep 2009 13:11:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) |
on Thu Sep 17 2009, mah-AT-everybody.org (Mark A. Hershberger) wrote:
> * There are three new customizations:
>
> + weblogger-edit-mode - The major mode to switch to for editing the
> content.
> + weblogger-edit-mode-toggle-hook - hook to run when switching to
> the above mode.
> + weblogger-weblogger-mode-toggle-hook - hook to run when switching
> back to weblogger-entry-mode
>
> * In the weblogger-entry-mode, I've added a keybinding (C-c C-e) to
> switch to editting the body in the major-mode you put in
> weblogger-edit-mode (defaults to nxml-mode, but I'm open to
> suggestions for a better mode).
>
> When you switch major modes this way, the header is removed, the
> hooks are run and you can edit the body using whatever you're used
> to.
>
> * When you want to switch back to edit the meta-data and/or submit
> the entry, you would do “M-x weblogger-toggle-edit-body RET” and
> the headers will be inserted back into the buffer and the buffer
> will be switched back to weblogger-entry-mode.
>
> Let me know what you think!
After our recent discussion, I agree with these decisions.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com