Re: xlabel request

2008-05-01 Thread Alain Bench
Hello Antoine, David, On Monday, April 28, 2008 at 20:24:23 +0200, Antoine Reilles wrote: > either remap the edit-label command to another key (but i like 'y'), > or remap the macros in the default Muttrc: >| macro index,pager y "?" "show incoming mailboxes list" >| bind browser y exit > to some

Re: [PATCH] Lacking strtok_r

2008-03-30 Thread Alain Bench
On Friday, March 28, 2008 at 15:48:50 -0700, Dan Fandrich wrote: > Attached is a patch that replaces strtok_r when it's not available. Excellent! It builds, and gracefully eats every "mailto:"; trap. So mutt-strtok_r.diff should be commited. Thank you, Dan. Bye!Alain. -- Everything ab

Re: [PATCH] Lacking strtok_r

2008-03-28 Thread Alain Bench
Hello Dan, and much thanks for your contributions. On Thursday, March 20, 2008 at 11:10:53 -0700, Dan Fandrich wrote: > Here's a patch to allow compilation on old systems without strtok_r. The patch compiles, but on old systems uses strtok() instead of strtok_r(). Such Mutt will misparse so

Re: mutt: new changeset

2008-03-26 Thread Alain Bench
Hello Brendan, On Wednesday, May 2, 2007 at 0:00:04 -0700, Brendan Cully wrote: > http://dev.mutt.org/hg/mutt/rev/1ed1cbc7bad4 > changeset: 5146:1ed1cbc7bad4 > summary: Make IDN depend on iconv support This patch apparently breaks the locale support on some setups, giving all hibit ch

Re: [Mutt] #3040: charset difference between index browser and pager

2008-03-21 Thread Alain Bench
Hello Kyle, On Thursday, March 20, 2008 at 11:51:33 -0500, Kyle Wheeler wrote: > On Thursday, March 20 at 03:47 PM, quoth Vincent Lefevre: >> set charset=`codeset 2> /dev/null || locale charmap`//TRANSLIT > it isn't particularly portable... While neither universally portable, there is a pai

Re: [PATCH] compose to sender

2008-03-07 Thread Alain Bench
On Wednesday, March 5, 2008 at 11:27:02 -0500, Aron Griffis wrote: >| subscribe mutt-dev@ > will it cause a false positive in any common case? A quick search on 16668 mails here found 424 false positives. Example the message at origin of this thread is sent by Brian Medley . It's not uncommo

Re: [PATCH] compose to sender

2008-03-04 Thread Alain Bench
Hello Brian, and thank you for proposing this interesting feature, On Thursday, February 28, 2008 at 23:35:03 -0600, Brian Medley wrote: > I have created a patch that starts a new message to the sender of the > currently selected message. >| OP_COMPOSE_SENDER "compose new message to sender"

Re: [PATCH] compose to sender

2008-03-04 Thread Alain Bench
Hello Aron, On Monday, March 3, 2008 at 9:01:31 -0500, Aron Griffis wrote: >| subscribe mutt-dev@ Note that this pre-1.5.6-like syntax is guaranteed to provide false positives. One should now better write as strict as possible regexps: | subscribe [EMAIL PROTECTED] | send-hook '~C [EMAIL P

Re: thoroughly searching encrypted messages

2008-02-25 Thread Alain Bench
Hello Claus, On Saturday, February 23, 2008 at 10:38:54 -0800, Claus Assmann wrote: > There is already a Status header added by mutt, right? If that's > correct, then maybe it can be expanded to store more information about > the mail? Status and X-Status are specific to the mbox format: Th

Re: thoroughly searching encrypted messages

2008-02-23 Thread Alain Bench
Hi Kyle! On Friday, February 22, 2008 at 11:29:05 -0600, Kyle Wheeler wrote: > a way to force mutt to *remember* that these [text/plain] messages are > [PGP traditionaly] encrypted between sessions. This would mean doing some permanent modification to the mailbox, or store some infos aside,

Re: Character set validation (with patch)

2008-01-26 Thread Alain Bench
Hi Rocco, On Friday, December 14, 2007 at 19:46:47 +0100, Rocco Rutte wrote: > I used mutt_iconv_open() as fallback which executes iconv-hooks, so > maybe this patch should use the same trick in general? And mutt_iconv_open() also canonicalizes charset names before anything else, so there s

Re: About charset hook and external program reference that varible

2008-01-25 Thread Alain Bench
Hello Gary, hello Qian, On Tuesday, January 8, 2008 at 21:21:54 -0800, Gary Johnson wrote: > On 2008-01-09, Bendany Qian <[EMAIL PROTECTED]> wrote: >>| charset-hook gb2312 gbk >> when mailcap reference the %{charset} variable, gb2312 is returned >> instead of gbk. > I also thought at first that

Re: Character set validation (with patch)

2007-12-14 Thread Alain Bench
Hello Rocco! Sorry, I'm busy elsewhere, and can take a look here only way too rarely. Noticed this thread only now, no time to test the patches. On Tuesday, November 13, 2007 at 13:48:25 +0100, Rocco Rutte wrote: > there're some bugs open where trouble could have been avoided if mutt > did

Re: change_folder_next patch

2007-06-05 Thread Alain Bench
On Thursday, May 24, 2007 at 15:45:44 +0200, Rado Smiljanic wrote: [The Comma] > let's make it "official reservation" Users are free to use this or any other binding scheme, at will: I don't think that making this one official or even only preferred in user docs makes much sense. Putting

Re: [PATCH, RFC] mouse tracking support

2007-05-31 Thread Alain Bench
Hi Kyle, On Wednesday, May 23, 2007 at 19:23:04 -0600, Kyle Wheeler wrote: > trouble getting [mouse tracking] to work on MacOS X. The terminal has to report mouse events to applications. Terminal.app doesn't appear to be doing mouse reporting at all. | $ printf "\033[?9h" # turn

Re: change_folder_next patch

2007-05-24 Thread Alain Bench
On Monday, May 21, 2007 at 17:57:02 +0200, Rado Smiljanic wrote: [binding comma] > we have no idea how many people use any other potential key. We may imagine. If we neglect the tradition about comma, we can half-safely imagine that users bind any single free key more or less equally. Fo

Re: change_folder_next patch

2007-05-19 Thread Alain Bench
On Tuesday, May 15, 2007 at 20:33:34 +0200, Rado Smiljanic wrote: [binding comma] > Comma is not by itself special, _you make it_ (or want it to be) > special. I indeed use myself and advice this usage of the comma, but haven't invented it: It was already a traditional usage when I began

Re: change_folder_next patch

2007-05-14 Thread Alain Bench
On Saturday, May 12, 2007 at 16:10:13 +0200, Rado Smiljanic wrote: [we're too long: Let's snip drastically] [binding comma] We can, and should, avoid creating useless problems for no benefit. Binding comma is not necessary, and would create problems to some users. Let's just not do it

Re: change_folder_next patch

2007-05-11 Thread Alain Bench
Hi Rado and Gary, On Wednesday, May 9, 2007 at 20:23:24 +0200, Rado Smiljanic wrote: > why do we need the extra function? [...] Is it just so that this > action can be executed with a single key? > macro index > If there's no new, nothing happens. This touches the /new / vs /modifier

Re: change_folder_next patch

2007-05-09 Thread Alain Bench
a user? The user is of course free to bind the function to a single key. I would probably do that. As default binding, that's another story: What would mandate a single key? > On Thursday, 3 May, 2007 at 12:16:39 +0200, Alain Bench wrote: >> is a "risky" function (delet

Re: change_folder_next patch

2007-05-03 Thread Alain Bench
Hello Nick, On Monday, April 30, 2007 at 15:57:20 +0100, N.J. Mann wrote: > I've left it bound to ',' for now, but... There is another argument against binding comma: Since ages, by default comma is not bound. This fact is well known by users, and they frequently use the comma for their cus

Re: [PATCH] Remove absolute paths from gpg.rc

2007-03-29 Thread Alain Bench
Hi Thomas, On Thursday, March 15, 2007 at 12:54:37 -0400, Thomas E. Dickey wrote: > Making it [gpg path] configurable from a single point is probably a > better way to go Good idea: What about the attached additional patch? It makes use of $my_variables to allow a single point of configurat

Re: $assumed_charset settings (was: special chars)

2007-03-28 Thread Alain Bench
Hello Thomas, On Tuesday, March 27, 2007 at 18:10:22 -0400, Thomas E. Dickey wrote: > On Tue, 27 Mar 2007, Alain Bench wrote: >> some terminals (Rxvt?) can display simultaneously Latin-1 and UTF-8. > Something has to provide the mode-switch between UTF-8 and Latin-1. I meant *w

Re: Muttrc encoding

2007-03-27 Thread Alain Bench
Hi Rocco! On Tuesday, March 27, 2007 at 6:53:57 +, Rocco Rutte wrote: > IMHO $config_charset is evil or at least dangerous as it may produce > surprising results: Once you use it in one file and it's different > from $charset, you must set it _all_ config files accordingly, too. What's

Re: $assumed_charset settings (was: special chars)

2007-03-27 Thread Alain Bench
On Monday, March 26, 2007 at 16:39:36 +0200, Vincent Lefèvre wrote: > about files that contain both ISO-8859-1 and UTF-8, to let the user > decide. [...] it can happen in diffs where some files are encoded in > ISO-8859-1 and others in UTF-8. That's definitely undecidable by the $assumed_cha

Re: Muttrc encoding (was: What is official repository now ?)

2007-03-27 Thread Alain Bench
On Tuesday, March 27, 2007 at 4:04:07 +0200, Vincent Lefèvre wrote: > does this [$config_charset] apply to the current file? $config_charset applies *immediatly*, beginning with the next line. And continues forever, even past end of file. User can change $config_charset at will, even multipl

Re: mutt/2630: color indicator doesn't accept regex as described in manual

2007-03-27 Thread Alain Bench
The following reply was made to PR mutt/2630; it has been noted by GNATS. From: Alain Bench <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Sweth Chandramouli <[EMAIL PROTECTED]> Subject: Re: mutt/2630: color indicator doesn't accept regex as described in manual Date: Tue, 27

Re: Bug#414828: mutt inserts attribution in wrong charset

2007-03-27 Thread Alain Bench
Hello Kyle! On Monday, March 26, 2007 at 9:47:04 -0600, Kyle Wheeler wrote: > Should [$locale] then perhaps be renamed to $date_locale, just for > more clarity? Sure yes, good idea! Only if Rado agrees, of course. With a compatibility synonym. $locale is a very imprecise and confusing name.

Re: Bug#414828: mutt inserts attribution in wrong charset

2007-03-27 Thread Alain Bench
On Monday, March 26, 2007 at 17:26:53 +0200, Christoph Berg wrote: > which parts are all affected. $locale impacts $date_format, and all $*_formats having date %expandos. Environment impacts the browser at startup (later browser becomes English, flea/1734), and some dates here and there

Re: Bug#414828: mutt inserts attribution in wrong charset

2007-03-26 Thread Alain Bench
package mutt # time for a debate reopen 414828 retitle 414828 mutt: wish localized default $locale severity 414828 wishlist thanks Hello Christoph, On Sunday, March 25, 2007 at 23:12:59 +0200, Christoph Berg wrote: > I wonder if $locale shouldn't default to $LC_TIME I fully agree, that wo

Re: mutt/2560: Mutt chokes on invalid charset in UTF environment

2007-03-25 Thread Alain Bench
The following reply was made to PR mutt/2560; it has been noted by GNATS. From: Alain Bench <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Subject: Re: mutt/2560: Mutt chokes on invalid charset in UTF environment Date: Sun, 25 Mar 2007 23:48:07 +0200 (CEST) Hi Christian! On Sunday, Ma

Re: $assumed_charset settings (was: special chars)

2007-03-25 Thread Alain Bench
Bonjour Vincent, On Sunday, March 25, 2007 at 4:28:36 +0200, Vincent Lefèvre wrote: > On 2007-03-24 16:05:08 +0100, Alain Bench wrote: >> Setting UTF-8 after ISO-8859-1 is useless. Any string is always >> valid Latin-1. > Shouldn't characters 128-159 be regarded as in

Re: $assumed_charset settings (was: special chars)

2007-03-25 Thread Alain Bench
Hello Christoph! On Sunday, March 25, 2007 at 13:30:12 +0200, Christoph Berg wrote: > CP1251 (iirc, the last digit could be different) is what windows > usually uses. It is a superset of latin1, with characters in the > 128-159 range, mainly some quotes. That could also be a good guess. Rig

Re: What is official repository now ?

2007-03-25 Thread Alain Bench
Hello Vladimír, On Monday, March 12, 2007 at 11:37:43 +0100, Vladimír Marek wrote: > From: =?utf-8?Q?Vladim=EDr?= Marek <[EMAIL PROTECTED]> Your locale or charset setup is misconfigured. Probably at least a bad $config_charset and a suboptimal $send_charset. Bye!Alain.

Re: mutt/2630: color indicator doesn't accept regex as described in manual

2007-03-25 Thread Alain Bench
The following reply was made to PR mutt/2630; it has been noted by GNATS. From: Alain Bench <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Sweth Chandramouli <[EMAIL PROTECTED]> Subject: Re: mutt/2630: color indicator doesn't accept regex as described in manual Date: Sun, 25

$assumed_charset settings (was: special chars)

2007-03-24 Thread Alain Bench
On Monday, March 19, 2007 at 10:10:40 +0900, Tamotsu Takahashi wrote: > you can set "assumed_charset=iso-8859-1:utf-8" Setting UTF-8 after ISO-8859-1 is useless. Any string is always valid Latin-1. UTF-8 will never be tried nor selected. The reversed order, $assumed_charset="utf-8:iso-8

Re: What happened to strict_mime?

2007-03-24 Thread Alain Bench
Hello Tamotsu, On Thursday, March 22, 2007 at 16:31:53 +0900, Tamotsu Takahashi wrote: > If Alain's "pass-thru" option is not needed, the code can be even > shorter. The intended design was initially to have the legacy pass-thru mode as default, when $assumed_charset is not set. This mainly

tamo.pgp_charsethack.1 (was: What's needed for mutt 1.6? (Debian patches))

2007-03-09 Thread Alain Bench
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Kyle, On Friday, March 9, 2007 at 8:08:43 -0700, Kyle Wheeler wrote: > On Friday, March 9 at 03:32 PM, quoth Alain Bench: >> [tamo.pgp_charsethack.1] also permits to send traditional inline PGP >> mails in any charset o

Re: mutt/2663: Cannot tag certain mail message using tag-all

2007-03-09 Thread Alain Bench
Synopsis: Cannot tag certain mail message using tag-all State-Changed-From-To: open->closed State-Changed-By: ab State-Changed-When: Fri, 09 Mar 2007 15:47:49 +0100 State-Changed-Why: Yet another duplicate of closed mistaken bug 2662. Use T. to tag-all. Comment added by ab on Fri, 09 Mar

Re: What's needed for mutt 1.6? (Debian patches)

2007-03-09 Thread Alain Bench
Hello Takashi, On Thursday, March 8, 2007 at 2:15:01 +0900, Takashi Takizawa wrote: > The mutli-charset patch contains the followings: > - wcwidth --> proposing > http://www.emaillab.org/mutt/1.5.14/patch-1.5.14.tt.wcwidth.3 Thank you for the explanations. It appears the part of multi-chars

Re: Using gnats' mail interface

2007-03-08 Thread Alain Bench
Hello Christoph! On Wednesday, March 7, 2007 at 13:36:05 +0100, Christoph Berg wrote: > 1. Filing bugs using the mail interface [...] Try to avoid MIME mail, > gnats will destroy it (any attachment, pgp signatures, etc.) Some time ago I tried mail reporting, but abandoned: Every time the re

Re: mutt/1269: send_charset doesn't support charset-hook'd charsets

2007-03-06 Thread Alain Bench
Synopsis: send_charset doesn't support charset-hook'd charsets Comment added by ab on Tue, 06 Mar 2007 20:13:12 +0100 upload patch-1.5.12.msyk.iconvhook.1-ab patch with comments deduppe unformatted.

Re: What's needed for mutt 1.6? (Debian patches)

2007-03-06 Thread Alain Bench
Hello Tamo! On Sunday, March 4, 2007 at 20:23:25 +0900, Tamotsu Takahashi wrote: > what/where is (8) multiple_charsets? http://www.emaillab.org/mutt/1.5.14/patch-1.5.14.mutt-j.multi-charset.1.gz> Yet another mega-patch by Takashi, composed of assumed, attach, wcwidth, and several others. N

Re: What's needed for mutt 1.6?

2007-03-03 Thread Alain Bench
Hello Dato! On Thursday, March 1, 2007 at 22:26:36 +0100, Adeodato Simó wrote: > Personally, I can't live without hr.sensible_browser_position [1]. It > makes mutt remember the position in the browser when visiting folders. > I guess this is a patch that is difficult to get in without an > assoc

Re: What's needed for mutt 1.6? (Debian patches)

2007-03-03 Thread Alain Bench
Hello Brendan, On Tuesday, February 27, 2007 at 14:32:26 -0800, Brendan Cully wrote: > Since this was never in an official mutt release, I'm inclined to > remove the [$file_charset] compatibility variable. $file_charset was the only name for the $attach_charset feature since years in Debian