unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* [man.el] perl's man pages use : as a word symbol
@ 2005-04-24 13:01 Alexander Klimov
  0 siblings, 0 replies; only message in thread
From: Alexander Klimov @ 2005-04-24 13:01 UTC (permalink / raw)
  Cc: Barry A. Warsaw

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-24 13:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-24 13:01 [man.el] perl's man pages use : as a word symbol Alexander Klimov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).