Eyal Lotem
08c73ed2a5
* ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)
...
Fixes: debbugs:13003
2013-06-12 00:25:05 -07:00
Glenn Morris
a7f3fecc54
* lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib.
2013-06-12 00:22:20 -07:00
Eyal Lotem
834b5ded7a
Respect ido-ignore-item-p in ido-wide-find-dirs-or-files (tiny change)
...
* lisp/ido.el (ido-delete-ignored-files): New function,
split from ido-make-file-list-1.
(ido-wide-find-dirs-or-files): Maybe ignore files.
(ido-make-file-list-1): Use ido-delete-ignored-files.
Fixes: debbugs:13003
2013-06-12 00:18:49 -07:00
Leo Liu
c7a8fcacf9
* subr.el (delete-consecutive-dups): New function.
...
* ido.el (ido-set-matches-1): Use it.
* progmodes/octave.el (inferior-octave-completion-table): Use it.
* ido.el (ido-remove-consecutive-dups): Remove.
2013-05-17 10:43:41 +08:00
Leo Liu
ea78b95b03
Re-work a fix for bug#10994 based on Le Wang's patch.
...
* ido.el (ido-remove-consecutive-dups): New helper.
(ido-completing-read): Use it.
(ido-chop): Revert fix for bug#10994.
2013-05-08 22:22:24 +08:00
Stefan Monnier
632556e4fe
* lisp/ido.el (ido-completions): Use extra elements of ido-decorations.
...
(ido-decorations): Update docstring.
Fixes: debbugs:14143
2013-04-05 10:00:08 -04:00
Leo Liu
438b0579ab
* ido.el (ido-chop): Fix bug#10994.
2013-03-20 11:05:34 +08:00
Stefan Monnier
940e509914
Use locate-user-emacs-file.
...
* lisp/type-break.el (type-break-file-name):
* lisp/textmodes/remember.el (remember-data-file):
* lisp/strokes.el (strokes-file):
* lisp/shadowfile.el (shadow-initialize):
* lisp/saveplace.el (save-place-file):
* lisp/ps-bdf.el (bdf-cache-file):
* lisp/progmodes/idlwave.el (idlwave-config-directory):
* lisp/net/quickurl.el (quickurl-url-file):
* lisp/international/kkc.el (kkc-init-file-name):
* lisp/ido.el (ido-save-directory-list-file):
* lisp/emulation/viper.el (viper-custom-file-name):
* lisp/emulation/vip.el (vip-startup-file):
* lisp/calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
* lisp/calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2013-03-11 22:08:21 -04:00
Jambunathan K
d7e76a8929
Fix bug#13708
...
* lisp/icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
Bind `C-.' and `C-,' to `icomplete-forward-completions' and
`icomplete-backward-completions'.
* lisp/ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
`ido-next-match' and `ido-prev-match' resply.
* lisp/iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
`iswitchb-next-match' and `iswitchb-prev-match' resply.
2013-02-16 00:49:29 +05:30
Paul Eggert
0877d0dc24
Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca
2013-01-02 08:13:04 -08:00
Paul Eggert
ab422c4d68
Update copyright notices for 2013.
2013-01-01 09:11:05 +00:00
Glenn Morris
a940045887
ido.el fix for bug#13036
...
* lisp/ido.el (ido-file-internal): Handle other-window, other-frame for dired.
2012-11-30 20:27:56 -05:00
Leo Liu
e4e4688922
Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to
...
avoid performance issue.
Fixes: debbugs:12796
2012-11-10 22:55:09 +08:00
Leo Liu
05a859c1bd
* lisp/ido.el (ido-set-matches-1): Improve flex matching performance by
...
removing backtracking in the regexp (suggested by Stefan).
Fixes: debbugs:12796
2012-11-10 09:28:22 +08:00
Glenn Morris
e8757f091a
Merge from emacs-24; up to 2012-05-08T14:11:47Z!monnier@iro.umontreal.ca
2012-10-05 00:38:05 -07:00
Paul Eggert
735135f9bc
Spelling fixes.
2012-10-04 22:57:24 -07:00
Juanma Barranquero
ea9a35630a
*** empty log message ***
2012-10-01 04:45:25 +02:00
Juanma Barranquero
6e6c9cd2e9
lisp/ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2012-09-30 14:32:16 +02:00
Juanma Barranquero
ee41332bd8
lisp/ido.el (ido-max-directory-size): Default to nil.
...
The current default is small for POSIX systems, and impractical
on Windows 7 now that lstat returns directory sizes for NTFS.
2012-09-30 14:28:50 +02:00
Glenn Morris
e61d39cddf
Merge from emacs-24; up to 2012-05-07T21:26:08Z!rgm@gnu.org
2012-09-28 09:02:31 -07:00
Leo Liu
9c1228c323
ido.el (ido-set-matches-1): Fix 2012-09-11 change
2012-09-28 21:38:26 +08:00
Chong Yidong
acfa068f4a
Merge from emacs-24; up to 2012-05-07T14:57:18Z!michael.albinus@gmx.de
2012-09-21 11:03:48 +08:00
Glenn Morris
2bc9406c23
Fix ChangeLog, add missing :version.
2012-09-16 17:48:04 -07:00
Leo Liu
a8c14da849
IDO: Disable match re-ordering for buffer switching
...
Fixes: debbugs:2042
2012-09-17 06:23:49 +08:00
Paul Eggert
09ae5da1b8
Prefer typical American spelling for "acknowledgment".
2012-07-24 22:48:19 -07:00
David Röthlisberger
d34c18b1c9
* lisp/ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j.
...
Fixes: debbugs:11201
2012-06-20 11:51:34 -04:00
David Röthlisberger
3f06ecf4f6
* lisp/ido.el (ido-find-file): Mention C-d binding in docstring.
...
Fixes: debbugs:11244
2012-06-19 14:17:14 -04:00
Chong Yidong
4b56d0fe74
Face cleanups. Remove some uses of old-style face spec and :bold/:italic.
...
* faces.el (set-face-attribute): Doc fix.
(modify-face): Don't use :bold and :italic.
(error, warning, success): Tweak definitions.
* cus-edit.el (custom-modified, custom-invalid, custom-rogue)
(custom-modified, custom-set, custom-changed, custom-themed)
(custom-saved, custom-button, custom-button-mouse)
(custom-button-pressed, custom-state, custom-comment-tag)
(custom-variable-tag, custom-group-tag-1, custom-group-tag)
(custom-group-subtitle): Use new-style face specs.
(custom-invalid-face, custom-rogue-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-saved-face)
(custom-button-face, custom-button-pressed-face)
(custom-documentation-face, custom-state-face)
(custom-comment-face, custom-comment-tag-face)
(custom-variable-tag-face, custom-variable-button-face)
(custom-face-tag-face, custom-group-tag-face-1)
(custom-group-tag-face): Remove obsolete face alias.
* epa.el (epa-validity-high, epa-validity-medium)
(epa-validity-low, epa-mark, epa-field-name, epa-string)
(epa-field-name, epa-field-body):
* font-lock.el (font-lock-comment-face, font-lock-string-face)
(font-lock-keyword-face, font-lock-builtin-face)
(font-lock-function-name-face, font-lock-variable-name-face)
(font-lock-type-face, font-lock-constant-face):
* ido.el (ido-first-match, ido-only-match, ido-subdir)
(ido-virtual, ido-indicator, ido-incomplete-regexp):
* speedbar.el (speedbar-button-face, speedbar-file-face)
(speedbar-directory-face, speedbar-tag-face)
(speedbar-selected-face, speedbar-highlight-face)
(speedbar-separator-face):
* whitespace.el (whitespace-newline, whitespace-space)
(whitespace-hspace, whitespace-tab, whitespace-trailing)
(whitespace-line, whitespace-space-before-tab)
(whitespace-space-after-tab, whitespace-indentation)
(whitespace-empty):
* emulation/cua-base.el (cua-global-mark):
* eshell/em-prompt.el (eshell-prompt):
* net/newst-plainview.el (newsticker-new-item-face)
(newsticker-old-item-face, newsticker-immortal-item-face)
(newsticker-obsolete-item-face, newsticker-date-face)
(newsticker-statistics-face, newsticker-default-face):
* net/newst-reader.el (newsticker-feed-face)
(newsticker-extra-face, newsticker-enclosure-face):
* net/newst-treeview.el (newsticker-treeview-face)
(newsticker-treeview-new-face, newsticker-treeview-old-face)
(newsticker-treeview-immortal-face)
(newsticker-treeview-obsolete-face)
(newsticker-treeview-selection-face):
* net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
(rcirc-bright-nick, rcirc-server, rcirc-timestamp)
(rcirc-nick-in-message, rcirc-nick-in-message-full-line)
(rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
* nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
(nxml-outline-active-indicator, nxml-outline-ellipsis):
* play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
(mpuz-text):
* progmodes/vera-mode.el (vera-font-lock-number)
(vera-font-lock-function, vera-font-lock-interface):
* textmodes/table.el (table-cell): Use new-style face specs, and
don't use the old :bold and :italic attributes.
* erc-button.el (erc-button):
* erc-goodies.el (erc-bold-face, erc-inverse-face)
(erc-underline-face, fg:erc-color-*):
* erc-match.el (erc-current-nick-face, erc-dangerous-host-face)
(erc-pal-face, erc-fool-face, erc-keyword-face):
* erc-stamp.el (erc-timestamp-face): Likewise.
* erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
(erc-command-indicator-face, erc-notice-face, erc-action-face)
(erc-error-face, erc-my-nick-face, erc-nick-default-face)
(erc-nick-msg-face): Use new-style face specs, and avoid :bold.
* progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
(ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
(ebrowse-member-class, ebrowse-progress): Likewise.
(ebrowse-tree-mark-face, ebrowse-root-class-face)
(ebrowse-file-name-face, ebrowse-default-face)
(ebrowse-member-attribute-face, ebrowse-member-class-face)
(ebrowse-progress-face): Remove obsolete faces.
* progmodes/flymake.el (flymake-errline, flymake-warnline):
Inherit from error and warning faces respectively.
* textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
Likewise.
(flyspell-incorrect-face, flyspell-duplicate-face): Remove
obsolete aliases.
* display.texi (Face Attributes): Font family does not accept
wildcards. De-document obsolete :bold and :italic attributes.
(Defining Faces): Use new-style face spec format.
2012-06-09 00:39:49 +08:00
Chong Yidong
78f3273aab
Convert more defvars to defcustoms.
...
* dos-w32.el (file-name-buffer-file-type-alist)
(direct-print-region-use-command-dot-com):
* ffap.el (ffap-menu-regexp):
* follow.el (follow-debug):
* forms.el (forms--debug):
* iswitchb.el (iswitchb-all-frames):
* ido.el (ido-all-frames):
* mail/feedmail.el (feedmail-mail-send-hook)
(feedmail-mail-send-hook-queued):
* mail/footnote.el (footnote-signature-separator):
* mail/mailabbrev.el (mail-alias-separator-string)
(mail-abbrev-mode-regexp):
* mail/rmail.el (rmail-speedbar-match-folder-regexp):
* progmodes/idlwave.el (idlwave-libinfo-file)
(idlwave-default-completion-case-is-down)
(idlwave-library-routines): Convert defvars to defcustoms.
* mail/rmail.el (rmail-decode-mime-charset):
* progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
(idlwave-shell-fix-inserted-breaks)
(idlwave-shell-activate-alt-keybindings)
(idlwave-shell-use-breakpoint-glyph):
* facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
* doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
2012-05-04 13:14:14 +08:00
Chong Yidong
fb7ada5f94
Remove * characters from the front of variable docstrings.
2012-04-09 21:05:48 +08:00
Gabor Vida
b4243e226b
* lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.
...
Fixes: debbugs:11145
2012-04-04 12:22:09 -04:00
Anmol Khirbat
99fc91fecd
Handle nil value of ido-completion-buffer.
...
* lisp/ido.el (ido-set-current-directory, ido-read-internal)
(ido-choose-completion-string, ido-completion-help): Handle nil
value of ido-completion-buffer.
Fixes: debbugs:11008
2012-03-22 00:41:01 +08:00
Glenn Morris
8ded50f24a
* lisp/ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2012-02-03 19:59:58 -05:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Paul Eggert
a87ef89906
Spelling fixes.
2011-12-15 14:14:12 -08:00
Paul Eggert
e47695319f
Spelling fixes.
2011-11-26 20:43:11 -08:00
Paul Eggert
5396468298
Spelling fixes.
2011-11-19 01:18:31 -08:00
Paul Eggert
da6062e6ea
Spelling fixes.
2011-11-14 23:55:13 -08:00
Michael Albinus
ad74a69e6b
* ido.el (ido-file-name-all-completions-1): Do not require
...
tramp.el explicitely. (Bug#7583)
2011-10-26 10:42:22 +02:00
Chong Yidong
06e21633a4
Fix minor mode docstrings for the new meaning of a nil ARG.
...
* abbrev.el (abbrev-mode):
* allout.el (allout-mode):
* autoinsert.el (auto-insert-mode):
* autoarg.el (autoarg-mode, autoarg-kp-mode):
* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-mode):
* battery.el (display-battery-mode):
* composite.el (global-auto-composition-mode)
(auto-composition-mode):
* delsel.el (delete-selection-mode):
* desktop.el (desktop-save-mode):
* dired-x.el (dired-omit-mode):
* dirtrack.el (dirtrack-mode):
* doc-view.el (doc-view-minor-mode):
* double.el (double-mode):
* electric.el (electric-indent-mode, electric-pair-mode):
* emacs-lock.el (emacs-lock-mode):
* epa-hook.el (auto-encryption-mode):
* follow.el (follow-mode):
* font-core.el (font-lock-mode):
* frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
* help.el (temp-buffer-resize-mode):
* hilit-chg.el (highlight-changes-mode)
(highlight-changes-visible-mode):
* hi-lock.el (hi-lock-mode):
* hl-line.el (hl-line-mode, global-hl-line-mode):
* icomplete.el (icomplete-mode):
* ido.el (ido-everywhere):
* image-file.el (auto-image-file-mode):
* image-mode.el (image-minor-mode):
* iswitchb.el (iswitchb-mode):
* jka-cmpr-hook.el (auto-compression-mode):
* linum.el (linum-mode):
* longlines.el (longlines-mode):
* master.el (master-mode):
* mb-depth.el (minibuffer-depth-indicate-mode):
* menu-bar.el (menu-bar-mode):
* minibuf-eldef.el (minibuffer-electric-default-mode):
* mouse-sel.el (mouse-sel-mode):
* msb.el (msb-mode):
* mwheel.el (mouse-wheel-mode):
* outline.el (outline-minor-mode):
* paren.el (show-paren-mode):
* recentf.el (recentf-mode):
* reveal.el (reveal-mode, global-reveal-mode):
* rfn-eshadow.el (file-name-shadow-mode):
* ruler-mode.el (ruler-mode):
* savehist.el (savehist-mode):
* scroll-all.el (scroll-all-mode):
* scroll-bar.el (scroll-bar-mode):
* server.el (server-mode):
* shell.el (shell-dirtrack-mode):
* simple.el (auto-fill-mode, transient-mark-mode)
(visual-line-mode, overwrite-mode, binary-overwrite-mode)
(line-number-mode, column-number-mode, size-indication-mode)
(auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
* strokes.el (strokes-mode):
* time.el (display-time-mode):
* t-mouse.el (gpm-mouse-mode):
* tool-bar.el (tool-bar-mode):
* tooltip.el (tooltip-mode):
* type-break.el (type-break-mode-line-message-mode)
(type-break-query-mode):
* view.el (view-mode):
* whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode):
* xt-mouse.el (xterm-mouse-mode): Doc fix.
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
autogenerated docstring.
2011-10-19 08:54:24 -04:00
Martin Rudalics
4e5c3d2bf1
Remove redundant :type entry from ido-default-buffer-method
2011-10-17 15:27:53 +02:00
Leo Liu
7690bdea13
Accept cons cell HIST arg in ido-read-internal
2011-09-27 17:28:03 +08:00
Lars Magne Ingebrigtsen
92f2affc50
(ido-mode): Switch off the message if called non-interactively.
2011-08-02 17:59:31 +02:00
Stefan Monnier
4f91a8160f
Don't quote lambda expressions with `quote'.
2011-05-23 14:57:17 -03:00
Juanma Barranquero
06b605171f
lisp/*.el: Lexical-binding cleanup.
2011-04-19 15:44:55 +02:00
Leo Liu
5c90fde028
Enable ido to kill virtual buffers
2011-04-11 11:44:54 +08:00
Leo Liu
ea62283460
Add to minibuffer-history if HISOTRY is nil in ido.el
...
It is broken by the change on 2011-03-21.
2011-03-29 16:25:31 +08:00
Leo Liu
c5b40130ec
Some ido cleanups
...
* ido.el (ido-read-internal): Simplify with read-from-minibuffer.
(ido-completions): Remove unused arguments. (Bug#8329)
2011-03-25 08:42:26 +08:00
Leo Liu
af896da66a
Fix history adding in ido-read-internal
...
Assume, for example, the head of matches is "RSS" and user input is
"rs". If the user hit RET, "RSS" is selected but "rs" is added to the
history. This commit fixes this inconsistency.
2011-03-22 01:48:36 +08:00
Leo Liu
3ec03f7e46
New variable completing-read-function to customize completing-read
2011-03-20 18:35:27 +08:00