bug-gnu-emacs
[Top][All Lists]
Advanced

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

[man.el] perl's man pages use : as a word symbol


From: Alexander Klimov
Subject: [man.el] perl's man pages use : as a word symbol
Date: Sun, 24 Apr 2005 16:01:58 +0300 (IDT)

Hi.

It is very common for perl man pages to have names similar to
`PDL::Primitive'. If you press Enter on such a name in Man mode then
man-follow will try to jump to either PDL or Primitive instead of
PDL::Primitive. I guess the easiest way to fix the problem is to set
syntax of `:' as a part of word:

*** /usr/share/emacs/21.4/lisp/man.el~   Sat Feb 12 00:52:40 2005
--- /usr/share/emacs/21.4/lisp/man.el   Sun Apr 24 15:44:43 2005
***************
*** 329,332 ****
--- 329,333 ----
      (modify-syntax-entry ?. "w" table)
      (modify-syntax-entry ?_ "w" table)
+     (modify-syntax-entry ?: "w" table)
      table)
    "Syntax table used in Man mode buffers.")

-- 
Regards,
ASK




reply via email to

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