Re: Problem with new 'pager_format'

2007-06-28 Thread David Champion
* On 2007.06.27, in [EMAIL PROTECTED],
*   Gary Johnson [EMAIL PROTECTED] wrote: 
 
 With mutt-1.5.16, that behavior has changed.  The fixed indicator 
 has been replaced by the % -- (%P) format sequence in 
 'pager_format'.  The problem with this is that the percentage 
 indicator can now be shoved off the right side of the screen by long 
 subjects.

It's not exactly the answer you're looking for, but this is precisely
the kind of scenario my softfill patch is made to address.  This patch
implements the %*  notation, which is analogous to %  but gives
precedence to the right side instead of to the left when the fill length
is zero.  With a long subject, the subject would be truncated enough for
anything to the right of %*  to render in full.

http://home.uchicago.edu/~dgc/sw/mutt/patch-1.5.16.dgc.softfill.1

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago


Re: Message not marked with 'r' although replied

2007-06-28 Thread Konstantin Kletschke
Am 2007-06-23 13:58 +0200 schrieb Til Schubbe:

 replied to are not marked as such. Can anyone tell me why? Has
 anyone detected the same?

No, don't know why, I have the same Problem.

http://marc.info/?t=11798238284r=1w=2

Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF


Re: Message not marked with 'r' although replied

2007-06-28 Thread Konstantin Kletschke
Am 2007-06-23 14:44 +0200 schrieb Rado S:

 When you postpone but complete it in a different folder, then mutt
 doesn't know where the original msg is to flag it.

In my case not postpone or whatsoever.

The message gets the r after replying (even the N flag when read is
concerned) and then I change Folders to browse my imap tree. When I come
back to the Folder or leave mutt in other Folders the flags are reset. 

Do you or Thomas mean such of these cases?

But in my case the plain answer/read and leave mutt with correct Flags
and when invoking the resetted flags is annoying herei. I use mutt for
years now and this is a new issue with unchanged using behaviour.

Regards, Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF


Re: Problem with new 'pager_format'

2007-06-28 Thread Maxime Brugidou
On june 27th 2007,  09:34:04, Michael Elkins wrote :
 set pager_format=-%Z- %C/%m: %-20.20n   %.20s% -- (%P)

i think you can do better with something like this in xterm :

set pager_format=-%Zz %C/%m: %-20.20n %.`echo $[$COLUMNS - 40]`s% --
(%P)

-- 
Maxime Brugidou


Re: Invalid domain name

2007-06-28 Thread Michael Tatge
* On Wed, Jun 27, 2007 Luis A. Florit ([EMAIL PROTECTED]) muttered:
 I am using the built-in SMTP. When I try to send an email
 changing the 'From', for example, using this sendhook:
 
 send-hook ~C gimp 'unset hostname ; set signature= ; my_hdr Reply-to: 
 [EMAIL PROTECTED] ; my_hdr From: Luis A. Florit [EMAIL PROTECTED]'
 
 I always get the same error message in mutt:
 
 SMTP session failed: 501 5.0.0 Invalid domain name
 

see $use_from, $use_envelope_from

HTH,

Michael
-- 
Whoa...I did a 'zcat /vmlinuz  /dev/audio' and I think I heard God...
-- mikecd on #Linux

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Need Help

2007-06-28 Thread Ralf Salomon
dear mutters:

sorry for disturbing you! I have been using mutt for several years.
now, I have switched from suse (I don't like it anymore) to ubuntu.
so far, everything was working fine, but now, the new mutt version
always reports SASL authentication failed. :-( I am using the same
muttrc on both systems, which I have also attached (but ID and
password are XXX-ed). any hint? is something wrong with the file?

on the suse system I am using Mutt 1.4i (2002-05-29)
on ubuntu Mutt 1.5.13 (2006-08-11)

just to repeat:
   with Mutt 1.4i (2002-05-29) and the attached muttrc: ok
   with Mutt 1.5.13 (2006-08-11) and the attached muttrc: :-

I have not installed any fetchmail or configured any sendmail, since
I am just reading emails. Also, I do not think that this might be
the reason for the problem, since the error is an SASL authentication error.

I would be grateful for any valuable hint!

many many thanks and best wishes, ralf

-

#
# Sample ~/.muttrc for SuSE Linux
#

#
# Setting
#
set pager_context=4
set pager_index_lines=10
set pager_stop

#
# Binding
#
bind  pager backspace previous-page
bind  pager -   previous-line
bind  pager \eOmprevious-line
bind  pager +   next-line
bind  pager \eOknext-line
bind  pager \eOMnext-line
bind  pager \e[1~   top
bind  pager \e[4~   bottom

bind  index backspace previous-entry
bind  index -   previous-entry
bind  index \eOmprevious-entry
bind  index +   next-entry
bind  index \eOknext-entry
bind  index \eOMdisplay-message
bind  index \e[Hfirst-entry
bind  index \e[Flast-entry
bind  index \e[1~   first-entry
bind  index \e[4~   last-entry

bind  alias   space   select-entry
bind  alias   x exit
bind  attach  x exit
bind  browser x exit

#
# Color
#
mono  messagebold
color messagewhite  red
color error  brightyellow   red
color indicator  white  red
color tree   brightmagenta  default
color signature  reddefault
color attachment brightyellow   red
color search brightyellow   red
color tilde  brightmagenta  default
color markersbrightmagenta  default
#color bold   brightblackdefault
#color underline  green  default
color quoted blue   default
color quoted1magentadefault
color quoted2reddefault
color quoted3green  default
color quoted4cyan   default
color quoted5blue   default
color quoted6magentadefault
color quoted7reddefault
color quoted8green  default
color quoted9cyan   default
color hdrdefault brightred  default
color header brightmagenta  default  ^(from):
color header brightblue default  ^(subject):
#color header defaultdefault  [ \t]+[^:]*$
color body   brightcyan default  \
  ((ftp|http|https)://|(file|mailto|news):|www\\.)[EMAIL 
PROTECTED]:]*[a-z0-9](/[^][{} \t\n\r\()]*[^][{} \t\n\r\().,:])?
color body   brightcyan default  [EMAIL PROTECTED]
color body   reddefault  (^| )\\*[-a-z0-9äöüß*]+\\*[,.?]?[ \n]

#
# End
#

#
#   customization for RS
#


# --
#
#   mailboxes and spoolfiles
#
# --

set folder=~/letter
set spoolfile=imap://mail.uni-rostock.de

mailboxes =Inbox
mailboxes imaps://mail.uni-rostock.de

# --
#
#   general folder settings
#
# --

set mbox_type=maildir
set delete=yes
set save_empty=no
#set maildir_trash=yes
set confirmappend=no
set confirmcreate=no

# --
#
#   copies and accounting
#
# --

set postponed=+.postponed
set save_name=yes
set force_name=yes  # no writes to Sent !  #set record=+Sent

# --
#
#   identification
#
# --

set realname=Ralf Salomon
set hidden_host=yes
# set hostname=etechnik.uni-rostock.de
# set hostname=e-technik.uni-rostock.de
set from=[EMAIL PROTECTED]

# --
#
#   imap options
#
# --

set imap_authenticators=gssapi:cram-md5:login
set imap_authenticators=login
set imap_delim_chars=/.
set imap_keepalive=900
set imap_list_subscribed=no
set imap_user=x
set imap_peek=yes
# set imap_force_ssl=yes# not working :-((
# set imap_home_namespace=
set imap_pass=xxx # don't show password, type it
# set imap_passive=yes
set certificate_file=~/.mutt/certificates

# --
#
#   pager options
#
# --

set sort=reverse-date
set mark_old=no
# set sort=reverse-score
# score ~N -100
   

Re: Problem with new 'pager_format'

2007-06-28 Thread Gary Johnson
I'm sorry I've taken so long to get back to this.  It was an 
especially busy day of real work.

On 2007-06-28, David Champion [EMAIL PROTECTED] wrote:
 * On 2007.06.27, in [EMAIL PROTECTED],
 * Gary Johnson [EMAIL PROTECTED] wrote: 
  
  With mutt-1.5.16, that behavior has changed.  The fixed indicator 
  has been replaced by the % -- (%P) format sequence in 
  'pager_format'.  The problem with this is that the percentage 
  indicator can now be shoved off the right side of the screen by long 
  subjects.
 
 It's not exactly the answer you're looking for, but this is precisely
 the kind of scenario my softfill patch is made to address.  This patch
 implements the %*  notation, which is analogous to %  but gives
 precedence to the right side instead of to the left when the fill length
 is zero.  With a long subject, the subject would be truncated enough for
 anything to the right of %*  to render in full.
 
 http://home.uchicago.edu/~dgc/sw/mutt/patch-1.5.16.dgc.softfill.1

This appears to be the best solution I've seen.  However, when I 
point my browser to that URL, it reports

   Forbidden

   You don't have permission to access 
/~dgc/sw/mutt/patch-1.5.16.dgc.softfill.1 on this server.

   Apache/1.3.27 Server at home.uchicago.edu Port 80

Would you please take a look at the permissions on that file?

I commonly run mutt in three different terminal widths, so Maxime's 
proposal is also a possibility, but I would have to change the 
behavior of the 'pager_format' I had been using, which was

   set pager_format=%4C %Z %[!%b %e at %I:%M %p]  %.20n  %s

Note that both the name and subject fields have varying widths.  I 
would have to make them both fixed and lose the ability to exchange 
name width for subject width.

Thank you all for your help.

Regards,
Gary


Re: Problem with new 'pager_format'

2007-06-28 Thread David Champion
* On 2007.06.29, in [EMAIL PROTECTED],
*   Gary Johnson [EMAIL PROTECTED] wrote: 
 I'm sorry I've taken so long to get back to this.  It was an 
 especially busy day of real work.

Understood. :)


You don't have permission to access 
 /~dgc/sw/mutt/patch-1.5.16.dgc.softfill.1 on this server.

You know, I actually checked permission before posting, and in
retrospect I clearly recall seeing 600 and thinking well, that's all
right.  Too many things on my mind, I guess.  This is fixed; sorry for
the trouble.  Silly umask.


Just as a side note, I've used this for 3-4 years in $index_format,
to fit my X-Labels to the right edge of the screen regardless of the
subject's content/length.  It's pretty useful.  The patch includes
some extended doc on format strings, too.  Mostly this covers printf
formatter semantics, which are neglected in the manual currently.

pitchIn light of the situation with 1.5.16's $pager_format, is it time
to review adding this code to hg tip?/pitch

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago