1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00
Commit Graph

142 Commits

Author SHA1 Message Date
Kim F. Storm
a9dbdeceb0 (ido-magic-forward-char, ido-magic-backward-char)
(ido-magic-delete-char): Use prefix arg.
2008-02-04 09:57:16 +00:00
Stefan Monnier
3da360a745 * progmodes/ada-xref.el (ada-prj-find-prj-file):
* progmodes/ada-mode.el (comment-region):
* calendar/todo-mode.el (todo-insert-item):
* bookmark.el (bookmark-buffer-name): Test major-mode rather than mode-name.
2008-01-04 06:18:31 +00:00
Glenn Morris
2c52d7a3b2 Remove directory part from filenames in function declarations. 2007-12-06 04:05:51 +00:00
Juanma Barranquero
efccebb574 (ido-save-history): Set the `coding' local
variable in the first line of the file.
2007-12-04 15:48:25 +00:00
Michael Albinus
d9e43b70c6 * ido.el (ido-file-name-all-completions-1): Check for fboundp of
`tramp-completion-mode-p' as it is in Tramp 2.1.  Let-bind
`tramp-completion-mode'.
2007-11-24 15:40:09 +00:00
Dan Nicolaescu
004a00f4ae * progmodes/octave-mod.el (inferior-octave-send-list-and-digest):
* play/yow.el (doctor-ret-or-read):
* vc-hooks.el (vc-dired-resynch-file):
* vc-hg.el (log-view-get-marked):
* smerge-mode.el (ediff-cleanup-mess):
* pcvs.el (vc-editable-p, vc-checkout):
* pcomplete.el (comint-bol):
* informat.el (texinfo-format-refill):
* ido.el (tramp-tramp-file-p):
* ibuffer.el (ibuffer-mark-on-buffer, ibuffer-format-qualifier)
(ibuffer-generate-filter-groups)
(ibuffer-format-filter-group-data):
* add-log.el (c-beginning-of-defun, c-end-of-defun): Declare as
functions.

* ido.el (ido-file-internal): Move with-no-warnings to include the
ffap-string-at-point call.

* pcomplete.el (pcomplete-executables): Move defsubst before first
use.

* vc-hg.el (vc-hg-revision-table): Fix last change.
2007-11-19 08:50:04 +00:00
Juanma Barranquero
d725608c0e (ido-save-history): Save the history file in UTF-8,
not the current filename coding system.
2007-11-10 00:19:44 +00:00
Juanma Barranquero
edcc53d147 (ido-save-history): Write the history file in the current filename
coding system, and add `coding' file-local variable.
2007-11-06 12:25:06 +00:00
Juanma Barranquero
db99576a91 (ido-to-end, ido-set-matches-1): Use mapc' rather than mapcar'. 2007-09-25 11:08:45 +00:00
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Juanma Barranquero
72a75b41db (ido-find-file-in-dir): Don't signal an error for empty directories. 2007-06-20 15:19:37 +00:00
Kim F. Storm
79ef576382 (ido-kill-buffer-at-head, ido-delete-file-at-head):
Don't use kill-line.
2007-04-22 10:37:08 +00:00
Kim F. Storm
523c54f5a7 (ido-read-internal): When reading file or dir, only override
minibuffer-local-filename-completion-map, otherwise only override
minibuffer-local-completion-map.
2007-03-29 22:33:22 +00:00
Chong Yidong
874985512d (ido-init-completion-maps): Remap delete-backward-char. 2007-03-17 18:04:50 +00:00
Kim F. Storm
16f462c5f9 (ido-buffer-internal): Set this-command to fallback command.
Add selected buffer to buffer-name-history.
(ido-file-internal): Set this-command to fallback command.
Add file names to to file-name-history.
2007-02-25 23:48:54 +00:00
Kim F. Storm
74a5d578f1 Doc fixes. 2007-02-05 22:36:13 +00:00
Juanma Barranquero
ccaa42ede5 (ido-set-common-completion): Use let', not let*'. 2007-01-31 15:31:15 +00:00
Kim F. Storm
155943b98e (ido-initial-position): New variable.
(ido-read-internal): Set it if default item is specified.
(ido-minibuffer-setup): Position cursor accordingly if set.
(ido-edit-input): C-e moves to end of input if not already there.
(ido-magic-backward-char): C-b does like M-b if prev char is /.
Don't switch to buffer mode if repeating C-b at start of input.
(ido-toggle-ignore): C-a only toggles ignore at start or end of
input; else it moves to start of input.
(ido-kill-buffer-at-head, ido-delete-file-at-head): If cursor is
not at end of input, delete rest of input, rather than normal op.
2007-01-24 00:07:34 +00:00
Kim F. Storm
cba9a3a5ee (ido-active): Add xemacs test from ido-minibuffer-setup.
(ido-initiate-auto-merge, ido-exhibit, ido-minibuffer-setup)
(ido-tidy): Use ido-active.
2007-01-22 22:37:25 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Kim F. Storm
3d37467b44 (ido-set-matches-1): Fix last change. If default item is
current buffer, it is ok to be first.
2006-12-27 02:22:36 +00:00
Kim F. Storm
39449da0b4 (ido-set-matches-1): Never put current buffer first if
there are other matches.
2006-12-27 00:26:54 +00:00
Kim F. Storm
1fd1a9f248 (ido-toggle-ignore, ido-completion-help): Print message while
reading big directory.
2006-12-16 01:34:10 +00:00
Kim F. Storm
c05b06127d (ido-completion-help): Build ido-cur-list and ido-matches
if ido-directory-too-big is set on entry.
2006-12-16 01:24:26 +00:00
Kim F. Storm
542b315f36 (ido-init-completion-maps): Remap backward-kill-word
instead of binding M-backspace.
2006-12-10 23:58:23 +00:00
Kim F. Storm
10b19e8897 2006-11-30 Michaël Cadilhac <michael.cadilhac@lrde.org>
(ido-local-file-exists-p): New. Tell if a file exists
locally, i.e. without using file name handlers.
(ido-read-internal): Allow mono letter host names, avoiding the
`c:' problem by testing if the file exists locally.
(ido-complete, ido-make-file-list, ido-exhibit): Ditto.
2006-11-30 20:50:31 +00:00
Kim F. Storm
033ecf787a (ido-file-internal): Use current buffer's file name as default
choice for ido-find-alternate-file.  Suggested by Matt Hodges.
2006-11-16 09:07:16 +00:00
Kim F. Storm
1b5929b989 (ido-copy-current-word): C-o copies region if active. 2006-11-13 22:05:06 +00:00
Glenn Morris
29660eb7cb (ido-enable-prefix): Improve previous doc fix. 2006-11-11 04:00:13 +00:00
Glenn Morris
a697536d3a (ido-enable-prefix): Doc fix (Nil -> nil). 2006-11-10 09:09:08 +00:00
Juanma Barranquero
a09e21bfbd (ido-ignore-extensions, ido-show-dot-for-dired, ido-max-dir-file-cache,
ido-decorations, ido-rewrite-file-prompt-functions, ido-use-mycompletion-depth,
ido-magic-backward-char, ido-enter-dired, ido-enter-insert-buffer,
ido-enter-insert-file, ido-dired, ido-list-directory, ido-first-match,
ido-only-match, ido-subdir, ido-indicator): Fix typos in docstrings.
(ido-buffer-internal, ido-completion-help): Fix typos in messages.
(ido-read-internal): Fix typo in error message.
2006-11-08 09:46:30 +00:00
Kim F. Storm
ff07e0ac40 (ido-reread-directory): Work in `dir' mode too. 2006-10-16 12:42:24 +00:00
Kim F. Storm
1c36d72a5a 2006-10-15 Michaël Cadilhac <michael.cadilhac@lrde.org>
(ido-exhibit): Allow `-', `_', and trailing `$' in user id.
2006-10-15 20:33:12 +00:00
Kim F. Storm
76a63a6ee0 (ido-file-extension-aux): Fix comparison. 2006-10-06 22:54:36 +00:00
Kim F. Storm
ec579201ee (ido-wide-find-dirs-or-files): Use shell-quote-argument. 2006-10-06 12:49:12 +00:00
Kim F. Storm
d471b4fe3a (ido-file-internal): Only bind minibuffer-completing-file-name
to t while calling ido-read-internal.
2006-09-29 12:25:35 +00:00
Kim F. Storm
bf8b0f8b81 (ido-ignore-item-p): Allow any kind of functions in ignore lists.
From Michaël Cadilhac.
2006-09-14 14:42:49 +00:00
Kim F. Storm
5a1b28a4cb (ido-edit-input, ido-complete, ido-take-first-match)
(ido-push-dir-first, ido-kill-buffer-at-head, ido-exhibit)
(ido-delete-file-at-head): Pass head of ido-matches through ido-name
in case of merged directories.  Reported by Michaël Cadilhac.
2006-09-10 21:40:44 +00:00
Kim F. Storm
930f852ec4 (ido-visit-buffer): Use buffer name if buffer arg is a buffer. 2006-09-05 10:26:35 +00:00
Kim F. Storm
5444f27889 (ido-set-matches-1): Fix full matching for subdirs.
Add suffix matching for subdirs.
2006-08-22 09:45:13 +00:00
Kim F. Storm
bac4dbd166 (ido-copy-current-file-name): Use buffer-name if buffer-file-name is nil. 2006-07-11 20:13:59 +00:00
Kim F. Storm
11ae5e8175 (ido-read-internal): Only pop stack elements automatically if they
actually match an existing directory or file name.
2006-06-08 11:29:27 +00:00
Kim F. Storm
f1d0c70d70 (ido-file-internal): Pass full file name to write-file. 2006-06-07 22:45:27 +00:00
Kim F. Storm
2490c7406c (ido-copy-current-file-name): Repeating C-w inserts whole file name. 2006-06-07 22:25:55 +00:00
Kim F. Storm
a3f4d4d43c (ido-take-first-match, ido-push-dir-first): New commands.
(ido-init-completion-maps): Bind them to M-SPC and M-v.
2006-06-07 22:05:05 +00:00
Kim F. Storm
a11ad595d4 (ido-default-file-method, ido-default-buffer-method):
Make choice values consistent with corresponding command names.
(ido-visit-buffer): Update accordingly.  Default to selected-window.
2006-06-05 22:22:41 +00:00
Kim F. Storm
fcbc95a904 (ido-read-file-name): Bind ido-show-dot-for-dired to nil
if default-filename is specified.
2006-05-20 22:33:54 +00:00
Kim F. Storm
2d38f869f6 (ido-read-internal): Use only nondirectory part of default item. 2006-05-17 21:25:59 +00:00
Kim F. Storm
b97f1994c4 (ido-mode): Remove ido-ignore-unc-host-regexps from the :set-after list.
(ido-downcase-unc-hosts): New user option.  Default on.
(ido-ignore-unc-host-regexps): Don't reset ido-unc-hosts-cache
when it is set, as regexps are now applied on the fly.
(ido-unc-hosts): Keep all known hosts in ido-unc-hosts-cache.
Make C-a DTRT--filter hosts through ido-ignore-unc-host-regexps
on the fly, but only when ido-process-ignore-lists is set.
Do case insensitive filtering if ido-downcase-unc-hosts is set.
Only downcase names if ido-downcase-unc-hosts is set.
2006-04-06 10:35:22 +00:00