1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

349 Commits

Author SHA1 Message Date
Juri Linkov
3ffb948c26 (view-help-file): Use goto-address-mode instead of goto-address. 2009-01-14 23:10:54 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Martin Rudalics
90ad354160 (help-for-help-internal): Fix entry for "l". 2008-12-25 13:49:52 +00:00
Romain Francoise
6b8d1c7243 * help.el (view-lossage): Fix docstring, lossage is now 300 keys.
* kmacro.el (kmacro-edit-lossage): Ditto.
* edmacro.el (edit-kbd-macro): Ditto.
2008-10-11 18:43:38 +00:00
Martin Rudalics
eff2642489 (with-help-window): Return last value in BODY. 2008-08-14 05:51:24 +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
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Juri Linkov
de5ab37dc9 (describe-project): Remove defaliases for view-todo and
describe-project that are now unnecessary after the merge from
emacs--rel--22 that added define-obsolete-function-alias.
2008-03-12 21:55:02 +00:00
Miles Bader
56388398e7 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1095
2008-03-10 00:49:47 +00:00
Kim F. Storm
4e44f5ceeb (view-emacs-todo): Rename from view-todo. Change users.
(describe-gnu-project): Rename from describe-project. Change users.
Define obsolete function aliases for the old names.
2008-03-06 00:07:41 +00:00
Kim F. Storm
7b01c8d79e (view-emacs-todo): Rename from view-todo.
(describe-gnu-project): Rename from describe-project.  Users changed.
(view-help-file): New helper function.
(describe-distribution, describe-copying, describe-gnu-project)
(view-todo, view-order-manuals, view-emacs-problems): Use it.
(view-emacs-debugging, view-external-packages): New commands.
(help-map): Move describe-distribution to C-h C-o (ordering).
Move view-emacs-problems to C-h C-p (problems).
Bind view-emacs-debugging to C-h C-d (debugging).
Bind view-external-packages to C-h C-e (extras).
(help-for-help-internal): Cleanup and align descriptions.
Remove command names to reduce clutter.
2008-02-29 23:37:38 +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
Stefan Monnier
145fe412ba (describe-mode): Pass the right buffer to format-mode-line. 2008-01-16 15:55:15 +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
Deepak Goel
f6e7ec0248 Fix possibly buggy calls to `message'. 2007-12-06 00:17:56 +00:00
Juri Linkov
c766ffaa57 (help-map, help-for-help-internal): Add `C-h C-a'. 2007-11-10 21:19:54 +00:00
Martin Rudalics
cde5612198 (help-window, help-window-point-marker): New variables.
(help-window-select): New option.
(with-help-window): New macro for displaying help windows.
(help-window-display-message, help-window-setup-finish)
(help-window-setup): New functions used for setting up help windows.
(print-help-return-message): Reset help-window to nil.
(view-lossage): Use with-help-window instead of
with-output-to-temp-buffer and move help-window-point-marker after
inserted text.
(describe-bindings, describe-key, describe-mode): Use
with-help-window instead of with-output-to-temp-buffer.
2007-11-10 09:53:22 +00:00
Juanma Barranquero
cc6650afd6 (view-emacs-news): Use mapc' rather than mapcar'. 2007-09-25 11:07:06 +00:00
Juri Linkov
d4a183328c (help-map): Bind C-h C-a to about-emacs.
(help-for-help-internal): Add C-a description to C-h help text.
2007-09-22 15:42:12 +00:00
Martin Rudalics
2a5f11a2b0 (resize-temp-buffer-window): Use window-full-width-p
instead of comparing frame-width and window-width.
2007-08-06 06:51:13 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Chong Yidong
c3f82997d7 Fix typo in comment. 2007-03-21 16:15:45 +00:00
Juanma Barranquero
463d75acd9 (where-is): Fail gracefully when not passed a command. 2007-02-28 12:50:43 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
94318c8a1f (describe-minor-mode-completion-table-for-indicator,
lookup-minor-mode-from-indicator): "?\ " -> "?\s".
2006-11-27 13:52:27 +00:00
Juanma Barranquero
e08b54f227 (view-emacs-news): Fix typo in error message. 2006-11-06 02:46:23 +00:00
David Kastrup
f3b5dd74da * help.el (describe-mode): For clicks on mode-line, use "@"
interactive argument to get the major mode of the click instead of
the current buffer.

* isearch.el (isearch-mouse-2): Use new semantics of `key-binding'
in order to better redirect mouse-2 clicks.  Also allow default
bindings to apply.
2006-10-03 14:03:46 +00:00
Richard M. Stallman
badf89eaea (describe-key, describe-key-briefly): Test last event for being a down-event. 2006-09-24 20:43:32 +00:00
Chong Yidong
98da283bf0 * help.el (describe-key-briefly, describe-key): Don't expect an
extra up event if a down-event is generated by a popup menu.
2006-09-23 19:34:38 +00:00
Kim F. Storm
24a2788281 (describe-key-briefly, describe-key): Simplify printing
of descriptions by using format and %S.  Fix "is undefined"
messages to say "at that spot" for mouse events.
2006-09-19 13:59:27 +00:00
Eli Zaretskii
0f10166354 (describe-prefix-bindings): Use let, not let*. 2006-09-16 10:45:38 +00:00
Kim F. Storm
05ca18a822 (describe-key): Handle C-h k in *Help* buffer; collect
all necessary information about the event before erasing *Help*.
2006-09-15 21:25:01 +00:00
David Kastrup
91a2acb229 * mouse-sel.el (mouse-sel-follow-link-p): Use event position
instead of buffer position for `mouse-on-link-p'.

* mouse.el (mouse-posn-property): New function looking up the
properties at a click position in overlays and text properties in
either buffer or strings.
(mouse-on-link-p): Use `mouse-posn-property' to streamline lookup
of both `follow-link' as well as `mouse-face' properties.
(mouse-drag-track): Check `mouse-on-link-p' on event position, not
buffer position.

* help.el (describe-key-briefly): When reading a down-event on
mode lines or scroll bar, swallow the following up event, too.
Use the new mouse sensitity of `key-binding' for lookup.
(describe-key): The same here.
2006-09-15 08:53:18 +00:00
David Kastrup
bcd8e1a907 * help.el (string-key-binding, describe-key-briefly)
(describe-key): Remove `string-key-binding' and its callers since
	`key-binding' already caters for the proper lookup now.

(string-key-binding, describe-key-briefly)
(describe-key): Remove `string-key-binding' and its callers since
`key-binding' already caters for the proper lookup now.
2006-09-11 09:47:43 +00:00
Richard M. Stallman
d8a869ea1f Whitespace change. 2006-08-08 20:53:10 +00:00
Richard M. Stallman
7172336736 (describe-mode): Make minor mode list more concise. 2006-08-06 04:31:58 +00:00
Kim F. Storm
8c9fc4be24 (view-emacs-news): Declare `res' in the right let* form. 2006-06-25 22:41:40 +00:00
Richard M. Stallman
f609f34556 (help-for-help-internal): Clean up help text. 2006-06-10 10:17:41 +00:00
Kim F. Storm
e38cc268e2 (view-emacs-news): Rewrite to support new NEWS,
NEWS.major, and NEWS.1-17 file naming.  Add more intelligense,
e.g. version 10 matches 1.10, and don't be confused by version 1.1
begin a prefix of 1.12 (etc).  A numeric prefix arg also works.
2006-06-04 01:14:15 +00:00
Richard M. Stallman
90e357ae45 (temp-buffer-max-height): Doc fix. 2006-05-30 02:35:56 +00:00
Eli Zaretskii
cb0b676650 (print-help-return-message): Suggest to use display-buffer instead of
switch-to-buffer-other-window to restore the previous window without
selecting it.
2006-03-25 10:11:09 +00:00
Juanma Barranquero
e5fe3a6cc9 (view-lossage): Remove trailing whitespace before inserting "\n". 2006-03-08 10:11:47 +00:00
Chong Yidong
46d91fa0df * help.el (describe-key-briefly): If KEY is a down event, read and
discard the up event.
2006-03-07 15:53:41 +00:00
Juanma Barranquero
a78914bca9 (describe-key): Remove leftover test code. 2006-03-07 09:53:30 +00:00
Chong Yidong
4dfb267845 * help.el (describe-key): Handle string and vector `follow-link' values. 2006-03-06 22:31:36 +00:00
Chong Yidong
aa38f98ed3 * help.el (describe-key): Properly handle the return value of
read-key-sequence when grabbing an up-event.  Cleanup mouse-1
	remaps.
2006-03-06 20:27:06 +00:00
Juanma Barranquero
172892e397 (help): Revert last part of 2006-02-23 change (deletion of the `provide' call). 2006-02-23 23:14:01 +00:00
Stefan Monnier
4e6d317052 (describe-mode): Pass `mode-name' to format-mode-line. 2006-02-23 16:39:24 +00:00
Richard M. Stallman
774a814f60 (describe-key-briefly): Compute interactive args
in same was as before previous change.
2006-02-21 19:51:37 +00:00