* [FYI] New emacs-w3m feature: edit html-textareas in Org-mode
@ 2013-10-08 12:52 Thorsten Jolitz
0 siblings, 0 replies; only message in thread
From: Thorsten Jolitz @ 2013-10-08 12:52 UTC (permalink / raw)
To: emacs-orgmode
Hi List,
if you get the newest CVS version of emacs-w3m
#+begin_src sh
% cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot login
CVS password: # No password is set. Just hit Enter/Return key.
% cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot co emacs-w3m
#+end_src
you can now toggle the major-mode of textarea edit-buffers between text-mode
and org-mode with 'M-x w3m-form-textarea-toggle-major-mode'.
When you activate the use of Org-mode, a full-size Org-mode edit-buffer
in the same (sensibly-splitted) Emacs window (with the text of the
clicked html textarea) will be offered in 'show-all' state for editing
- instead of a minimal edit-buffer in text-mode.
In that buffer, minor-mode `w3m-form-input-textarea-mode' will be activated
(with a special minor-mode keymap that avoids clashes with Org-mode's
keybindings) offering the following commands:
,-----------------------------------------------------------
| W3m-Form-Input-Textarea minor mode (no indicator):
|
| Minor mode to edit form textareas of w3m.
|
| C-c C-c Set the value and exit from this textarea.
| C-c C-k Exit from this textarea without setting the value.
| C-x C-s Save editing data in this textarea.
`-----------------------------------------------------------
The default keybindings above (text-mode) are replaced with
,--------------------------------------------------------------------
| M-# c Set the value and exit from this textarea.
| M-# k (or M-# q) Exit from this textarea without setting the value.
| M-# s Save editing data in this textarea.
`--------------------------------------------------------------------
when the textarea edit-buffer is in org-mode.
Other attempts to make emacs-w3m and Org-mode work together are cited in the
[[http://www.emacswiki.org/emacs/emacs-w3m][Emacs Wiki]].
PS
Here is the ChangeLog entry for the new emacs-w3m feature described above:
,-------------------------------------------------------------------------
| 2013-10-07 Thorsten Jolitz <tjolitz@gmail.com>
| * w3m-form.el (w3m-form-input-textarea-mode-setup): New option for
| setting up the textarea input buffer in org-mode instead of text-mode.
|
| (w3m-form-input-textarea-org-mode-map) New minor-mode-map.
| (w3m-form-textarea-use-org-mode-p) New variable.
| (w3m-form-textarea-toggle-major-mode) New function.
| (w3m-form-input-textarea-mode-setup) Setup textarea edit buffer with
| major-mode 'org-mode if `w3m-form-textarea-use-org-mode-p' is non-nil.
| (w3m-form-input-textarea) Split window sensibly if
| `w3m-form-textarea-use-org-mode-p' is non-nil.
| (w3m-form-input-textarea-mode) Override default minor-mode map with
| new minor-mode-map in case major-mode is 'org-mode.
`-------------------------------------------------------------------------
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-08 12:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-08 12:52 [FYI] New emacs-w3m feature: edit html-textareas in Org-mode Thorsten Jolitz
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).