Re: [O] Typo in 'org-without-partial-completion'

2011-07-03 Thread Bastien
Hi Nick, David, David Maus writes: > Yes and yes. > > (and (boundp 'partial-completion-mode) > partial-completion-mode > (fboundp 'partial-completion-mode)) > > Is the right condition. Bound, non-nil and callable. > > @Bastien: Pushed fix for this to master. Thanks! -- Bastien

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread David Maus
At Sat, 02 Jul 2011 10:40:31 -0400, Nick Dokos wrote: > > David Maus wrote: > > > > #+begin_src emacs-lisp > > (defmacro org-without-partial-completion (&rest body) > > `(when (and (boundp 'partial-completion-mode) > > (fboundp 'partial-completion-mode)) > >(unwind-pr

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread Nick Dokos
David Maus wrote: > #+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)

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread David Maus
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)) >

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread Bastien
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-

Re: [O] Typo in 'org-without-partial-completion'

2011-07-02 Thread David Maus
At Thu, 30 Jun 2011 21:28:08 +0200, David Maus wrote: > > At Thu, 30 Jun 2011 11:12:15 +0200, > Bastien wrote: > > > > Hi Paul, > > > > Paul Sexton writes: > > > > > I think there's an error in 'org-without-partial-completion' in > > > org-macs.el. > > > The variable pc-mode gets bound to the

Re: [O] Typo in 'org-without-partial-completion'

2011-06-30 Thread David Maus
At Thu, 30 Jun 2011 11:12:15 +0200, Bastien wrote: > > Hi Paul, > > Paul Sexton writes: > > > I think there's an error in 'org-without-partial-completion' in org-macs.el. > > The variable pc-mode gets bound to the value of partial-completion-mode - > > but > > this is a VARIABLE (t if that mo

Re: [O] Typo in 'org-without-partial-completion'

2011-06-30 Thread Bastien
Hi Paul, Paul Sexton writes: > I think there's an error in 'org-without-partial-completion' in org-macs.el. > The variable pc-mode gets bound to the value of partial-completion-mode - but > this is a VARIABLE (t if that mode is enabled). Funcalling the value of > the variable produces an error

Re: [O] Typo in 'org-without-partial-completion'

2011-06-28 Thread Bastien
Hi Paul, Paul Sexton writes: > I think there's an error in 'org-without-partial-completion' in org-macs.el. > The variable pc-mode gets bound to the value of partial-completion-mode - but > this is a VARIABLE (t if that mode is enabled). Funcalling the value of > the variable produces an error

[O] Typo in 'org-without-partial-completion'

2011-06-22 Thread Paul Sexton
I think there's an error in 'org-without-partial-completion' in org-macs.el. The variable pc-mode gets bound to the value of partial-completion-mode - but this is a VARIABLE (t if that mode is enabled). Funcalling the value of the variable produces an error, unsurprisingly. This breaks insertion