aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/man.el
Commit message (Collapse)AuthorAgeFilesLines
* * man.el (Man-berkeley-sed-script, Man-sysv-sed-script,Francesco Potortì1994-11-091-5/+7
| | | | | Man-cleanup-manpage, Man-fontify-manpage): Handle the "+\bo" form (used by aix) in addition to the "o\b+" one (used by sun).
* (Man-follow-manual-reference): First arg deleted. CallKarl Heuer1994-11-081-9/+6
| | | | | Man-getpage-in-background with one argument only. [this entry was already in the ChangeLog, but not in the source.]
* * man.el (Man-reuse-okay-flag): Deleted.Francesco Potortì1994-11-071-43/+22
| | | | | | | (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.
* * man.el (Man-fontify-manpage-flag): defvar put at outer level.Francesco Potortì1994-10-271-53/+56
| | | | | | | | | | | | | (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.
* * man.el (Man-init-defvars): Do not delete empty lines.Francesco Potortì1994-10-241-3/+3
|
* *** empty log message ***Francesco Potortì1994-10-241-3/+3
|
* * man.el (Man-init-defvars): Corrections to Man-filter-list.Francesco Potortì1994-10-201-26/+23
| | | | | | (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.
* * man.el (Man-notify, Man-current-page, Man-page-list,Francesco Potortì1994-10-061-17/+34
| | | | | | | | | | | | 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.
* * man.el (Man-init-defvars, Man-cleanup-manpage,Francesco Potortì1994-10-011-12/+13
| | | | Man-fontify-manpage): fix previous fix.
* * man.elFrancesco Potortì1994-09-291-2/+8
| | | | | (Man-init-defvars, Man-cleanup-manpage, Man-fontify-manpage): added support for the big cross present in the ksh manpage.
* User option Man-notify-flag renamed to Man-notify-method.Francesco Potortì1994-09-221-20/+20
|
* * man.el (Man-notify-flag): replaces the old Man-notifyFrancesco Potortì1994-09-211-339/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (Man-notify-when-ready): Get Man-original-frame from the proper buffer.Richard M. Stallman1994-09-041-34/+37
|
* (Man-bgproc-sentinel): Bind case-fold-search for just theRichard M. Stallman1994-07-111-20/+21
| | | | necessary parts of the function, not the call to Man-notify-when-ready.
* (Man-heading-regexp): Accept multiple whitespace chars.Richard M. Stallman1994-05-161-1/+1
|
* Remove periods from messages.Richard M. Stallman1994-05-141-9/+11
| | | | (Man-heading-regexp): Accept only one leading space.
* (Man-build-man-command): Use manual-program, not hardcoded name.Karl Heuer1994-05-111-2/+2
| | | | (Man-getpage-in-background): Likewise.
* (Man-heading-regexp): Fix pattern.Karl Heuer1994-05-111-2/+2
| | | | (Man-build-section-alist): Use match data, not bol/eol.
* (Man-heading-regexp): Fix pattern.Karl Heuer1994-05-111-1/+1
|
* (Man-reuse-okay-p): Doc fix.Karl Heuer1994-05-111-88/+94
| | | | | | | | | | | (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.
* (Man-notify-when-ready): Change new-frame to make-frame.Karl Heuer1994-05-061-1/+1
|
* Update copyright.Karl Heuer1994-05-031-1/+1
|
* (Man-notify-when-ready): Don't call select-frame if no window system.Richard M. Stallman1994-05-021-3/+6
|
* (Man-notify-when-ready): In newframe case, use save-excursion.Richard M. Stallman1994-05-021-2/+7
|
* (Man-mode-line-format):Richard M. Stallman1994-04-241-1/+1
| | | | | Put mode-line-process immediately after mode-name when setting mode-line-format.
* (manual-program): New (actually reintroduced) variable.Karl Heuer1994-04-051-1/+4
| | | | (Man-getpage-in-background): Don't hardcode the program name.
* (Man-filter-list): New footer format to delete.Karl Heuer1994-03-311-0/+1
|
* (manual-entry): Document what the arg does.Karl Heuer1994-03-161-1/+3
|
* (Man-original-frame): New variable.Karl Heuer1994-03-151-0/+10
| | | | | (Man-getpage-in-background): Save the frame that man was invoked in. (Man-notify-when-ready): Restore it, if appropriate.
* (Man-cooked-hook): Doc fix.Karl Heuer1994-03-151-1/+1
|
* Doc fix.Karl Heuer1994-03-151-2/+1
|
* (Man-filter-list): Extend footer pattern for hpux.Karl Heuer1994-03-151-1/+6
| | | | | (Man-cooked-hook): New variable. (Man-bgproc-sentinel): Run Man-cooked-hook after cleaning backspaces.
* (Man-build-man-command): Redirect desc 2 to /dev/null.Richard M. Stallman1994-03-141-1/+2
| | | | (Man-getpage-in-background): Require env before printing message.
* (Man-filter-list): Don't insist on `...done' after `wait'.Richard M. Stallman1994-03-101-1/+2
| | | | Match `Reformatting entry. Wait'.
* (Man-default-man-args): Use Man-specified-section-option.Richard M. Stallman1994-01-121-2/+5
| | | | (Man-default-man-entry): Likewise.
* (Man-specified-section-option): Test system-configuration.Richard M. Stallman1993-12-231-28/+43
| | | | | | | | | | | | | | | | (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.
* (Man-specified-section-option): New variable.Richard M. Stallman1993-11-221-1/+9
| | | | (Man-translate-references): Use that variable.
* (Man-section-regexp): Allow section names l, n, L, N.Richard M. Stallman1993-11-111-1/+1
|
* (Man-filter-list): Include anything starting withRichard M. Stallman1993-11-101-3/+4
| | | | | | alphabetics, and containing "Last change:". (manual-entry): Don't call `Man-downcase' since Man-translate-references has already done the right thing.
* (Man-frame-parameters): New variable.Richard M. Stallman1993-11-061-0/+7
| | | | (Man-notify-when-ready): Handle `newframe' as Man-notify value.
* (man): Define as alias.Richard M. Stallman1993-08-031-0/+4
|
* (Man-section-translations-alist): Add entries for xlib.Richard M. Stallman1993-07-311-0/+2
|
* (Man-build-references-alist): When setting word,Richard M. Stallman1993-07-311-6/+6
| | | | | | | 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.
* * man.el (Man-find-section): HP/UX man pages have section namesJim Blandy1993-07-291-1/+1
| | | | indented by a single space; recognize them.
* (Man-filter-list): Insert \n newlines in awk script.Richard M. Stallman1993-07-291-6/+6
|
* (Man-set-fonts): Don't look for another char afterRichard M. Stallman1993-07-211-3/+3
| | | | | 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.
* (Man-getpage-in-background): Copy process-environmentRichard M. Stallman1993-07-201-1/+1
| | | | so we only alter the copy.
* (Man-mode-line-format): Add a space after global-mode-string.Richard M. Stallman1993-07-061-1/+1
|
* * man.el (Man-build-man-command): Don't leave a pipe symbol at theJim Blandy1993-07-061-44/+25
| | | | | | | | | | | | | 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.
* (Man-auto-section-alist): Default value nil.Richard M. Stallman1993-06-281-51/+51
| | | | | | | | | | (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.