Martin Rudalics
4ee8844078
Remove unused variable temp-buffer-show-specifiers.
...
* window.c (temp_output_buffer_show): Don't use
Vtemp_buffer_show_specifiers.
(Vtemp_buffer_show_specifiers): Remove unused variable.
* help.el (with-help-window): Don't reference
temp-buffer-show-specifiers in doc-string.
2011-11-01 17:21:41 +01:00
Martin Rudalics
3d8daefefa
Remove "iso-" infix from window combination functions.
...
* window.el (window-iso-combination-p, window-iso-combined-p)
(window-iso-combinations): Remove "iso-" infix. Suggested by
Chong Yidong.
(window-min-size-1, window-size-fixed-1, window-min-delta-1)
(window-max-delta-1, window-resize, window--resize-siblings)
(window--resize-this-window, adjust-window-trailing-edge)
(split-window, balance-windows-1)
(shrink-window-if-larger-than-buffer):
* calendar/calendar.el (calendar-generate-window):
* help.el (resize-temp-buffer-window): Adjust callers
accordingly.
* windows.texi (Windows and Frames): Remove "iso-" infix from
documentation of window-iso-combined-p.
2011-10-30 09:29:56 +01:00
Chong Yidong
06e21633a4
Fix minor mode docstrings for the new meaning of a nil ARG.
...
* abbrev.el (abbrev-mode):
* allout.el (allout-mode):
* autoinsert.el (auto-insert-mode):
* autoarg.el (autoarg-mode, autoarg-kp-mode):
* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-mode):
* battery.el (display-battery-mode):
* composite.el (global-auto-composition-mode)
(auto-composition-mode):
* delsel.el (delete-selection-mode):
* desktop.el (desktop-save-mode):
* dired-x.el (dired-omit-mode):
* dirtrack.el (dirtrack-mode):
* doc-view.el (doc-view-minor-mode):
* double.el (double-mode):
* electric.el (electric-indent-mode, electric-pair-mode):
* emacs-lock.el (emacs-lock-mode):
* epa-hook.el (auto-encryption-mode):
* follow.el (follow-mode):
* font-core.el (font-lock-mode):
* frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
* help.el (temp-buffer-resize-mode):
* hilit-chg.el (highlight-changes-mode)
(highlight-changes-visible-mode):
* hi-lock.el (hi-lock-mode):
* hl-line.el (hl-line-mode, global-hl-line-mode):
* icomplete.el (icomplete-mode):
* ido.el (ido-everywhere):
* image-file.el (auto-image-file-mode):
* image-mode.el (image-minor-mode):
* iswitchb.el (iswitchb-mode):
* jka-cmpr-hook.el (auto-compression-mode):
* linum.el (linum-mode):
* longlines.el (longlines-mode):
* master.el (master-mode):
* mb-depth.el (minibuffer-depth-indicate-mode):
* menu-bar.el (menu-bar-mode):
* minibuf-eldef.el (minibuffer-electric-default-mode):
* mouse-sel.el (mouse-sel-mode):
* msb.el (msb-mode):
* mwheel.el (mouse-wheel-mode):
* outline.el (outline-minor-mode):
* paren.el (show-paren-mode):
* recentf.el (recentf-mode):
* reveal.el (reveal-mode, global-reveal-mode):
* rfn-eshadow.el (file-name-shadow-mode):
* ruler-mode.el (ruler-mode):
* savehist.el (savehist-mode):
* scroll-all.el (scroll-all-mode):
* scroll-bar.el (scroll-bar-mode):
* server.el (server-mode):
* shell.el (shell-dirtrack-mode):
* simple.el (auto-fill-mode, transient-mark-mode)
(visual-line-mode, overwrite-mode, binary-overwrite-mode)
(line-number-mode, column-number-mode, size-indication-mode)
(auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
* strokes.el (strokes-mode):
* time.el (display-time-mode):
* t-mouse.el (gpm-mouse-mode):
* tool-bar.el (tool-bar-mode):
* tooltip.el (tooltip-mode):
* type-break.el (type-break-mode-line-message-mode)
(type-break-query-mode):
* view.el (view-mode):
* whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode):
* xt-mouse.el (xterm-mouse-mode): Doc fix.
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
autogenerated docstring.
2011-10-19 08:54:24 -04:00
Martin Rudalics
b5516bbd83
In command-line-1 insert initial-scratch-message before markers (Bug#9605).
...
* startup.el (command-line-1): Use insert-before-markers when
inserting initial-scratch-message. (Bug#9605)
* help.el (help-window): Remove variable.
2011-09-29 10:16:15 +02:00
Martin Rudalics
cf4eacfdca
Rewrite code quitting windows and restoring the previous buffer.
...
* window.el (set-window-buffer-start-and-point): Call
set-window-start with NOFORCE argument t. Suggested by Thierry
Volpiatto <thierry.volpiatto@gmail.com>.
(quit-window): Reword doc-string. Handle new format of
quit-restore parameter. Don't delete window if it has a
previous buffer we can show instead of the present one.
(display-buffer-record-window): Rewrite using a new format for
the quit-restore window parameter
(special-display-popup-frame, display-buffer-same-window)
(display-buffer-reuse-window, display-buffer-pop-up-frame)
(display-buffer-pop-up-window, display-buffer-use-some-window):
Adapt symbol passed to display-buffer-record-window.
* help.el (help-window-setup): Handle new format of quit-restore
parameter.
2011-09-21 10:20:21 +02:00
Martin Rudalics
f678e0b6a2
Replace display-buffer-window by help-setup window parameter.
...
* window.el (display-buffer-window): Remove.
(display-buffer-record-window): Use help-setup window parameter
instead of variable display-buffer-window.
(display-buffer-function, special-display-buffer-names)
(special-display-function): Mention help-setup parameter instead
of display-buffer-window in doc-string.
* help.el (help-window-setup): New argument help-window. Use
help-window-setup parameter instead of display-buffer-window.
Reword some messages.
(with-help-window): Pass window used for displaying the buffer
to help-window-setup. Don't set display-buffer-window.
2011-09-14 11:17:30 +02:00
Glenn Morris
b2cba41ecd
* lisp/help.el (describe-key-briefly): Copy previous standard-output change.
2011-09-13 00:22:05 -07:00
PJ Weisberg
e3ce671f37
* lisp/help.el (where-is): Respect non-standard standard-output. (tiny change)
...
Fixes: debbugs:9030
2011-09-13 00:18:13 -07:00
Christoph Scholtes
f3ada0eeb5
* help.el (help-return-method): Doc fix.
2011-09-03 11:16:57 -06:00
Martin Rudalics
3bbf23bc31
Fix message in help-window-setup (Bug#9341).
...
* help.el (help-window-setup): Fix message displayed when other
window is reused. (Bug#9341)
2011-08-23 11:31:54 +02:00
Martin Rudalics
357f93d245
Make help and view-mode work with new buffer display facilities.
...
* help.el (help-window): Remove variable.
(help-window-point-marker, temp-buffer-max-height)
(temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
(help-print-return-message): Don't set help-window.
(resize-temp-buffer-window): Rewrite cod eand doc-string.
(help-window-setup-finish): Remove.
(help-window-display-message, help-window-setup)
(with-help-window): Major rewrite based on new
display-buffer-window variable.
* help-mode.el (help-mode-finish): Remove help-window related
code.
* view.el (view-exits-all-viewing-windows): Remove reference to
view-return-to-alist in doc-string.
(view-return-to-alist): Make obsolete.
(view-buffer): Call pop-to-buffer-same-window and remove
undo-window code.
(view-buffer-other-window): Call pop-to-buffer-other-window and
simplify code. Ignore second argument.
(view-buffer-other-frame): Call pop-to-buffer-other-frame and
simplify code. Ignore second argument.
(view-return-to-alist-update): Make obsolete.
(view-mode-enter): Rename second argument to QUIT-RESTORE.
Rewrite using quit-restore window parameters.
(view-mode-exit): Rename second argument to EXIT-ONLY. Rewrite
using quit-restore-window.
(View-exit, View-exit-and-edit, View-leave, View-quit)
(View-quit-all, View-kill-and-leave): Call view-mode-exit with
appropriate arguments.
(view-end-message): Use quit-restore window parameter.
2011-06-13 15:14:42 +02:00
Juanma Barranquero
06b605171f
lisp/*.el: Lexical-binding cleanup.
2011-04-19 15:44:55 +02:00
Chong Yidong
cbb5934231
Remove internal_with_output_to_temp_buffer, replacing sole user with Lisp.
...
* lisp/help.el (help-form-show): New function, to be called from C.
Put help-form output in a buffer named differently than *Help*.
* src/keyboard.c (read_char): Call Lisp function help-form-show,
instead of using internal_with_output_to_temp_buffer.
(Qhelp_form_show): New var.
* src/lisp.h (internal_with_output_to_temp_buffer): Remove prototype.
* src/print.c (internal_with_output_to_temp_buffer): Function deleted.
2011-04-08 11:37:15 -04:00
Juanma Barranquero
9d05d1ba20
lisp/help.el (describe-mode): Link to the mode's definition.
...
Fixes: debbugs:8185
2011-03-13 02:57:40 +01:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -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
Glenn Morris
aa02a29f61
* lisp/help.el (finder-by-keyword): Remove unnecessary autoload.
2010-10-22 19:36:28 -07:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Chong Yidong
cb6c4991ef
Improvements to describe-package buffer.
...
* lisp/help.el (help-map): Bind `C-h P' to describe-package.
* lisp/menu-bar.el (menu-bar-describe-menu): Add describe-package.
* lisp/emacs-lisp/package.el (package-refresh-contents): Catch errors
when downloading archives.
(describe-package-1): Add package commentary.
(package-install-button-action): New function.
(package-menu-mode-map): Bind ? to package-menu-describe-package.
(package-menu-view-commentary): Function removed.
(package-list-packages-internal): Hide the `package' package too.
2010-08-25 23:31:34 -04:00
Chong Yidong
2ec1b5ee34
Merge changes from emacs-23 branch.
2010-07-10 14:52:53 -04:00
Chong Yidong
e8579ebc15
Minor fix to describe-key, and a docstring.
...
* help.el (describe-key): Print up-event using key-description.
* mouse.el (mouse-appearance-menu): Add docstring.
2010-07-06 15:42:46 -04:00
Stefan Monnier
6e104790e7
Merge from emacs-23
2010-04-19 11:07:52 -04:00
Juanma Barranquero
6460e5342c
lisp/help.el: Turn ChangeLog comment into source comment.
2010-04-05 22:05:47 +02:00
Juanma Barranquero
309d5b43a7
* help.el (describe-mode): Return nil (for IELM's sake).
2010-04-05 12:36:45 +02:00
Chong Yidong
6baa27a2b2
* help.el (help-window-setup-finish): Doc fix (Bug#5830).
...
Reported by monkey@sandpframing.com .
2010-04-03 19:40:20 -04:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Stefan Monnier
6f06a17190
(describe-bindings-internal): Remove `interactive'.
2009-11-27 04:24:47 +00:00
Glenn Morris
e7e2b26cc6
Markus Rost <rost at math.uni-bielefeld.de>
...
(describe-no-warranty): Place point in a slightly better position in
the GPLv3 text.
2009-10-07 02:52:37 +00:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Stefan Monnier
ce9a0ccb72
* help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
...
* isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
* help-macro.el (make-help-screen): Avoid using an ambiguous function
definition where the docstring could be taken for the return value.
2009-09-27 00:27:21 +00:00
Dan Nicolaescu
9cd39affaa
* bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
...
* help.el (help-for-help-internal): Add purecopy calls for text.
2009-09-14 23:28:40 +00:00
Stefan Monnier
b3d8e4a025
(help-print-return-message): Rename from print-help-return-message.
2009-08-19 18:07:07 +00:00
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