1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00
Commit Graph

105 Commits

Author SHA1 Message Date
Dave Love
9f79084ca2 (Man-softhyphen-to-minus): Revert previous change. Avoid unibyte to
multibyte conversion of search-forward (from Handa), but avoid the
replacement if the language is Latin-N.
1999-08-07 11:45:06 +00:00
Dave Love
85960a7cda (Man-softhyphen-to-minus): Revert last change. 1999-08-07 11:31:39 +00:00
Dave Love
2311d6d05d (Man-softhyphen-to-minus): Fix for multibyte case, do
nothing in Latin-N environment.
1999-08-04 19:00:57 +00:00
Andrew Innes
3945a18ace (Man-build-man-command): Use value of null-device,
instead of hard-coding "/dev/null".
1999-07-01 19:44:38 +00:00
Karl Heuer
635ad74809 (Man-page-header-regexp): Alternate value for Solaris 2.6. 1998-11-05 19:19:03 +00:00
Andreas Schwab
1ac26bf578 (Man-init-defvars): Avoid trailing nil on
Man-filter-list.
1998-09-18 09:13:46 +00:00
Richard M. Stallman
06cab243ef (Man-kill, Man-quit): Use quit-window. 1998-06-05 22:54:28 +00:00
Richard M. Stallman
cd3b7f95a1 (Man-getpage-in-background): Bind coding-system-for-write
to raw-text-unix instead of binding inhibit-eol-conversion to t.
1998-05-24 19:40:12 +00:00
Richard M. Stallman
42a9dc8436 (Man-notify-when-ready) <newframe>:
Mark frame's window as dedicated.
1998-04-16 06:25:11 +00:00
Karl Heuer
0dfb1b759e (Man-getpage-in-background): Bind inhibit-eol-conversion
to t before calling start-process or call-process.
1998-04-08 18:53:13 +00:00
Andreas Schwab
6f72f1c28d (Man-mode-line-format): Update to include the new format
elements.
1997-12-17 12:51:53 +00:00
Karl Heuer
fd5733a94b (Man-init-defvars, Man-build-man-command):
Bind default-directory to "/" to avoid possible error in call-process.
1997-11-17 01:56:15 +00:00
Kenichi Handa
6cb92c3a63 (Man-getpage-in-background): Bind inhibit-eol-conversion
to t before calling start-process or call-process.
(Man-softhyphen-to-minus): New function.  If
enable-multibyte-characters is non-nil, convert the code 0255 only
when it is not a part of a multibyte characters.
(Man-fontify-manpage): Call Man-softhyphen-to-minus.
(Man-cleanup-manpage): Likewise.
1997-10-23 12:03:07 +00:00
Richard M. Stallman
00ed33e7ab Add defgroup; use defcustom for user vars. 1997-04-13 07:51:54 +00:00
Karl Heuer
f655106be2 (man-mode-syntax-table): New variable.
(Man-mode): Use it.
(man-follow): New command and keystroke.
(Man-default-man-entry): Ignore trailing dots and underscores.
1997-03-02 00:15:34 +00:00
Karl Heuer
e7bf8d10cd (man-follow): New function.
(Man-mode-map): Bind it.
1997-03-01 17:45:36 +00:00
Richard M. Stallman
008d825ad3 (Man-init-defvars): Fix case in a char set range. 1997-02-04 17:42:19 +00:00
Eli Zaretskii
0020dbcd12 (Man-build-man-command): When async processes aren't
supported, don't redirect stderr via the shell.
(Man-getpage-in-background, Man-bgproc-sentinel): Support for
systems where async processes don't work.
1997-02-03 18:02:26 +00:00
Richard M. Stallman
1223b6c4c7 (Man-bgproc-sentinel): Move the buffer creation
outside of the binding of case-fold-search.
1996-11-03 18:55:09 +00:00
Richard M. Stallman
f5632218b0 Comment change. 1996-03-02 05:37:13 +00:00
Richard M. Stallman
58ffb6ae8e (man): Don't call Man-init-defvars here.
Do it at top level instead.
(Man-init-defvars): Now a defun, not a defsubst.
Don't set Man-uses-untabify-flag.
(Man-uses-untabify-flag): Add doc string.  Make default value t.
(Man-filter-list): Add doc string.
1996-02-26 00:15:09 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
9afa72e8e6 (Man-filter-list): Recognize "Rev" footers. 1996-01-08 22:49:24 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
e1bd1cb037 (Man-mode-map): Delete `toggle-truncate-lines' binding. 1996-01-02 17:03:24 +00:00
Richard M. Stallman
86884919ff (Man-fontify-manpage, Man-cleanup-manpage):
Convert \255 to a dash.
1995-11-24 22:19:32 +00:00
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