1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

135 Commits

Author SHA1 Message Date
Richard M. Stallman
f1e4bcdb0c (Man-follow-manual-reference): Don't require match
when calling completing-read.
2003-04-16 05:03:13 +00:00
Thien-Thi Nguyen
8793a2bd24 (Man-heading-regexp): Accept hyphen. 2003-04-09 12:17:59 +00:00
Kai Großjohann
2c17111abc (Man-getpage-in-background): Set GROFF_NO_SGR env var in
all cases, whether or not start-process is fboundp.
2003-04-07 09:32:39 +00:00
Juanma Barranquero
500e05aa15 Fix previous change. 2003-04-03 15:49:40 +00:00
Juanma Barranquero
4edd9faf12 (toplevel): Require button.
(Man-header-file-path): New option.
(Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
(Man-file-name-regexp, Man-normal-file-prefix-regexp, Man-header-regexp)
(Man-normal-file-regexp): New variables.
(Man-mode-map): Inherited from `button-buffer-map'.  Don't define "\r" and
mouse-2 directly.  These key are defined in `button-buffer-map'.
(Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file): New buttons.
`Man-xref-man-page' comes from woman.el.
(man-follow-mouse): Removed.
(Man-fontify-manpage): Use `Man-highlight-references' instead of calling
`add-text-properties' directly.
(Man-highlight-references, Man-highlight-references0): New functions.
(Man-view-header-file): New function.
2003-04-02 21:22:38 +00:00
Kai Großjohann
504feff525 * man.el (Man-getpage-in-background): Always use `setenv' for
environment variables, instead of modifying process-environment
directly.  The previous version let-bound process-environment --
the let-binding is skipped for GROFF_NO_SGR because there is
already a let-binding in effect in some outer scope.

* emulation/crisp.el (top-level): Interoperate with cua.
2003-03-09 14:05:25 +00:00
Kai Großjohann
cb24638ef7 (Man-getpage-in-background): Only change
default-directory if necessary.
2003-03-07 21:04:54 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Richard M. Stallman
f0088f4de8 (Man-getpage-in-background): Put GROFF_NO_SGR in env. 2002-12-21 20:25:25 +00:00
Richard M. Stallman
146afb5f31 (Man-default-man-entry): Don't look for all word chars,
look only for characters that are normally part of a shell command.
2002-10-26 22:37:54 +00:00
Dave Love
9606309f39 (Man-getpage-in-background): Set width in environment. 2002-10-15 17:42:29 +00:00
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +00:00
Stefan Monnier
2ba257e11c (Man-build-section-alist): Remove last Man-match-substring. 2001-11-30 21:56:46 +00:00
Stefan Monnier
72397ff1a9 (man-follow-mouse): New function.
(Man-mode-map): Bind mouse-2 to it.
(Man-match-substring): Remove.  Replace with `match-string'.
(man): Use the `default-value' argument to `read-string'.
(Man-fontify-manpage): Add mouse-face to cross references.
2001-11-30 09:13:21 +00:00
Miles Bader
c7cbaf4a0e (Man-mode-line-format): Variable removed.
(Man-mode): Change `mode-line-buffer-identification' instead of
`mode-line-format'.
2001-08-27 12:55:22 +00:00
Eli Zaretskii
7e03f4c813 (man): Mention Man-switches in the doc string.
(Man-switches): Mention -a in the doc string.
2001-08-01 15:31:08 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Ken Raeburn
ad78255132 properly mark Attic files as deleted 2001-07-06 08:41:36 +00:00
Eli Zaretskii
fb925bd896 (Man-hyphenated-reference-regexp): New variable.
(Man-build-references-alist): Use it to search for referenced
manpages.  If hyphenated is non-nil, record a concatenated word in
Man-refpages-alist only if it matches Man-reference-regexp.
Update word's length when it is concatenated.  Reverse the list,
to get the first manpage at the head.
(Man-possibly-hyphenated-word): New function.
(Man-follow-manual-reference): Use it instead of current-word to
find a manpage at point, in a way that accounts for hyphenated
references.
2001-03-06 13:42:06 +00:00
Gerd Moellmann
af900b233d (Man-default-man-entry, Man-mode): Doc fix. 2001-01-26 11:43:42 +00:00
Eli Zaretskii
9be031e447 Fix typo in a comment. 2000-10-15 05:52:05 +00:00
Kenichi Handa
a1c5fe609c (Man-getpage-in-background): Fix previous change.
Decode the process output only when we are in multibyte mode.
2000-10-11 23:59:16 +00:00
Eli Zaretskii
240301df36 (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
even if the display doesn't support colors: some displays will
support bold/underline faces.
2000-08-21 14:18:32 +00:00
Kenichi Handa
8629358381 (Man-getpage-in-background): Decode the process output by the system
locale coding system.
2000-08-21 01:39:45 +00:00
Eli Zaretskii
bf55e4150f (Man-notify-when-ready): Don't use window-system. If
Man-notify-method is newframe, and the display is not
multi-frame, select the frame created for the man page.
(Man-init-defvars): Doc fix.
2000-06-28 15:31:31 +00:00
Eli Zaretskii
4fbee715cb (man): Doc fix. 2000-06-21 16:43:44 +00:00
Stefan Monnier
d6373ed514 (Man-build-man-command): Don't quote lambda. 2000-06-12 05:17:53 +00:00
Kenichi Handa
e1ceff3a51 (Man-fontify-manpage): Fix previous change. 2000-06-09 07:48:24 +00:00
Kenichi Handa
cb581be7b1 (Man-fontify-manpage): Pay attention to overstrike
pattern for CJK characters (X^H^HX).
2000-06-09 00:42:39 +00:00
Dave Love
5bbf0b3c7f Doc fixes.
(Man-init-defvars): Use display-color-p to set fontification.
2000-03-12 14:49:20 +00:00
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