Commit graph

183 commits

Author SHA1 Message Date
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Chong Yidong
7c420169ba Merge changes from emacs-23 branch 2011-01-02 15:31:19 -05:00
Chong Yidong
d78cdcf74e * help-fns.el (find-lisp-object-file-name): Locate .emacs from .emacs.elc (Bug#7530). 2010-12-21 14:45:11 +08:00
Leo Liu
e1a235757a * help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511). 2010-12-20 19:31:15 +08:00
Chong Yidong
3c505d3124 * lisp/help-fns.el (describe-variable): Don't emit trailing whitespace (Bug#7511). 2010-12-17 19:38:22 +08:00
Glenn Morris
17284e3024 Replace digest-doc and sorted-doc C programs with Lisp commands.
* lib-src/digest-doc.c, lib-src/sorted-doc.c: Remove files.
* lib-src/Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
(digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
* lib-src/makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
(install): Don't install digest-doc.exe or sorted-doc.exe.

* lisp/help-fns.el (doc-file-to-man, doc-file-to-info): New commands.

* doc/lispref/help.texi (Documentation Basics): Remove mentions of
digest-doc and sorted-doc.

* INSTALL, nt/README, nt/README.W32: Do not mention digest-doc and sorted-doc.

* etc/NEWS: Mention this change.
2010-10-22 19:46:06 -07:00
Stefan Monnier
0097720d41 * lisp/help-fns.el (describe-variable): Add original value, if applicable. 2010-09-20 13:13:52 +02:00
Chong Yidong
bd78fa1d54 Add "Package:" file headers to denote built-in packages. 2010-08-29 12:17:13 -04:00
Juanma Barranquero
fe4be04c37 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). 2010-07-23 03:51:48 +02:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Stefan Monnier
7fdbcd8387 * x-dnd.el (x-dnd-maybe-call-test-function):
* window.el (split-window-vertically):
* whitespace.el (whitespace-help-on):
* vc-rcs.el (vc-rcs-consult-headers):
* userlock.el (ask-user-about-lock-help)
(ask-user-about-supersession-help):
* type-break.el (type-break-force-mode-line-update):
* time-stamp.el (time-stamp-conv-warn):
* terminal.el (te-set-output-log, te-more-break, te-filter)
(te-sentinel,terminal-emulator):
* term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
(term-write-input-ring, term-check-source, term-start-output-log):
(term-display-buffer-line, term-dynamic-list-completions):
(term-ansi-make-term, serial-term):
* subr.el (selective-display):
* strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
(strokes-encode-buffer, strokes-xpm-for-compressed-string):
* speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
(speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
(speedbar-remove-localized-speedbar-support)
(speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
(speedbar-update-special-contents, speedbar-buffer-buttons-engine)
(speedbar-buffers-line-directory):
* simple.el (shell-command-on-region, append-to-buffer)
(prepend-to-buffer):
* shadowfile.el (shadow-save-todo-file):
* scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
(scroll-bar-maybe-set-window-start):
* sb-image.el (speedbar-image-dump):
* saveplace.el (save-place-alist-to-file, save-places-to-alist)
(load-save-place-alist-from-file):
* ps-samp.el (ps-print-message-from-summary):
* ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
(ps-background-image, ps-begin-job, ps-do-despool):
* ps-bdf.el (bdf-find-file, bdf-read-font-info):
* printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
(pr-ps-message-from-summary, pr-lpr-message-from-summary):
(pr-call-process, pr-file-list, pr-interface-save):
* novice.el (disabled-command-function)
(enable-command, disable-command):
* mouse.el (mouse-buffer-menu-alist):
* mouse-copy.el (mouse-kill-preserving-secondary):
* macros.el (kbd-macro-query):
* ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
* informat.el (batch-info-validate):
* ido.el (ido-copy-current-word, ido-initiate-auto-merge):
* hippie-exp.el (try-expand-dabbrev-visible):
* help-mode.el (help-make-xrefs):
* help-fns.el (describe-variable):
* generic-x.el (bat-generic-mode-run-as-comint):
* finder.el (finder-mouse-select):
* find-dired.el (find-dired-sentinel):
* filesets.el (filesets-file-close):
* files.el (list-directory):
* faces.el (list-faces-display, describe-face):
* facemenu.el (list-colors-display):
* ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
* epg.el (epg--process-filter, epg-cancel):
* epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
(epa--read-signature-type):
* emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
(emerge-file-names):
* ehelp.el (electric-helpify):
* ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
* ediff-vers.el (rcs-ediff-view-revision):
* ediff-util.el (ediff-setup):
* ediff-mult.el (ediff-append-custom-diff):
* ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
(ediff-wordify):
* echistory.el (Electric-command-history-redo-expression):
* dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
* disp-table.el (describe-display-table):
* dired.el (dired-find-buffer-nocreate):
* dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
* dabbrev.el (dabbrev--same-major-mode-p):
* chistory.el (list-command-history):
* apropos.el (apropos-documentation):
* allout.el (allout-obtain-passphrase):
(allout-copy-exposed-to-buffer):
(allout-verify-passphrase): Use with-current-buffer.
2009-11-13 22:19:45 +00:00
Stefan Monnier
5f2022a3f4 Don't require help-mode (to avoid bootstrap issues). 2009-10-21 18:54:55 +00:00
Stefan Monnier
828821887b (describe-function-1): Don't burp is the function is not a symbol. 2009-10-05 19:50:15 +00:00
Stefan Monnier
8d6c1239cb * help-fns.el (help-function-arglist): Don't check advertised-signature-table.
(describe-function-1): Do it here instead so it also applies to subrs.
* emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
Obey advertised-signature-table.
2009-10-02 14:36:54 +00:00
Juanma Barranquero
32226619c5 Use called-interactively-p' instead of interactive-p'. 2009-10-02 03:48:36 +00:00
Stefan Monnier
ced10a4c9f * emacs-lisp/byte-run.el (advertised-signature-table): New var.
(set-advertised-calling-convention): New function.
(make-obsolete, define-obsolete-function-alias)
(make-obsolete-variable, define-obsolete-variable-alias):
Make the optional-ness of `when' obsolete.
(define-obsolete-face-alias): Make `when' non-optional.
* help-fns.el (help-function-arglist):
* emacs-lisp/bytecomp.el (byte-compile-fdefinition):
Use advertised-signature-table.
2009-10-01 16:54:21 +00:00
Juanma Barranquero
1659ada0ff * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
(help-default-arg-highlight): Remove.
  (help-highlight-arg): New function.
  (help-do-arg-highlight): Use it.
  Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)

* NEWS: Mention new variable `help-downcase-arguments'
  and new default for arguments in *Help* buffers.
2009-09-24 19:19:41 +00:00
Glenn Morris
273cefaa42 (find-lisp-object-file-name): When looking for autoloaded
variables, also consider the .elc files, since the .el files are
normally gzipped (subsequent code locates the .el.gz from the .elc).
2009-09-15 02:35:47 +00:00
Glenn Morris
a87b98ce47 (describe-function-1): Mention if a function has a compiler-macro. 2009-09-11 03:40:14 +00:00
Chong Yidong
6c58c39c35 * faces.el (help-argument-name): Define it here instead of
help-fns.el, because in daemon mode help-fns.el may be loaded when
faces are still uninitialized (Bug#1078).

* help-fns.el (help-argument-name): Move defface to faces.el.
2009-08-13 15:59:34 +00:00
Chong Yidong
b6ce92f1c4 * help-fns.el (describe-variable): Treat list return values from
dir-locals-find-file properly (Bug#4005).
2009-08-02 23:09:00 +00:00
Glenn Morris
589a99f2f6 (describe-variable): Describe ignored and risky local
variables in a similar way to that in which we describe safe ones.
2009-07-23 02:55:34 +00:00
Juri Linkov
2ee20f24e8 (describe-variable): Add information about file-local and dir-local variables. 2009-07-19 16:56:22 +00:00
Chong Yidong
cebabb67a3 * help-fns.el (describe-function-1): Correctly locate adviced
functions in hyperlink (Bug#2438).
2009-06-28 05:06:56 +00:00
Glenn Morris
6565b5ab20 (find-lisp-object-file-name): Need a buffer position, not just a
buffer, to find a definition.
2009-02-27 04:01:22 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Chong Yidong
63326785af (describe-function-1): Do char-range check for self-insert-command. 2008-11-15 06:19:12 +00:00
Kenichi Handa
c6ec96f84a (describe-categories): Display the terse legend at the head. 2008-10-25 01:31:35 +00:00
Martin Rudalics
e8e8dbf923 (describe-function-1, describe-variable): Print
relative file name in help buffer.
2008-09-24 16:13:35 +00:00
Martin Rudalics
1113ff4400 (describe-function-1): Don't print extra newline
after filling.
2008-09-08 06:52:47 +00:00
Martin Rudalics
ed66e23539 (find-lisp-object-file-name): Handle case where
library is compressed.
2008-09-08 06:36:51 +00:00
Martin Rudalics
35fac1a521 (describe-simplify-lib-file-name, find-source-lisp-file): Removed.
(find-lisp-object-file-name): New function giving preference to
files found via load-path instead of loaddefs.el.
(describe-function-1): Use new function instead of the removed
ones.  (Bugs #587, #669, #690)
2008-09-01 08:04:40 +00:00
Glenn Morris
dbe6b8bb06 (describe-function-1): Handle broken aliases. (Bug#825) 2008-08-30 03:26:14 +00:00
Adrian Robert
14f798ff7e apply patch from Seiji Zenitani to find doc strings in ns*.m files 2008-07-28 13:19:10 +00:00
Stefan Monnier
2e6750c8f8 * help.el (function-called-at-point):
* help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
even when calling find-tag-default.
2008-06-06 20:02:42 +00:00
John Paul Wallington
22a1385df5 (describe-variable-custom-version-info): Handle dotted
`package-version' info.
2008-05-31 18:19:05 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Chong Yidong
526792a318 (describe-variable): Undo 2008-02-25 change. 2008-04-03 04:01:32 +00:00
Juanma Barranquero
fdb5bd87c4 (describe-function-1, describe-variable): If CURRENT-NAME is nil,
don't end obsolescence info with semicolon.
2008-03-26 14:49:15 +00:00
Stefan Monnier
67af6bdd7b (describe-function-1, describe-variable): If no
replacement is provided, don't print "use nil instead".
2008-03-26 02:36:45 +00:00
Stefan Monnier
55067594aa (describe-function-1): Don't signal "missing arglist" for autoloaded keymaps. 2008-03-19 18:21:52 +00:00
Robert J. Chassell
7f9629ce03 (describe-variable): Add phrases about initialization file with and
without customization; use new button type help-info-variable.
2008-02-25 16:31:25 +00:00
Bastien Guerry
b96817c387 2008-02-11 Drew Adams <drew.adams@oracle.com>
* help.el (describe-key): Joined some split lines to facilitate
	filling.
	* help-fns.el (describe-function-1): Fill text of overlong lines.
2008-02-12 07:10:49 +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
Richard M. Stallman
b2f2cd56b1 (describe-function-1): Call ad-get-advice-info only on symbols. 2007-12-06 13:30:14 +00:00
Glenn Morris
2c52d7a3b2 Remove directory part from filenames in function declarations. 2007-12-06 04:05:51 +00:00
Dan Nicolaescu
e8ffb999b9 * frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-21 03:06:01 +00:00