1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

65 Commits

Author SHA1 Message Date
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
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