Re: Mailcheck during completion

2011-08-12 Thread Martin von Gagern
On 12.08.2011 01:05, Chet Ramey wrote: > It's eval. Try the attached patch. Works like a charm. Thanks a lot! Martin signature.asc Description: OpenPGP digital signature

Re: Mailcheck during completion

2011-08-11 Thread Chet Ramey
On 8/11/11 10:44 AM, Chet Ramey wrote: > It's hard to say without a better idea of the problem. I suspected either > eval or command substitution because they cause re-entry into the shell > parser. I don't suspect command substitution because that explicitly turns > off interactive mode, but ev

Re: Mailcheck during completion

2011-08-11 Thread Chet Ramey
On 8/11/11 10:35 AM, Martin von Gagern wrote: > Hi Chet, > > thanks for the swift reply! > > On 11.08.2011 15:54, Chet Ramey wrote: >> I suspect that you have a completion defined for `ls' and it's running a >> command or process substitution that's causing the mail check. Can you >> run `set -x

Re: Mailcheck during completion

2011-08-11 Thread Martin von Gagern
Hi Chet, thanks for the swift reply! On 11.08.2011 15:54, Chet Ramey wrote: > I suspect that you have a completion defined for `ls' and it's running a > command or process substitution that's causing the mail check. Can you > run `set -x', then attempt the completion again and post the results?

Re: Mailcheck during completion

2011-08-11 Thread Chet Ramey
On 8/11/11 6:23 AM, Martin von Gagern wrote: > Hi! > > I often get a bash message about new mail during command line completion. > > Steps to reproduce: > Type "ls ~/.bas" and press tab. > > Expected result: > Command line completed to "ls ~/.bash" or whatever is right. > > Actual result: > If