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

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

RE: [emacs-wiki-discuss] new WikiPages in muse


From: Phillip Lord
Subject: RE: [emacs-wiki-discuss] new WikiPages in muse
Date: Wed, 2 Nov 2005 11:51:06 -0000

Matthias Teege wrote:
> Moin,
> 
> I've made the step to muse and planner-muse (dev). Most things works.
> One thing that doesn't ist the creation of new WikiPages. I type a
> CamelCase word but dont get a "red" link. I can use [[CamelCase]] to
> get a link. How can I change this?
> 
> Many thanks
> Matthias
> 
> 
> _______________________________________________
> emacs-wiki-discuss mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss


I used this lisp for a while which seemed to work (for following
links...
it didn't get the highlighting work). 

It's commented out in my .emacs at the moment, so it was clearly
breaking
something, but I can't remember what. Use at your own risk. 

Probably there is a better way. 

Cheers

Phil

(add-to-list 'muse-implicit-link-functions
             'phil-muse-wiki-handle-broken-wikiword t)

   
 ;;
 ;; This is fixing the lack of broken wikiword link support, that is
 ;; WikiWord's with no link to go to, which should just work. There is
 ;; an add-to-list form above which this requires. Highlighting doesn't
 ;; work at the moment. 
 ;;
 (defun phil-muse-wiki-handle-broken-wikiword (&optional string)
             "Find a broken wikiword. 
      The is stolen from the standard muse-wiki, but doesn't check to
see 
      if it the end link really works."
             (when (and muse-wiki-use-wikiword
                        (if string
                            (string-match muse-wiki-wikiword-regexp
string)
                          (looking-at muse-wiki-wikiword-regexp)))
              (match-string 1 string)))




reply via email to

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