The current version of manual-entry, when used interactively, performs
an re-search-backward through the whole $#@%ing buffer in an attempt
to find a default.
The attached patch, whilst being a quick hack, does at least make
manual-entry usable again (unlike before: try the existing version
from a shell-mode buffer which contains the output from a few dozen
builds of substantial packages).
--
Glynn Clements <glynn(a)sensei.co.uk>
--- xemacs-packages/oa/edit-utils/man.el Tue Nov 14 02:41:09 2000
+++ xemacs-packages/oa/edit-utils/man.el.new Tue Mar 6 21:37:53 2001
@@ -190,7 +190,8 @@
(if (re-search-backward "\\sw\\|\\s_" nil t)
(forward-char))
(re-search-backward
- "\\(\\sw\\|\\s_\\)([0-9]+[A-Za-z]*\\=" nil t)
+ "\\(\\sw\\|\\s_\\)([0-9]+[A-Za-z]*\\="
+ (- (point) 1000) t)
(skip-syntax-backward "w_")
(point))
(progn