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
Stefan Monnier
00089cadd7
(partial-completion-mode): Drop unneeded positional args.
2000-11-03 22:12:16 +00:00
Stefan Monnier
cc7e4da0a5
(partial-completion-mode) <defcustom>: Remove.
...
(partial-completion-mode): Use define-minor-mode.
(PC-do-completion): Understand `completion-auto-help = delay'
to mean to popup the completion buffer only the second time.
(PC-include-file-all-completions, PC-include-file-all-completions)
(PC-include-file-all-completions): Don't quote lambda.
2000-09-29 02:17:56 +00:00
Gerd Moellmann
356b1352b5
(PC-env-vars-alist): New variable.
...
(PC-complete-as-file-name): New function.
(partial-completion-mode): Initialize PC-env-vars-alist from
process-environment.
(PC-do-completion): Handle completion of env vars.
2000-06-15 14:42:19 +00:00
Dave Love
5f34457e85
(PC-look-for-include-file): Use :alnum: character class.
...
(partial-completion-mode): Add autoload cookie.
2000-05-22 19:14:50 +00:00
Stefan Monnier
d7a0208b27
(PC-do-complete-and-exit): use minibuffer-prompt-end to
...
detect an empty prompt.
1999-11-19 16:05:04 +00:00
Gerd Moellmann
f08d859437
(PC-do-completion): Use minibuffer-prompt-end to
...
find the start of the text. Use field-string to read the user
input.
1999-11-03 23:50:40 +00:00
Eli Zaretskii
b38d1cc78e
(PC-do-completion): If completing on file name,
...
reproduce str by concatenating its directory and basename parts.
1999-08-09 08:56:31 +00:00
Karl Heuer
5b0f8cbcbd
Delete the wildcard expansion feature
...
since that is now standard in find-file.
(PC-try-load-many-files): Function deleted.
(PC-after-load-many-files): Function deleted.
(PC-many-files-list): Variable deleted.
(PC-disable-wildcards): Variable deleted.
(partial-completion-mode): Don't enable the wildcard feature.
(PC-look-for-include-file): Don't set global variables
`error', `buf' and `filename' here.
1999-04-26 04:59:46 +00:00
Karl Heuer
35dfd2ef08
(partial-completion-mode): Doc fix.
1999-03-30 21:23:15 +00:00
Karl Heuer
a399edf459
(partial-completion-mode): Doc fix.
1999-03-21 07:26:47 +00:00
Richard M. Stallman
06cab6db58
(PC-do-completion): Exclude ./ and ../ from completion.
1998-08-13 05:05:44 +00:00
Andreas Schwab
45200424de
(PC-first-char): Use `other' widget type.
1998-06-24 08:50:59 +00:00
Dan Nicolaescu
f5f727f8ff
*** empty log message ***
1998-05-26 09:23:23 +00:00
Richard M. Stallman
7117761b9e
Comment changes.
1998-05-19 05:12:47 +00:00
Karl Heuer
68a8818d73
(PC-expand-many-files): Apply completion-ignored-extensions.
1998-03-23 00:29:43 +00:00
Richard M. Stallman
b3d8c659f5
(PC-try-load-many-files): Load files in reverse
...
order so they come in the right order in the buffer list.
1998-01-22 00:44:59 +00:00
Simon Marshall
92677e25c1
customise & make installation/deinstallation happen on mode command not file load.
1997-07-25 11:36:34 +00:00
Richard M. Stallman
328c069714
(PC-try-load-many-files): Set truename.
1997-04-10 00:37:52 +00:00
Karl Heuer
fc21ed035b
(PC-do-completion): Remove text properties from
...
completions; also use string-equal instead of equal.
1996-12-05 19:52:46 +00:00
Richard M. Stallman
95c0d3a7dd
(PC-complete): When command is repeated,
...
scroll the completion buffer.
1996-07-30 18:52:19 +00:00
Erik Naggum
b035a6780c
Fixed up initial line
1996-05-20 21:07:10 +00:00
Richard M. Stallman
249f7eebfd
(PC-completion-as-file-name-predicate):
...
Replace PC-do-completion-filename-completers.
(PC-do-completion): Use that.
1996-03-06 05:12:07 +00:00
Richard M. Stallman
3985c7902b
(PC-do-completion-filename-completers): New variable.
...
(PC-do-completion): Use it.
1996-03-05 21:19:11 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
be01074898
Comment change.
1995-10-30 17:35:01 +00:00
Roland McGrath
bb01b91ffe
Add Keywords: comment header for finder.el.
1995-04-18 22:53:49 +00:00
Richard M. Stallman
80f14e531f
(PC-do-completion): If complete but not unique,
...
the second time in a row, give a list of completions.
(PC-do-complete-and-exit, PC-do-completion): Use [...] in messages.
1994-12-15 02:00:11 +00:00