From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Typo in 'org-without-partial-completion' Date: Sat, 02 Jul 2011 15:50:10 +0200 Message-ID: <87y60gzt9p.wl%dmaus@ictsoc.de> References: <87wrg3k7io.fsf@gnu.org> <871uybdsqf.wl%dmaus@ictsoc.de> <87iprl9lv6.wl%dmaus@ictsoc.de> <8762nlghi4.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sat_Jul__2_15:50:09_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd0aQ-00051d-OA for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 09:50:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qd0aP-0001e9-Ky for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 09:50:18 -0400 Received: from app1a.xlhost.de ([213.202.242.161]:37423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd0aP-0001e3-GE for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 09:50:17 -0400 In-Reply-To: <8762nlghi4.fsf@gnu.org> 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: Bastien Cc: David Maus , Paul Sexton , emacs-orgmode@gnu.org --pgp-sign-Multipart_Sat_Jul__2_15:50:09_2011-1 Content-Type: text/plain; charset=US-ASCII At Sat, 02 Jul 2011 11:26:59 +0200, Bastien wrote: > > Hi David and Paul, > > David Maus writes: > > > #+begin_src emacs-lisp > > (defmacro org-without-partial-completion (&rest body) > > `(when (and (boundp 'partial-completion-mode) > > (fboundp 'partial-completion-mode)) > > (unwind-protect > > (progn > > (partial-completion-mode -1) > > ,@body) > > (partial-completion-mode 1)))) > > #+end_src > > That's clearly better -- thanks for this. I applied this change, > thanks for this improvement! > > Paul, please let me know if things don't behave as expected. da086f9606d1875b5270dd367d7f5326b7ed8e9a ;) david > (sloppy-mode -1) -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sat_Jul__2_15:50:09_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk4PIhEACgkQma24O1pEeOZ95AEAjhSiO4yg7ePSwjiegVcdG9g6 vY67CtjRQETr6VV1niMBALDaPbAu4JVjSf4ofAoDDrL5wMk2OeE//ge4evfEJIMl =B2fq -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sat_Jul__2_15:50:09_2011-1--