papo-hackers
[Top][All Lists]
Advanced

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

[Papo-hackers] emacs mode (quick hack)


From: John Lenton
Subject: [Papo-hackers] emacs mode (quick hack)
Date: Tue, 5 Nov 2002 12:10:50 -0300
User-agent: Mutt/1.3.28i

(defun gnue-mode ()
  "xml-mode + python-mode in triggers"
  (interactive)
  (xml-mode)
  (mmm-mode)
  (mmm-ify-by-regexp 'python-mode "<trigger[^>/]*>" 0 "</trigger>" 0 0 )
  )

(setq auto-mode-alist (cons '("\\.g[rf]d$" . gnue-mode) auto-mode-alist))


-- 
John Lenton (address@hidden) -- Random fortune:
        "Mach was the greatest intellectual fraud in the last ten years."
        "What about X?"
        "I said `intellectual'."
                ;login, 9/1990




reply via email to

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