public inbox for howm-eng@lists.osdn.me
 help / color / mirror / Atom feed
* [Howm-eng 17] Re: Question/Feature Requests
@ 2005-11-18 14:57 khi
  2005-11-19  2:15 ` [Howm-eng 18] " tongconsulting
  0 siblings, 1 reply; 2+ messages in thread
From: khi @ 2005-11-18 14:57 UTC (permalink / raw)


Hi.

At Thu, 17 Nov 2005 13:23:30 -0500,
tongconsulting at gmail.com wrote:
> While using howm taking notes, I'd like to have some simple markup
> capability, such as those available from emacs-wiki/Muse mode (e.g.,
> "_underline_" "*emphasize*").

Here is an example.

;; _underline_ and *emphasize*
(setq howm-user-font-lock-keywords
      '(("\\(^\\|\\s-\\)\\(_\\w+?_\\)\\(\\s-\\|$\\)"
         2 'underline prepend)
        ("\\(^\\|\\s-\\)\\([*]\\w+?[*]\\)\\(\\s-\\|$\\)"
         2 'font-lock-comment-face prepend)))

Ideally, I believe that howm itself should not offer any
formatting/markup rules, so that you can combine howm with your
favorite writing style.  It's the first motivation why I'm not
satisfied with emacs-wiki and I began to make my own tool.

Since howm-mode is a minor-mode, it can be used with any other modes
theoretically.  Indeed, I personally use rd-mode, rd-mode-plus, and
outline-minor-mode for markup and outline support, together with howm.
  http://lists.sourceforge.jp/mailman/archives/howm-eng/2005/000014.html

Other combinations are not tested sufficiently.  If you have any
trouble with outline+howm or org+howm, please let me know.

-- 
khi at users.sourceforge.jp


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Howm-eng 18] Re: Question/Feature Requests
  2005-11-18 14:57 [Howm-eng 17] Re: Question/Feature Requests khi
@ 2005-11-19  2:15 ` tongconsulting
  0 siblings, 0 replies; 2+ messages in thread
From: tongconsulting @ 2005-11-19  2:15 UTC (permalink / raw)


I agree with your approach (i.e. markup and formatting is not a
concern of howm mode). But your quick example works well too, thanks.

org+howm (and outline+howm) works fine, too.

Thanks again!

On 11/18/05, khi at users.sourceforge.jp <khi at users.sourceforge.jp> wrote:
>
> Here is an example.
>
> ;; _underline_ and *emphasize*
> (setq howm-user-font-lock-keywords
>       '(("\\(^\\|\\s-\\)\\(_\\w+?_\\)\\(\\s-\\|$\\)"
>          2 'underline prepend)
>         ("\\(^\\|\\s-\\)\\([*]\\w+?[*]\\)\\(\\s-\\|$\\)"
>          2 'font-lock-comment-face prepend)))
>
> Ideally, I believe that howm itself should not offer any
> formatting/markup rules, so that you can combine howm with your
> favorite writing style.  It's the first motivation why I'm not
> satisfied with emacs-wiki and I began to make my own tool.
>
> Since howm-mode is a minor-mode, it can be used with any other modes
> theoretically.  Indeed, I personally use rd-mode, rd-mode-plus, and
> outline-minor-mode for markup and outline support, together with howm.
>   http://lists.sourceforge.jp/mailman/archives/howm-eng/2005/000014.html
>
> Other combinations are not tested sufficiently.  If you have any
> trouble with outline+howm or org+howm, please let me know.
>
> --
> khi at users.sourceforge.jp
> _______________________________________________
> Howm-eng mailing list
> Howm-eng at lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/howm-eng
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-19  2:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-18 14:57 [Howm-eng 17] Re: Question/Feature Requests khi
2005-11-19  2:15 ` [Howm-eng 18] " tongconsulting

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 NNTP newsgroup(s).