1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-21 10:24:55 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Dave Love
ddb6e2e205 Require comint when compiling.
(hippie-expand): Add :links.
(hippie-expand-try-functions-list): Customize.
1999-11-25 19:18:59 +00:00
Gerd Moellmann
d7d20e6afc Use new backquote syntax. 1999-11-15 12:20:50 +00:00
Dan Nicolaescu
f5f727f8ff *** empty log message *** 1998-05-26 09:23:23 +00:00
Richard M. Stallman
41b8e71c88 (hippie-expand-dabbrev-skip-space): Renamed `he-dabbrev-skip-space'.
(hippie-expand-dabbrev-as-symbol): Renamed `he-dabbrev-as-symbol'.
(hippie-expand-no-restriction): New variable.
(hippie-expand-only-buffers): New variable.
(he-init-string,he-line-search,he-list-search,he-dabbrev-search): Use
`buffer-substring-no-properties' to avoid transfer of text properties.
(he-dabbrev-kill-search,he-whole-kill-search): Remove text properties
from search result.
(he-regexp-member): Removed function.
(he-buffer-member): New function used instead of `he-regexp-member'.
(try-expand-line,try-expand-line-all-buffers,try-expand-list,
 try-expand-list-all-buffers,try-expand-dabbrev,
 try-expand-dabbrev-all-buffers): Depending on
`hippie-expand-no-restriction', widen the buffer before search.
(try-expand-line-all-buffers,try-expand-list-all-buffers,
 try-expand-dabbrev-all-buffers): Use `he-buffer-member' and
`hippie-expand-only-buffers'.
1998-03-10 18:30:07 +00:00
Richard M. Stallman
1707b2dade (he-dabbrev-skip-space): Fix previous change.
(he-dabbrev-as-symbol): Likewise.
1997-07-04 00:44:33 +00:00
Richard M. Stallman
86414c3ca0 (he-dabbrev-skip-space, he-dabbrev-as-symbol):
Move definitions up.  Use defcustom.
1997-05-30 05:30:58 +00:00
Karl Heuer
de073e064d (he-file-name-beg): Don't trigger on parts of
words with non-file chars.
(he-lisp-symbol-beg): Use symbol syntax classes.
(he-dabbrev-as-symbol): New variable.
(he-dabbrev-beg,he-dabbrev-search,he-dabbrev-kill-search): Use it.
1997-05-29 18:32:11 +00:00
Richard M. Stallman
9411439468 Use defgroup and defcustom. 1997-05-03 19:53:57 +00:00
Geoff Voelker
b86b9918dd Use w32 instead of ms-windows for window-system symbol 1996-11-19 06:59:17 +00:00
Richard M. Stallman
a0341d132b (he-concat-directory-file-name): Directory part may be nil.
(he-file-name-nondirectory): Referenced external variable.
1996-06-18 16:28:22 +00:00
Richard M. Stallman
8a5a6d3e6d (he-file-name-chars): Check windows-nt, not ms-windows. 1996-06-04 16:37:27 +00:00
Karl Heuer
32561aba5f (hippie-expand): Pass proper format string to message. 1996-01-25 00:54:39 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
8d392c8e7e (he-transfer-case): Fix typo in prev change. 1995-10-15 08:54:13 +00:00
Richard M. Stallman
510cbc92ee (hippie-expand): Removed bug - don't undo from another buffer.
(he-reset-string): Removed bug - don't move markers.
(he-capitalize-first): New function, defining new "case".
(he-transfer-case): New function.
(he-transfer-case-ok): Function removed.
(he-substitute-string,he-ordinary-case-p,he-string-member): Use the
new functions above, for the new case handling.
(he-file-name-chars): New variable.
(he-file-name-beg): Use `he-file-name-chars'.
(he-file-name-nondirectory,he-file-name-directory,
he-file-directory-p,he-concat-directory-file-name): New functions
to handle VMS and PC filename formats more accurately.
(try-complete-file-name,try-complete-file-name-partially): Use the
new functions above.
(try-expand-line-all-buffers,try-expand-list-all-buffers,
try-expand-dabbrev-all-buffers): Use `case-fold-search' from the
original buffer.
(he-line-beg): Removed bug that made point move.
(try-expand-all-abbrevs): Check that abbrev tables exist before use.
(try-expand-dabbrev-visible): New try function.
(he-search-window): New variable used by `try-expand-dabbrev-visible'.
(he-dab-search-regexp): Function removed.
(he-dab-search): Renamed to `he-dabbrev-search'.
(he-dabbrev-search): Find only whole matching symbols.
(he-dabbrev-skip-space): New variable.
(he-dabbrev-beg): Use `he-dabbrev-skip-space'.
(try-expand-dabbrev-from-kill,he-dabbrev-kill-search): New try
function, with requisites.
(try-expand-whole-kill,he-whole-kill-search,he-kill-beg): New try
function, with requisites.
(he-search-loc2): New variable, used by `try-expand-whole-kill'
and `try-expand-dabbrev-from-kill'.
(hippie-expand-try-functions-list): Added the try functions
`try-complete-file-name-partially', `try-expand-dabbrev-from-kill'
and `try-complete-lisp-symbol-partially'.
(Several functions): Adjusted and corrected use of `he-tried-table'.
1995-10-13 15:57:04 +00:00
Richard M. Stallman
a4e104bf5c Doc fix. 1994-05-22 22:14:17 +00:00
Richard M. Stallman
d1d1ddbd6a (;; Keywords:): Changed to "abbrev".
(hippie-expand-ignore-buffers): New variable.
(he-regexp-member): New function.
(hippie-expand-try-functions-list): Added `try-expand-list'.
(try-expand-line-all-buffers, try-expand-list-all-buffers,
try-expand-dabbrev-all-buffers): Use `he-regexp-member' and
`hippie-expand-ignore-buffers'.
(he-list-search): Don't find list containing point.
(he-dab-search-regexp): Just match at beginning of words.
(he-dabbrev-beg): Never move point forward.
1993-12-23 04:38:57 +00:00
Jim Blandy
8c6677ed1f * hippie-exp.el: Renamed from hippie.el.
Changes from Anders Holst, to bring hippie-expand up to version 1.2:
	* hippie-exp.el (hippie-expand-max-buffers): New variable.
	(try-expand-line-all-buffers, try-expand-list-all-buffers,
	try-expand-dabbrev-all-buffers): Use it.
	(try-expand-list, try-expand-list-all-buffers): New functions.
	(he-string-beg, he-string-end, he-search-loc): These values are
	now markers, not integers.  Uses changed.
	(he-reset-string, he-substitute-string): Use a marker to preserve
	the old position of point.
	(try-expand-all-abbrevs): handle case the same way as the
        usual expand-abbrev (which is not a very good way, but for
        consistency...).
	(he-dabbrev-beg): Use `skip-syntax' instead of `skip-chars', to
        adjust its behavior to different modes.
	(hippie-expand): Don't messages which try function it is using,
        when the expansion itself is done in the minibuffer (it was very
        annoying to have the message obscuring the expansion).
	(try-complete-file-name, try-complete-file-name-partially,
	try-complete-lisp-symbol, try-complete-lisp-symbol-partially,
	try-expand-line, try-expand-line-all-buffers,
	try-expand-all-abbrevs, try-expand-dabbrev,
	try-expand-dabbrev-all-buffers): No unnecessary "resetting" of the
	epansion, when no expansion is done (caused the buffer to be
	marked as changed, although nothing was done, among other things).
	(he-reset-string): Undoing of last expansion at a later occasion, now
        undoes correctly (before, it garbled things up).
	(make-hippie-expand-function): now uses "(function ...)"
        instead of "'" (matters for compilation).
	(try-expand-line, try-expand-line-all-buffers,
	he-line-search-regexp): uses `comint-prompt-regexp' instead of
	`shell-prompt-pattern', to strip off prompt in process buffers.
1993-07-18 06:20:15 +00:00
Eric S. Raymond
76550a57f9 Add standard library headers. 1993-03-17 17:17:05 +00:00
Eric S. Raymond
3b1e4dd1eb Add standard library headers. 1993-03-17 15:58:09 +00:00
Richard M. Stallman
652304c9d3 entered into RCS 1993-01-06 04:35:15 +00:00