Re: [O] Re: Completing with anything

2011-04-11 Thread Michael Markert
On 11 Apr 2011, Bastien wrote: > Julien Danjou writes: > >> On Sat, Apr 09 2011, Michael Markert wrote: >> >>> No, but if it's necessary (or helping) I'll do so. >> >> Well, since org-contacts is part of contrib I think it's not necessary, >> so I'll merge it as it is unless Bastien says I'm wron

Re: [O] Re: Completing with anything

2011-04-11 Thread Bastien
Julien Danjou writes: > On Sat, Apr 09 2011, Michael Markert wrote: > >> No, but if it's necessary (or helping) I'll do so. > > Well, since org-contacts is part of contrib I think it's not necessary, > so I'll merge it as it is unless Bastien says I'm wrong. You're right. No need for FSF copyri

Re: [O] Re: Completing with anything

2011-04-11 Thread Julien Danjou
On Sat, Apr 09 2011, Michael Markert wrote: > No, but if it's necessary (or helping) I'll do so. Well, since org-contacts is part of contrib I think it's not necessary, so I'll merge it as it is unless Bastien says I'm wrong. Thanks. -- Julien Danjou ❱ http://julien.danjou.info pgp2pZCu47Ffu

Re: [O] Re: Completing with anything

2011-04-11 Thread Julien Danjou
On Sun, Apr 10 2011, Stefan Monnier wrote: >> So now, I wonder: wouldn't it be a good idea to add a call to >> `expand-abbrev' just after `completion-at-point' is being called? > > After completing an abbrev name, yes, but otherwise I don't think so. > I.e. why don't you add such a call to > org-c

Re: [O] Re: Completing with anything

2011-04-09 Thread Stefan Monnier
> So now, I wonder: wouldn't it be a good idea to add a call to > `expand-abbrev' just after `completion-at-point' is being called? After completing an abbrev name, yes, but otherwise I don't think so. I.e. why don't you add such a call to org-contacts-message-complete-function? Stefan

Re: [O] Re: Completing with anything

2011-04-09 Thread Julien Danjou
On Mon, Mar 21 2011, Julien Danjou wrote: > I see, that makes sense. I think that completion is not what I want to > use as Tassilo suggested. I've been that way just because this is what > is used in `message.el'. Maybe it requires a change too to turn towards > an `abbrev' use. :) Actually, it

Re: [O] Re: Completing with anything

2011-04-09 Thread Michael Markert
On 9 Apr 2011, Julien Danjou wrote: > On Sun, Mar 27 2011, Michael Markert wrote: >> Attached code handles both capturing from summary and message >> buffer. > > I'd like to merge this, but I have to ask: did you signed the copyright > assignement papers? No, but if it's necessary (or helping) I'l

Re: [O] Re: Completing with anything

2011-04-09 Thread Julien Danjou
On Sun, Mar 27 2011, Michael Markert wrote: > Attached code handles both capturing from summary and message > buffer. I'd like to merge this, but I have to ask: did you signed the copyright assignement papers? -- Julien Danjou ❱ http://julien.danjou.info pgpS5hlzc8pzM.pgp Description: PGP sig

Re: [O] Re: Completing with anything

2011-03-26 Thread Michael Markert
On 26 Mar 2011, Michael Markert wrote: > Because Wanderlust keeps several message buffers you have to start > capture from within a message buffer, not a summary buffer. But I'll > look into it. Attached code handles both capturing from summary and message buffer. Michael (require 'std11) (requi

Re: [O] Re: Completing with anything

2011-03-26 Thread Michael Markert
On 25 Mar 2011, Julien Danjou wrote: > [1 ] > On Thu, Mar 24 2011, Cian wrote: > >> Can you separate out the gnus specific code at some point. If I ever >> get any time (two small children and a day job, so big if) I'd like to >> integrate it into Wanderlust. But currently the code assumes that >>

Re: [O] Re: Completing with anything

2011-03-25 Thread Julien Danjou
On Thu, Mar 24 2011, Cian wrote: > Can you separate out the gnus specific code at some point. If I ever > get any time (two small children and a day job, so big if) I'd like to > integrate it into Wanderlust. But currently the code assumes that > you're using gnus. Sure, I'll add that to my todo

Re: [O] Re: Completing with anything

2011-03-24 Thread Cian
Can you separate out the gnus specific code at some point. If I ever get any time (two small children and a day job, so big if) I'd like to integrate it into Wanderlust. But currently the code assumes that you're using gnus. On Wed, Mar 23, 2011 at 3:05 PM, Julien Danjou wrote: > On Wed, Mar 23 2

Re: [O] Re: Completing with anything

2011-03-23 Thread Eric S Fraga
Julien Danjou writes: > On Wed, Mar 23 2011, Eric S Fraga wrote: > >> Will you provide a means to capturing email addresses from emails >> directly into an org-contacts db, as bbdb does with ":" and ";" (the >> latter for annotation of the entry)? That would be necessary for any >> move away fro

Re: [O] Re: Completing with anything

2011-03-23 Thread Julien Danjou
On Wed, Mar 23 2011, Eric S Fraga wrote: > Will you provide a means to capturing email addresses from emails > directly into an org-contacts db, as bbdb does with ":" and ";" (the > latter for annotation of the entry)? That would be necessary for any > move away from bbdb, IMO. This is already p

Re: [O] Re: Completing with anything

2011-03-23 Thread Eric S Fraga
Julien Danjou writes: > On Tue, Mar 22 2011, Eric S Fraga wrote: > >> How do you invoke it? I am currently struggling with the interactions >> between .mailrc (emacs mail aliases, expanding as abbrevs) and bbdb >> (expanding with TAB). This is partly why I haven't even considered >> using org-c

Re: [O] Re: Completing with anything

2011-03-23 Thread Julien Danjou
On Tue, Mar 22 2011, Eric S Fraga wrote: > How do you invoke it? I am currently struggling with the interactions > between .mailrc (emacs mail aliases, expanding as abbrevs) and bbdb > (expanding with TAB). This is partly why I haven't even considered > using org-contacts yet... I promise you'l

Re: [O] Re: Completing with anything

2011-03-22 Thread Eric S Fraga
Eric Abrahamsen writes: [...] > This is what I've been using to insert other people's contact > information into emails. Probably no good for general use, but maybe > will provide food for thought. > > #+BEGIN_SRC emacs-lisp > (defun my-cite-contact (name) > (interactive "sName (regexp): ") >

Re: [O] Re: Completing with anything

2011-03-22 Thread Tassilo Horn
Julien Danjou writes: >> So Julien, maybe you want a `try-expand-org-contact' function, and >> add that to `hippie-expand-try-functions-list', and bind >> `hippie-expand' to some key. > > I want to integrate into message-mode. So I don't want to bind any > key, nor rebind . :) Ok, I see. But at

Re: [O] Re: Completing with anything

2011-03-22 Thread Julien Danjou
On Tue, Mar 22 2011, Tassilo Horn wrote: > So Julien, maybe you want a `try-expand-org-contact' function, and add > that to `hippie-expand-try-functions-list', and bind `hippie-expand' to > some key. I want to integrate into message-mode. So I don't want to bind any key, nor rebind . :) -- Juli

Re: [O] Re: Completing with anything

2011-03-22 Thread Tassilo Horn
Aankhen writes: Hi Aankhen, >> Or maybe an upper layer mixing abbrev and completion? Trying one at >> first, the other one after. This could be useful for message-mode for >> example, since you probably wants to use both. > > Isn’t this what hippie-expand does? Oh, yes, it seems so. For exampl

Re: [O] Re: Completing with anything

2011-03-22 Thread Aankhen
On Mon, Mar 21, 2011 at 22:34, Julien Danjou wrote: > On Mon, Mar 21 2011, Stefan Monnier wrote: > >> As Tassilo mentions, maybe we could have a post-completion step that can >> perform some kind of expansion/replacement/cleanup once a valid >> completion is selected.  I'm not sure what that would