summaryrefslogtreecommitdiff
path: root/lisp/info.el
Commit message (Collapse)AuthorAgeFilesLines
* Add more xz compression support.Ulrich Mueller2010-09-251-0/+4
| | | | | | | | | | | | | | | | * doc/man/etags.1: xz compression is now supported. * doc/misc/woman.texi (Interface Options): xz compression is now supported. * lib-src/etags.c (compressors, print_language_names): Support xz compression. * lisp/eshell/em-ls.el (eshell-ls-archive-regexp): * lisp/eshell/esh-util.el (eshell-tar-regexp): * lisp/ibuffer.el (ibuffer-compressed-file-name-regexp): * lisp/info.el (Info-suffix-list): * lisp/international/mule.el (auto-coding-alist): * lisp/woman.el (woman-file-regexp, woman-file-compression-regexp): * lisp/progmodes/etags.el (tags-compression-info-list): Support xz compression.
* Merge Finder and package-menu functionality.Chong Yidong2010-08-291-44/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/finder.el: Require `package'. (finder-known-keywords): Tweak descriptions. Retire `oop' keyword. (finder-package-info): Var deleted. (finder-keywords-hash, finder--builtins-alist): New vars. (finder-compile-keywords): Compute package--builtins and finder-keywords-hash instead of finder-keywords-hash, respecting the "Package" header. (finder-unknown-keywords, finder-list-matches): Use finder-keywords-hash and package--list-packages. (finder-mode): Don't set font-lock-defaults. (finder-exit): We don't use "*Finder-package*" and "*Finder Category*" buffers anymore. * lisp/info.el (Info-finder-find-node): Search package-alist instead of finder-package-info. * lisp/emacs-lisp/package.el (package--builtins-base): Var deleted. (package--builtins): Set default value to nil. (package-initialize): Load precomputed value of package--builtins from finder-inf.el. (package-alist, package-compute-transaction) (package-download-transaction): Improve docstring. (package-read-all-archive-contents): Do not change package--builtins here. (list-packages): Make package-list-packages an alias for this. Sort by status by default. (package--list-packages): Add optional PACKAGES arg. (describe-package-1): Use font-lock-face property. For built-in packages, insert file commentary. (package--generate-package-list): Rename from package-list-packages-internal; all callers changed. Add optional PACKAGES arg. Add alphabetical sort fallbacks. (package-menu--version-predicate, package-menu--status-predicate) (package-menu--description-predicate) (package-menu--name-predicate): New functions.
* Preparation for setting bookmarks in Gnus article buffers (Bug#5975).Karl Fogel2010-07-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix revert-buffer functionality of Help mode and Info.Juri Linkov2010-06-171-2/+9
| | | | | | | | | | | | | | * lisp/help-mode.el (help-mode): Set buffer-local variable revert-buffer-function to help-mode-revert-buffer. (help-mode-revert-buffer): New function. * lisp/info.el (Info-revert-find-node): Check for major-mode Info-mode before popping to "*info*" (like in other Info functions). Keep buffer-name in old-buffer-name. Keep Info-history-forward in old-history-forward. Pop to old-buffer-name or "*info*" to recreate the killed buffer. Set Info-history-forward from old-history-forward. (Info-breadcrumbs-depth): Add :group and :version.
* Remove nodes visited during Isearch from the Info history.Juri Linkov2010-05-101-1/+23
| | | | | | | | | * info.el (Info-isearch-initial-history) (Info-isearch-initial-history-list): New variables. (Info-isearch-start): Record initial values of Info-isearch-initial-history and Info-isearch-initial-history-list. Add Info-isearch-end to isearch-mode-end-hook. (Info-isearch-end): New function.
* Merge from emacs-23Stefan Monnier2010-05-081-2/+1
|\
| * * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'Juri Linkov2010-04-231-2/+1
| | | | | | | | property instead of `invisible' and `after-string' (bug#5998).
* | Add `slow' and `history' tags to the desktop data.Juri Linkov2010-05-061-10/+27
| | | | | | | | | | | | | | | | | | | | | | * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag. (Info-virtual-files) [*Apropos*]: Add `slow' tag. (Info-finder-find-node): Require `finder.el' to be able to restore node from the desktop. (Info-desktop-buffer-misc-data): Save all nodes. Save additional data `Info-history' and `slow' tag in the assoc list. (Info-restore-desktop-buffer): Don't restore nodes with the `slow' tag. Restore `Info-history'.
* | Gtk tool bars can be text, icons with text or just icons.Jan Djärv2010-04-201-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xsettings.c: Qmonospace_font_name, Qtool_bar_style and current_tool_bar_style are new. (store_config_changed_event): Rename from store_font_changed_event. (XSETTINGS_TOOL_BAR_STYLE): New define. (SEEN_FONT, SEEN_TB_STYLE): New enum values. (struct xsettings): Add font and tb_style, set xft stuff inside #ifdef HAVE_XFT. (something_changedCB): store_font_changed_event is now store_config_changed_event (parse_settings): Rename from parse_xft_settings. Read non-xft xsettings outside #ifdef HAVE_XFT. (read_settings): Renamed from read_xft_settings. (apply_xft_settings): Take current settings as parameter. Do not call read_(xft)_settings. (read_and_apply_settings): New function. (xft_settings_event): Do non-xft stuff out of HAVE_XFT. Call read_and_apply_settings if there are settings to be read. (init_xsettings): Renamed from init_xfd_settings. Call read_and_apply_settings unconditionally. (xsettings_initialize): Call init_xsettings. (Ftool_bar_get_system_style): New function. (syms_of_xsettings): Define Qmonospace_font_name and Qtool_bar_style. Initialize current_tool_bar_style to nil. defsubr Stool_bar_get_system_style. Fprovide on dynamic-setting. * xsettings.h (Ftool_bar_get_system_style): Declare. * xdisp.c: Vtool_bar_style, tool_bar_max_label_size, Qtext, Qboth, Qboth_horiz are new. (syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR Vtool_bar_style, tool_bar_max_label_size. * lisp.h: Extern declare Qtext, Qboth, Qboth_horiz. * keyboard.c: QClabel is new. (parse_tool_bar_item): Take out QClabel from tool bar items. Try to construct a label if ther is no QClabel. (syms_of_keyboard): Intern :label as QClabel. * dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new. (Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE): New. * Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to dynamic-setting.el. * gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item. (xg_make_tool_item, xg_show_toolbar_item): New function. (update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL. Call xg_make_tool_item to make a tool bar item. Call xg_show_toolbar_item. Use wtoolbar instead of x->toolbar_widget. * xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin into account for toolbars. * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items. * tool-bar.el (tool-bar-setup): Add :label on some tool bar items. * loadup.el: Load dynamic-setting.el if feature dynamic-setting is present. * info.el (info-tool-bar-map): Add labels. * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size. * cus-edit.el (custom-commands): Add labels for tool bar. (custom-buffer-create-internal, Custom-mode): Adjust for labels in custom-commands. * dynamic-setting.el: Renamed from font-setting.el.
* | Merge from emacs-23Stefan Monnier2010-04-191-16/+53
|\ \ | |/
| * Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).Juri Linkov2010-04-061-16/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * info.el (Info-find-node-2): Comment out code that skips breadcrumbs line. (Info-mouse-follow-link): New command. (Info-link-keymap): New keymap. (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'. Return a string with links instead of inserting breadcrumbs to the Info buffer. (Info-fontify-node): Comment out code that inserts breadcrumbs. Instead of putting the `invisible' text property over the Info header, make an overlay over the Info header with the `invisible' property and `after-string' set to the string returned by `Info-breadcrumbs'.
* | Simplify by using `define-derived-mode'.Juanma Barranquero2010-04-151-19/+10
| | | | | | | | | | | | | | * info.el (Info-mode): * calendar/todo-mode.el (todo-mode): * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'. (gomoku-mode-map): Move initialization into declaration.
* | * finder.el: Remove TODO tasks.Juri Linkov2010-03-231-10/+46
| | | | | | | | | | | | | | | | | | * info.el (Info-finder-find-node): Add node "all" with all package info. Handle a list of multiple keywords separated by comma. (info-finder): In interactive use with a prefix argument, use `completing-read-multiple' to read a list of keywords separated by comma.
* | Add finder unknown keywords.Juri Linkov2010-03-141-1/+16
|/ | | | | | | * finder.el (finder-unknown-keywords): New function. * info.el (Info-finder-find-node): Use `finder-unknown-keywords' to create a Finder node with unknown keywords.
* Add a comment for the previous commit.Juri Linkov2010-03-031-0/+2
|
* * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)Juri Linkov2010-03-021-1/+1
|
* (Info-bookmark-jump): Simplify.Stefan Monnier2010-02-101-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * info.el (Info-hide-cookies-node): Before hiding a cookie,Juri Linkov2009-12-141-1/+2
| | | | | | check if it already has the `display' property added by `Info-display-images-node', and not put the `invisible' property in this case.
* (Info-find-node-2): Set `Info-current-subfile' to nilJuri Linkov2009-12-051-4/+12
| | | | | | | | for virtual nodes. (Bug#4147) (Info-find-node-2): Set `Info-current-node-virtual' to nil when moving from a virtual node. (Info-mode-menu): Add `Info-virtual-index' to the menu. (Info-mode): Add `Info-virtual-index' to the docstring.
* * term/x-win.el (x-gtk-stock-map):Dan Nicolaescu2009-11-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * progmodes/vera-mode.el (auto-mode-alist): * progmodes/inf-lisp.el (inferior-lisp-filter-regexp) (inferior-lisp-program, inferior-lisp-load-command): * progmodes/hideshow.el (hs-special-modes-alist): * progmodes/gud.el (same-window-regexps): * progmodes/grep.el (grep-program, find-program, xargs-program): * net/telnet.el (same-window-regexps): * net/rlogin.el (same-window-regexps): * language/ethiopic.el (font-ccl-encoder-alist): * vc-sccs.el (vc-sccs-master-templates): * vc-rcs.el (vc-rcs-master-templates): * subr.el (cl-assertion-failed): * simple.el (next-error-overlay-arrow-position): * lpr.el (lpr-command): * locate.el (locate-ls-subdir-switches): * info.el (same-window-regexps, info) (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node): * image-mode.el (image-mode, auto-mode-alist): * hippie-exp.el (hippie-expand-ignore-buffers): * format.el (format-alist): * find-dired.el (find-ls-subdir-switches, find-grep-options) (find-name-arg): * facemenu.el (facemenu-keybindings): * dired.el (dired-listing-switches, dired-chown-program): * diff.el (diff-switches, diff-command): * cus-edit.el (same-window-regexps): * bindings.el (mode-line-mule-info) (mode-line-buffer-identification): Purecopy strings.
* * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.Stefan Monnier2009-10-191-10/+12
| | | | | (Info-menu): Remove unused vars `last' and `completions'. (Info-index-nodes): Remove unused var `node'.
* (Info-complete-menu-item): Use complete-with-action.Stefan Monnier2009-10-191-3/+1
|
* (Info-bookmark-make-record): Document this function.Karl Fogel2009-10-041-2/+4
| | | | | (Info-bookmark-jump): Document with a doc string, not just a comment. (Bug#4061)
* Use `called-interactively-p' instead of `interactive-p'.Juanma Barranquero2009-10-021-1/+1
|
* * info.el (Info-try-follow-nearest-node): Use the URL extracted byJuanma Barranquero2009-09-221-4/+5
| | | | `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
* (info-menu-5): Mark face alias as obsolete.Glenn Morris2009-09-021-1/+1
|
* Mark face aliases with "-face" suffix as obsolete.Glenn Morris2009-09-011-8/+4
|
* Virtual Info keyword finder.Juri Linkov2009-07-181-0/+82
| | | | | | | | | | | (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'". (Info-finder-file): New variable. (Info-finder-find-file): New function. (finder-known-keywords, finder-package-info) (find-library-name, lm-commentary): Use defvar and declare-function to silence compiler warnings. (Info-finder-find-node): New function. (info-finder): New command.
* * simple.el (deactivate-mark): Optional argument FORCE.Chong Yidong2009-07-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | (set-mark): Use deactivate-mark. * info.el (Info-search): No need to check transient-mark-mode before calling deactivate-mark. * select.el (x-set-selection): Doc fix. (x-valid-simple-selection-p): Allow buffer values. (xselect--selection-bounds): Handle buffer values. Suggested by David De La Harpe Golden. * mouse.el (mouse-set-region, mouse-drag-track): Call copy-region-as-kill before setting the mark, to let select-active-regions work. * simple.el (deactivate-mark): If select-active-regions is non-nil, copy the selection data into a string. (activate-mark): If select-active-regions is non-nil, set the selection to the current buffer. (set-mark): Update selection if select-active-regions is non-nil. * select.el (x-valid-simple-selection-p): Allow buffer values.
* Virtual Info files and nodes.Juri Linkov2009-07-021-228/+479
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Info-virtual-files, Info-virtual-nodes): New variables. (Info-current-node-virtual): New variable. (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call): New functions. (Info-file-supports-index-cookies): Use Info-virtual-file-p to check for a virtual file instead of checking a fixed list of node names. (Info-find-file): Use Info-virtual-fun and Info-virtual-call instead of ad-hoc processing of "dir" and (apropos history toc). (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call instead of ad-hoc processing of "dir" and (apropos history toc). Reread a file when moving from a virtual node. (add-to-list)<Info-virtual-files>: Add "\\`dir\\'". (Info-directory-toc-nodes, Info-directory-find-file) (Info-directory-find-node): New functions. (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'". (Info-history): Move part of code to `Info-history-find-node'. (Info-history-toc-nodes, Info-history-find-file) (Info-history-find-node): New functions. (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'". (Info-toc): Move part of code to `Info-toc-find-node'. (Info-toc-find-node): New function. (Info-toc-insert): Renamed from `Info-insert-toc'. Don't insert the current Info file name to references because now the node "*TOC*" belongs to the same Info manual. (Info-toc-build): Renamed from `Info-build-toc'. (Info-toc-nodes): Rename input argument `file' to `filename'. Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p instead of ad-hoc processing of ("dir" apropos history toc). (Info-index-nodes): Use Info-virtual-file-p to check for a virtual file instead of checking a fixed list of node names. (Info-index-node): Add check for `Info-current-node-virtual'. Raise `save-match-data' higher up the tree to contain `search-forward' too (bug fix). (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'". (Info-virtual-index-nodes): New variable. (Info-virtual-index-find-node, Info-virtual-index): New functions. (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'". (Info-apropos-file, Info-apropos-nodes): New variables. (Info-apropos-toc-nodes, Info-apropos-find-file) (Info-apropos-find-node, Info-apropos-matches): New functions. (info-apropos): Move part of code to `Info-apropos-find-node' and `Info-apropos-matches'. (Info-mode-map): Bind "I" to `Info-virtual-index'. (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check for a virtual file instead of checking a fixed list of node names.
* * info.el (Info-mode): Doc fix (Bug#3358).Chong Yidong2009-05-231-2/+0
|
* (Info-isearch-filter): Don't filter out invisible textJuri Linkov2009-01-141-5/+6
| | | | when search-invisible is t. (Bug#1848)
* Fix Bug #876:Eli Zaretskii2009-01-101-2/+7
| | | | | (info-insert-file-contents, Info-insert-dir): Bind inhibit-null-byte-detection to non-nil.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (Info-find-node-2): Use negative offset 2 instead of 1Juri Linkov2008-12-231-4/+6
| | | | | | | | for Info-point-loc since it is more correct in all cases. (Info-isearch-filter): Rename from `Info-isearch-filter-predicate'. Doc fix. (Info-mode): Replace `Info-isearch-filter-predicate' with `Info-isearch-filter'.
* (Info-isearch-search): Implement lax version ofJuri Linkov2008-12-191-4/+10
| | | | | | | | incremental word search in Info. (Info-isearch-start): Set Info-isearch-initial-node to the current node when search is nonincremental to not stop at the initial node in this case. (Info-mode-map): Unbind "\M-s" from `Info-search'.
* * align.el:Lute Kamstra2008-12-031-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* (Info-search, Info-mode): RenameJuri Linkov2008-11-171-5/+5
| | | | | | `isearch-success-function' to `isearch-filter-predicate'. (Info-isearch-filter-predicate): Rename from `Info-search-success-function'.
* Info-mode: Do not remove an existing header line if `Info-use-header-line' ↵David Reitter2008-10-201-4/+3
| | | | is nil.
* (Info-file-supports-index-cookies): Fix typo in docstring.Juri Linkov2008-10-191-1/+1
|
* * info.el (Info-file-supports-index-cookies-list): New variable.Juri Linkov2008-10-181-21/+45
| | | | | | | | | | | | (Info-file-supports-index-cookies): New function. (Info-find-node-2, Info-index-nodes, Info-index-node): Use it. (Info-index-nodes): Let-bind Info-point-loc to nil for files without an index cookie to ignore it when Info-index-nodes is called during navigating from an index node with line numbers. (Info-index-node): Set file to Info-current-file if nil. (Bug#1118) * info.el (Info-breadcrumbs-depth): Move defcustom higher to the variable definition section.
* (Info-find-node-2): Put initial point below the header line and breadcrumbs ↵Juri Linkov2008-10-181-0/+4
| | | | line.
* (info-tool-bar-map): Initialize it unconditionally.Chong Yidong2008-10-111-17/+16
|
* (Info-extract-menu-counting): New argment no-detail toMartin Rudalics2008-10-101-12/+19
| | | | | | | | skip detailed node listings. (Info-forward-node): New argument not-up to inhibit going up. (Info-final-node): Call Info-extract-menu-counting and Info-forward-node with the new arguments set to avoid infinite looping. (Bug#1116)
* (Info-follow-nearest-node): Don't raise an error forMartin Rudalics2008-09-171-0/+4
| | | | mouse-1 clicks.
* (Info-try-follow-nearest-node): Fix doc typo.Glenn Morris2008-09-101-1/+1
|
* Stephen Berman <stephen.berman at gmx.net>Glenn Morris2008-09-101-1/+1
| | | | (Info-mouse-follow-nearest-node): Follow links to different manuals. (Bug#886)
* (Info-dir-remove-duplicates): Narrow buffer whenMartin Rudalics2008-09-041-15/+16
| | | | | removing duplicate entries under same heading. Don't skip char matching anything but a space or tab at bol. (Bug#864)
* (Info-hide-note-references, Info-refill-paragraphs): Doc fixes.Glenn Morris2008-08-301-2/+4
|