From mboxrd@z Thu Jan 1 00:00:00 1970 From: Livin Stephen Sharma Subject: Re: org-iswitchb documentation Date: Mon, 28 Jun 2010 17:39:12 +0530 Message-ID: <6D488E5F-7620-4863-BCC8-C1EA26086C76@gmail.com> References: <20386.1277720390@maps> Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=51759 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTD9Q-00005j-6c for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 08:09:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTD9O-0002HW-Qy for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 08:09:24 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:46858) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTD9O-0002HQ-MO for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 08:09:22 -0400 Received: by pvg11 with SMTP id 11so3378070pvg.0 for ; Mon, 28 Jun 2010 05:09:21 -0700 (PDT) In-Reply-To: <20386.1277720390@maps> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stephen Eglen , emacs-org-mode-help gnu Thanks for mentioning these variables! I checked and found that the 'completion' variables were set in a way = that gave me the C-c b behavior that i did not like/want. I have now added this to my org init file: > (setq org-completion-use-iswitchb t) > (setq org-completion-use-ido nil) Regards Livin Stephen Sharma On Jun 28, 2010, at 15:49:50 , Stephen Eglen wrote: > Dear all, >=20 > As the author of iswitchb, I was very happy to see M-x org-iswitchb > included. Further, it is recommended as a default keybinding in the > manual: >=20 > ---------------------------------------------------------------------- > 1.3 Activation > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > ... > (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) > (global-set-key "\C-cl" 'org-store-link) > (global-set-key "\C-ca" 'org-agenda) > (global-set-key "\C-cb" 'org-iswitchb) > ---------------------------------------------------------------------- >=20 > So I was surprised when trying org-iswitchb that I didn't see the > iswitchb feedback when typing buffer names. I eventually found that I > needed to set either of the following variables to t so that this = would > work: >=20 > org-completion-use-iswitchb, org-completion-use-ido >=20 > These variables are not mentioned in the docstrings of either > org-iswitchb or org-icompleting-read. Here is a suggested patch to = the > docstring for org-iswitchb. >=20 > Thanks for all the good work, as ever! >=20 > Stephen >=20 > $ git diff org.el >=20 > diff --git a/lisp/org.el b/lisp/org.el > index 7bb4f45..67e0278 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -15201,7 +15201,13 @@ changes from another. I believe the = procedure must be l > (defun org-iswitchb (&optional arg) > "Use `org-icompleting-read' to prompt for an Org buffer to switch = to. > With a prefix argument, restrict available to files. > -With two prefix arguments, restrict available buffers to agenda = files." > +With two prefix arguments, restrict available buffers to agenda = files. > + > +To see feedback whilst typing the buffer name, you can use the > +facilities of either the ido or iswitchb package. Set either > +`org-completion-use-iswitchb' or `org-completion-use-ido' to > +non-nil and see documentation of those variables for further > +details." > (interactive "P") > (let ((blist (cond ((equal arg '(4)) (org-buffer-list 'files)) > ((equal arg '(16)) (org-buffer-list 'agenda)) >=20 > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode