1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
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
Lute Kamstra
63e9aa8ee8 (woman-mode-line-format): Delete constant.
(woman-mode-map): Initialize it properly.
(woman-mode): Set mode-class property to special.  Use
delay-mode-hooks and run-mode-hooks.  Use the right keymap.  Set
major-mode and mode-name.  Don't set mode-line-format directly.
(Man-getpage-in-background): Don't reference woman-mode-line-format.
2005-06-13 08:22:34 +00:00
Juanma Barranquero
c35dcd7e22 (woman-bold-headings, woman-ignore, woman-default-faces,
woman-monochrome-faces): Fix spellings in docstrings.
2005-06-10 14:09:51 +00:00
Miles Bader
b66e857532 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-370
Remove "-face" suffix from woman faces

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/woman.el (woman-italic, woman-bold, woman-unknown)
   (woman-addition, woman-symbol-face):
   Remove "-face" suffix from face names.
   (woman-italic-face, woman-bold-face, woman-unknown-face)
   (woman-addition-face):
   New backward-compatibility aliases for renamed faces.
   (woman-default-faces, woman-monochrome-faces, woman-man-buffer)
   (woman-decode-region, woman-replace-match)
   (woman-display-extended-fonts, woman-special-characters)
   (woman-font-alist, woman-change-fonts, woman2-TH, woman2-SH):
   Use renamed woman faces.
2005-06-10 08:07:29 +00:00
Dan Nicolaescu
ea81d57ec5 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
high number of colors displays.

* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Eli Zaretskii
f79b331a48 (woman-dired-define-key-maybe): If KEY is undefined,
lookup-key might return nil; handle that.
2005-01-15 12:46:54 +00:00
Richard M. Stallman
ce5568bf19 (woman): Don't call interactive-p. 2004-10-26 08:36:11 +00:00
Eli Zaretskii
aff379a69b Update Eli's email address. 2004-06-26 11:38:14 +00:00
David Kastrup
d0923e437b (woman-mapcan): More concise code.
(woman-topic-all-completions, woman-topic-all-completions-1)
(woman-topic-all-completions-merge): Replace by a simpler and
much faster implementation based on O(n log n) sort/merge instead
of the old O(n^2) behavior.
2004-06-03 19:53:53 +00:00
Eli Zaretskii
692feebddf (woman-change-fonts): Rename local variable
woman-font-alist to font-alist to avoid a compiler warning.
2004-03-27 12:07:09 +00:00
Juri Linkov
bd48e7c618 (woman-fill-frame): Doc fix.
(woman-decode-region): Use window-width instead of frame-width.
2004-03-23 07:35:35 +00:00
Eli Zaretskii
1239851cdd (woman-preserve-ascii): Default value changed to t and
doc string revised.
2004-03-13 13:06:48 +00:00
Eli Zaretskii
372713e696 (woman-man.conf-path): Doc fix.
(woman-parse-man.conf): Also parse OPTIONAL_MANPATH.  (Suggested
by Stefan Reich <xsteve@nit.at>.)
2004-03-07 14:54:35 +00:00
Richard M. Stallman
7cff48094e (woman-file-name, woman-follow-word):
If current-word returns nil, use "".
2003-09-22 15:15:26 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
a5393da851 (woman-xref): Removed.
(woman-mode): Use `Man-highlight-references' instead of `WoMan-highlight-references'.
(WoMan-highlight-references): Removed.
2003-04-02 21:24:56 +00:00
Juanma Barranquero
c60ee5e70f Cygwin support patch. 2003-01-31 15:24:20 +00:00
Juanma Barranquero
2d4c3c85e0 Updated user interface generally, especially Cygwin
compatibility.  Added some support for long groff names of the
form [xxx].  Added preprocessor detection and preliminary support
for tables using tbl/.TS/.TE.
2002-10-23 09:08:20 +00:00
Markus Rost
31e1a094cf (woman-menu): Add a comment about the last change. 2002-05-13 15:41:00 +00:00
Markus Rost
ee00eede3a (woman-menu): Move symbol before the comment so that
find-function-search-for-symbol finds it.
2002-05-09 21:14:38 +00:00
Richard M. Stallman
e31c1fd5e4 (ps-font-lock-face-attributes): Use :weight and :slant. 2001-12-31 20:32:52 +00:00
Miles Bader
e664497b5f (woman-mode-map): Copy button-buffer-map instead of
making a new keymap.  Don't bind mouse-2.  Bind M-mouse-2 to
`woman-follow-word' instead of `woman-mouse-2'.
(woman-follow-word): Renamed from `woman-mouse-2'.
Follow unconditionally, since this function is now only
bound to M-mouse-2.  Use accessor functions.
(WoMan-highlight-references): Use `make-text-button'.
(woman-xref): New button type.
2001-10-07 12:41:03 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Eli Zaretskii
a5eab4a9af (WoMan-highlight-references): Add help-echo to mouse-highlighted text. 2001-06-19 10:00:43 +00:00
Eli Zaretskii
e2a8028437 (WoMan-log-1): Make the log buffer writable. From
Markus Rost <rost@math.ohio-state.edu>.
2001-01-29 16:24:49 +00:00
Miles Bader
e01cd227f6 (woman-italic-face, woman-bold-face, woman-unknown-face):
Add dark-background variants.
(woman-default-faces):
  Renamed from `woman-colour-faces'.
  Set using the stored defaults, rather than using hard-wired colors.
(woman-monochrome-faces):
  Renamed from `woman-black-faces'.
  Just make the foreground `unspecified' rather than "black".
(woman-menu):
  Rename menu entries accordingly.
2000-10-23 05:37:24 +00:00
Miles Bader
02df875089 (woman-man.conf-path): Explicitly include the debian man-db config file
"/etc/manpath.config".
(woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
are present in `manpath.config'.
(woman-manpath): Include "/usr/share/man".
2000-07-04 04:46:05 +00:00
Eli Zaretskii
a0dd66efd0 (woman-man-buffer): Fix bold and underlined CJK
characters, which use series of two ^H characters instead of one.
2000-06-15 12:31:55 +00:00
Eli Zaretskii
f471ea57fd New version from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>:
(woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
names in environment variables regardless of the path separator.
(woman-topic-all-completions-1): Don't call file-name-directory-p
on all files, since woman-file-regexp already filters out any
directories.
2000-05-24 11:35:22 +00:00
Eli Zaretskii
1edbbf8a47 (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
(woman-mapcan, woman-parse-man.conf)
(woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
(woman-reset-emulation): New functions.
(woman-parse-colon-path): Call woman-mapcan.  Recognize Cygwin
path syntax better.
(woman-man.conf-path, woman-use-own-frame): New defcustoms.
(woman-manpath): Call woman-parse-man.conf.
(woman-emulation): New defcustom, defaults to nroff.
(woman-font-support): New defconst.
(woman-select-symbol-fonts): New function.
(woman-use-symbol-font): New defcustom.
(woman-menu): Add new menu items: "Colored/BW", "Advanced",
"Emulation".
Many functions: Doc fix.
2000-05-22 07:01:17 +00:00
Eli Zaretskii
077decde44 New file. 2000-05-08 14:32:17 +00:00