summaryrefslogtreecommitdiff
path: root/lisp/speedbar.el
Commit message (Collapse)AuthorAgeFilesLines
* (speedbar-find-selected-file): RE-quote the filename.Stefan Monnier2001-05-251-1/+1
|
* (speedbar-insert-image-button-maybe): Check for `xemacs' featureEric M. Ludlam2001-04-041-1/+1
| | | | instead of for the function `set-extent-property'.
* (speedbar-frame-parameters): No toolbar lines.Eric M. Ludlam2001-02-121-10/+20
| | | | | (speedbar-line-file): Return nil if not a file. (speedbar-buffers-line-path): Return file for tags, and dir for files.
* Add :version to several defcustoms.Dave Love2000-09-121-0/+6
|
* (speedbar-use-images, speedbar-update-flag)Eli Zaretskii2000-05-281-3/+9
| | | | | (speedbar-easymenu-definition-base): Use display-graphic-p where available, instead of window-system.
* (speedbar-easymenu-definition-base): Image toggle fix.Eric M. Ludlam2000-05-241-36/+43
| | | | | | | | | | | | | (speedbar-insert-button): Invisible text property fix. (speedbar-directory-plus): Renamed from speedbar-directory-+ (speedbar-directory-minus): Renamed from speedbar-directory-- (speedbar-page-plus): Renamed from speedbar-file-+ (speedbar-page-minus): Renamed from speedbar-file-- (speedbar-page): Renamed from speedbar-file- (speedbar-tag): Renamed from speedbar-tag- (speedbar-tag-plus): Renamed from speedbar-tag-+ (speedbar-tag-minus): Renamed from speedbar-tag-- (speedbar-expand-image-button-alist): Use above renames.
* (speedbar-recenter): Typo, and fix logic.Eric M. Ludlam2000-05-151-8/+5
| | | | | (speedbar-expand-line): Make arg optional. (speedbar-mode): Avoid a compiler warning.
* Updated the commentary section.Eric M. Ludlam2000-05-131-321/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xemacs20p now uses >= when detecting. require `defimage' safely. (speedbar-easymenu-definition-base): Add toggle for images. (speedbar-easymenu-definition-special): Add flush cache & expand. (speedbar-visiting-tag-hook): Set new defaults. Added options. (speedbar-reconfigure-keymaps-hook): New variable. (speedbar-frame-parameters): Updated documentation. (speedbar-use-imenu-flag): Updated custom tag (speedbar-dynamic-tags-function-list): New variable. (speedbar-tag-hierarchy-method): Updated doc & custom. (speedbar-indentation-width, speedbar-indentation-width) new variables. (speedbar-hide-button-brackets-flag): customizable. (speedbar-vc-indicator): Doc update. (speedbar-ignored-path-expressions): Updated default value. (speedbar-supported-extension-expressions): Updated default value. (speedbar-syntax-table): Remove {} paren status. (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act as "+". Added overlay aliases. (speedbar-mode): Use `speedbar-mode-line-update' instead of `force-mode-line-update'. (speedbar-mode, speedbar-quick-mouse, speedbar-click, speedbar-double-click): Use `speedbar-mouse-set-point' instead of `mouse-set-point' (speedbar-reconfigure-keymaps): Run configure keymap hooks. (speedbar-item-info-tag-helper): Revamped to handle a wider range of arbitrary text, and new helper functions. (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in filename finder. (speedbar-make-button): Call `speedbar-insert-image-button-maybe'. (speedbar-directory-buttons): Update path search/expansion. (speedbar-make-tag-line): Pay attention to `speedbar-indentation-width'. Use more care w/ invisible properties. (speedbar-change-expand-button-char): Call `speedbar-insert-image-button-maybe'. (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced). (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy, speedbar-trim-words-tag-hierarchy, speedbar-simple-group-tag-hierarchy): New functions (speedbar-create-tag-hierarchy): Update doc, use new tag hooks. (speedbar-insert-imenu-list, speedbar-insert-etags-list): New functions. (speedbar-mouse-set-point): New function (speedbar-power-click): Updated documentation. (speedbar-line-token, speedbar-goto-this-file): Handle more types of tag prefix text. (speedbar-expand-line, speedbar-contract-line): Make more robust to strange text. (speedbar-expand-line): Takes universal argument to flush the cache. (speedbar-flush-expand-line): New function. (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn. Use new generator insertion method. (speedbar-fetch-dynamic-tags): New function. (speedbar-fetch-dynamic-imenu): Removed code now handled in `speedbar-fetch-dynamic-imenu'. (speedbar-fetch-dynamic-etags): Fix current buffer problem. (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and "Revert Buffer" menu items. (speedbar-buffer-buttons-engine): Be smarter when creating a filename tag (for expansion purposes.). (speedbar-highlight-one-tag-line, speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top, speedbar-recenter): New functions. (defimage-speedbar): Image loading abstraction. (speedbar-directory-+, speedbar-directory--, speedbar-file-+, speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+, speedbar-tag--, speedbar-tag-gt, speedbar-tag-v, speedbar-tag-type, speedbar-tag-mail): New images. (speedbar-expand-image-button-alist): New variable. (speedbar-insert-image-button-maybe): Insert an image over some buttons.
* (speedbar-xemacs20p): Remove compatibility code forGerd Moellmann1999-11-301-23/+0
| | | | Emacs versions without custom.el.
* Clean up comment at the start of the file.Gerd Moellmann1999-11-181-35/+3
| | | | Remove RCS id.
* (speedbar-directory-buttons): RecognizeRichard M. Stallman1999-08-291-2/+3
| | | | device names when checking for file names.
* (speedbar-hack-buffer-menu): Fixed so if the userKarl Heuer1999-06-041-4/+5
| | | | | does not select a buffer from the buffers menu, then the attached frame is not switched to anything.
* Added commentary about stealthy functions.Karl Heuer1999-03-131-65/+91
| | | | | | | | | | | | | | | | | (speedbar-message) new function. (speedbar-y-or-n-p): New function (speedbar-with-attached-buffer) Moved macro before reference. Now uses `save-selected-window'. (speedbar-mouse-hscroll, speedbar-track-mouse, speedbar-refresh, speedbar-generic-item-info, speedbar-item-info-file-helper, speedbar-item-delete, speedbar-insert-generic-list, speedbar-timer-fn, speedbar-check-vc-this-line, speedbar-check-obj-this-line, speedbar-fetch-dynaic-etags, speedbar-buffers-item-info) Use speedbar-message. (speedbar-item-info) Limit `message-log-max'. (speedbar-item-load, speedbar-item-copy, speedbar-item-rename, speedbar-item-delete, speedbar-item-object-delete, speedbar-buffer-kill-buffer) Use speedbar-y-or-n-p.
* (speedbar-item-info-tag-helper): Scan the whole line.Richard M. Stallman1999-02-161-1/+2
|
* (speedbar-line-token): Match {...} instead of [...].Richard M. Stallman1999-01-311-3/+3
| | | | (speedbar-line-token): Likewise.
* (speedbar-item-info-file-helper): Add optional argEric M. Ludlam1999-01-231-72/+172
| | | | | | | | | | | | | | | | | | | | of the file whose info we want to display. (speedbar-easymenu-definition-trailer) Fix list issue w/ customize. (speedbar-add-mode-functions-list) Improve doc. (speedbar-line-token) New function. (speedbar-dired) Fix order of directories in -shown-directories. (speedbar-line-path): Default return is default-directory (speedbar-buffers-line-path): Return is dir name only. (speedbar-mode-functions-list): New variable. (speedbar-mouse-item-info): Rewrote to be a replaceable fn. (speedbar-item-info-file-helper, speedbar-item-info-tag-helper speedbar-files-item-info speedbar-buffers-item-info): New functions. (speedbar-fetch-replacement-function,speedbar-add-mode-functions-list): New functions. (speedbar-line-file): Broke out part that fetches file from a line. (speedbar-line-text): New function extracted from speedbar-line-file. (speedbar-line-path): Converted into a replaceable function. (speedbar-files-line-path, speedbar-buffers-line-path): New functions.
* (speedbar-frame-parameters) Add : to custom prompt.Eric M. Ludlam1998-12-191-63/+144
| | | | | | | | | | | | | | | | | | (speedbar-frame-plist) Remove useless comments. (speedbar-frame-mode) Do not specify height if it is in the param list. Use default y position w/out changing it. If default x position is a list, keep, calculate the non-list X value when devining an initial position. (speedbar-this-file-in-vc) Fix SCCS to use s. not p. files. (speedbar-tag-group-name-minimum-length): New variable. (speedbar-frame-parameter): New compatibility function. (speedbar-frame-mode): Updated to use speedbar-frame-parameter. (speedbar-apply-one-tag-hierarchy-method): Fixed up taging sub groups to keep things in the right order, and to help with some naming conventions. (speedbar-create-tag-hierarchy): Enable buffer local version of `speedbar-tag-hierarchy-method' in the buffer we are tagging. (speedbar-line-path) Make DEPTH param optional. Devine it if absent. the case, derive it from the cursor location in speedbar.
* (speedbar-frame-mode): Check if cfx or cfy is a list, and make sure itEric M. Ludlam1998-10-041-9/+7
| | | | | | | gets evalled to a number. Also verify that set-frame-name fn exists before calling it. (speedbar-initial-expansion-list-name): Remove customization since it is not useful in this case.
* (speedbar-initial-expansion-list-name): FixAndreas Schwab1998-09-181-2/+4
| | | | customize type.
* Version letterEric M. Ludlam1998-09-121-2/+2
|
* (speedbar-frame-mode): Only set the position on window systems.Eric M. Ludlam1998-09-121-11/+13
|
* (speedbar-stealthy-updates): Do all updates w/ the the buffer writable.Eric M. Ludlam1998-08-241-4/+5
|
* (speedbar-temp-buffer-show-function): For emacs don't call hookEric M. Ludlam1998-08-241-3/+5
| | | | with arguments.
* (speedbar-with-writable): remove `toggle-read-only'.Eric M. Ludlam1998-08-241-2/+2
| | | | (speedbar-mode): Set buffer to read only.
* *** empty log message ***Dan Nicolaescu1998-08-191-2/+2
|
* (speedbar-timer-fn): Disable updating if the frameEric M. Ludlam1998-08-191-61/+82
| | | | | | | | is an icon, or if the user is using the minibuffer. (speedbar-key-map): Added Q binding to destroy the frame. (speedbar-easymenu-definition-trailer): Added Quit item. (speedbar-frame-mode): Set the frame position at creation time. (speedbar-file-unshown-regexp): Added .# lock files.
* Removed scrollbar-width from the frame-parameters.Eric M. Ludlam1998-08-141-2/+1
|
* (speedbar-edit-line, speedbar-buffer-kill-buffer,Eric M. Ludlam1998-08-081-37/+47
| | | | | | | | | | | | | | speedbar-buffer-revert-buffer): Updated buffer finding regex to handle the [?] tag. (speedbar-find-selected-file): New function. (speedbar-clear-current-file): Uses `speedbar-find-selected-file' (speedbar-update-current-file): Uses `speedbar-find-selected-file', and now `speedbar-last-selected-file' is defined as the path name to the file, not just the file itself. (speedbar-center-buffer-smartly): Fixed center error to handle the whole buffer. (speedbar-delete-subblock): Rewrote to be more robust, less clever. (speedbar-timer-fn): Removed short display time for messages.
* Updated refresh messages to clear themselves.Eric M. Ludlam1998-08-041-11/+14
|
* (speedbar-update-current-file): Added call toEric M. Ludlam1998-08-031-22/+64
| | | | | | | | | | | | | | | | | | | | | | | | | `speedbar-center-buffer-smartly' to improve the display. (speedbar-center-buffer-smartly) Fixed off-by-one error in window height calculation. (speedbar-hack-buffer-menu): New function. (speedbar-frame-parameters): Removed scroll bar width. (speedbar-frame-mode): Change pointer shape for X and W32 window-systems only. When window-system is pc, bind the speedbar frame name to "Speedbar", and select that frame so it is displayed. (speedbar-mode): Don't bind default-minibuffer-frame when window-system is pc. (speedbar-this-file-in-vc): Look for RCS/name as well as RCS/name,v. (speedbar-directory-buttons-follow): Support both upper- and lower-case drive letters. Use directory-sep-char instead of a literal backslash. (speedbar-reconfigure-keymaps): Call `easy-menu-remove' before reconfiguring for a new menu bar. (speedbar-previous-menu): New Variable. (speedbar-frame-plist): Remove pointers. (speedbar-refresh): Prevent the mark from being deactivated. (speedbar-buffer-kill-buffer): Refresh speedbar after killing a buffer in the buffer display.
* More commentary.Karl Heuer1998-07-101-442/+1265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (speedbar-xemacsp) Moved definition. (speedbar-initial-expansion-mode-list) was `speedbar-initial-expansion-list' and now has multiple modes. (speedbar-stealthy-function-list) now has mode labels. (speedbar-initial-expansion-list-name, speedbar-previously-used-expansion-list-name, speedbar-special-mode-key-map, speedbar-track-mouse-flag, speedbar-tag-hierarchy-method, speedbar-tag-split-minimum-length, speedbar-tag-regroup-maximum-length, speedbar-hide-button-brackets-flag) New variables (speedbar-special-mode-expansion-list) updated documentation. (speedbar-navigating-speed, speedbar-update-speed) phasing out. (speedbar-vc-indicator) removed space from this var. (speedbar-indicator-separator, speedbar-obj-do-check, speedbar-obj-to-do-point, speedbar-obj-indicator, speedbar-obj-alist, speedbar-indicator-regex) new variables. (speedbar-directory-unshown-regexp) New variable. (speedbar-supported-extension-expressions) Added more extensions. (speedbar-add-supported-extension, speedbar-add-ignored-path-regexp) Made interactive. (speedbar-update-flag) nil w/ no window system. (speedbar-file-key-map) Moved some key bindings from `speedbar-key-map' to this map. (speedbar-make-specialized-keymap) New function. (speedbar-file-key-map) New key map. (speedbar-easymenu-definition-special) Updated to new functions. (speedbar-easymenu-definition-trailer) Changed conditional part. (speedbar-frame-mode) Removed commented code, fixed W32 cursor bug, Updated to better handle terminal frames. (speedbar-switch-buffer-attached-frame) New function. (speedbar-mode) Updated documentation, no local keymap, correct `temp-buffer-show-function' use, enable mouse-tracking. (speedbar-show-info-under-mouse) New function. (speedbar-reconfigure-keymaps) Was `speedbar-reconfigure-menubar'. Enable major display mode specific menus & key maps. (speedbar-temp-buffer-show-function) Fix use of `temp-buffer-show-hook' (speedbar-track-mouse, speedbar-track-mouse-xemacs) New functions. (speedbar-restricted-move, speedbar-restricted-next, speedbar-restricted-prev, speedbar-navigate-list, speedbar-forward-list, speedbar-backward-list) New commands. (speedbar-refresh) Updated message printing & verbosity. (speedbar-item-load) Updated message. (speedbar-item-byte-compile) Updated doc & reset scanners. (speedbar-item-info) Overhauled with more details. (speedbar-item-copy) Update messages. (speedbar-generic-item-info) New function (speedbar-item-delete) Update messages. (speedbar-item-object-delete) New function. (speedbar-select-window) Update doc. Use `show-buffer'. (speedbar-make-button) Update doc. (speedbar-initial-expansion-list, speedbar-initial-menu, speedbar-initial-keymap, speedbar-initial-stealthy-functions, speedbar-add-expansion-list, speedbar-change-initial-expansion-list) New functions. (speedbar-maybe-add-localized-support, speedbar-add-localized-speedbar-support, speedbar-remove-localized-speedbar-support) Imported from speedbspec (speedbar-file-lists) Filter out some directories. (speedbar-make-tag-line) Can hide brackets. (speedbar-change-expand-button-char) Protect invisible text prop. (speedbar-insert-files-at-point) Ignore case during comares. (speedbar-apply-one-tag-hierarchy-method, speedbar-create-tag-hierarchy) New functions. (speedbar-insert-generic-list) Now calls hierarchy functions on tags. (speedbar-update-contents) Handles localized support. (speedbar-update-directory-contents) Uses fn for expansion list, Fixed directory cacheing bug. (speedbar-timer-fn) Calls localized support function. (speedbar-stealthy-update-recurse) New variable (speedbar-stealthy-updates) Handle new stealth function format. (speedbar-clear-current-file) Handle indicator regex. (speedbar-update-current-file) Ignores case, update handle indicator regex, Fix line positioning. (speedbar-add-indicator) Handles obj indicators now. (speedbar-check-objects, speedbar-check-obj-this-line) New functions. (speedbar-double-click) Fix tripple click error. (speedbar-line-file, speedbar-goto-this-file) Handle indicator regex. (speedbar-line-path) Only try to get a file when in "files" display. (speedbar-line-depth) Handle indicator regex. (speedbar-dir-follow) Turn of smart-adjust to disable cache use. (speedbar-directory-buttons-follow) Hack for W32 emacs directories. (speedbar-buffers-key-map) New key map. (speedbar-buffer-easymenu-definition) New meny items. (speedbar-buffer-buttons, speedbar-buffer-buttons-temp, speedbar-buffer-buttons-engine, speedbar-buffer-click, speedbar-buffer-kill-buffer, speedbar-buffer-revert-buffer) New functions.
* *** empty log message ***Dan Nicolaescu1998-05-261-1/+2
|
* *** empty log message ***Dan Nicolaescu1998-04-191-1/+2
|
* Initial revisionDan Nicolaescu1998-04-181-0/+2893