summaryrefslogtreecommitdiff
path: root/lisp/ido.el
Commit message (Collapse)AuthorAgeFilesLines
* Fix minor quoting problems in doc stringsPaul Eggert2015-05-281-2/+2
| | | | | | Most of these fixes involve escaping grave accents that are actually intended to be grave accents, not left quotes. (Bug#20385)
* Fix minor quoting problems in doc stringsPaul Eggert2015-05-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were glitches regardless of how or whether we tackle the problem of grave accent in doc strings. * lisp/calc/calc-aent.el (math-restore-placeholders): * lisp/ido.el (ido-ignore-buffers, ido-ignore-files): * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"): * lisp/leim/quail/hebrew.el ("hebrew-new") ("hebrew-biblical-sil"): * lisp/leim/quail/thai.el ("thai-kesmanee"): * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars): Used curved quotes to avoid ambiguities like ‘`''’ in doc strings. * lisp/calendar/calendar.el (calendar-month-abbrev-array): * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn): * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass): * lisp/cedet/semantic/tag.el (semantic-tag-copy) (semantic-tag-components): * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp): * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring): * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp): * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine): * lisp/emacs-lisp/generator.el (iter-next): * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers) (gnus-article-mode-syntax-table): * lisp/net/rlogin.el (rlogin-directory-tracking-mode): * lisp/net/soap-client.el (soap-wsdl-get): * lisp/net/telnet.el (telnet-mode): * lisp/org/org-compat.el (org-number-sequence): * lisp/org/org.el (org-remove-highlights-with-change) (org-structure-template-alist): * lisp/org/ox-html.el (org-html-link-org-files-as-html): * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt) (handwrite-12pt, handwrite-13pt): * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start): * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev): * lisp/progmodes/verilog-mode.el (verilog-tool) (verilog-string-replace-matches, verilog-preprocess) (verilog-auto-insert-lisp, verilog-auto-insert-last): * lisp/textmodes/makeinfo.el (makeinfo-options): * src/font.c (Ffont_spec): Fix minor quoting problems in doc strings, e.g., missing quote, ``x'' where `x' was meant, etc. * lisp/erc/erc-backend.el (erc-process-sentinel-2): Fix minor quoting problem in other string. * lisp/leim/quail/ethiopic.el ("ethiopic"): * lisp/term/tvi970.el (tvi970-set-keypad-mode): Omit unnecessary quotes. * lisp/faces.el (set-face-attribute, set-face-underline) (set-face-inverse-video, x-create-frame-with-faces): * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl): * lisp/mail/supercite.el (sc-attribs-%@-addresses) (sc-attribs-!-addresses, sc-attribs-<>-addresses): * lisp/net/tramp.el (tramp-methods): * lisp/recentf.el (recentf-show-file-shortcuts-flag): * lisp/textmodes/artist.el (artist-ellipse-right-char) (artist-ellipse-left-char, artist-vaporize-fuzziness) (artist-spray-chars, artist-mode, artist-replace-string) (artist-put-pixel, artist-text-see-thru): * lisp/vc/ediff-util.el (ediff-submit-report): * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs): Use double-quotes rather than TeX markup in doc strings. * lisp/skeleton.el (skeleton-pair-insert-maybe): Reword to avoid the need for grave accent and apostrophe. * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence): Don't use grave and acute accents to quote.
* Add `predicate' arg to `read-buffer' and use it for erc-iswitchbStefan Monnier2015-03-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:20116 * src/minibuf.c (Fread_buffer): Add `predicate' argument. * src/callint.c (Fcall_interactively): Adjust calls accordingly. * lisp/erc/erc.el (erc-switch-to-buffer): Rename from erc-iswitchb and rewrite using read-buffer. (erc--buffer-p): New function, extracted from erc-buffer-filter. (erc-buffer-filter): Use it. (erc-with-all-buffers-of-server): Silence compile warning if the return value is unused. (erc-is-valid-nick-p, erc-common-server-suffixes, erc-get-arglist) (erc-command-name, erc-popup-input-buffer): Use \` and \' to match beg/end of string. * lisp/obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg. * lisp/isearchb.el (isearchb-iswitchb): Adjust accordingly. * lisp/ido.el (ido-read-buffer): Add `predicate' argument. * lisp/misearch.el (unload-function-defs-list): Declare before use.
* Fixes: debbugs:19335Rasmus Pank Roulund2015-03-121-2/+8
| | | | * lisp/ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist files
* * lisp/ido.el: Update Customization instructionsDmitry Gutov2015-01-191-6/+6
|
* Set up ido keymaps only onceJonas Bernoulli2015-01-191-111/+110
| | | | | | | | | | | | | * lisp/ido (ido-common-completion-map) (ido-file-dir-completion-map) (ido-file-completion-map, ido-buffer-completion-map): Set up key bindings when each variable is defined. (ido-completion-map): Move definition. (ido-init-completion-maps): Noop. (ido-common-initialization): Don't call it. (ido-setup-completion-map): Improve doc-string, cleanup. Fixes: debbugs:17000
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* lisp/ido.el: New command `ido-bury-buffer-at-head'Artur Malabarba2014-11-191-0/+15
| | | | | | Bound to C-S-b Bury the buffer at the head of `ido-matches', analogous to how C-k kills the buffer at head.
* Simplify use of current-time and friends.Paul Eggert2014-10-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/org.texi (Dynamic blocks): * lisp/allout-widgets.el (allout-widgets-hook-error-handler): * lisp/calendar/appt.el (appt-display-message): * lisp/calendar/icalendar.el (icalendar--convert-float-to-ical): * lisp/calendar/timeclock.el (timeclock-in, timeclock-when-to-leave) (timeclock-last-period, timeclock-day-base): * lisp/eshell/em-ls.el (eshell-ls-file): * lisp/eshell/esh-util.el (eshell-parse-ange-ls): * lisp/generic-x.el (named-database-print-serial): * lisp/net/newst-backend.el (newsticker--get-news-by-url-callback) (newsticker-get-news, newsticker--sentinel-work) (newsticker--image-get, newsticker--image-sentinel): * lisp/net/tramp-sh.el (tramp-get-remote-touch): * lisp/progmodes/opascal.el (opascal-debug-log): * lisp/textmodes/remember.el (remember-mail-date) (remember-store-in-files): * lisp/vc/vc-annotate.el (vc-annotate-display-autoscale) (vc-default-annotate-current-time): * lisp/vc/vc-bzr.el (vc-bzr-shelve-snapshot): * lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time): * lisp/vc/vc-rcs.el (vc-rcs-annotate-current-time): * lisp/url/url-util.el (url-get-normalized-date): * lisp/erc/erc-backend.el (TOPIC): * lisp/gnus/gnus-delay.el (gnus-delay-article): * lisp/gnus/gnus-sum.el (gnus-summary-read-document): * lisp/gnus/gnus-util.el (gnus-seconds-today, gnus-seconds-month): * lisp/gnus/message.el (message-make-expires-date): * lisp/org/org-archive.el (org-archive-subtree) (org-archive-to-archive-sibling): * lisp/org/org-clock.el (org-resolve-clocks, org-clock-get-sum-start) (org-clock-special-range): * lisp/org/org-timer.el (org-timer-seconds): * lisp/org/org.el (org-read-date-analyze, org-get-cursor-date): * lisp/org/ox-html.el (org-html-format-spec): * lisp/org/ox-icalendar.el (org-icalendar--vtodo): Omit unnecessary call to current-time. * lisp/calendar/time-date.el (time-to-seconds) [!float-time]: * lisp/calendar/timeclock.el (timeclock-time-to-date): * lisp/vc/vc-annotate.el (vc-annotate-convert-time): Use current time if arg is nil, to be compatible with float-time. (time-date--day-in-year): New function, with most of the guts of the old time-to-day-in-year. (time-to-day-in-year): Use it. (time-to-days): Use it, to avoid decoding the same time stamp twice. * lisp/calendar/timeclock.el (timeclock-update-mode-line): * lisp/cedet/srecode/args.el (srecode-semantic-handle-:time): * lisp/gnus/gnus-util.el (gnus-seconds-year): * lisp/org/org.el (org-get-cursor-date): Don't call current-time twice to get the current time stamp, as this can lead to inconsistent results. * lisp/completion.el (cmpl-hours-since-origin): * lisp/erc/erc.el (erc-emacs-time-to-erc-time): * lisp/ido.el (ido-time-stamp): * lisp/vc/vc-annotate.el (vc-annotate-convert-time): Simplify by using float-time. * lisp/completion.el (save-completions-to-file): * lisp/url/url-cache.el (url-cache-prune-cache): Rename local var to avoid confusion. * lisp/gnus/gnus-util.el (gnus-float-time): * lisp/net/rcirc.el (rcirc-float-time): * lisp/org/org-compat.el (org-float-time): Simplify to an alias because time-to-seconds now behaves like float-time with respect to nil arg. * lisp/subr.el (progress-reporter-do-update): Don't call float-time unless needed. * lisp/erc/erc.el (erc-current-time): Simplify by using erc-emacs-time-to-erc-time. * lisp/org/org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy conversion from floating point to Emacs time and back. (org-resolve-clocks): Prefer two-argument floor.
* lisp/icomplete.el, lisp/ido.el: Doc fixes.Juanma Barranquero2014-03-031-150/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | lisp/icomplete.el: Miscellaneous doc fixes. Use Icomplete everywhere instead of icomplete for consistency. (icomplete-max-delay-chars): Fix typo. (icomplete-mode): Use \[]. (icomplete-tidy, icomplete-exhibit): Reflow. (icomplete-minibuffer-setup-hook, icomplete-completions): Remove superfluous backlashes. lisp/ido.el: Miscellaneous doc fixes. Use Ido everywhere instead of ido or `ido' for consistency. (ido-record-ftp-work-directories, ido-merge-ftp-work-directories) (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts) (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp". (ido-separator): Extract obsolescence info from docstring and declare with make-obsolete-variable. (ido-minibuffer-setup-hook): Simplify example. (ido-text, ido-text-init, ido-input-stack, ido-report-no-match) (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir) (ido-completion-help, ido-completing-read): Fix typos in docstrings. (ido-everywhere): Reflow docstring. (ido-toggle-vc): Doc fix. (ido-switch-buffer, ido-find-file): Use tabs to improve legibility of long list of keybindings.
* * lisp/ido.el (ido-file-internal): Remove unused var `d'.Stefan Monnier2014-02-171-17/+26
| | | | Use \` for to match BoS. Fit within 80n columns.
* * lisp/ido.el (ido-file-internal): Don't add the name of an existingDmitry Gutov2014-02-161-8/+8
| | | | | | directory twice. Fixes: debbugs:16747
* * lisp/ido.el (ido-use-virtual-buffers): Doc fix.Glenn Morris2014-01-301-10/+9
| | | | | | Reset :version, since the default value has not changed. * etc/NEWS: Related edits.
* Doc, comment, etc updates for increased use of locate-user-emacs-fileGlenn Morris2014-01-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should have been a prerequisite for making these changes in the first place. * doc/emacs/calendar.texi (Time Intervals): * doc/misc/idlwave.texi (Lesson III---User Catalog, Online Help) (Starting the Shell, Catalogs, User Catalog): * doc/misc/remember.texi (Quick Start): * doc/misc/viper.texi: * doc/misc/vip.texi (Customization, Customizing Constants) (Customizing Key Bindings): Update for files being in ~/.emacs.d/. * lisp/ido.el (ido-save-directory-list-file): * lisp/saveplace.el (save-place-file): * lisp/calendar/timeclock.el (timeclock-file): * lisp/net/quickurl.el (quickurl-url-file): * lisp/obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top): * lisp/progmodes/idlwave.el (idlwave-config-directory): * lisp/textmodes/remember.el (remember-data-file): Bump :version. * lisp/shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix. * lisp/strokes.el (strokes-file): Doc fix. Bump :version. (strokes-help): Doc fix. * lisp/emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix. * lisp/emulation/viper.el (viper): Doc fix for custom group. (top-level): Remove oh-so-no-longer-relevant text about vip. * lisp/obsolete/otodo-mode.el (todo-prefix): Doc fix. * etc/NEWS: Related edits.
* Link to info manual in `defgroup'.Rüdiger Sonderfeld2014-01-251-1/+3
| | | | | | | | | | | | | | | | * lisp/progmodes/ada-mode.el (ada): * lisp/woman.el (woman): Link to info manual and Commentary section. * lisp/url/url-vars.el (url): * lisp/erc/erc.el (erc): * lisp/progmodes/flymake.el (flymake): * lisp/nxml/nxml-mode.el (nxml): * lisp/net/eww.el (eww): * lisp/speedbar.el (speedbar, speedbar-faces, speedbar-vc): * lisp/htmlfontify.el (htmlfontify): * lisp/ses.el (ses): * lisp/epa.el (epa): * lisp/ido.el (ido): Link to info manual.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Fix typo in ido-use-virtual-buffers.Xue Fuqiao2013-10-291-1/+1
|
* * ido.el (ido-tidy): Handle read-only text.Leo Liu2013-10-231-13/+12
|
* * lisp/ido.el (dired-other-frame): Only list directories.Joe Vornehm Jr.2013-10-181-0/+1
| | | | Fixes: debbugs:15638
* * lisp/ido.el (ido-completion-help): Fix up compiler warning.Stefan Monnier2013-08-081-6/+5
|
* doc/lispref/buffers.texi: Add documentation for ido-record-command(s).Xue Fuqiao2013-08-081-5/+5
| | | | * lisp/ido.el (ido-record-command): Add doc string.
* * lisp/ido.el: Doc fix.Xue Fuqiao2013-07-241-21/+32
| | | | | | | | * lisp/ido.el (ido-fractionp): (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode) (ido-max-file-prompt-width, ido-unc-hosts-cache) (ido-max-directory-size, ido-max-dir-file-cache) (ido-decorations): Doc fix.
* Spelling fixes.Paul Eggert2013-07-131-1/+1
|
* * ido.el (ido-read-file-name): Guard against non-symbol value.Leo Liu2013-07-131-3/+7
|
* * ido.el (ido-exhibit): Handle ido-enter-matching-directory beforeLeo Liu2013-07-131-5/+5
| | | | | | ido-set-matches call. Fixes: debbugs:6852
* * ido.el (dired-do-copy, dired): Set 'ido property.Leo Liu2013-07-121-1/+4
| | | | Fixes: debbugs:11954
* * ido.el (ido-read-file-name): Conform to the requirements ofLeo Liu2013-07-111-3/+15
| | | | | | | | read-file-name. (ido-read-directory-name): Conform to the requirements of read-directory-name. Fixes: debbugs:11861
* * ido.el (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)Leo Liu2013-07-091-2/+8
|
* * ido.el (ido-read-directory-name): Handle fallback.Leo Liu2013-07-091-7/+10
| | | | | | (ido-read-file-name): Update DIR to ido-current-directory. Fixes: debbugs:1516
* * ido.el (ido-use-virtual-buffers): Allow new value 'auto.Leo Liu2013-07-061-19/+57
| | | | | | | | (ido-enable-virtual-buffers): New variable. (ido-buffer-internal, ido-toggle-virtual-buffers) (ido-make-buffer-list): Use it. (ido-exhibit): Support turning on and off virtual buffers automatically.
* * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.Leo Liu2013-07-031-2/+4
|
* * ido.el (ido-read-internal): Allow forward slash on windows.Leo Liu2013-06-251-2/+3
|
* Simplify last change to ido.elLeo Liu2013-06-241-3/+3
|
* * ido.el (ido-read-internal): Fix bug#14620.Leo Liu2013-06-241-3/+3
|
* * lisp/ido.el: Convert some function comments to basic doc stringsGlenn Morris2013-06-121-45/+43
|
* * lisp/ido.el (ido-delete-ignored-files): Remove.Glenn Morris2013-06-121-20/+18
| | | | | | | (ido-wide-find-dirs-or-files, ido-make-file-list-1): Go back to calling ido-ignore-item-p directly. Doesn't seem worth looping over files twice in ido-make-file-list-1.
* * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)Eyal Lotem2013-06-121-1/+1
| | | | Fixes: debbugs:13003
* * lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib.Glenn Morris2013-06-121-5/+5
|
* Respect ido-ignore-item-p in ido-wide-find-dirs-or-files (tiny change)Eyal Lotem2013-06-121-14/+20
| | | | | | | | | * 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
* * subr.el (delete-consecutive-dups): New function.Leo Liu2013-05-171-17/+2
| | | | | | * ido.el (ido-set-matches-1): Use it. * progmodes/octave.el (inferior-octave-completion-table): Use it. * ido.el (ido-remove-consecutive-dups): Remove.
* Re-work a fix for bug#10994 based on Le Wang's patch.Leo Liu2013-05-081-5/+18
| | | | | | * ido.el (ido-remove-consecutive-dups): New helper. (ido-completing-read): Use it. (ido-chop): Revert fix for bug#10994.
* * lisp/ido.el (ido-completions): Use extra elements of ido-decorations.Stefan Monnier2013-04-051-6/+10
| | | | | | (ido-decorations): Update docstring. Fixes: debbugs:14143
* * ido.el (ido-chop): Fix bug#10994.Leo Liu2013-03-201-2/+4
|
* Use locate-user-emacs-file.Stefan Monnier2013-03-111-1/+2
| | | | | | | | | | | | | | | | | * 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.
* Fix bug#13708Jambunathan K2013-02-161-0/+2
| | | | | | | | | | | | * 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.
* Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.caPaul Eggert2013-01-021-1/+1
|\
| * Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
| |
| * Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args toLeo Liu2012-11-101-1/+1
| | | | | | | | | | | | avoid performance issue. Fixes: debbugs:12796
* | ido.el fix for bug#13036Glenn Morris2012-11-301-1/+4
| | | | | | | | * lisp/ido.el (ido-file-internal): Handle other-window, other-frame for dired.
* | * lisp/ido.el (ido-set-matches-1): Improve flex matching performance byLeo Liu2012-11-101-1/+5
|/ | | | | | removing backtracking in the regexp (suggested by Stefan). Fixes: debbugs:12796