1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
Richard M. Stallman
7bd9ba7033 (dabbrev-ignored-buffer-names): New variable.
(dabbrev--find-expansion): Ignore those buffers
unless they get specifically preferred.
1998-01-09 22:12:10 +00:00
Richard M. Stallman
fec1279bc2 (dabbrev-case-fold-search): Remove extra quote in customize constant.
(dabbrev-case-replace): Likewise.
1997-09-09 02:56:04 +00:00
Richard M. Stallman
8b64df4625 Comment change. 1997-08-12 00:37:22 +00:00
Richard M. Stallman
79bb4872ef (dabbrev-abbrev-skip-leading-regexp): Doc fix. 1997-08-11 23:55:10 +00:00
Richard M. Stallman
6f0b000cf6 (dabbrev-expand, dabbrev--abbrev-at-point)
(dabbrev--search): Use buffer-substring-no-properties.
1997-05-19 01:01:25 +00:00
Richard M. Stallman
543abb4a78 (dabbrev-case-replace, dabbrev-case-fold-search):
Make these simple three-value choices.
(dabbrev-completion): Handle dabbrev-case-fold-search
and dabbrev-case-replace the new way.
(dabbrev-expand, dabbrev--substitute-expansion): Likewise.
1997-05-10 00:33:28 +00:00
Richard M. Stallman
bbf5eb2805 Add defgroup's; use defcustom for user vars. 1997-04-12 03:18:33 +00:00
Richard M. Stallman
654116295d (dabbrev--substitute-expansion):
Change criterion for copying expansion's case pattern.
Do this now if expansion case varies after the first char.
1997-03-30 19:06:27 +00:00
Richard M. Stallman
dea5efcbe3 (dabbrev--last-case-pattern): New variable.
(dabbrev-expand): Set it for ordinary expansions;
use it when copying successive words.
1996-08-07 18:27:20 +00:00
Richard M. Stallman
07e47d0b70 (dabbrev-expand): When snarfing consecutive words,
if previous one was upcased, upcase this one too.
(dabbrev--substitute-expansion): When snarfing consecutive words,
don't case convert here.
1996-08-01 04:54:51 +00:00
Richard M. Stallman
caafcc32ad (dabbrev--substitute-expansion): Use just ABBREV, not OLD, in previous change. 1996-07-27 04:09:13 +00:00
Richard M. Stallman
e674957483 (dabbrev-case-fold-search, dabbrev-case-replace): Undo previous change. 1996-07-22 02:13:10 +00:00
Richard M. Stallman
66db4b5b2a (dabbrev--search): Don't downcase the result here.
(dabbrev-completion): Bind completion-ignore-case.
(dabbrev--substitute-expansion): Downcase the expansion here,
but not if case pattern matches start of original expansion.
1996-07-21 23:45:15 +00:00
Karl Heuer
8d47e7e524 (dabbrev-case-fold-search, dabbrev-case-replace): Set
risky-local-variable property, since these get eval'ed.
1996-07-12 00:32:48 +00:00
Erik Naggum
bfbf16aff7 (dabbrev-abbrev-skip-leading-regexp): Doc fix. 1996-01-24 19:01:08 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
83f8045840 (dabbrev-case-replace): Doc fix. 1995-11-11 05:24:34 +00:00
Richard M. Stallman
d8f7e85aba (dabbrev--find-expansion): Move buffers that are visible on the screen
to the front of the list to be searched.
1995-10-20 20:48:00 +00:00
Richard M. Stallman
3132e11599 (dabbrev-expand): When no more expansions,
Put back the original abbrev with its original case pattern.
1995-10-20 20:30:22 +00:00
Richard M. Stallman
4209f47921 (dabbrev-expand): Save previous point for undo. 1995-07-30 07:08:49 +00:00
Karl Heuer
63d991d634 (dabbrev--search): Don't let spurious match in middle
of word obscure real match at start of same word.
1995-07-17 22:48:39 +00:00
Karl Heuer
a8a2d6cade (dabbrev--abbrev-at-point): If point is after
a separator, move back to previous abbreviation.
(dabbrev-expand): New feature--if you insert a space and
call this command again, it always fetches consecutive words
after the expansion that was found for the actual abbrev.
1995-05-29 06:22:40 +00:00
Richard M. Stallman
df6eb420bf (dabbrev-completion): Use mapcar, not mapc.
Call dabbrev--reset-global-variables as the first thing.
(dabbrev-abbrev-char-regexp): Default value is nil again.
(dabbrev--find-all-expansions): Don't use push.
(dabbrev--search): Likewise.
(dabbrev-check-other-buffers):
Renamed from dabbrev-always-check-other-buffers.
(dabbrev-check-all-buffers): Renamed frm dabbrev-check-rest-of-buffers.
(dabbrev-expand): Now checks for marker.
(dabbrev--try-find): Now does a protected call to `widen'.
(dabbrev-always-check-other-buffers): Default now t.
(dabbrev--capitalize): Function deleted.
(dabbrev-completion): Use `capitalize'.
1995-05-15 23:16:08 +00:00
Richard M. Stallman
f8b581fa23 (esc-map): Delete excess closeparen. 1994-12-25 22:05:30 +00:00
Richard M. Stallman
5eb6298247 (dabbrev-abbrev-char-regexp): Accept symbol chars
as well as word constituent chars.
1994-12-24 21:39:16 +00:00
Richard M. Stallman
dd1ae35538 (dabbrev-completion): Now searches all buffers when given prefix arg 16.
(dabbrev--version): Variable deleted.
1994-12-24 01:35:28 +00:00
Richard M. Stallman
7313ccdbd0 Don't require cl, picture, or reporter.
Don't provide new-dabbrev.
(dabbrev--try-find): Don't use `loop'.
Don't create or kill local bindings.
(dabbrev-completion): Use key-description to say what to type.
Fix style of "done" message.
(dabbrev-submit-feedback): Function deleted.
(dabbrev--same-major-mode-p): Simplify.
(dabbrev-completion, dabbrev--abbrev-at-point): Fix error msg style.

(dabbrev-filter-elements): New macro.
(dabbrev--select-buffers, dabbrev--find-expansion): Use that.
(dabbrev--search): Use that.
1994-12-24 01:30:55 +00:00
Richard M. Stallman
6163b3ba74 Complete rewrite by Lars.Lindberg@sypro.cap.se. 1994-12-24 01:26:51 +00:00
Richard M. Stallman
5f5d794a22 Don't repeat at load time any bindings that are autoloaded. 1993-12-23 04:52:56 +00:00
Richard M. Stallman
0fc2d0064d (dabbrev-expand): Do all changes with replace-match.
In picture-mode, use picture-replace-match instead.
1993-06-14 18:55:10 +00:00
Richard M. Stallman
9b54f2680c (dabbrev-expand): Delete a search-forward call
after the second replace-match.
1993-05-09 23:18:30 +00:00
Eric S. Raymond
e9571d2a21 Add or correct keywords 1993-03-18 21:29:42 +00:00
Roland McGrath
01987a6bb7 entered into RCS 1992-09-15 02:36:36 +00:00
Eric S. Raymond
3a801d0c71 *** empty log message *** 1992-07-22 04:22:42 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
fc68affa4e *** empty log message *** 1992-07-16 07:28:05 +00:00
Eric S. Raymond
c0274f385f *** empty log message *** 1992-05-30 23:54:21 +00:00
Jim Blandy
49116ac071 *** empty log message *** 1992-03-16 20:39:07 +00:00
Jim Blandy
2f790b20af Initial revision 1991-05-13 21:21:58 +00:00