Arnaud Bailly <[EMAIL PROTECTED]> writes:

> Michael Olson <[EMAIL PROTECTED]> writes:
>
>> Arnaud Bailly <[EMAIL PROTECTED]> writes:
>>
>>> Hello,
>>> I am currently working on a publishing format for trac: I want to be
>>> able to publish muse pages to a remote trac wiki. The problem I am
>>> currently running in is the lists problem: Lists in trac are nearly
>>> the same as in muse, except the dash is replaced by a star. So I need
>>> to keep indentations.
>>>
>>> I do not really know how to do that. Shall I try to do something
>>> overriding  muse-publish-markup-list, or is there some simpler way ?
>>
>> Just customize two options: muse-list-item-regexp, muse-ul-item-regexp.
>> The latter was very recently added.
>>
>
> I am not sure that we are talking about the same thing. I want to
> transform a muse formatted file to a trac formatted file. I assume
> that you are talking about importing/reading a trac formatted file.
>
> Am I right ?

Oh.  I didn't realize that.

In that case, you will want to make:

 - A `muse-trac-markup-functions' variable that has
   (list . muse-trac-markup-list)

 - A `muse-trac-markup-list' function based on
   `muse-publish-markup-list' that just uses the "movement" functions
   (like muse-forward-list-item) and replaces dashes with "*"
   characters.

 - A muse-define-style call that has :functions
   muse-trac-markup-functions.

-- 
       Michael Olson -- FSF Associate Member #652     |
 http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
            Sysadmin -- Hobbies: Lisp, GP2X, HCoop    | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |

Attachment: pgpyR53TvzIxk.pgp
Description: PGP signature

_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss

Reply via email to