;;; -*- lexical-binding: t -*- ;; ;; this file: ;; https://dataswamp.org/~incal/emacs-init/erc/erc-man.el ;; ;; The manpage regular expressions including the comments ;; with examples are from Gnus, gnus-art.el lines 7892-7903, ;; Emacs 29.0. (require 'erc-button) (setq erc-button-alist `(,@erc-button-alist ;; ls(1) ("\\b\\([a-z][a-z]+([1-9])\\)\\W" 0 t man 1) ;; iso_8859-1(7), resolv.conf(5), xterm(1x) ("\\b\\([a-z][-_.a-z0-9]+([1-9])\\)\\W" 0 t man 1) ;; Apache::PerlRun(3pm), PDL::IO::FastRaw(3pm), SoWWWAnchor(3iv), X(1), X(7), XSelectInput(3X11) ("\\b\\(\\(?:[a-z][-+_.:a-z0-9]+([1-9][X1a-z]*)\\)\\|\\b\\(?:X([1-9])\\)\\)\\W" 0 t man 1) )) (provide 'erc-man)