emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Re: Anchors and Lists and file extension defaults--


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: Anchors and Lists and file extension defaults---migrating from html and emacs-wiki
Date: Fri, 21 Oct 2005 09:43:35 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"Phillip Lord" <address@hidden> writes:

> I can't replicate this behaviour in muse, because of the interaction
> between the two markup's. Anchors have to be the start of a newline,
> and this, sadly, plays havoc with the list markup.
>
> No idea what to do about this, except to wonder whether anchors
> could occur of the start of a line. Then
>
> - #pabbrev.el This is my new...
> - #lazy-desktop.el This interacts with...
>
> should work.

I've tried to implement this in the following patch.

2005-10-21 14:39:50 GMT Michael Olson <address@hidden>  patch-252

    Summary:
      Allow anchors to occur near (rather than at) the beginning of line.
    Revision:
      muse--main--1.0--patch-252

    * lisp/muse-publish.el (muse-publish-markup-regexps): Allow non-word
      characters before anchor, like " - ".  Thanks to Phillip Lord for the
      suggestion.

    modified files:
     ChangeLog lisp/muse-publish.el

> Finally, I have a general comment on initially emacs-wiki and now
> muse.  I would put a plea that the default behaviour to have no file
> extension be changed. I often use make to build my websites,
> combined with emacs-wiki and now probably muse. I like to be able to
> build form a command line outside of emacs (as well as
> inside!). However, Makefile's always get recognised. It also
> prevents easy autoloading of muse (as muse has to be loaded to
> recognise files) and requires the use of find-file-hook which makes
> me a bit scared! I was very happy to discover muse-mode-auto-p and
> muse-file-extension. I'd suggest that "nil" and "muse" be set as
> default.

I agree.  I guess I'll go ahead and do this.

> Incidentally, would there be any interest in my ".ht" publishing
> style.  It's quite small, and I expect that the number of people in
> the world insane enough to use both muse and ht2html (another
> excellent package) will be quite small....

I am indeed interested in seeing your ".ht" publishing style.  What is
ht2html?

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpNCrIKA5PYl.pgp
Description: PGP signature


reply via email to

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