Juanma Barranquero
40b1a3a937
Fix typos.
...
* lisp/finder.el (finder-unknown-keywords):
* lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
* lisp/progmodes/etags.el (tags-table-including): Fix typos in docstrings.
* lisp/cedet/semantic/lex.el (semantic-ignore-comments): Doc fix.
* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
Fix typo in error message.
(semantic-symref-list-map-open-hits): Fix typo in docstring.
* lisp/org/org-agenda.el (org-agenda-hide-tags-regexp):
* lisp/org/org.el (org-refile-targets): Fix typos in docstrings.
2010-09-25 14:04:35 +02:00
Karl Fogel
e44fa724e4
Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
...
* lisp/bookmark.el (bookmark-make-record-default): Allow unneeded
information to be omitted from the record.
Adjust declarations and calls:
* lisp/info.el (bookmark-make-record-default): Adjust declaration.
(Info-bookmark-make-record): Adjust call.
* lisp/woman.el (bookmark-make-record-default): Adjust declaration.
(woman-bookmark-make-record): Adjust call.
* lisp/man.el (bookmark-make-record-default): Adjust declaration.
(Man-bookmark-make-record): Adjust call.
* lisp/image-mode.el (bookmark-make-record-default): Adjust declaration.
* lisp/doc-view.el (bookmark-make-record-default): Adjust declaration.
* lisp/gnus/gnus-sum.el (bookmark-make-record-default): Adjust declaration.
2010-07-14 11:57:54 -04:00
Stefan Monnier
fd67a7000e
Merge from emacs-23
2010-05-31 22:34:49 -04:00
Stefan Monnier
896114cf64
* lisp/man.el (Man-completion-table): Let the user type "-k ".
...
Fixes: debbugs:6319
2010-05-31 12:16:02 -04:00
Stefan Monnier
ebb9641fb2
Add a new field `location' to bookmarks for non-file bookmarks.
...
* bookmark.el (bookmark-location): Use the new field, if present.
(bookmark-insert-location): Undo last change, not needed any more.
* man.el (Man-bookmark-make-record):
* woman.el (woman-bookmark-make-record):
* gnus-sum.el (gnus-summary-bookmark-make-record): Add `location' field.
2010-04-14 11:07:53 -04:00
Stefan Monnier
398a825b8d
Clean up last bookmark changes for man/woman/gnus-summary.
...
* gnus-sum.el: Add bookmark declarations to silence the compiler.
(gnus-mark-xrefs-as-read, gnus-summary-limit-to-bodies):
Use with-current-buffer to silence the byte-compiler.
(gnus-summary-bookmark-make-record): Use derived-mode-p and don't
bother to require `gnus'.
(gnus-summary-bookmark-jump): Don't forget to autoload. Simplify.
* woman.el: Add bookmark declarations to silence the compiler.
(bookmark-prop-get): Use `man-args' rather than `filename' as a first
step to compatibility between man and woman bookmarks.
Adjust for Man-default-bookmark-title renaming.
(woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
* man.el: Add bookmark declarations to silence the compiler.
(Man-name-local-regexp): Make it match NAME as well.
(Man-getpage-in-background): Return the buffer.
(Man-notify-when-ready): Use `case'.
(man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
Don't hardcode "NAME". Simplify.
(Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
Rename from Man-bookmark-make-record.
(Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
we have the actual man-args. Use Man-getpage-in-background rather
than `man' since the arg is already processed. Let bookmark.el do the
window handling. Only wait for the relevant process.
Don't forget to autoload.
* bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
2010-04-12 12:09:47 -04:00
Thierry Volpiatto
45be326afc
Summary: Add bookmark support for man, woman and gnus-summary.
...
* woman.el (woman-bookmark-make-record, woman-bookmark-jump):
New functions.
(woman-mode): Setup bookmark support.
* man.el (man-set-default-bookmark-title, man-bookmark-make-record)
(man-bookmark-jump): New functions.
(Man-mode): Setup bookmark support.
* gnus-sum.el (gnus-summary-bookmark-make-record)
(gnus-summary-bookmark-jump): New functions.
(gnus-summary-mode): Setup bookmark support.
2010-04-12 11:17:29 -04:00
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