Re: Mutt+Abook: questions about addresses and multiple addressees

2012-12-23 Thread leo
On 22.12.2012-20:28, Christoph Möbius wrote:
> > ::Second question:: I'm not able to select more than one addressee in a 
> > single
> > field (To or Cc or Bcc). Are there any key bindings or something like this 
> > to
> > do that?
> 
> in muttrc I have
> set query_command = "abook --mutt-query '%s'"
> 
> typing Q in the index lets you query names and addresses
> ( C-a lets you add more queries to previous ones )
> 
> you can select several entries by pressing t (tagging) and then
> ;m
> 
> This adds all tagged adresses to the To: field:

Thanks a lot for your help!
It is exactly what I was looking for!
bye bye
leo
-- 
web: http://leo.noblogs.org 


signature.asc
Description: Digital signature


Re: Mutt+Abook: questions about addresses and multiple addressees

2012-12-23 Thread leo
On 22.12.2012-23:09, Marco wrote:
> On 2012–12–22 Andre Klärner wrote:
> 
> > Well, from the manpage of abook I guess that is not possible. But from my
> > perspective it is the right way to do it as it is. I think of it as a
> > properly written address is better than just the technical declaration of
> > the receipient (like on an official invitation the sometimes handwritten
> > address on the envelope), but this is just me.
> 
> I totally agree with you. However, I think it can be useful at
> times, especially for mailing lists. I have some mailing lists that
> have a quite long name, but in abook I stored them with a custom
> abbreviation, instead of the official one.

Hi!
I agree with you, as well.
But there are some occasions where should be useful not to put the real name.
For example in my address book there are people who I know the real name, but 
on the net they only use their nicknames. In these case should be useful add 
simple the nickname. It's a privacy issue.
Nevertheless in order to solve my problem I can simply switch the field name 
with the field nickname ;)

Thanks a lot,
bye bye
-- 
web: http://leo.noblogs.org 


signature.asc
Description: Digital signature


Re: Jump to next mailbox with unread mail

2012-12-23 Thread Jamie Paul Griffin
* Chris Green  [2012-12-22 17:15:01 +]:

> On Sat, Dec 22, 2012 at 10:08:25AM -0500, Patrick Shanahan wrote:
> > * Chris Bannister  [12-22-12 09:58]:
> > > On Sat, Dec 22, 2012 at 01:47:24PM +, Chris Green wrote:
> > > > 
> > > > I have added:-
> > > > bindindex   n next-unread-mailbox
> > > > 
> > > > ... and now I can find new mail in all my (mbox) mailboxes without any
> > > > stupid requirements for setting access times or whatever to the files.
> > > > I always thought it should be simple and it is!
> > 
> >  [...]
> >  
> > > > It is somewhat slower than 'c' but not really significantly so where
> > > > all my mail is in local mbox files.
> > > 
> > > If it is slower, then that might be a good reason why it is not the
> > > default. In all honestly though, I think people may complain if it was
> > > made the default, simply because the majority of people are only
> > > interested in reading new mail. They are probably aware they have old
> > > unread mail lying around but don't want to be consistently reminded all
> > > the time. 
> > 
> > And, "n" is *normally*:
> > Table 2.7. Most common pager keys
> >Key Description
> >go down one line
> >display the next page (or next message if at the end
> >  of a message)
> >   - go back to the previous page
> > /--   n search for next match
> >   S skip beyond quoted text
> >  
> Yes, I know I have hijacked 'n', I might change it but that doesn't
> affect the argument about whether using next-unread-mailbox is better
> than change-folder for seeing new mail.
> 
> -- 
> Chris Green

I have bound  to the next-unread-mailbox function. It works
well for me and is quite useful.

bind index \e\e next-unread-mailbox

Also have unset mark_old in my muttrc file. 

I've completely overridden the default keybindings and invoke mutt using
a wrapper script with the -n and -F options and source a file where all
my functions are bound to the keys I like.

Once I've read the mailbox (mbox format) it's considered read; whether
or not there remains unread mail in the file until more mail is sorted
into it by procmail - then it becomes an "unread mailbox" again. 

Jamie. 


Re: Mutt+Abook: questions about addresses and multiple addressees

2012-12-23 Thread Christian Brabandt
Hi leo!

On Sa, 22 Dez 2012, leo wrote:

> ::First question::
> When I write an e-mail and I choose the addressee, abook automatically always 
> insert into the field To (or Cc or Bcc) the name and the e-mail address 
> (example: name surname . I would like that in the 
> field To (or Cc or Bcc) appears only the e-mail address without name and 
> surname.
> Is it possible?
> In my muttrc I recall abook with this command:
> 
> set query_command= "abook --mutt-query '%s'"

Recent development versions of abook support this:

abook --mutt-query "%s" --outformat=custom  --outformatstr "{email}"

regards,
Christian
-- 
Stay seated until bus comes to a complete stop.


Re: Mutt+Abook: questions about addresses and multiple addressees

2012-12-23 Thread Marco
On 2012–12–22 Christoph Möbius wrote:

> set query_command = "abook --mutt-query '%s'"

Me, too.

> typing Q in the index lets you query names and addresses
> ( C-a lets you add more queries to previous ones )

How? Pressing  yields to the message “Key is not bound”. Do
I need to configure it somehow?

> you can select several entries by pressing t (tagging) and then
> ;m
> 
> This adds all tagged adresses to the To: field:

This works fine if all entries are displayed and tagged at the same
time. However, if I press Q, search for “foo” and tag “foo”, then
press Q, search for “bar” and tag bar. Then ;m adds only “bar” to
the To: field.

Marco


signature.asc
Description: Digital signature


Re: Mutt+Abook: questions about addresses and multiple addressees

2012-12-23 Thread Christoph Möbius
Also sprach Marco am So, 23 Dez 2012 um 18:34:45 +0100:
> On 2012–12–22 Christoph Möbius wrote:
> 
> > typing Q in the index lets you query names and addresses
> > ( C-a lets you add more queries to previous ones )
> 
> How? Pressing  yields to the message “Key is not bound”. Do
> I need to configure it somehow?
sry, it's A (capital a)
my bad.

> 
> > you can select several entries by pressing t (tagging) and then
> > ;m
> > 
> > This adds all tagged adresses to the To: field:
> 
> This works fine if all entries are displayed and tagged at the same
> time. However, if I press Q, search for “foo” and tag “foo”, then
> press Q, search for “bar” and tag bar. Then ;m adds only “bar” to
> the To: field.
Q restarts a new search. Forgetting all previous results.
My answer above should resolve it


-- 
Dipl.-Inf. Christoph Möbius
wissenschaftlicher Mitarbeiter

Technische Universität Dresden
Fakultät Informatik
Professur Rechnernetze
01062 Dresden
Tel.: +49 (351) 463-38002
E-Mail: christoph.moeb...@tu-dresden.de

GPG-Key ID: 0x42828A3B
GPG Fingerprint:
D0E2 CBDF E5F4 CA57 AA0F  D8FD 3199 B501 4282 8A3B


signature.asc
Description: Digital signature


Re: Mutt+Abook: questions about addresses and multiple addressees

2012-12-23 Thread Marco
On 2012–12–23 Christoph Möbius wrote:

> > How? Pressing  yields to the message “Key is not bound”. Do
> > I need to configure it somehow?
> sry, it's A (capital a)

Works perfectly, thanks.

> Q restarts a new search. Forgetting all previous results.
> My answer above should resolve it

It did, indeed. This should somehow be mentioned in the manual (or
man page), it's a valuable piece of information but impossible to
find.

Marco


signature.asc
Description: Digital signature