1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00
Commit Graph

153 Commits

Author SHA1 Message Date
Richard M. Stallman
8d2a4f61c8 (Man-reverse-face): Change default to `highlight'. 2004-12-03 00:20:39 +00:00
Stefan Monnier
079c2d0047 (Man-fontify-manpage): Improve handling of ANSI escapes. 2004-11-30 22:26:26 +00:00
Kim F. Storm
5bad605398 *** empty log message *** 2004-10-31 23:44:57 +00:00
Richard M. Stallman
1d3b75d82e (Man-cleanup-manpage): Instead of interactive-p,
use an arg set non-nil by the interactive spec.
2004-10-26 08:27:26 +00:00
Eli Zaretskii
00170b0d63 (Man-getpage-in-background): Add windows-nt to the list
of systems where shell-file-name should be used instead of
literal "sh".
2004-06-26 09:46:19 +00:00
Nick Roberts
353518de7e (Man-getpage-in-background): Revert previous change but
make cygwin a special case.
2004-06-19 00:50:04 +00:00
Eli Zaretskii
ac00945e6e (Man-getpage-in-background): Use shell-file-name
and shell-command-switch variables instead of hard-coded
values.
2004-05-11 09:30:25 +00:00
Juri Linkov
aec2bd36f1 (Man-width): New var.
(Man-getpage-in-background): Use it.
(Man-support-local-filenames): New var and fun.
(Man-build-man-command): Don't add a second %s.
(Man-fontify-manpage): Clean up message.
(Man-mode): Set outline-regexp, outline-level, imenu-generic-expression.
2004-03-23 07:33:39 +00:00
Eli Zaretskii
1c0ecbc499 (Man-fontify-manpage): Render section headings in
`Man-overstrike-face' even when overstrike was not used by man
formatter for section headings.
2004-02-16 18:22:33 +00:00
Richard M. Stallman
47f5c892a8 (Man-fontify-manpage): Clean up message. 2004-01-24 21:52:12 +00:00
Eli Zaretskii
1550204223 * progmodes/idlwave.el (idlwave-make-tags):
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
2004-01-03 12:12:01 +00:00
Eli Zaretskii
a069f50952 (Man-default-man-entry): Remove the leading `*' from the word at point. 2003-09-28 08:31:45 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
John Paul Wallington
ab5e579a46 (Man-default-man-entry): Don't whizz past the section number
before looking for it.
2003-08-25 03:50:47 +00:00
John Paul Wallington
6c5acd7fbb (Man-default-man-entry): Strip text properties when
snarfing parts of entry because `format' preserves properties.
2003-08-24 18:08:01 +00:00
Juanma Barranquero
7e734986ab (Man-translate-cleanup): New.
(Man-translate-references): Call `Man-translate-cleanup' to clean leading,
trailing and middle spaces.
2003-07-13 17:16:31 +00:00
Richard M. Stallman
50099a09c1 (Man-name-regexp): Match + as part of name. 2003-07-07 21:01:55 +00:00
Andreas Schwab
665a7c3b51 (Man-name-regexp): Also match Latin-1 soft hyphen.
(Man-build-references-alist): Handle Latin-1 soft hyphen.
2003-06-01 17:09:32 +00:00
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