aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/info.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/bindings.el (global-map): Bind XF86Forward to next-buffer andSam Steingold2012-06-081-0/+2
| | | | | | | | | | | XF86Back to previous-buffer. (minibuffer-local-map): Bind them to next-history-element and previous-history-element respectively. * lisp/help-mode.el (help-mode-map): Bind them to help-go-forward and help-go-back respectively. * lisp/info.el (Info-mode-map): Bind them to Info-history-forward and Info-history-back respectively. These are the keys next to Up on the ThinkPad keyboard.
* * lisp/isearch.el (isearch-search-fun-default): New function.Juri Linkov2012-05-291-19/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (isearch-search-fun): Move default part to the new function `isearch-search-fun-default'. (isearch-search-fun-function): Set the default value to `isearch-search-fun-default'. * lisp/comint.el (comint-history-isearch-end): Use `isearch-search-fun-default'. (comint-history-isearch-search): Use `isearch-search-fun-default' and remove spacial case for `isearch-word'. (comint-history-isearch-wrap): Remove spacial case for `isearch-word'. * lisp/hexl.el (hexl-isearch-search-function): Use `isearch-search-fun-default'. * lisp/info.el (Info-isearch-search): Use `isearch-search-fun-default'. Use `word-search-regexp' for `isearch-word'. * lisp/misearch.el (multi-isearch-search-fun): Use `isearch-search-fun-default'. * lisp/simple.el (minibuffer-history-isearch-search): Use `isearch-search-fun-default' and remove spacial case for `isearch-word'. (minibuffer-history-isearch-wrap): Remove spacial case for `isearch-word'. * lisp/textmodes/reftex-global.el (reftex-isearch-wrap-function): Remove spacial case for `isearch-word'. (reftex-isearch-isearch-search): Use `isearch-search-fun-default'. Fixes: debbugs:11381
* Don't mess with INFOPATH in ns buildsGlenn Morris2012-05-261-1/+13
| | | | | | | | | | | | | It's not necessary, and would break if INFOPATH was already set (bug#2791). Ref also http://lists.gnu.org/archive/html/emacs-devel/2009-05/msg00035.html http://lists.gnu.org/archive/html/emacs-devel/2005-06/msg00064.html * lisp/paths.el (Info-default-directory-list): * lisp/info.el (info-initialize): For self-contained NS builds, put the included info/ directory at the front. * src/nsterm.m (ns_init_paths): Don't mess with INFOPATH.
* Add "How to Report a Bug" to Help menuGlenn Morris2012-05-211-1/+7
| | | | | | * lisp/info.el (info-emacs-bug): New command. * lisp/menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help. * lisp/mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
* Add new error and function `user-error'.Stefan Monnier2012-05-041-45/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (user-error): New function. * lisp/window.el (switch-to-buffer): * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve) (smerge-match-conflict): * lisp/simple.el (previous-matching-history-element) (next-matching-history-element, goto-history-element, undo-more) (undo-start): * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag) (find-tag-noselect, find-tag-in-order, etags-goto-tag-location) (next-file, tags-loop-scan, list-tags, complete-tag): * lisp/progmodes/compile.el (compilation-loop): * lisp/mouse.el (mouse-minibuffer-check): * lisp/man.el (Man-bgproc-sentinel, Man-goto-page): * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back) (Info-history-forward, Info-follow-reference, Info-menu) (Info-extract-menu-item, Info-extract-menu-counting) (Info-forward-node, Info-backward-node, Info-next-menu-item) (Info-last-menu-item, Info-next-preorder, Info-last-preorder) (Info-next-reference, Info-prev-reference, Info-index) (Info-index-next, Info-follow-nearest-node) (Info-copy-current-node-name): * lisp/imenu.el (imenu--make-index-alist) (imenu-default-create-index-function, imenu-add-to-menubar): * lisp/files.el (basic-save-buffer, recover-file): * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments) (checkdoc-message-text, checkdoc-defun): * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point): * lisp/cus-edit.el (customize-changed-options, customize-rogue) (customize-saved, custom-variable-set, custom-variable-mark-to-save) (custom-variable-mark-to-reset-standard) (custom-variable-reset-backup, custom-face-mark-to-reset-standard) (custom-file): * lisp/completion.el (check-completion-length): * lisp/comint.el (comint-search-arg) (comint-previous-matching-input-string-position) (comint-previous-matching-input) (comint-replace-by-expanded-history-before-point, comint-send-input) (comint-copy-old-input, comint-backward-matching-input) (comint-goto-process-mark, comint-set-process-mark): * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it. * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'. * src/data.c (PUT_ERROR): New macro. (syms_of_data): Use it. Add new error type `user-error'. * src/undo.c (user_error): New function. (Fprimitive_undo): Use it. * src/print.c (print_error_message): Adjust print style for `user-error'. * src/keyboard.c (user_error): New function. (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
* * info.el (Info-menu): Handle string value of FORK arg.Chong Yidong2012-03-221-1/+3
| | | | Fixes: debbugs:10858
* Comment.Glenn Morris2012-03-051-0/+4
|
* * lisp/info.el (Info-insert-dir): Also try "dir.gz".Thien-Thi Nguyen2012-03-051-0/+2
| | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00005.html
* Allow visiting Info files with no "Up" pointer, such as DIR files.Eli Zaretskii2012-01-141-1/+1
| | | | | lisp/info.el (Info-toc-build): If the Info file has no "Up" pointer, don't pass the (nil) value of `upnode' to string-match.
* Change the binding of "e" in info-mode.Glenn Morris2012-01-061-1/+1
| | | | | | | | | | * doc/lispref/maps.texi (Standard Keymaps): Refer to Info-edit by name rather than by keybinding. * lisp/info.el (Info-mode-map): Bind e to end-of-buffer, rather than Info-edit. Fixes: debbugs:10385
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* * lisp/info.el (Info-search): Display "end of manual" when IsearchJuri Linkov2011-12-021-7/+9
| | | | | | reaches the end of single-file Info manual. Fixes: debbugs:9918
* Spelling fixes.Paul Eggert2011-11-221-1/+1
|
* * lisp/info.el (Info-finder-find-node): Use `package--builtins' insteadJuri Linkov2011-11-201-15/+20
| | | | | of `package-alist'. Use node names formed by the pattern "Keyword " and the keyword name.
* Don't kill the *info* buffer in `Info-revert-find-node'.Juri Linkov2011-11-191-15/+13
| | | | | | | | | | | | | | | | Add `revert-buffer' to defcustom `Info-hide-node-references'. * lisp/info.el (Info-hide-note-references): Add `:set' tag to `defcustom' that calls `revert-buffer' on all Info buffers. (Info-revert-find-node): Remove let-bindings `old-buffer-name', `old-history', `old-history-forward'. Add let-binding `window-selected'. Remove calls to `kill-buffer', `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil before calling `Info-find-node', so `Info-find-node-2' will reread the Info file. Restore window positions only when `window-selected' is non-nil. Fixes: debbugs:9915
* * lisp/isearch.el (isearch-lazy-highlight-new-loop):Juri Linkov2011-11-191-1/+3
| | | | | | | | | | | | | | | | Remove condition `(not isearch-error)'. * lisp/misearch.el (multi-isearch-search-fun): Add condition `(not bound)' to ignore lazy-highlighting search. Add the search-failed message "end of multi" when the end of multi-sequence is reached. Uncapitalize the search-failed message "Repeat for next buffer". * lisp/info.el (Info-search): Add the search-failed message "end of the manual" when the end of the manual is reached in Isearch mode. Fixes: debbugs:9918
* Replace `delete' with `remove' in info.el.Juri Linkov2011-11-191-3/+3
| | | | | | | * lisp/info.el (Info-find-node-2, Info-select-node, Info-history-find-node): Use non-destructive `remove' instead of `delete' because `Info-history-list' stored to `Info-isearch-initial-history-list' in `Info-isearch-start' might need to be restored in `Info-isearch-end'.
* Spelling fixes.Paul Eggert2011-11-141-1/+1
|
* Spelling fixes.Paul Eggert2011-11-141-1/+1
|
* * lisp/info.el (Info-following-node-name-re): Add newline to the listJuri Linkov2011-10-241-1/+1
| | | | | | of allowed characters for leading space. Fixes: debbugs:9824
* Reintroduce pop-to-buffer-same-window; use it for previous users of ↵Chong Yidong2011-09-221-1/+2
| | | | | | | | | | | | | | | | same-window-*. * window.el (pop-to-buffer-same-window): New (reinstated) fun. * cmuscheme.el (run-scheme, switch-to-scheme): * cus-edit.el (customize-group, custom-buffer-create) (customize-browse): * info.el (info): * shell.el (shell): * mail/sendmail.el (mail): * progmodes/inf-lisp.el (inferior-lisp): Use it. Fixes: debbugs:9532
* * lisp/info.el (Info-history-skip-intermediate-nodes): New defcustom.Juri Linkov2011-09-201-10/+30
| | | | | | | (Info-forward-node, Info-backward-node, Info-next-preorder) (Info-last-preorder): Use it. Fixes: debbugs:9528
* * lisp/info.el (Info-last-preorder): Visit last menu item only whenJuri Linkov2011-09-201-5/+6
| | | | `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
* * lisp/info.el (Info-extract-menu-node-name): Check the second matchJuri Linkov2011-09-181-11/+14
| | | | | | for empty string (second test-case of bug#9528). (Info-last-preorder): Let-bind `Info-history' to nil to not add intermediate nodes to the history (first test-case of bug#9528).
* * lisp/info.el (Info-mode-syntax-table): New variable.Juri Linkov2011-09-181-1/+9
| | | | | | (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. Fixes: debbugs:3312
* * lisp/info.el (Info-file-supports-index-cookies): IncrementJuri Linkov2011-09-181-1/+1
| | | | | | | line-beginning-position's arg from 3 to 4 because makeinfo outputs one more line for long file names. Fixes: debbugs:4142
* Change modes that used same-window-* vars to use switch-to-buffer.Chong Yidong2011-09-111-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmuscheme.el (run-scheme, switch-to-scheme): * ielm.el (ielm): * shell.el (shell): * net/rlogin.el (rlogin): * net/telnet.el (telnet, rsh): * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer. * cus-edit.el (customize-group, custom-buffer-create) (customize-browse, custom-buffer-create-other-window): Use switch-to-buffer or switch-to-buffer-other-window. * info.el (info, Info-find-node, Info-revert-find-node, Info-next) (Info-prev, Info-up, Info-speedbar-goto-node) (info-display-manual): Use switch-to-buffer. (Info-speedbar-goto-node): Use switch-to-buffer-other-frame. * lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer. (message-mail-other-window, message-mail-other-frame) (message-news-other-window, message-news-other-frame): Use switch-to-buffer-other-frame and switch-to-buffer-other-window instead of setting buffer display varibles. * mail/sendmail.el (mail): Use switch-to-buffer. (mail-recover): Use switch-to-buffer-other-window. * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows): Use switch-to-buffer.
* Fix info and customize *-other-window commands.Chong Yidong2011-09-101-3/+5
| | | | | | | | | | * lisp/cus-edit.el (customize-group): New argument. (customize-group-other-window): Use it. (customize-face, customize-face-other-window): Likewise. (custom-buffer-create-other-window): Use pop-to-buffer directly. * lisp/info.el (info-setup): New function. (info-other-window, info): Call it.
* Tweaks to display-buffer default actions; remove same-window-* autoload forms.Chong Yidong2011-09-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (display-buffer-alist): Add entry for buffers previously handled same-window-*. (display-buffer-alist, display-buffer-default-action) (display-buffer-overriding-action): Mark as risky. (display-buffer-alist): Document action function changes. (display-buffer--same-window-action) (display-buffer--other-frame-action): New variables. (switch-to-buffer, display-buffer-other-frame): Use them. (display-buffer): Rename reuse-frame entry to reusable-frames. (display-buffer-reuse-selected-window): Function deleted. (display-buffer-reuse-window): Handle reusable-frames alist entry. If it's omitted, check pop-up-frames/display-buffer-reuse-frames. (display-buffer-special): New function. (display-buffer--maybe-pop-up-frame-or-window): Rename from display-buffer-reuse-or-pop-window. Split off special-display part into display-buffer-special. (display-buffer-use-some-window): Don't perform any special pop-up-frames handling. (pop-to-buffer): Use window-normalize-buffer-to-switch-to. * lisp/cmuscheme.el: * lisp/ielm.el: * lisp/shell.el: * lisp/mail/sendmail.el: * lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names. * lisp/cus-edit.el: * lisp/info.el: * lisp/net/rlogin.el: * lisp/net/telnet.el: * lisp/progmodes/gud.el: Don't set same-window-regexps.
* Minor doc fixes. Remove duplicate ChangeLog entries.Juri Linkov2011-08-071-1/+1
| | | | | | | | | | | | | | | * doc/emacs/dired.texi (Operating on Files): Rewrite according to the fact that `dired-do-chmod' doesn't use the `chmod' program anymore. * lisp/faces.el (list-faces-display): Remove extra angle bracket from `help-mode-map'. * lisp/info.el (Info-history-toc-nodes): Doc fix. * lisp/longlines.el (longlines-mode): Doc fix. * src/editfns.c (Fformat_time_string): Doc fix, add tag `usage:' to show the arg `TIME' instead of `TIMEVAL'.
* * info.el: Remove the `Info-beginning-of-buffer' functionLars Magne Ingebrigtsen2011-08-021-10/+5
|
* Rework previous change.Glenn Morris2011-07-151-1/+0
| | | | | | | * lisp/jka-compr.el (jka-compr-verbose): Move from here... * lisp/jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090) Add missing :version tag. * lisp/info.el: No need to require jka-compr when compiling.
* * lisp/info.el (info-insert-file-contents): Require jka-compr. (Bug#9090)Glenn Morris2011-07-151-1/+2
|
* (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.Lars Magne Ingebrigtsen2011-07-151-1/+1
|
* Add new command `Info-beginning-of-buffer' to allow announcing `b'Lars Magne Ingebrigtsen2011-07-151-3/+9
| | | | | | * info.el (Info-beginning-of-buffer): New command. (Info-mode-map): Use it instead of `beginning-of-buffer' to allow announcing `b' as the key (bug#8325).
* (info-insert-file-contents): Inhibit jka-compr messages, which can be pretty ↵Lars Magne Ingebrigtsen2011-07-131-0/+1
| | | | | | annoying Fixes: debbugs:8971
* (Info-find-file): Fall back on the installation directory if we can't find ↵Lars Magne Ingebrigtsen2011-07-131-0/+5
| | | | the info node anywhere else.
* Document some Info functions (Bug#1084).Chong Yidong2011-07-071-8/+12
| | | | | * lisp/info.el (info, Info-read-node-name-2, Info-read-node-name-1) (Info-read-node-name): Doc fix.
* (Info-mode-map): Remove S-TAB binding, since [backtab] should cover itLars Magne Ingebrigtsen2011-07-071-1/+0
| | | | Fixes: debbugs:1281
* Merge from emacs-23; up to 2010-06-16T23:27:20Z!jay.p.belanger@gmail.com.Glenn Morris2011-07-051-1/+1
|\
| * * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).Chong Yidong2011-06-191-1/+1
| |
* | * info.el (Info-apropos-matches): Make non-interactive, since itLars Magne Ingebrigtsen2011-07-041-1/+0
| | | | | | | | | | | | doesn't seem to do anything useful as a command. Fixes: debbugs:8829
* | * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).Chong Yidong2011-06-191-1/+1
| |
* | lisp/info.el: Fix typos; mark unused parameters.Juanma Barranquero2011-04-051-94/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * info.el (Info-directory-list, Info-read-node-name-2) (Info-split-parameter-string): Doc fixes. (Info-virtual-nodes): Reflow docstring. (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes) (Info-apropos-toc-nodes, info-finder, Info-get-token) (Info-find-emacs-command-nodes, Info-speedbar-key-map): Fix typos in docstrings. (Info-revert-buffer-function, Info-search, Info-isearch-pop-state) (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node) (Info-speedbar-buttons, Info-desktop-buffer-misc-data) (Info-restore-desktop-buffer): Mark unused parameters. (Info-directory-find-file, Info-directory-find-node) (Info-history-find-file, Info-history-find-node, Info-toc-find-node) (Info-virtual-index-find-node, Info-apropos-find-file) (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node): Mark unused parameters; fix typos in arguments. (Info-virtual-index): Remove unused local variable `nodename'.
* | Add a new command `info-display-manual'.Eli Zaretskii2011-04-011-0/+21
| | | | | | | | lisp/info.el (info-display-manual): New function.
* | Merge changes from emacs-23 branchChong Yidong2011-03-191-5/+5
|\ \ | |/
| * lisp/info.el: Fix bug#8258.Ralph Schleicher2011-03-161-5/+5
| | | | | | | | | | * info (info-initialize): Replace all uses of `:' with path-separator for compatibility with non-Unix systems. Cache quoting of path-separator.
* | Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-3/+1
| |
* | Refill some copyright headers.Glenn Morris2011-01-151-3/+3
| |
* | Merge from emacs-23Stefan Monnier2011-01-141-3/+3
|\ \ | |/