From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: iswitchb is deprecated Date: Tue, 23 Dec 2014 11:54:53 +0100 Message-ID: <874msmzldu.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3N7R-0004LB-RO for emacs-orgmode@gnu.org; Tue, 23 Dec 2014 05:55:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y3N7M-0001DN-NY for emacs-orgmode@gnu.org; Tue, 23 Dec 2014 05:55:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:37173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3N7M-0001AT-G2 for emacs-orgmode@gnu.org; Tue, 23 Dec 2014 05:55:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y3N7I-00082R-1U for emacs-orgmode@gnu.org; Tue, 23 Dec 2014 11:55:04 +0100 Received: from 109.201.152.245 ([109.201.152.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Dec 2014 11:55:04 +0100 Received: from rasmus by 109.201.152.245 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Dec 2014 11:55:04 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Stephen, Thanks for your comment. Stephen Eglen 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