Matt Larson | 1 Aug 15:50
Picon
Favicon

Looking for patch: remember position in mailbox view

Hi, folks.

I can't remember when it was, but I recall seeing a patch posted here
that caused mutt to remember the last mailbox selected in the mailbox
view (i.e., "mutt -y") and then position the cursor at that mailbox
(rather than the first mailbox) the next time that view is entered.  I
have searched and searched my mutt-dev archives and can't find this
patch.  Does anyone remember it and, if so, could you please point me
to it?

On a related note, what is the "official" name of the "mutt -y" view?

Thanks for any help,

Matt Larson

Oswald Buddenhagen | 1 Aug 15:59
Picon
Favicon
Gravatar

Re: Looking for patch: remember position in mailbox view

On Tue, Aug 01, 2006 at 09:50:57AM -0400, Matt Larson wrote:
> I recall seeing a patch posted here that caused mutt to remember the
> last mailbox selected in the mailbox view (i.e., "mutt -y") and then
> position the cursor at that mailbox (rather than the first mailbox)
> the next time that view is entered.
>
that patch was a horrible hack. somebody should finally write a proper
version ... i once tried, but got lost pretty fast and didn't have the
motivation to dig through.
on a related note, i think the navigation should be inverted to how it
is in pine - oh, well, i filed a request for this long ago ...

--

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.

Alain Bench | 2 Aug 01:58
Picon
Favicon

Re: Looking for patch: remember position in mailbox view

Hello Matt,

 On Tuesday, August 1, 2006 at 9:50:57 -0400, Matt Larson wrote:

> a patch posted here that caused mutt to remember the last mailbox
> selected in the mailbox view (i.e., "mutt -y") and then position the
> cursor at that mailbox (rather than the first mailbox) the next time
> that view is entered.

    That was patch-1.5.8.hr.sensible_browser_position.3, posted here in
March 2005 by Haakon Riiser. I use it happily in production since then.
It indeed has ahum... rough edges, but the browser usability enhancement
overweights them by far. IMHO browser's navigation behaviour in stock
Mutt is just too deficient. Patched browser is not perfect, but is 3
levels above stock.

> what is the "official" name of the "mutt -y" view?

    The Mailboxes Browser. Note the patch acts on all browsers.

Bye!	Alain.
--

-- 
When you want to reply to a mailing list, please avoid doing so with
Hushmail. This lacks necessary references and breaks threads.

Alain Bench | 2 Aug 12:05
Picon
Favicon

[PATCH] fix charset-hook bugs

Hello,

    While testing <create-alias> recoding, I noticed a bug in the IDN
code, where conversion between IDN and display was unwantedly sensible
to charset-hooks. Example: When user has "charset-hook . euc-jp",
because he receives many mails containing EUC-JP charset with various
wrong MIME labels, a domain "xn--ren-dma.org" is displayed "ren?«±.org"
instead of the correct "rené.org". And when he enters "rené.org", it's
idnized to wrong "xn--ren-c03j.org". Exact wrongs depend on $charset.

    I believe that such conversions, between constant "utf-8" and the
$charset provided by user, both under full control, should not be
subject to charset-hooks. It's not needed (any corrections can be done
directly on $charset, or indirectly thru iconv-hooks), and can create
unwanted interferences in some perfectly sensible setups.
Charset-hooking iso-8859-1 to whatever else intends to correct wrong
MIME charset=iso-8859-1 labels; It should not break any operations in an
already correct iso-8859-1 $charset. Should be subject to charset-hooks
*only* uncertain fromcodes coming from the wild Internet.

    The attached patch-1.5.12.ab.M_ICONV_HOOK_sanitize.1 corrects this
by removing M_ICONV_HOOK_{FROM,TO} flags usage from IDN, PGP, and GPGME
code, where not appropriate. It also removes completely the
M_ICONV_HOOK_TO symbol and depending code, because charset-hooking a
tocode is never wanted. It adds comments about role of flag
M_ICONV_HOOK_FROM, and its misleading name (ICONV_HOOK, when it
exclusively triggers charset-hooks), hoping less misusage in the future.
And while at it, the patch corrects a typo and normalizes casing of some
constant charset names.

(Continue reading)

Thomas Roessler | 2 Aug 12:33

Re: [PATCH] fix charset-hook bugs

On 2006-08-02 12:05:03 +0200, Alain Bench wrote:

>     I believe that such conversions, between constant "utf-8" and the
> $charset provided by user, both under full control, should not be
> subject to charset-hooks. 

I agree.

--

-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.

Alain Bench | 2 Aug 12:36
Picon
Favicon

Re: mutt/2310: Mutt doesn't honor multiple Reply-to addresses (RFC 2822)

Synopsis: Mutt doesn't honor multiple Reply-to addresses (RFC 2822)

State-Changed-From-To: feedback->closed
State-Changed-By: ab
State-Changed-When: Wed, 02 Aug 2006 12:36:28 +0200
State-Changed-Why:

    Hello Chris, and thank you for the report. Mutt 1.5.11
does reply To multiple Reply-To addresses, and even multiple
Reply-To fields. There is no bug.

Bye!    Alain.

**** Comment added by ab on Wed, 02 Aug 2006 12:36:28 +0200 ****

Thomas Roessler | 2 Aug 16:15

Re: mutt/2386: underscore problems of chinese filename

The following reply was made to PR mutt/2386; it has been noted by GNATS.

From: Thomas Roessler <roessler <at> does-not-exist.org>
To: bug-any <at> bugs.mutt.org
Cc: 
Subject: Re: mutt/2386: underscore problems of chinese filename
Date: Wed, 2 Aug 2006 16:11:34 +0200

 On 2006-07-25 07:54:25 +0200, sjtu_yf117 <at> sina.com.cn wrote:

 > When viewing the attachment with chinese filename with
 > external program, the chinese words of the filename shown in
 > the title bar is underscores "__", not the correct chinese
 > words. I noticed that the attached file is in fact saved
 > temporarily in the "/tmp" directory with chinese filename
 > displayed already in underscores "__". I am not sure whether
 > this is a problem only in Debian release of Mutt.

 Mutt will be careful to only use known good characters in
 temporary file names, so I don't consider this a bug.

 Generally, I'd recommend not to rely on temporary file names
 passing around information.

 Sorry.
 -- 
 Thomas Roessler			      <roessler <at> does-not-exist.org>

nattfodd | 2 Aug 16:21
Picon
Favicon

imap/2401: segfault with imaps

>Number:         2401
>Notify-List:    
>Category:       imap
>Synopsis:       segfault with imaps
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 02 16:21:17 +0200 2006
>Originator:     Alexandre Buisse
>Release:        1.5.11
>Organization:
huh?
>Environment:
gentoo linux, mutt-1.5.11-r2
USE="berkdb cjk crypt gdbm imap mbox nls nntp sasl ssl -buffysize -debug* -gnutls -gpgme -idn -pop -smime -vanilla"

emerge --info:

Portage 2.1.1_pre4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3,
2.6.18-rc2-mm1-ubik i686)
=================================================================
System uname: 2.6.18-rc2-mm1-ubik i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.1
ccache version 2.3 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
(Continue reading)

Kyle Wheeler | 2 Aug 16:54

Re: imap/2401: segfault with imaps

On Wednesday, August  2 at 04:21 PM, quoth nattfodd <at> gentoo.org:
>>Description:
>Whenever I try to access the imap server of my school using imap://imaps.ens-lyon.fr, I obtain a segfault
just at the end of the "evaluating cache" phase. If I just say imap://imap.ens-lyon.fr. It used to work
with 1.5.8.

Delete the cache, and try again.

~Kyle
--

-- 
If man was meant to be nude, he would have been born that way.
                                                        -- Oscar Wilde
Thomas Roessler | 2 Aug 16:57

"reset hcache" function?

Seeing the repeated "delete header cache" problems, I'm
wondering if it would be worth implementing an "remove existing
cache" command line option, or maybe even an interactive
function.

What do people think?
--

-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.


Gmane