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

196 Commits

Author SHA1 Message Date
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Martin Rudalics
d8b3b1a17d (Man-default-man-entry): Make this a defun. Improve
guessing mechanism and handling of section numbers.
2007-12-31 17:53:30 +00:00
Juri Linkov
debe92052c (Man-follow-manual-reference): Fill the minibuffer's
default list with a full list of references.
2007-12-23 17:35:52 +00:00
Martin Rudalics
ccf721a625 (Man-default-man-entry): When looking for default man
entry title search text preceding point.  Use when instead of if.
2007-12-19 09:24:01 +00:00
Deepak Goel
8c16bd8c35 Fix buggy calls to `error'. 2007-12-06 17:56:42 +00:00
Juri Linkov
8783fe91be (Man-getpage-in-background): Don't disregard user option
`Man-width' on non-window systems.  Remove test for `window-system'
around setting envvar "COLUMNS" depending on the value of `Man-width'.
2007-11-23 00:32:42 +00:00
Juri Linkov
bab6f293f7 (Man-heading-regexp): Add 0-9.
(Man-first-heading-regexp): Remove leading space [ \t]* before NAME.
2007-11-16 01:28:02 +00:00
Juri Linkov
30971bf967 (Man-heading-regexp): Add 0-9.
(Man-first-heading-regexp): Remove leading space [ \t]* before NAME.
2007-11-16 01:18:50 +00:00
Glenn Morris
6b22680006 Tabify previous change. 2007-09-13 08:04:38 +00:00
Glenn Morris
162a12b1d7 Jari Aalto <jari.aalto at cante.net>
(Man-default-man-entry): At end of line, continue looking to the next
line for possible end of hyphenated command.
2007-09-13 08:01:54 +00:00
Glenn Morris
53d1f30dca Jari Aalto <jari.aalto at cante.net>
(Man-default-man-entry): At end of line, continue looking to the next
line for possible end of hyphenated command.
2007-09-13 08:00:47 +00:00
Stefan Monnier
a88459cd63 Remove spurious * in docstrings.
Merge defvars and toplevel setq-defaults.
(Man-highlight-references0): Limit=nil rather than point-max.
(Man-mode-map): Move initialization into the declaration.
(Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
(Man-view-header-file): Use expand-file-name rather than concat.
(Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
2007-08-08 19:52:03 +00:00
Stefan Monnier
4cb071a4bd (Man-next-section): Make sure we do not move backward. 2007-08-08 19:44:55 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Chong Yidong
65e076827a (Man-next-section): Don't consider the last line of the page as being
part of any section.
2007-06-04 23:42:10 +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