<<< Date Index >>>     <<< Thread Index >>>

[PATCH] fix browser bug



Hi,

I came across the <view-file> function in the directory browser which
doesn't work as expected. In "normal" directory view (not limited to
known mailboxes only), it works. But in the toggled version the function
doesn't work since the shortcut to $folder '=' isn't striped but
included in the full pathname so that mutt can't find the file. The
attached patch (against 1.5.6) hopefully fixes it.

I don't think it's a good solution to do this check in browser.c only.
Or maybe I just don't know where mutt handles such things. I think it
was better to do all this in mutt_expand_path() (which then could also
replace mutt_concat_path()). But I'm not a very skilled C programmer,
anyways. ;-)
 
  bye, Rocco
-- 
:wq!

Attachment: fix_browser.diff.gz
Description: application/gunzip