1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

181 Commits

Author SHA1 Message Date
Michaël Cadilhac
b52efb9faf (Man-next-section): Don't consider the last line of the page as being
part of any section.
2007-05-10 11:54:33 +00:00
Martin Rudalics
fcbd9af64f (Man-support-local-filenames): Assure that
default-directory exists when doing call-process.
2007-03-24 09:43:07 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Chong Yidong
38363db72c (Man-xref-button-action): New function. If the `Man-target-string'
button property is a function, assume it accepts a position argument.
(Man-abstract-xref-man-page): Use it.
(Man-default-man-entry): New optional arg POS.
2006-12-09 17:42:28 +00:00
Juri Linkov
ea1f948dd8 (Man-topic-history): New variable.
(man): Use it.
2006-09-02 23:28:55 +00:00
Dan Nicolaescu
707f55b0d6 * man.el (Man-mode-map): Restore the \r binding.
(Man-abstract-xref-man-page): If Man-target-string is a function,
call it.
(Man-highlight-references): Use Man-default-man-entry to get the
target. Deal with xrefs too.
(Man-highlight-references0): Don't call the target function.

* woman.el (WoMan-xref-man-page): Strip the section number, woman
cannot deal with it.
2006-04-04 16:46:03 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juri Linkov
cfc1ba0f61 (Man-heading-regexp): Add `/'. 2006-01-17 00:51:53 +00:00
Nick Roberts
13780e21d6 (Man-file-name-regexp): Adjust for a list of files. 2006-01-12 21:22:30 +00:00
Juri Linkov
19437ce55f (Man-section-regexp): Add 0-9 to support "3X11" sections. 2005-12-04 02:45:20 +00:00
Eli Zaretskii
7172607266 (Man-highlight-references): Doc fix. Reformat code in a more Lisp-ish way. 2005-11-19 11:54:08 +00:00
Masatake YAMATO
af8308ec80 (Man-highlight-references): Set an empty
string to `Man-arguments' if it is nil.
Suggested by Reiner Steib <reinersteib+gmane@imap.cc>.
2005-11-10 04:49:19 +00:00
Masatake YAMATO
30abc4f43e Improve man -k support.
(Man-reference-regexp): Accpet spaces between
`Man-name-regexp' and `Man-section-regexp'.
(Man-apropos-regexp): New variable.
(Man-abstract-xref-man-page): Use value for `Man-target-string'
if available.
(Man-highlight-references, Man-highlight-references0): Handle
the case when `Man-arguments' includes "-k".
(Man-highlight-references0): Rename the argument `TARGET-POS' to
`TARGET'. `TARGET' can be a number, function or nil.
2005-11-06 18:01:34 +00:00
Masatake YAMATO
50071f01ec * woman.el (WoMan-xref-man-page): New button type derived
from `Man-abstract-xref-man-page'.
(woman-mode): Pass `WoMan-xref-man-page' to
`Man-highlight-references'.

* man.el (Man-abstract-xref-man-page): New button type.
(Man-xref-man-page): Make it derived from `Man-abstract-xref-man-page'.
(Man-highlight-references): Add new optiolnal argument `xref-man-type'.
2005-10-18 04:21:51 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Juanma Barranquero
927c60bd84 (Man-init-defvars, Man-translate-references, Man-support-local-filenames,
Man-highlight-references): Fix typos in docstrings.
2005-08-29 11:00:09 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juanma Barranquero
3ac3aabd2c (Man-goto-page): Make second argument NOERROR optional. 2005-07-24 01:03:25 +00:00
Richard M. Stallman
55fb4ff7a7 (Man-bgproc-sentinel): Check here for failure to find
any man page in the output, and report the error here.
(Man-arguments): Make it permanent local.
(Man-goto-page): New arg NOERROR.  Never kill the current buffer.
(Man-mode): Pass t for NOERROR.
2005-07-23 22:51:58 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Lute Kamstra
3a1524ed89 (Man-mode-map): Initialize it properly.
(Man-mode): Set mode-class property to special.
2005-06-12 10:11:00 +00:00
Juri Linkov
5f43c63c20 (Man-name-regexp): Add `:' to accept qualified names. 2005-05-29 16:09:50 +00:00
Lute Kamstra
430663bc89 (Man-mode): Use kill-all-local-variables and run-mode-hooks. 2005-05-26 13:07:46 +00:00
Eli Zaretskii
a46f2d6d7c (man-mode-syntax-table): Set up `:' to have word-constituent syntax. 2005-04-27 12:39:44 +00:00
Eli Zaretskii
580a2a0205 (Man-follow-manual-reference): If current-word returns nil, use "". 2005-03-19 14:37:59 +00:00
Richard M. Stallman
5a0c1883d4 (Man-getpage-in-background): Disable undo in Man buffer. 2005-01-29 17:27:13 +00:00
Kim F. Storm
2bac7f1784 (Man-xref-man-page, Man-xref-header-file)
(Man-xref-normal-file): Add follow-link property.
2005-01-06 22:00:56 +00:00
Richard M. Stallman
6bfb8bd66a (Man-fontify-manpage): Turn off undo generation. 2005-01-04 20:36:28 +00:00
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