emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* iswitchb is deprecated
@ 2014-12-23  8:22 Stephen Eglen
  2014-12-23 10:54 ` Rasmus
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Eglen @ 2014-12-23  8:22 UTC (permalink / raw)
  To: emacs-orgmode

Since Emacs 24.4, iswitchb is marked as obsolete:

--------------------------------------------------
This function is obsolete since 24.4;
use `icomplete-mode' or `ido-mode' instead.
--------------------------------------------------

Do people use `org-iswitchb' much?  If so, it might be time to get it to
default to ido or icomplete.

Stephen

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iswitchb is deprecated
  2014-12-23  8:22 iswitchb is deprecated Stephen Eglen
@ 2014-12-23 10:54 ` Rasmus
  0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2014-12-23 10:54 UTC (permalink / raw)
  To: emacs-orgmode

Hi Stephen,

Thanks for your comment.

Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> writes:

> Since Emacs 24.4, iswitchb is marked as obsolete:
>
> --------------------------------------------------
> This function is obsolete since 24.4;
> use `icomplete-mode' or `ido-mode' instead.
> --------------------------------------------------
>
> Do people use `org-iswitchb' much?  If so, it might be time to get it to
> default to ido or icomplete.

First, there's already the variable org-completion-use-ido which also
affects org-switchb.  Second, I don't know if there's a point in
/removing/ the support for org-completion-use-iswitchb.  E.g. Debian still
has an old version of Emacs.

What you could do is make ido the default backend, especially if
icomplete-mode is obsolete.  E.g. in org-switchb you would edit this
statement to default to ido, preferably only if icomplete is obsolete:

(unless (or org-completion-use-ido org-completion-use-iswitchb)
      (setq org-completion-use-iswitchb t))

You could also update the docstring of `org-completion-use-iswitchb'.

See http://orgmode.org/worg/org-contribute.html for the details.

Cheers,
Rasmus

-- 
However beautiful the theory, you should occasionally look at the evidence

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-23 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-23  8:22 iswitchb is deprecated Stephen Eglen
2014-12-23 10:54 ` Rasmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).