1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

79 Commits

Author SHA1 Message Date
Francesco Potortì
2f2228c0cc * man.el (Man-translate-references): Anchor the regexps. 1995-08-09 16:08:55 +00:00
Richard M. Stallman
b0d77652d3 (Man-underline-face): Doc fix. 1995-06-30 23:43:45 +00:00
Karl Heuer
c0eb044d0a Comment fix. 1995-05-30 18:21:01 +00:00
Karl Heuer
0006272a97 (Man-default-man-entry): Return result. 1995-05-30 05:07:52 +00:00
Francesco Potortì
a4be31c695 * man.el (Man-init-defvars): Don't remove lines containing
"No such file or directory".
eof
1995-05-29 13:20:51 +00:00
Francesco Potortì
c448c1349f * man.el (Man-default-man-entry): Remove text properties from result. 1995-02-03 12:07:37 +00:00
Richard M. Stallman
1d56cc39c1 (Man-bgproc-sentinel): No need for save-match-data. 1994-11-22 04:37:43 +00:00
Francesco Potortì
f90531cc3f * man.el (Man-berkeley-sed-script, Man-sysv-sed-script,
Man-cleanup-manpage, Man-fontify-manpage): Handle the "+\bo" form
	(used by aix) in addition to the "o\b+" one (used by sun).
1994-11-09 12:38:31 +00:00
Karl Heuer
2151a1cff8 (Man-follow-manual-reference): First arg deleted. Call
Man-getpage-in-background with one argument only.
[this entry was already in the ChangeLog, but not in the source.]
1994-11-08 22:34:06 +00:00
Francesco Potortì
98fd70174f * man.el (Man-reuse-okay-flag): Deleted.
(man, Man-getpage-in-background): Second arg deleted.
	References to Man-reuse-okay-flag deleted.
	(Man-follow-manual-reference): First arg deleted.  Call
	Man-getpage-in-background with one argument only.
1994-11-07 12:13:16 +00:00
Francesco Potortì
6e7e47f6e1 * man.el (Man-fontify-manpage-flag): defvar put at outer level.
(manual-program, Man-untabify-command, Man-untabify-command-args,
	Man-sed-command, Man-awk-command, Man-mode-line-format,
	Man-mode-map, Man-mode-hook, Man-cooked-hook, Man-name-regexp,
	Man-section-regexp, Man-page-header-regexp, Man-heading-regexp,
	Man-see-also-regexp, Man-first-heading-regexp,
	Man-reference-regexp, Man-switches, Man-specified-section-option):
	Make them normal defvars, no more user options.
	(Man-overstrike-face, Man-undeline-face): New user options.
	(Man-init-defvars): Man-fontify-manpage-flag removed from here.
	(man-fontify-manpage): Use the new user options above.
1994-10-27 19:08:03 +00:00
Francesco Potortì
2b5de6158e * man.el (Man-init-defvars): Do not delete empty lines. 1994-10-24 15:34:50 +00:00
Francesco Potortì
9931e1ba89 *** empty log message *** 1994-10-24 12:37:01 +00:00
Francesco Potortì
f7046d47ca * man.el (Man-init-defvars): Corrections to Man-filter-list.
(Man-fontify-manpage): Added cleaning of ksh manpage daggers.
	(Man-fontify-manpage): Added cleaning of ksh manpage daggers.
	(Man-bgproc-sentinel): Unconditionally call Man-cleanup-manpage.
1994-10-20 10:04:17 +00:00
Francesco Potortì
d0aede3f50 * man.el (Man-notify, Man-current-page, Man-page-list,
Man-filter-list, Man-original-frame, Man-arguments,
	Man-fontify-manpage-flag, Man-sections-alist, Man-refpages-alist,
	Man-uses-untabify-flag, Man-page-mode-string, Man-sed-script):
	Added defvar's to keep the compiler quiet.
	(Man-getpage-in-background): Start buffer name with "*Man ".
	instead of "*man " to avoid conflict with "*mail*".
	(Man-match-substring): Defsubst moved before first call.
	(Man-build-page-list, Man-strip-page-headers, Man-unindent): Use
	defun instead of defsubst, for code clarity purpose.
1994-10-06 10:28:26 +00:00
Francesco Potortì
6024daef5f * man.el (Man-init-defvars, Man-cleanup-manpage,
Man-fontify-manpage): fix previous fix.
1994-10-01 13:27:15 +00:00
Francesco Potortì
d046c1832d * man.el
(Man-init-defvars, Man-cleanup-manpage, Man-fontify-manpage):
	added support for the big cross present in the ksh manpage.
1994-09-29 12:42:45 +00:00
Francesco Potortì
799ac634aa User option Man-notify-flag renamed to Man-notify-method. 1994-09-22 12:10:16 +00:00
Francesco Potortì
b3435a2f66 * man.el (Man-notify-flag): replaces the old Man-notify
variable, use the old one if it is bound as initial value.
	(Man-reuse-okay-flag): replaces Man-reuse-okay.
	(Man-downcase-section-letters-flag): replaces
	Man-downcase-section-letters.
	(Man-circular-pages-flag): replaces Man-circular-pages.
	(Man-auto-section-alist): variable deleted.
	(Man-section-translations-alist): removed the "3x" translation.
	(Man-untabify-command, Man-untabify-command-args): new vars.
	(Man-sed-command, Man-awk-command): new variables.
	(Man-sysv-sed-script, Man-berkeley-sed-script): new constants.
	(Man-name-regexp, Man-page-header-regexp): new variable.
	(Man-heading-regexp): changed default value.
	(Man-reference-regexp): now refers to previous regexps.
	(Man-arguments): new buffer-local variable.
	(Man-page-mode-string): changed default value.
	(Man-mode-map): changed the meanings of ",", ".", "q".  Added new
	keys ">", "<", "k".
	(Man-page-mode-string): function deleted.
	(Man-init-defvars): New function used for initialising the system
	and environment dependent variables Man-fontify-manpage-flag,
	Man-uses-untabify, Man-sed-script, Man-filter-list.
	(Man-delete-trailing-newlines): function deleted.
	(Man-make-page-mode-string): new subst.
	(Man-build-man-command): now subst instead of function.  Modified
	to comply with the new format of Man-filter-list.
	(Man-downcase): function deleted.
	(Man-translate-references): complete rewrite.
	(Man-linepos): function deleted.
	(Man-match-substring): new function.
	(Man-default-man-args): function deleted.
	(Man-default-man-entry): complete rewrite.
	(man, manual-entry): function-alias relationship reversed.
	(man): prompt changed, prompt using interactive, call
	Man-init-defvars, set Man-arguments.
	(Man-notify-when-ready): manage the 'pushy value.
	(Man-fontify-manpage): substitute Man-set-fonts.
	(Man-cleanup-manpage): new function.
	(Man-bgproc-sentinel): cleanup, call Man-fontify-manpage and
	Man-cleanup-page when necessary.
	(Man-mode): call Man-strip-page-headers and Man-unindent.
	(Man-build-section-alist, Man-build-references-alist,
	Man-build-page-list): substs instead of functions.
	(Man-build-references-alist): cleanup.
	(Man-build-page-list): new algorithm.
	(Man-strip-page-headers, Man-unindent): new substs.
	(Man-find-section): assume section names start in column 1.
	(Man-quit): bury the buffer instead of killing it, delete the
	frame when necessary.
	(Man-kill): new function.
	(Man-goto-page): do the right thing when the manpage is not found,
	do not assume that Man-build-references-alist is broken.
1994-09-21 16:15:42 +00:00
Richard M. Stallman
c9bf42f9d1 (Man-notify-when-ready): Get Man-original-frame from the proper buffer. 1994-09-04 06:52:25 +00:00
Richard M. Stallman
8c79b392dc (Man-bgproc-sentinel): Bind case-fold-search for just the
necessary parts of the function, not the call to Man-notify-when-ready.
1994-07-11 00:25:37 +00:00
Richard M. Stallman
469e5e326f (Man-heading-regexp): Accept multiple whitespace chars. 1994-05-16 23:08:41 +00:00
Richard M. Stallman
9f2863b218 Remove periods from messages.
(Man-heading-regexp): Accept only one leading space.
1994-05-14 19:49:52 +00:00
Karl Heuer
17077ab35f (Man-build-man-command): Use manual-program, not hardcoded name.
(Man-getpage-in-background): Likewise.
1994-05-11 03:19:39 +00:00
Karl Heuer
eef4ad20e7 (Man-heading-regexp): Fix pattern.
(Man-build-section-alist): Use match data, not bol/eol.
1994-05-11 02:27:28 +00:00
Karl Heuer
a0a2cc0050 (Man-heading-regexp): Fix pattern. 1994-05-11 02:15:50 +00:00
Karl Heuer
2cd4790eff (Man-reuse-okay-p): Doc fix.
(Man-filter-list, Man-heading-regexp): Fix patterns.
(Man-first-heading-regexp, Man-find-section): Likewise.
(Man-getpage-in-background): Don't print ellipsis.
(Man-bgproc-sentinel): Preserve match data.
(Man-build-references-alist): Preserve restriction.
(Man-bgproc-sentinel, Man-build-section-alist): Bind case-fold-search.
(Man-next-section, Man-previous-section, Man-find-section): Likewise.
(Man-goto-page): Fix interactive declaration.
1994-05-11 02:09:43 +00:00
Karl Heuer
2c49d8ceab (Man-notify-when-ready): Change new-frame to make-frame. 1994-05-06 20:28:45 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
69e610ac11 (Man-notify-when-ready): Don't call select-frame if no window system. 1994-05-02 19:40:19 +00:00
Richard M. Stallman
ec334d84c0 (Man-notify-when-ready): In newframe case, use save-excursion. 1994-05-02 06:01:55 +00:00
Richard M. Stallman
8a32bceec2 (Man-mode-line-format):
Put mode-line-process immediately after mode-name
when setting mode-line-format.
1994-04-24 08:12:52 +00:00
Karl Heuer
2788b7c903 (manual-program): New (actually reintroduced) variable.
(Man-getpage-in-background): Don't hardcode the program name.
1994-04-05 03:40:06 +00:00
Karl Heuer
58732bd4aa (Man-filter-list): New footer format to delete. 1994-03-31 22:01:12 +00:00
Karl Heuer
fa8a9f302c (manual-entry): Document what the arg does. 1994-03-16 04:03:50 +00:00
Karl Heuer
75db9a6429 (Man-original-frame): New variable.
(Man-getpage-in-background): Save the frame that man was invoked in.
(Man-notify-when-ready): Restore it, if appropriate.
1994-03-15 05:12:14 +00:00
Karl Heuer
b09d7aa2a2 (Man-cooked-hook): Doc fix. 1994-03-15 04:32:39 +00:00
Karl Heuer
6449ac0799 Doc fix. 1994-03-15 03:59:11 +00:00
Karl Heuer
c2d606f4c0 (Man-filter-list): Extend footer pattern for hpux.
(Man-cooked-hook): New variable.
(Man-bgproc-sentinel): Run Man-cooked-hook after cleaning backspaces.
1994-03-15 02:52:55 +00:00
Richard M. Stallman
eaf1946c21 (Man-build-man-command): Redirect desc 2 to /dev/null.
(Man-getpage-in-background): Require env before printing message.
1994-03-14 22:37:58 +00:00
Richard M. Stallman
fcb8a0c510 (Man-filter-list): Don't insist on ...done' after wait'.
Match `Reformatting entry.  Wait'.
1994-03-10 17:08:48 +00:00
Richard M. Stallman
75067849bf (Man-default-man-args): Use Man-specified-section-option.
(Man-default-man-entry): Likewise.
1994-01-12 04:55:35 +00:00
Richard M. Stallman
e660d0db20 (Man-specified-section-option): Test system-configuration.
(Man-mode-hook): Renamed from Man-mode-hooks.

(Man-follow-manual-reference): Strip trailing - from default.

(Man-getpage-in-background): Use lower case for arg vars.
(Man-follow-manual-reference): Check for existence of references
before using the minibuffer.  Delete period from error message.
Delete spurious concat call.  Pass arg, not (consp arg),
to Man-getpage-in-background.

(Man-follow-manual-reference): Try to use current word
as a default for the reference to follow.
Use interactive to read the reference name.
1993-12-23 03:18:02 +00:00
Richard M. Stallman
9de0760cc8 (Man-specified-section-option): New variable.
(Man-translate-references): Use that variable.
1993-11-22 06:34:22 +00:00
Richard M. Stallman
f5f76002c2 (Man-section-regexp): Allow section names l, n, L, N. 1993-11-11 07:17:08 +00:00
Richard M. Stallman
1b88a44adb (Man-filter-list): Include anything starting with
alphabetics, and containing "Last change:".
(manual-entry): Don't call `Man-downcase' since
Man-translate-references has already done the right thing.
1993-11-10 20:48:04 +00:00
Richard M. Stallman
b51aeeffe4 (Man-frame-parameters): New variable.
(Man-notify-when-ready): Handle `newframe' as Man-notify value.
1993-11-06 04:16:34 +00:00
Richard M. Stallman
cac0b95d13 (man): Define as alias. 1993-08-03 18:52:07 +00:00
Richard M. Stallman
ea1ebaed7a (Man-section-translations-alist): Add entries for xlib. 1993-07-31 18:34:04 +00:00
Richard M. Stallman
3eedeb851b (Man-build-references-alist): When setting word,
use only what Man-reference-regexp matched.
(Man-reference-regexp): Don't match starting with a period.
(Man-first-heading-regexp): Allow leading space.
(Man-heading-regexp): Allow leading space.
1993-07-31 18:32:04 +00:00