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

80 Commits

Author SHA1 Message Date
Eli Zaretskii
1efaf74bf4 (woman-mode): Restore tab-width value after the call to Man-mode, since
Man-mode resets it to the default, and that makes right	margin extend
beyond woman-fill-column.
2009-03-07 15:30:05 +00:00
Eli Zaretskii
00460cfd96 (woman-parse-colon-path): Return a list even if there's only one directory
in PATHS.
2009-03-07 14:36:36 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00
Glenn Morris
fffa137cb7 American English spelling fix. 2008-06-27 07:34:53 +00:00
Glenn Morris
6772c8e169 American English spelling fix. 2008-06-27 02:41:14 +00:00
Glenn Morris
5618fbd2c7 American English spelling fix. 2008-06-27 02:07:30 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Chong Yidong
532a0f4c95 (woman2-TH): Undo last change. Use string-equal instead of
string-match.
2008-04-11 02:30:24 +00:00
Chong Yidong
e1cd9b5b4a (woman2-TH): Quote search string argument to string-match. 2008-04-11 02:24:15 +00:00
Glenn Morris
a7e65ac436 (woman-locale): New defcustom.
(woman-expand-locale, woman-manpath-add-locales): New functions.
(woman-manpath): Call woman-manpath-add-locales.  Bump :version.
2008-02-08 20:43:50 +00:00
Glenn Morris
1e1cbbbff9 (woman-parse-numeric-arg): Change handling of `==': can be interned
without a function definition.
2008-01-12 23:21:25 +00:00
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
Glenn Morris
fd9c6792e8 (woman-ignore): Fix doc typo. 2007-10-13 19:36:00 +00:00
Glenn Morris
8d660cdf70 (woman0-rename): Fix paren typo. 2007-10-13 02:56:31 +00:00
David Kastrup
b616a212d4 (woman-topic-all-completions, woman-mini-help): Fix
fallout from 2007-09-07 introduction of `dolist' when the list
actually was being manipulated in the loop.
(woman-Cyg-to-Win, woman-pre-process-region)
(woman-horizontal-escapes, woman-if-body, woman-unescape)
(woman-strings, woman-special-characters, woman1-hc)
(woman-change-fonts, woman-find-next-control-line): Use
`match-beginning' rather than `match-string' when the result is
just used as a flag.
2007-09-30 19:10:44 +00:00
Juanma Barranquero
1909cca025 (woman-dired-define-keys): Use mapc' rather than mapcar'. 2007-09-25 11:17:39 +00:00
Stefan Monnier
70165841d8 (woman-mode-map, woman-syntax-table): Initialize in the declaration. 2007-09-10 03:22:12 +00:00
Stefan Monnier
86970dbd22 Remove spurious * in docstrings.
(woman-mini-help, woman-non-underline-faces, woman0-rename)
(woman-topic-all-completions-merge, woman-file-name-all-completions)
(woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
(woman-write-directory-cache, woman-display-extended-fonts)
(WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
(woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
(woman-mode): Use inhibit-read-only.
(woman-negative-vertical-space): Use dotimes.
(woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
2007-09-07 02:45:28 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Chong Yidong
69c8eea222 Add comment. 2007-04-10 19:35:34 +00:00
Chong Yidong
c7d397233e (woman-decode-buffer): Postphone macro-set check...
(woman-decode-region): ...to here.
2007-04-10 19:30:12 +00:00
David Kastrup
ba7529b671 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
corresponding to MANPATH_MAP entries.
(woman-man.conf-path, woman-parse-man.conf): Doc fix.
(woman-parse-man.conf): Use more discriminating man.conf name.
(woman-parse-man.conf): Parse MANPATH_MAP entries.
(woman-manpath): Doc fix and type fix.
(woman-cached-data): Check for MANPATH_MAP entries.
(woman-expand-directory-path): Treat MANPATH_MAP entries.

* woman.texi (Topic, Interface Options): Explain changes semantics of
woman-manpath in order to consider MANPATH_MAP entries.
2007-03-31 15:22:14 +00:00
Chong Yidong
11c5be91d7 (woman-change-fonts): Tweak previous change by using
woman-request-regexp rather than "^\\.".
2007-03-17 17:57:38 +00:00
Glenn Morris
a353f3f408 (woman-change-fonts): Add a hack to deal with
font-escape followed by "." at start of a line.
(woman2-IP): Add a hack to deal with consecutive requests.
(woman2-tagged-paragraph): Extend existing hack to handle "sp".
2007-03-10 04:12:44 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
bcd33653aa (woman-decode-buffer): Clarify error message. 2007-01-03 22:57:46 +00:00
Chong Yidong
d24b0d9a33 (woman-decode-buffer): Signal error for alien macro sets. Suggested
by James Cloos.
2006-12-24 03:15:53 +00:00
Glenn Morris
c90f275771 Update copyright years. 2006-12-05 07:06:08 +00:00
Chong Yidong
7e69f90429 * woman.el (woman2-format-paragraphs): Avoid infinite loop in case
there is no terminating newline.
2006-10-15 19:13:44 +00:00
Juanma Barranquero
da37d01fce (woman0-so): Use let*', not let'.
(woman-horizontal-line): Remove unbalanced parenthesis.
2006-09-22 21:35:30 +00:00
Stefan Monnier
8cc8239e5e Make sure all the end-of-region markers we use have
a non-nil insertion-type.
(woman0-so): Move things around so we can use copy-marker.
(woman0-roff-buffer, woman2-process-escapes-to-eol, woman2-roff-buffer):
Adjust marker type.
(woman2-process-escapes): Check marker type.
(woman-horizontal-line): Dispense with the use of a marker.
2006-09-22 19:09:45 +00:00
Juri Linkov
607acb9407 (woman-topic-history): Change defvar to defvaralias
for symbol `Man-topic-history'.
2006-09-02 23:29:18 +00:00
Chong Yidong
6081889eb5 * woman.el (woman-follow): New function, based on `man-follow'.
(woman-mode-map): Use it.

	* ibuffer.el (ibuffer-do-sort-by-recency): Perform full update
	since ibuffer-do-sort-by-recency does not define a sorter.
2006-08-28 15:40:21 +00:00
Juanma Barranquero
2b54c197fe (WoMan-xref-man-page): Fix call to `substring'. 2006-04-06 08:44:24 +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
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
Deepak Goel
8a26c16552 Message format spec fixes (1) 2005-09-18 12:25:02 +00:00
Eli Zaretskii
72f0712b75 (woman-topic-at-point-default): Renamed to woman-use-topic-at-point-default.
(woman-topic-at-point): Renamed to woman-use-topic-at-point.
(woman-file-name): Reflect renames above.  Automatically use the
word at point as topic if woman-use-topic-at-point is non-nil.
Otherwise offer it as default but don't insert it in the
minibuffer.  Also use `test-completion' instead of `assoc' as
suggested by Stefan Monnier.
2005-09-10 14:59:07 +00:00
Eli Zaretskii
9198ee0e04 Format- and whitespace-related changes. 2005-09-09 12:30:03 +00:00
Eli Zaretskii
f64b6c63b3 Fix my email address. 2005-09-09 12:21:26 +00:00
Richard M. Stallman
b25dc41fea (woman-file-name): Provide a default, not initial input. 2005-09-09 01:21:28 +00:00
Michael Albinus
553f03bcd2 * woman.el (top): Remap man' command by woman' in
`woman-mode-map'.
(Man-getpage-in-background-advice): Remove defadvice; it isn't
necessary any longer with the remapped command.
(Man-bgproc-sentinel-advice): Remove defadvice which counts
formatting time only.

* net/tramp.el (tramp-action-password)
(tramp-multi-action-password): Compile the password prompt from
`method', `user' and `host'.  Sometimes it isn't obvious which
password to enter, for example with remote files offered by
recentf.el, or with multiple steps.  Suggested by Robert Marshall
<robert@chezmarshall.freeserve.co.uk>.
2005-09-07 21:23:36 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
adf79d2723 (woman-ignore, woman0-if): Fix spelling in docstrings. 2005-06-16 16:12:40 +00:00