1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

85 Commits

Author SHA1 Message Date
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Juanma Barranquero
2edf0b67d0 (dabbrev-upcase-means-case-search): Doc fix. 2007-05-16 10:47:14 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Luc Teirlinck
fe0e0a47a5 (dabbrev-completion): Simplify code, by getting rid of `if' whose
condition always returned nil.  Doc fix.
2005-11-27 23:54:40 +00:00
Masatake YAMATO
f5fab556d4 * message.el (message-expand-group): Pass the common
prefix substring of completion to `display-completion-list'.

* mh-comp.el (mh-complete-word): Pass the common
prefix substring of completion to `display-completion-list'.

* dabbrev.el (dabbrev-completion): Pass the common
prefix substring of completion to `display-completion-list'.

* filecache.el (file-cache-minibuffer-complete)
(file-cache-complete): Ditto.

* tempo.el (tempo-display-completions): Ditto.

* wid-edit.el (widget-file-complete, widget-color-complete): Ditto.

* emacs-lisp/lisp.el (lisp-complete-symbol): Ditto.

* eshell/em-hist.el (eshell-list-history): Ditto.

* mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto.

* progmodes/etags.el (complete-tag): Ditto.

* progmodes/make-mode.el (makefile-complete): Ditto.

* progmodes/meta-mode.el (meta-complete-symbol): Ditto.

* progmodes/octave-mod.el (octave-complete-symbol): Ditto.

* progmodes/pascal.el (pascal-complete-word)
(pascal-show-completions): Ditto.

* textmodes/bibtex.el (bibtex-complete-internal): Ditto.

* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.

* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
2005-10-16 09:31:48 +00:00
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