1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

84 Commits

Author SHA1 Message Date
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Deepak Goel
f6e7ec0248 Fix possibly buggy calls to `message'. 2007-12-06 00:17:56 +00:00
Juanma Barranquero
da3e76dc20 (PC-expand-many-files): Remove.
(PC-do-completion): Call file-expand-wildcards instead of PC-expand-many-files.
2007-10-22 09:46:08 +00:00
Romain Francoise
9a8b3a5cd4 2007-09-06 Sean O'Rourke <sorourke@cs.ucsd.edu>
* complete.el (PC-do-completion): Don't try to treat
	  empty string as an abbreviation.
2007-09-06 17:12:17 +00:00
Michaël Cadilhac
f8a3deedc6 (PC-do-completion): Make RET accept a non-unique but complete
expansion again.
2007-08-26 19:20:20 +00:00
Richard M. Stallman
03ed845e65 (PC-lisp-complete-symbol): Complete symbol around point.
(PC-do-completion): Add "acronym completion" for symbols and
filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
2007-08-07 03:02:04 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Stefan Monnier
f15ca94483 (PC-do-complete-and-exit): Add support for the new
`confirm-only' confirmation mode.
2007-07-05 19:42:43 +00:00
Richard M. Stallman
b1916c6edb (partial-completion-mode): Remove advice of read-file-name-internal.
(PC-do-completion): Rebind minibuffer-completion-table.
(PC-read-file-name-internal): New function doing what
read-file-name-internal advice did.
2007-07-01 17:19:53 +00:00
Stefan Monnier
b4879b4331 (PC-bindings): Don't bind things already bound in the parent keymap. 2007-06-11 22:10:24 +00:00
Glenn Morris
e00c1b9cae (PC-goto-end, PC-do-completion-end): Make buffer-local. 2007-04-14 20:23:31 +00:00
Glenn Morris
d73bbb352c (PC-goto-end): New variable.
(partial-completion-mode) <choose-completion-string-functions>:
Do not go to the end of the minibuffer if PC-goto-end is non-nil.
(PC-do-completion): New optional fourth argument GOTO-END.  Add a
doc string.  Set PC-goto-end for choose-completion.
(PC-lisp-complete-symbol): Pass non-nil GOTO-END arg to
PC-do-completion.
2007-04-14 19:33:06 +00:00
Glenn Morris
660fd6fb69 (partial-completion-mode): Set PC-do-completion-end to nil after use.
(PC-lisp-complete-symbol): Create and use a marker at `end',
rather than using point-marker.
2007-03-29 03:24:36 +00:00
Glenn Morris
1fbd183032 (PC-do-completion-end): New variable.
(partial-completion-mode) <choose-completion-string-functions>:
Use PC-do-completion-end in the non-minibuffer case to replace the
correct amount of text.
(PC-do-completion): Set PC-do-completion-end for c-c-s-f.
(PC-lisp-complete-symbol): Give marker the after-insertion type,
to deal with improvements inserted after point.
2007-03-28 03:28:49 +00:00
Glenn Morris
8dbe4a8cca (PC-do-completion): Compute completion-base-size in
the non-filename case, rather than setting to nil.
(PC-lisp-complete-end): New variable.
(PC-lisp-complete-symbol): Use PC-lisp-complete-end to store the
original end in a series of consecutive invocations.
2007-03-27 03:17:42 +00:00
Stefan Monnier
414a17c9a5 (read-file-name-internal): Don't add the final > if the completion is not
finished (re-application of this patch, which was accidentally undone by Eli).
2007-03-21 19:23:12 +00:00
Martin Rudalics
a7b52a1e76 (PC-do-completion): Bind dirlength to nil to avoid
that buffer contents get erased during completion.
2007-03-10 08:39:11 +00:00
Glenn Morris
82db2cbb43 (PC-do-completion): Replace first call to try-completion with new
PC-try-completion.
2007-03-09 09:00:59 +00:00
Martin Rudalics
2ef31c1ca4 (PC-try-completion): New function.
(PC-do-completion, read-file-name-internal): Use it instead of
try-completion.
2007-03-09 07:30:29 +00:00
Chong Yidong
fff1a0775e (PC-bindings): Rebind M-TAB in read-expression-map. 2007-03-08 14:50:59 +00:00
Kim F. Storm
6e52f715f3 (PC-bindings): Remap lisp-complete-symbol to
PC-lisp-complete-symbol instead of binding M-TAB in global-map.
2007-03-07 15:08:46 +00:00
Michaël Cadilhac
85066604f0 (PC-do-completion): Delete duplicates in the list of possible completions. 2007-03-07 12:50:23 +00:00
Chong Yidong
b89d8a7719 (PC-do-completion): If completion-ignore-case is non-nil, replace
field with completion string before exiting.
2007-03-05 14:55:05 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
e91081eb9e Update copyright years. 2006-12-05 06:15:26 +00:00
Stefan Monnier
4a63ceb890 (PC-do-completion): Strip out completion-ignored-extensions
before checking whether there are multiple completions.
Don't use `list' unnecessarily when building completion tables.
2006-08-07 18:06:28 +00:00
Stefan Monnier
424f4c9cfa (PC-expand-many-files): Avoid signalling an error when
the current directory doesn't exist.  Reported by Michaël Cadilhac.
2006-08-02 14:08:49 +00:00
Juri Linkov
d46104aeee (partial-completion-mode): In lambda for
`choose-completion-string-functions' use full function signature
with 4 args, and move point to the end of the minibuffer only if arg
`mini-p' is non-nil.
2006-06-28 14:16:20 +00:00
Eli Zaretskii
08fd202a3d (PC-do-completion): Retain capitalization of user input, when possible, even
if completion-ignore-case is set.
2006-06-23 13:05:40 +00:00
Stefan Monnier
35731e3bcd (PC-do-completion): Undo the addition of implicit
wildcards if they did not lead to finding any match.
(read-file-name-internal): Don't add the final > if the completion is
not finished.
2006-05-22 18:09:40 +00:00
Stefan Monnier
8d85a56561 (partial-completion-mode): Use 'choose-completion-string-functions to make
sure that choose-completion fills the minibuffer properly.

(PC-old-read-file-name-internal): Remove.
(PC-read-include-file-name-internal): Remove.  Turn it into an advice
of read-file-name-internal.
(partial-completion-mode): Enable/disable this advice.
2006-04-18 17:33:33 +00:00
Stefan Monnier
95983b950a (PC-expand-many-files): Try be more careful when parsing the shell's output. 2006-03-06 20:09:17 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juri Linkov
fddf97f6cb (PC-do-completion): Remove `(equal (point) beg)' to
place point at the first different character in the minibuffer
even if this position is at the beginning of the minibuffer.
2005-12-16 19:08:42 +00:00
Richard M. Stallman
6c76000bb3 (partial-completion-mode): Doc fix. 2005-12-16 02:06:11 +00:00
Stefan Monnier
f679907bf2 (PC-completion-as-file-name-predicate): Use minibuffer-completing-file-name.
(partial-completion-mode): Use find-file-not-found-functions.
(PC-lisp-complete-symbol): Use with-syntax-table.
(PC-look-for-include-file): Remove dead setq.
(PC-look-for-include-file, PC-expand-many-files, PC-do-completion)
(PC-complete): Use with-current-buffer.
2005-11-27 20:53:55 +00:00
Eli Zaretskii
101568527f (partial-completion-mode): Mention completion-auto-help in the doc string. 2005-11-19 12:09:25 +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
Stefan Monnier
a7ad007929 (PC-read-include-file-name-internal): Use test-completion. 2005-03-28 19:33:45 +00:00
Werner LEMBERG
932fb767f5 * complete.el, thumbs.el: Replace legal' with valid'. 2005-03-25 09:49:00 +00:00
Luc Teirlinck
1b368e3120 (PC-is-complete-p): delete.
(PC-do-completion): Replace all calls to `PC-is-complete-p' with calls
to `test-completion'.
2003-12-23 23:42:28 +00:00
Stefan Monnier
93f4fe7a77 (PC-do-completion): Do not forget to use `pred' as the default-directory
when completing file names.
2003-10-20 20:54:16 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Noah Friedman
8e28519a40 (PC-do-completion): Do not add wildcards to pattern unless filename is
non-nil.
2002-12-02 08:51:39 +00:00
Stefan Monnier
c2801b5048 (PC-do-completion): Make partial-completion work
with incomplete directory names.
2002-11-08 23:39:29 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Richard M. Stallman
2ad432aba9 (partial-completion-mode): Doc fix. 2001-02-10 17:06:06 +00:00