Michelle Konzack | 15 Oct 16:22
Picon
Favicon

Re: mutt to show hi-bit chars once & for all?

Hi Russell,

Am 2005-09-17 03:37:30, schrieb Russell Hoover:


> # Never do Quoted-Printable encoding on 8-bit characters: > set allow_8bit > > set charset="us-ascii:iso-8859-1:utf-8" > set send_charset="us-ascii:iso-8859-1:utf-8" > > > In my .zshenv: > > # export LC_ALL=en_US.UTF-8 <--- ( commented-out ) > export LC_CTYPE=en_US.UTF-8 > > Those are the only relevant settings I can think of > right now.
You have broken locale. Because it is en_US.utf8 and not en_US.UTF-8 Greetings Michelle -- -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Elimar Riesebieter | 15 Oct 17:06
Picon
Favicon

Re: mutt to show hi-bit chars once & for all?

On Sat, 15 Oct 2005 the mental interface of
Michelle Konzack told:

> Hi Russell,
> 
> Am 2005-09-17 03:37:30, schrieb Russell Hoover:
> 
> > # Never do Quoted-Printable encoding on 8-bit characters:
> >       set  allow_8bit
> > 
> >       set  charset="us-ascii:iso-8859-1:utf-8"
> >  set  send_charset="us-ascii:iso-8859-1:utf-8"
> > 
> > 
> > In my .zshenv:
> > 
> > # export LC_ALL=en_US.UTF-8      <--- ( commented-out )
> > export LC_CTYPE=en_US.UTF-8
> > 
> > Those are the only relevant settings I can think of
> > right now.
> 
> You have broken locale.

No

> Because it is   en_US.utf8
> 
>       and not   en_US.UTF-8

$> locale -a
C
POSIX
de_DE.iso885915 <at> euro
de_DE.utf8
de_DE <at> euro
en_US
en_US.iso88591
en_US.utf8

Elimar

--

-- 
  Planung:
  Ersatz des Zufalls durch den Irrtum.
                                -unknown-

Derek Martin | 15 Oct 18:10

Re: mutt to show hi-bit chars once & for all?


On Sat, Oct 15, 2005 at 04:22:24PM +0200, Michelle Konzack wrote: > Hi Russell, > > Am 2005-09-17 03:37:30, schrieb Russell Hoover: > > # export LC_ALL=en_US.UTF-8 <--- ( commented-out ) > > export LC_CTYPE=en_US.UTF-8 > > > > Those are the only relevant settings I can think of > > right now. > > You have broken locale. > > Because it is en_US.utf8 > > and not en_US.UTF-8
Well, I'm not sure about debian systems, but en_US.UTF-8 is the default locale installed by redhat-based systems and that works just fine. I seem to remember trying to use .utf8 instead of .UTF-8, so that I could use the same environment files on all systems I use, and finding that some things broke. That's despite the fact that en_US.utf8 shows up in the output of locale -a, and en_US.UTF-8 does not. Anyway, en_US.UTF-8 works just fine, at least on redhat-based systems. -- -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail. Sorry for the inconvenience. Thank the spammers.
Michelle Konzack | 15 Oct 19:21
Picon
Favicon

Re: IMAP woes

Hallo Thomas,

Am 2005-09-22 03:44:51, schrieb Thomas Zehetbauer:
> First I would like to say that I have just come back to mutt after some 
> years of using Ximian Evolution and even trying Thunderbird.

:-)

> or have the "mailboxes" view use short names (without $folder) and show 
> the hierarchy (=A\n\t=A/B\n=C).

ACK

> Additionally I think I have found two bugs in the browser:
> 
> When browsing IMAP folders, they are sorted uppercase letters first:
> A -> B -> C -> a -> b -> c
> Maybe this is the unsorted list as supplied by the IMAP server, because 
> the sort order is corrected if I sort again (<sort>a).

I am using de_DE <at> euro and the sorting is A a B b C c.
Maybe you should setup correctly your environement?

> Renaming IMAP folders is even worse as no space character can be entered 
> and the / is not recognized as a hierarchy separator (imap_delim_chars).

You can cange it...

> Finally I would like to say that the date input format should also be 
> made configurable. DD/MM/YYYY is prone to confusion with MM/DD/YYYY in 
> english speaking countries. ISO 8601 recommends YYYY-MM-DD but this will 
> not be compatible with the current range syntax.

???  Do you have read the mutt-manual ?

> Tom

Greetings
Michelle

--

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)
Michelle Konzack | 15 Oct 19:30
Picon
Favicon

Re: url_handler.sh email

Hi Aris,

Am 2005-09-29 16:49:12, schrieb Arias Hung:
> How would I state url_handler.sh REGEX variable to also include normal 
> email addresses that appear in the body of the message that doesn't have a 
> mailto: pretag?
> 
> I could have sworn that urlview was suppose to handle normal u <at> d type mail 
> regex's by default but it doesn't seem to be included in the default system 
> urlview.

Attached my script

> Thanks for any help anyone can offer.

Greetings
Michelle

--

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)
Attachment (url_handler.sh): application/x-sh, 3219 bytes
Derek Martin | 15 Oct 19:31

write_bcc and fcc

For users who use Exim or other MTAs that don't strip bcc headers,
normally you must set write_bcc=no so that your bcc headers won't show
up in messages unintentionally.  However this also has the effect of
preventing the Bcc line from showing up in your saved mail.

I've written a patch against the latest CVS so that the Bcc line is
always written to the fcc (saved mailbox) regardless of the value of
$write_bcc which allows you to see who your Bcc recipients were when
reviewing your sent mail.  I suspect it will also apply against any
recent version of mutt, since the affected code probably hasn't
changed in a long time.  I've tested it with no problems, but feel
free to provide feedback if you have trouble with it.  

The patch is attached.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

diff -r -u mutt-cvs-2005-10-15/headers.c mutt-cvs-2005-10-15.ddm/headers.c
--- mutt-cvs-2005-10-15/headers.c	2005-09-17 16:46:10.000000000 -0400
+++ mutt-cvs-2005-10-15.ddm/headers.c	2005-10-15 13:05:49.000000000 -0400
@@ -52,7 +52,7 @@
   }

   mutt_env_to_local (msg->env);
-  mutt_write_rfc822_header (ofp, msg->env, NULL, 1, 0);
+  mutt_write_rfc822_header (ofp, msg->env, NULL, 1, 0, 0);
   fputc ('\n', ofp);	/* tie off the header. */

   /* now copy the body of the message. */
diff -r -u mutt-cvs-2005-10-15/protos.h mutt-cvs-2005-10-15.ddm/protos.h
--- mutt-cvs-2005-10-15/protos.h	2005-10-04 02:05:39.000000000 -0400
+++ mutt-cvs-2005-10-15.ddm/protos.h	2005-10-15 13:06:10.000000000 -0400
@@ -353,7 +353,7 @@
 int mutt_write_fcc (const char *path, HEADER *hdr, const char *msgid, int, char *);
 int mutt_write_mime_body (BODY *, FILE *);
 int mutt_write_mime_header (BODY *, FILE *);
-int mutt_write_rfc822_header (FILE *, ENVELOPE *, BODY *, int, int);
+int mutt_write_rfc822_header (FILE *, ENVELOPE *, BODY *, int, int, int);
 int mutt_yesorno (const char *, int);
 void mutt_set_header_color(CONTEXT *, HEADER *);
 void mutt_sleep (short);
diff -r -u mutt-cvs-2005-10-15/send.c mutt-cvs-2005-10-15.ddm/send.c
--- mutt-cvs-2005-10-15/send.c	2005-10-03 03:52:00.000000000 -0400
+++ mutt-cvs-2005-10-15.ddm/send.c	2005-10-15 13:06:46.000000000 -0400
@@ -969,10 +969,10 @@
     return (-1);

 #ifdef MIXMASTER
-  mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, msg->chain ? 1 : 0);
+  mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, msg->chain ? 1 : 0, 0);
 #endif
 #ifndef MIXMASTER
-  mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, 0);
+  mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, 0, 0);
 #endif

   fputc ('\n', tempfp); /* tie off the header. */
diff -r -u mutt-cvs-2005-10-15/sendlib.c mutt-cvs-2005-10-15.ddm/sendlib.c
--- mutt-cvs-2005-10-15/sendlib.c	2005-09-29 19:02:49.000000000 -0400
+++ mutt-cvs-2005-10-15.ddm/sendlib.c	2005-10-15 13:04:22.000000000 -0400
@@ -1531,10 +1531,12 @@
  *               Output generated is suitable for being sent through
  * 		 anonymous remailer chains.
  *
+ * fcc != 0 => force writing of bcc, even if $write_bcc=no (for fcc)
+ *
  */

 int mutt_write_rfc822_header (FILE *fp, ENVELOPE *env, BODY *attach, 
-			      int mode, int privacy)
+			      int mode, int privacy, int fcc)
 {
   char buffer[LONG_STRING];
   char *p;
@@ -1572,7 +1574,7 @@

   if (env->bcc)
   {
-    if(mode != 0 || option(OPTWRITEBCC))
+    if(mode != 0 || option(OPTWRITEBCC) || fcc)
     {
       fputs ("Bcc: ", fp);
       mutt_write_address_list (env->bcc, fp, 5, 0);
@@ -2319,7 +2321,7 @@
   /* post == 1 => postpone message. Set mode = -1 in mutt_write_rfc822_header()
    * post == 0 => Normal mode. Set mode = 0 in mutt_write_rfc822_header() 
    * */
-  mutt_write_rfc822_header (msg->fp, hdr->env, hdr->content, post ? -post : 0, 0);
+  mutt_write_rfc822_header (msg->fp, hdr->env, hdr->content, post ? -post : 0, 0, 1);

   /* (postponment) if this was a reply of some sort, <msgid> contians the
    * Message-ID: of message replied to.  Save it using a special X-Mutt-
Thomas Zehetbauer | 15 Oct 23:06

Re: IMAP woes

On 2005-10-15 | 19:21:54, Michelle Konzack wrote:
>> When browsing IMAP folders, they are sorted uppercase letters first:
>> A -> B -> C -> a -> b -> c
>> Maybe this is the unsorted list as supplied by the IMAP server, because 
>> the sort order is corrected if I sort again (<sort>a).
>
>I am using de_DE <at> euro and the sorting is A a B b C c.
>Maybe you should setup correctly your environement?

Do you think it changes my environment when I press "oa" (sOrt Alpha)? 
The problem is, that sort_browser is ignored for IMAP folders.

>> Renaming IMAP folders is even worse as no space character can be entered 
>> and the / is not recognized as a hierarchy separator (imap_delim_chars).
>
>You can cange it...

No, you can't, imap_delim_chars is IGNORED there, that is what I am 
complaining about.

>> Finally I would like to say that the date input format should also be 
>> made configurable. DD/MM/YYYY is prone to confusion with MM/DD/YYYY in 
>> english speaking countries. ISO 8601 recommends YYYY-MM-DD but this will 
>> not be compatible with the current range syntax.
>
>???  Do you have read the mutt-manual ?

Maybe you would better read some books on the grammar of the english 
language before answering mails. You failed to understand three of five 
points I have been making.

Tom

--

-- 
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz <at> hostmaster.org for key

Gmane