Commit graph

269 commits

Author SHA1 Message Date
Stefan Monnier
e8defde36d (Man-files-regexp): Tighten up the regexp (bug#5686). 2010-03-05 15:18:20 -05:00
Chong Yidong
ff90f4b003 Minor tweaks to custom groups.
* cus-edit.el (hardware): Doc fix.

* man.el (man): Add to external custom group.

* delim-col.el (columns): Move to wp custom group.

* doc-view.el (doc-view): Add to data custom group.

* cedet/data-debug.el (data-debug): Move to extensions group.

* cedet/ede.el (ede):
* cedet/srecode.el (srecode):
* cedet/semantic.el (semantic): Put in tools and extensions group.

* nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
2010-02-16 09:35:45 -05:00
Juri Linkov
91e3333fc5 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
Remove remaining ^H with their preceding chars.  (Bug#5566)
2010-02-14 02:20:31 +02:00
Stefan Monnier
c07ff22119 (Man-completion-table): Don't signal an error if we can't run
manual-program (bug#4056).
2010-02-11 11:00:01 -05:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Chong Yidong
e709e39d6e * man.el (Man-goto-section): Signal error if section not found (Bug#5317). 2010-01-09 18:53:06 -05:00
Kevin Ryde
69bcb1f3b2 (Man-bgproc-sentinel): When "-k foo" produces no output show error
"no matches" rather than "Can't find manpage", as the latter reads
like -k was interpreted as a page name, which is not so.  (My
bug#5431.)
2009-12-26 22:00:47 +00:00
Kevin Ryde
b58dd70793 Tweak a comment: it's man-db on gnu/linux which agrees with posix that
man -k arg is an egrep regexp.

(No need to changelog something this small is there?)
2009-12-26 21:32:51 +00:00
Kevin Ryde
91c4831e1a * man.el (man): Revise docstring a bit to show -a and -l as
examples.  Add -k description since support for it has otherwise
been a secret.  (Further to bug#3717.)
2009-12-26 21:30:00 +00:00
Stefan Monnier
d7117720c9 (Man-completion-table): Make it easier to enter "<sec> <name>". 2009-11-28 20:28:51 +00:00
Stefan Monnier
10c877fedc (Man-completion-table): Trim a terminating "(".
Remove the space between name page a section.
Add the command's description on the `help-echo' property.
Remove `process-connection-type' binding since it's unused by call-process.
Provide completion for the "<section> <name>" format as well.
(Man-default-man-entry): Remove spurious var shadowing the argument.
2009-11-27 04:08:04 +00:00
Kevin Ryde
573f4575dc (man): completion-ignore-case t for friendliness and since man
itself is case-insensitive on the command line.
2009-11-25 22:52:02 +00:00
Kevin Ryde
002cbde51f * man.el (Man-completion-table): default-directory "/" in case
doesn't otherwise exist.  process-environment COLUMNS=999 so as
not to truncate long names.  process-connection-type pipe to avoid
any chance of hitting the pseudo-tty TIOCGWINSZ.  (Further to
Bug#3717.)
2009-11-25 22:42:11 +00:00
Juri Linkov
1e2d9ba1ea (Man-completion-table): Modify regexp to include section names
to completion strings.  (Bug#3717)
2009-11-25 21:16:58 +00:00
Stefan Monnier
e2ec6dd513 (Man-completion-cache): New var.
(Man-completion-table): Use it.
2009-11-25 03:51:00 +00:00
Stefan Monnier
bb301b9aff (Man-completion-table): New function.
(man): Use it.
2009-11-24 20:00:41 +00:00
Glenn Morris
597e2240ab Use default-value rather than default-enable-multibyte-characters. 2009-09-03 06:54:57 +00:00
Eli Zaretskii
1bf0da029a (Man-init-defvars) [windows-nt]: Use a special command list. Don't invoke Awk. 2009-03-07 13:31:35 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Lute Kamstra
9201cc281b * align.el:
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Glenn Morris
3d56260a0b (Man-getpage-in-background): Force recent `man's to output
escape sequences even when stdout is not a tty.  (Bug#1142)
2008-10-16 07:18:04 +00:00
Glenn Morris
fffa137cb7 American English spelling fix. 2008-06-27 07:34:53 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +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
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