On Wed, 27 Jul 2005, Paul Smith wrote:

> On 7/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > No, and it'll probably be a while before such a program ever exists (1-3
> > years if I have to make a wild guess). However, if I ever get around to
> > modify LyX to allow it to edit wiki pages it might be quicker - OTOH, I'm
> > guessing it'll be quite a while before I have the time for something like
> > that :-(
> 
> Thanks, Christian. I try
> 
> M-x pmwiki-mode
> 
> but I get "No match".
> 
> Any ideas?

Well, you do have to install it first :-)

Follow these instructions

        http://www.pmichaud.com/wiki/EmacsModes/CVS

and then look in the file pmwiki-mode.el that you just downloaded. 
Basically you have to add something like this

(add-to-list 'load-path "~/emacs/pmwiki-mode")
(require 'pmwiki-mode)
(set 'pmwiki-author "Paul")

to your file .emacs. In addition, you should also add this:

(set 'pmwiki-uri-transforms
     (list
      '("http://wiki.lyx.org\\(/[A-Z]\\|\\?\\)"
        "http://wiki.lyx.org";
        "http://wiki.lyx.org/pmwiki.php";)
      '("http://wiki.lyx.org/pmwiki.php";
        "http://wiki.lyx.org";
        "http://paul:[EMAIL PROTECTED]")
      ))

The reason you need the other stuff is that editing pages is password 
protected...

Anyway, if you re-start emacs, you should know be able to do

        M-x lyx-open

and then give e.g. 'Main.WikiSandbox' as an argument, in order to open tha
page. Let me know if you have any problems.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


Reply via email to