Re: [O] What happened to org-complete?

2011-07-02 Thread Dave Abrahams

on Sat Jul 02 2011, Ryan Reynolds  wrote:

> On Jul 2, 2011, at 21:06, Dave Abrahams  wrote:

>>>
>>>
>> Doesn't every OS GUI bind
>> `M-TAB' to a window switcher by default?
>
> The default Meta key in Mac OS is Option, and window switcher is
> Command-Tab. 

Yes, but of course, like I'm sure many other people, I bind Command to
Meta so my fingers don't get totally confused when switching platforms
;-)

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



Re: [O] What happened to org-complete?

2011-07-02 Thread Ryan Reynolds
On Jul 2, 2011, at 21:06, Dave Abrahams  wrote:
>>>
>>
>>
> Doesn't every OS GUI bind
> `M-TAB' to a window switcher by default?

The default Meta key in Mac OS is Option, and window switcher is
Command-Tab. So while it's not a completely useless default, it does
leave 2 out of 3 major OSes out in the cold.
--
A. Ryan Reynolds



Re: [O] What happened to org-complete?

2011-07-02 Thread Dave Abrahams

on Sat Jul 02 2011, Nick Dokos  wrote:

> Dave Abrahams  wrote:
>
>> I used to have 
>> 
>>   (define-key org-mode-map "\M-/" 'org-complete)
>> 
>> in my .emacs.  Now that there is no org-complete function, what should I
>> bind to `M /' in org buffers?
>> 
>
> I think pcomplete, normally bound to M-TAB:
>
> ,
> | pcomplete is an interactive compiled Lisp function in `pcomplete.el'.
> | 
> | (pcomplete &optional INTERACTIVELY)
> | 
> | Support extensible programmable completion.
> | To use this function, just bind the TAB key to it, or add it to your
> | completion functions list (it should occur fairly early in the list).
> `

Thanks for the info, Nick

Oops, that doesn't do what I want.  Is there a way to get pcomplete to
fall back to use dabbrev-expand when it can't complete something another
way?  I'd RTFM but pcomplete seems to be completely undocumented!

[No wonder I didn't stumble across pcomplete: Doesn't every OS GUI bind
`M-TAB' to a window switcher by default?]

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



Re: [O] What happened to org-complete?

2011-07-02 Thread Nick Dokos
Dave Abrahams  wrote:

> 
> Hi all,
> 
> I used to have 
> 
>   (define-key org-mode-map "\M-/" 'org-complete)
> 
> in my .emacs.  Now that there is no org-complete function, what should I
> bind to `M /' in org buffers?
> 

I think pcomplete, normally bound to M-TAB:

,
| pcomplete is an interactive compiled Lisp function in `pcomplete.el'.
| 
| (pcomplete &optional INTERACTIVELY)
| 
| Support extensible programmable completion.
| To use this function, just bind the TAB key to it, or add it to your
| completion functions list (it should occur fairly early in the list).
`

Nick



[O] What happened to org-complete?

2011-07-02 Thread Dave Abrahams

Hi all,

I used to have 

  (define-key org-mode-map "\M-/" 'org-complete)

in my .emacs.  Now that there is no org-complete function, what should I
bind to `M /' in org buffers?

Thanks,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com