1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

162 Commits

Author SHA1 Message Date
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
Jim Blandy
c4b74c2089 * man.el (Man-find-section): HP/UX man pages have section names
indented by a single space; recognize them.
1993-07-29 04:02:54 +00:00
Richard M. Stallman
6b33eb408c (Man-filter-list): Insert \n newlines in awk script. 1993-07-29 02:31:06 +00:00
Richard M. Stallman
d4029c897c (Man-set-fonts): Don't look for another char after
the backspace; instead look for a sequence CHAR BS CHAR BS CHAR BS...
Delete all the CHAR BS pairs found, after making the text property.
1993-07-21 09:05:18 +00:00
Richard M. Stallman
0322056b57 (Man-getpage-in-background): Copy process-environment
so we only alter the copy.
1993-07-20 05:05:48 +00:00
Richard M. Stallman
056a5ef342 (Man-mode-line-format): Add a space after global-mode-string. 1993-07-06 22:07:27 +00:00
Jim Blandy
d902a61114 * man.el (Man-build-man-command): Don't leave a pipe symbol at the
end of the command list if Man-filter-list is nil.
	(Man-default-man-args): Don't write out assq and mapconcat.
	(Man-default-man-entry): Don't default to section 2 for C-mode.
	Call Man-default-man-args, and let people use
	Man-auto-section-alist if this is what they want.
	(manual-entry): Call Man-translate-references, instead of writing
	it out.
	(Man-getpage-in-background): Don't apply Man-default-man-args
	here; manual-entry has already run it, and
	Man-follow-manual-reference provides the sections itself.
1993-07-06 06:59:31 +00:00
Richard M. Stallman
c3343fcf79 (Man-auto-section-alist): Default value nil.
(Man-getpage-in-background): Call Man-default-man-args.
(Man-filter-list): Don't discard overstrike here.
(Man-set-fonts): New function.
(Man-bgproc-sentinel): Call Man-set-fonts.
(Man-version-number): Var deleted.
(Man-version): Command and binding deleted.
(Man-mode): Use Manual, not Man, as official mode name.
1993-06-28 19:53:30 +00:00
Jim Blandy
733155db8a * man.el (Man-switches): New variable.
(Man-build-man-command): Use it to build the man command.
	(Man-mode): Mention it in documentation.
1993-06-19 01:44:52 +00:00
Richard M. Stallman
136284159e (Man-getpage-in-background): Move close paren. 1993-06-13 18:00:36 +00:00
Richard M. Stallman
82c9fe8e25 (Man-getpage-in-background): Use TERM=dumb to prevent
terminal control sequences in the output.
1993-06-13 04:34:58 +00:00
Richard M. Stallman
4cd88e9c94 (Man-filter-list): Add an element for X man pages.
(Man-goto-page): Continue past errors in Man-build-references-alist.
1993-06-11 17:52:59 +00:00
Jim Blandy
d801ac0978 * man.el (manual-entry): Recognize the subject(section) syntax. 1993-06-11 10:29:55 +00:00
Richard M. Stallman
526504b86f (Man-mode): Run Man-mode-hook. 1993-06-10 17:48:36 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
e0fcbb5931 (Man-notify-when-ready): Correct previous change. 1993-05-30 19:15:39 +00:00
Richard M. Stallman
effdc6a226 entered into RCS 1993-05-29 04:53:57 +00:00
Eric S. Raymond
edbd2f74bc Added or corrected Commentary sections 1993-03-22 05:42:35 +00:00
Richard M. Stallman
79f3b0b773 (nuke-nroff-bs): Delete just 9 lines above header. 1992-10-02 04:06:18 +00:00
Richard M. Stallman
4da3b18972 (nuke-nroff-bs): Was nuking one line too many after header. 1992-10-02 00:32:14 +00:00
Eric S. Raymond
9750e079dd entered into RCS 1992-07-22 04:22:30 +00:00
Eric S. Raymond
fd7fa35a05 *** empty log message *** 1992-07-17 08:15:29 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
6594deb0dc *** empty log message *** 1992-05-30 22:12:04 +00:00
Jim Blandy
aa228418e9 *** empty log message *** 1991-12-21 09:14:03 +00:00
Roland McGrath
7229064dbf *** empty log message *** 1991-05-09 21:50:34 +00:00
Richard M. Stallman
1d40942159 *** empty log message *** 1991-04-05 19:46:28 +00:00
Richard M. Stallman
8c59783a6a *** empty log message *** 1990-10-09 02:52:33 +00:00
root
f65866ca58 *** empty log message *** 1990-07-26 04:05:55 +00:00
Joseph Arceneaux
1a20f48da0 Initial revision 1990-04-27 01:21:24 +00:00