1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
Richard M. Stallman
d03aece353 (speedbar-edit-line): Change regexp to position
the cursor on the first character of this line's button.
2004-01-03 21:12:08 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Richard M. Stallman
9ac8c1d349 (speedbar-directory-buttons-follow): Don't use directory-sep-char. 2002-12-07 21:30:22 +00:00
Andreas Schwab
f8532c555a (speedbar-highlight-face): Fix face spec. 2002-12-05 23:02:40 +00:00
Markus Rost
40bf436d25 (defgroup speedbar): Use group 'etags instead of nonexisting group
'tags.
2002-11-17 22:49:07 +00:00
Richard M. Stallman
fe80eaef30 (speedbar-refresh): Simply bind deactivate-mark. 2002-09-26 21:57:00 +00:00
Juanma Barranquero
fa6cd5c784 (speedbar-mode): Fix typos. 2002-09-06 10:11:30 +00:00
Juanma Barranquero
e8a1df89cb (speedbar-mode): Fix spacing. 2002-09-06 07:18:04 +00:00
Juanma Barranquero
bd6406004f (speedbar-obj-do-check): Fix typo. 2002-07-10 09:45:18 +00:00
Juanma Barranquero
85671b819b (speedbar-tag-hierarchy-method): Fix typos.
(speedbar-vc-do-check): Likewise.
(speedbar-obj-do-check): Likewise.
(speedbar-mouse-hscroll): Likewise.
(speedbar-file-lists): Likewise.
2002-07-10 09:26:03 +00:00
Juanma Barranquero
5502266e13 (speedbar-make-specialized-keymap): Fix docstring.
(speedbar-desired-buffer): Likewise.
(speedbar-line-file): Likewise.
(speedbar-special-mode-key-map): Fix typo.
(speedbar-dynamic-tags-function-list): Likewise.
(speedbar-use-images): Likewise.
(speedbar-up-directory): Likewise.
(speedbar-item-info): Likewise.
(speedbar-set-timer): Likewise.
(speedbar-insert-button): Likewise.
(speedbar-make-button): Likewise.
(speedbar-make-tag-line): Likewise.
(speedbar-insert-files-at-point): Likewise.
(speedbar-update-special-contents): Likewise.
(speedbar-find-selected-file): Likewise.
(speedbar-add-indicator): Likewise.
(speedbar-do-function-pointer): Likewise.
(speedbar-goto-this-file): Likewise.
(speedbar-line-path): Likewise.
(speedbar-mouse-event-p): Likewise.
(speedbar-dir-follow): Likewise.
(speedbar-tag-find): Likewise.
(speedbar-fetch-etags-command): Likewise.
(speedbar-fetch-etags-arguments): Likewise.
(speedbar-toggle-etags): Likewise.
(speedbar-extract-one-symbol): Likewise.
(speedbar-parse-c-or-c++tag): Likewise.
(speedbar-unhighlight-one-tag-line): Likewise.
(speedbar-directory-face): Likewise.
(defimage-speedbar): Likewise.
(speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
(defimage-speedbar): Likewise.
2002-07-10 08:21:49 +00:00
Pavel Janík
5e55c9ebe5 (speedbar-tag-hierarchy-method)
(speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
2002-04-14 16:22:57 +00:00
Pavel Janík
e637a73dda (speedbar-generic-item-info)
(speedbar-sort-tags): Doc fix.
(speedbar-add-supported-extension): Fix typo in interactive spec.
2002-04-14 08:11:22 +00:00
Richard M. Stallman
6b52944ef5 (speedbar-default-directory-list): Made robust against deleted directories. 2002-03-29 12:46:02 +00:00
Richard M. Stallman
1fd714a410 (various face definitions): Use :weight, not :bold. 2001-12-31 20:44:44 +00:00
Pavel Janík
a2b3d59a62 (speedbar-mode): Remove make-local-hook. 2001-11-26 16:28:30 +00:00
Eli Zaretskii
8cce891685 Minor fixes of the docs in the commentary. From sen_ml@eccosys.com. 2001-11-07 19:46:57 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Eli Zaretskii
ec7dc7e177 (speedbar-supported-extension-expressions): Add .g to the extension list,
for antlr-mode.  From Christoph Wedler <Christoph.Wedler@sap.com>.
2001-07-12 07:15:00 +00:00
Stefan Monnier
c49d6ca7a0 (speedbar-find-selected-file): RE-quote the filename. 2001-05-25 18:48:41 +00:00
Eric M. Ludlam
d757aac1c9 (speedbar-insert-image-button-maybe): Check for `xemacs' feature
instead of for the function `set-extent-property'.
2001-04-04 00:51:48 +00:00
Eric M. Ludlam
68514d48aa (speedbar-frame-parameters): No toolbar lines.
(speedbar-line-file): Return nil if not a file.
(speedbar-buffers-line-path): Return file for tags, and dir for files.
2001-02-12 16:33:03 +00:00
Dave Love
a2b07751dc Add :version to several defcustoms. 2000-09-12 12:54:31 +00:00
Eli Zaretskii
557262167f (speedbar-use-images, speedbar-update-flag)
(speedbar-easymenu-definition-base): Use display-graphic-p where
available, instead of window-system.
2000-05-28 10:52:50 +00:00
Eric M. Ludlam
0e5df36f65 (speedbar-easymenu-definition-base): Image toggle fix.
(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.
2000-05-24 00:53:43 +00:00
Eric M. Ludlam
e9a4dcba67 (speedbar-recenter): Typo, and fix logic.
(speedbar-expand-line): Make arg optional.
(speedbar-mode): Avoid a compiler warning.
2000-05-15 22:17:24 +00:00
Eric M. Ludlam
e4a1da3c64 Updated the commentary section.
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.
2000-05-13 23:13:25 +00:00
Gerd Moellmann
8f19c49219 (speedbar-xemacs20p): Remove compatibility code for
Emacs versions without custom.el.
1999-11-30 14:09:13 +00:00
Gerd Moellmann
3a1aa59765 Clean up comment at the start of the file.
Remove RCS id.
1999-11-18 16:07:35 +00:00
Richard M. Stallman
cc5034d2b5 (speedbar-directory-buttons): Recognize
device names when checking for file names.
1999-08-29 19:37:29 +00:00
Karl Heuer
a8197cfe37 (speedbar-hack-buffer-menu): Fixed so if the user
does not select a buffer from the buffers menu, then the attached
frame is not switched to anything.
1999-06-04 18:22:55 +00:00
Karl Heuer
3927381695 Added commentary about stealthy functions.
(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.
1999-03-13 04:52:25 +00:00
Richard M. Stallman
2654fa92b2 (speedbar-item-info-tag-helper): Scan the whole line. 1999-02-16 00:33:44 +00:00
Richard M. Stallman
8e49673d5e (speedbar-line-token): Match {...} instead of [...].
(speedbar-line-token): Likewise.
1999-01-31 04:39:37 +00:00
Eric M. Ludlam
8afc622bcf (speedbar-item-info-file-helper): Add optional arg
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.
1999-01-23 13:23:26 +00:00
Eric M. Ludlam
8583d8b398 (speedbar-frame-parameters) Add : to custom prompt.
(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.
1998-12-19 14:01:53 +00:00
Eric M. Ludlam
f412d5ddaa (speedbar-frame-mode): Check if cfx or cfy is a list, and make sure it
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.
1998-10-04 13:00:45 +00:00
Andreas Schwab
c6e5033d0e (speedbar-initial-expansion-list-name): Fix
customize type.
1998-09-18 09:21:27 +00:00
Eric M. Ludlam
65f2da7e91 Version letter 1998-09-12 13:58:46 +00:00
Eric M. Ludlam
afa43ce107 (speedbar-frame-mode): Only set the position on window systems. 1998-09-12 13:56:25 +00:00
Eric M. Ludlam
469a3717cc (speedbar-stealthy-updates): Do all updates w/ the the buffer writable. 1998-08-24 01:16:09 +00:00
Eric M. Ludlam
1095518aea (speedbar-temp-buffer-show-function): For emacs don't call hook
with arguments.
1998-08-24 00:55:45 +00:00
Eric M. Ludlam
2d0327e545 (speedbar-with-writable): remove `toggle-read-only'.
(speedbar-mode): Set buffer to read only.
1998-08-24 00:37:22 +00:00
Dan Nicolaescu
c95dd4b07a *** empty log message *** 1998-08-19 21:43:56 +00:00
Eric M. Ludlam
a4252bdbf5 (speedbar-timer-fn): Disable updating if the frame
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.
1998-08-19 01:43:37 +00:00
Eric M. Ludlam
67fc2d1f68 Removed scrollbar-width from the frame-parameters. 1998-08-14 01:15:33 +00:00
Eric M. Ludlam
fd7bd989f8 (speedbar-edit-line, speedbar-buffer-kill-buffer,
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.
1998-08-08 21:20:51 +00:00
Eric M. Ludlam
61d7e1dc5b Updated refresh messages to clear themselves. 1998-08-04 13:58:39 +00:00
Eric M. Ludlam
0e5961010e (speedbar-update-current-file): Added call to
`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.
1998-08-03 17:47:39 +00:00