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

79 Commits

Author SHA1 Message Date
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
a6bd541a05 (dabbrev): Finish `defgroup' description with period.
(dabbrev-expand): "?\ " -> "?\s".
2005-07-04 01:51:25 +00:00
Juanma Barranquero
f530778210 Specify missing group (and type, if simple) in defcustom. 2005-05-19 19:06:19 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
b9559a72b4 (dabbrev-expand): When handling SPC M-/,
temporarily widen before finding the following word to copy.
2004-11-16 17:08:39 +00:00
Richard M. Stallman
e921af9e6c (dabbrev--substitute-expansion): Fix a bug which lead
to loss of case of letters when performing case-insensitive
expansions on certain abbreviations.
2004-04-21 19:22:52 +00:00
Stefan Monnier
2e27ed13ab (dabbrev-expand): Fix regexp construction.
(dabbrev--find-expansion): Use pop.
(dabbrev--search): Use match-string-no-properties.
2004-03-26 15:19:39 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
6ee55cb130 (dabbrev--safe-replace-match): Use with-no-warnings. 2003-08-17 00:16:25 +00:00
Andreas Schwab
a1ff29b98a Don't redo key bindings on loading, put them only in loaddefs.el. 2003-08-02 22:06:12 +00:00
Richard M. Stallman
b002141660 (dabbrev--goto-start-of-abbrev): Use minibuffer-prompt-end. 2003-06-03 11:07:23 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Richard M. Stallman
19c17c4ec5 (dabbrev--substitute-expansion):
Convert all whitespace to single spaces,
except when it's carried over from the existing text.
2003-01-06 01:19:59 +00:00
Richard M. Stallman
155133a257 (dabbrev--search): Use inhibit-point-motion-hooks. 2002-07-18 15:00:01 +00:00
Richard M. Stallman
93a4333463 (dabbrev-case-distinction): New option.
(dabbrev--try-find): Handle dabbrev-case-distinction.
(dabbrev--search): Clean up the code.
(dabbrev-upcase-means-case-search): Doc fix.
(dabbrev-case-replace): Fix custom tags and docs.
2002-05-14 19:45:16 +00:00
Richard M. Stallman
43711c229f (dabbrev--goto-start-of-abbrev): Put a limit on field-beginning search. 2002-03-18 04:24:57 +00:00
Richard M. Stallman
3f5075727e (dabbrev--goto-start-of-abbrev):
Exit loop on beginning of field rather than bobp.
2002-02-03 10:26:49 +00:00
Stefan Monnier
ecd91f5fea (dabbrev-completion): Use "*Completions*". 2001-11-08 00:31:14 +00:00
Eli Zaretskii
2ebf8f54cb (dabbrev--select-buffers): Fix last change. 2001-06-21 07:42:04 +00:00
Richard M. Stallman
513e7954c8 (dabbrev--make-friend-buffer-list): New function,
broken out from dabbrev--find-expansion.  Handle minibuffer
specially here.
(dabbrev--find-expansion): Simplify code in various ways.
Don't treat minibuffers specially.
Call dabbrev--make-friend-buffer-list.
(dabbrev--select-buffers): Don't treat minibuffers specially.
Simplify.
(dabbrev--scanning-message): Do nothing when minibuffer is current.
2001-06-20 11:03:58 +00:00
Richard M. Stallman
05be3833f3 (dabbrev-select-buffers-function): Doc fix. 2001-05-05 22:31:30 +00:00
Miles Bader
a6a0642945 (dabbrev--ignore-buffer-p): New function.
(dabbrev--find-expansion): Use it.
(dabbrev--select-buffers): Don't select ignored buffers.
2001-04-27 15:28:38 +00:00
Richard M. Stallman
fd2dfb4079 Add doc strings for some functions.
(dabbrev--eliminate-newlines): New variable.
(dabbrev--substitute-expansion): Convert newlines to spaces
if dabbrev--eliminate-newlines is set.
If abbrev and expansion are both all-lower-case,
leave dabbrev--last-case-pattern nil.
2001-04-26 19:44:30 +00:00
Eli Zaretskii
d3111e5aa9 (dabbrev--select-buffers): Add a doc string. 2001-04-26 07:40:14 +00:00
Gerd Moellmann
c4ca64dbae (dabbrev-ignored-buffer-regexps): Renamed from
dabbrev-ignored-regexps.
2001-02-06 12:04:19 +00:00
Gerd Moellmann
8dc5c94d1d (dabbrev--substitute-expansion):
Treat a one-capital-letter abbrev as "not all upper case",
so as to force preservation of the expansion's pattern
if the expansion starts with a capital letter.
2001-01-27 12:07:49 +00:00
Gerd Moellmann
3ffa545ba6 (dabbrev--last-case-pattern): Value is now
`upcase' or `downcase' or nil.
(dabbrev-expand): Don't do anything with dabbrev--last-case-pattern.
Pass new record-case-pattern arg to dabbrev--substitute-expansion.
(dabbrev--substitute-expansion): New arg record-case-pattern.
If it is non-nil, set dabbrev--last-case-pattern.
If ABBREV is " ", use dabbrev--last-case-pattern to change EXPANSION.

(dabbrev--find-expansion): Remove extra nreverse.
2000-12-15 11:51:04 +00:00
Gerd Moellmann
f9cc39a188 (dabbrev--find-expansion): Use walk-windows instead
of cycling through windows with next-window.
2000-07-03 09:13:06 +00:00
Gerd Moellmann
fdad0f1455 (dabbrev-expand): Don't display messages in the
echo area if the minibuffer window is active.
2000-05-29 16:17:48 +00:00
Dave Love
87207d1407 Add debug-ignored-errors.
(dabbrev-completion): Use mapc.
2000-05-22 17:30:42 +00:00
Gerd Moellmann
7e65cba265 (dabbrev-ignored-regexps): New user-option.
(dabbrev--find-expansion): Ignore buffers matching a regexp
from dabbrev-ignored-regexps.
2000-04-03 19:23:35 +00:00
Sam Steingold
da49057ce7 * dabbrev.el (dabbrev-filter-elements): Use the new backquote syntax. 1999-11-15 18:59:00 +00:00
Karl Heuer
a73a57bca1 (dabbrev--find-expansion): Don't scan the current buffer
over again.
1998-09-23 21:56:59 +00:00
Richard M. Stallman
9648a1e6e0 (dabbrev-ignored-buffer-names): Fix typo. Add *Buffer List*. 1998-06-25 01:16:56 +00:00
Andreas Schwab
eaaca5ee78 (dabbrev-case-fold-search, dabbrev-case-replace,
dabbrev-check-other-buffers): Use `other' widget type.
1998-06-24 08:54:53 +00:00
Dan Nicolaescu
f5f727f8ff *** empty log message *** 1998-05-26 09:23:23 +00:00
Dan Nicolaescu
cd32a7baa4 *** empty log message *** 1998-04-20 02:34:53 +00:00
Richard M. Stallman
9b7c13e0bd Comment change. 1998-03-14 04:43:03 +00:00
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