Re: How to disable mailbox shortcuts in mailbox browser

2022-06-03 Thread Kevin J. McCarthy
On Fri, Jun 03, 2022 at 05:48:55AM +, Sam Lee via Mutt-users wrote: Is there some kind of setting similar to "set sidebar_use_mailbox_shortcuts=no", but for the mailbox browser? 'unset browser_abbreviate_mailboxes' might work for you. -- Kevin J. McCarthy GPG Fingerprint: 8975

Re: How to disable mailbox shortcuts in mailbox browser

2022-06-03 Thread Sam Lee via Mutt-users
On 2022-06-03 05:48 +, Sam Lee via Mutt-users wrote: > In the sidebar, my mailbox is displayed in a format like > "imaps://john-...@example.com/INBOX". However, in the mailbox browser > (accessed using keybinding 'y' or :exec browse-mailboxes), it is > displayed as &q

How to disable mailbox shortcuts in mailbox browser

2022-06-03 Thread Sam Lee via Mutt-users
In the sidebar, my mailbox is displayed in a format like "imaps://john-...@example.com/INBOX". However, in the mailbox browser (accessed using keybinding 'y' or :exec browse-mailboxes), it is displayed as "=INBOX". In the mailbox browser, how do I make Mutt display

Re: Getting more useful information in file browser - possible with maildir?

2020-10-04 Thread Nemo Thorx
??* 1.42s user 27.85s system 28% cpu 1:42.13 total ...that's running on a VM which nfs mounts $HOME from the host machine, and is RAID6 backed on spinning rust. That said, this is academic to me as I never use the in-mutt browser anyway. mutt's startup time is effectively ze

Re: Getting more useful information in file browser - possible with maildir?

2020-10-03 Thread Cameron Simpson
On 03Oct2020 08:51, Chris Green wrote: >On Sat, Oct 03, 2020 at 02:47:46PM +1000, Cameron Simpson wrote: >> >Even *copying* the whole of my 1.5Gb mail hierarchy takes only 8 >> >seconds. >> >> Looks like your filesystem is superior to mine. Mine's MacOS apfs, I >> presume yours is a good Linux fs

Re: Getting more useful information in file browser - possible with maildir?

2020-10-03 Thread Chris Green
On Sat, Oct 03, 2020 at 02:47:46PM +1000, Cameron Simpson wrote: > On 02Oct2020 16:57, Chris Green wrote: > >... by the way I just timed a 'du' on my main directory full of > >(maildir) directories:- > > > >chris$ time du -sm * > [...] > >real0m0.109s > >user0m0.032s > >

Re: Getting more useful information in file browser - possible with maildir?

2020-10-02 Thread Cameron Simpson
On 02Oct2020 16:57, Chris Green wrote: >... by the way I just timed a 'du' on my main directory full of >(maildir) directories:- > >chris$ time du -sm * [...] >real0m0.109s >user0m0.032s >sys 0m0.076s > >(and, no, I didn't cheat, that was a 'cold start' du, I hadn't

Re: Getting more useful information in file browser - possible with maildir?

2020-10-02 Thread Chris Green
On Fri, Oct 02, 2020 at 10:36:44AM -0500, Derek Martin wrote: > > I haven't made this point yet since I regard it as almost irrelevant > given the above, but I would also argue it's not particularly useful > information, except in the context of disk space management--which has > nothing to do

Re: Getting more useful information in file browser - possible with maildir?

2020-10-02 Thread Derek Martin
if it's not that, you could do that in your MDA with > > os.utime(), which should force the issue. > > > Now that's a point, thank you, I see a small revision of my Python > filter coming up! :-) Great, hope that helps you out. Meanwhile... > > They may be mai

Re: Getting more useful information in file browser - possible with maildir?

2020-10-01 Thread Chris Green
> The same place in a mbox hierarchy shows me the size of the maibox and > > > > the date of the last change. > > > > > > You're looking at this all wrong. It's purely a side effect of how > > > the mailbox abstraction is represented: you get that only beca

Re: Getting more useful information in file browser - possible with maildir?

2020-09-30 Thread Derek Martin
; > the date of the last change. > > > > You're looking at this all wrong. It's purely a side effect of how > > the mailbox abstraction is represented: you get that only because they > > just happen to be files--exactly what the file browser was meant to > > handle

Re: Getting more useful information in file browser - possible with maildir?

2020-09-30 Thread Chris Green
gt; You're looking at this all wrong. It's purely a side effect of how > the mailbox abstraction is represented: you get that only because they > just happen to be files--exactly what the file browser was meant to > handle. > "I'm" a user! :-) I want the information I

Re: Getting more useful information in file browser - possible with maildir?

2020-09-29 Thread Christian Ebert
* Derek Martin on Tuesday, September 29, 2020 at 09:49:52 -0500: On Tue, Sep 29, 2020 at 08:30:42AM +0100, Chris Green wrote: I have 'set folder_format="%N %-32.32f %m %n"'. I did have a date as well but all that shows is 'Sep 25' the date of creation of the maildir which is no use at all,

Re: Getting more useful information in file browser - possible with maildir?

2020-09-29 Thread Derek Martin
> > > > but it woud be nice to be able to improve it a bit. > > > > > > > > I'd recommend using a "maildir browser" which knows how to interpret the > > > > information you're looking for (and which mutt is very good at). > > > &g

Re: Getting more useful information in file browser - possible with maildir?

2020-09-29 Thread Chris Green
On Mon, Sep 28, 2020 at 06:55:51PM -0500, Derek Martin wrote: > On Sat, Sep 26, 2020 at 05:02:08PM +0100, Chris Green wrote: > > However there is a minor downside in the file browser (well directory > > browser really isn't it), the information shown against the > > direc

Re: Getting more useful information in file browser - possible with maildir?

2020-09-29 Thread Chris Green
> > > > > I'd recommend using a "maildir browser" which knows how to interpret the > > > information you're looking for (and which mutt is very good at). > > > > > ?? I'm a bit lost here, you recommend a "maildir browser" and say "... >

Re: Getting more useful information in file browser - possible with maildir?

2020-09-28 Thread Derek Martin
On Mon, Sep 28, 2020 at 10:10:28PM -0400, Josef 'Jeff' Sipek wrote: > On Mon, Sep 28, 2020 at 18:55:51 -0500, Derek Martin wrote: > ... > > On Unix systems, at least > > for most file systems, the size of a directory is the space occupied > > by the blocks needed to hold the internal

Re: Getting more useful information in file browser - possible with maildir?

2020-09-28 Thread Josef 'Jeff' Sipek
On Mon, Sep 28, 2020 at 18:55:51 -0500, Derek Martin wrote: ... > On Unix systems, at least > for most file systems, the size of a directory is the space occupied > by the blocks needed to hold the internal representation of the > listing of the directory... Yes, the size on directories is

Re: Getting more useful information in file browser - possible with maildir?

2020-09-28 Thread Derek Martin
On Mon, Sep 28, 2020 at 06:09:49PM -0700, Kevin J. McCarthy wrote: > Yes, Olaf Hering submitted a patch in 1.10, zeroing out the directory size > for the reason you site below: > > > However the size of a directory is very likely not what you think it is, > > and is not particularly useful to

Re: Getting more useful information in file browser - possible with maildir?

2020-09-28 Thread Cameron Simpson
n the date you created them, so not much is going to change >> that. But if it reported this for the new and cur subdirs if could be useful. Very dependent on the file browser of course. Setting flags on maildir items renames then, so the directory's mod time will get a bump. Editing labe

Re: Getting more useful information in file browser - possible with maildir?

2020-09-28 Thread Kevin J. McCarthy
On Mon, Sep 28, 2020 at 06:55:51PM -0500, Derek Martin wrote: There IS size info, although it's wrong... That appears to be a bug introduced some time after 1.9.4, which I have lying around, that has it right. I also have 1.12.2 where it is wrong, so... somewhere in between. Yes, Olaf

Re: Getting more useful information in file browser - possible with maildir?

2020-09-28 Thread Derek Martin
aildir, > > > but it woud be nice to be able to improve it a bit. > > > > I'd recommend using a "maildir browser" which knows how to interpret the > > information you're looking for (and which mutt is very good at). > > > ?? I'm a bit lost here, you r

Re: Getting more useful information in file browser - possible with maildir?

2020-09-28 Thread Derek Martin
On Sat, Sep 26, 2020 at 05:02:08PM +0100, Chris Green wrote: > However there is a minor downside in the file browser (well directory > browser really isn't it), the information shown against the > directories (at the bottom level these are maildir mailboxes) is > pretty useless, what

Re: Getting more useful information in file browser - possible with maildir?

2020-09-27 Thread Ben Boeckel
On Sun, Sep 27, 2020 at 10:07:41 +0100, Chris Green wrote: > Are you using maildir? Have been from the start. I use offlineimap to sync my mail from a number of accounts and then let mutt work with those. --Ben

Re: Getting more useful information in file browser - possible with maildir?

2020-09-27 Thread Chris Green
On Sat, Sep 26, 2020 at 06:52:23PM -0400, Ben Boeckel wrote: > On Sat, Sep 26, 2020 at 21:59:43 +0100, Chris Green wrote: > > Er, um, that is what I'm using - and have been using for more years > > than I like to remember! > > Hmm. The dates I have in my folder listing seem to be "last modified"

Re: Getting more useful information in file browser - possible with maildir?

2020-09-26 Thread Ben Boeckel
On Sat, Sep 26, 2020 at 21:59:43 +0100, Chris Green wrote: > Er, um, that is what I'm using - and have been using for more years > than I like to remember! Hmm. The dates I have in my folder listing seem to be "last modified" including messages being added or removed: 0.1K Sep 26 11:55

Re: Getting more useful information in file browser - possible with maildir?

2020-09-26 Thread Chris Green
ow that. GUI browsers might be smarter, > but that hasn't been consistent IME. Not sure about terminal browsers so > much. > > > As I said 'very expensive' may not be an issue. > > Maybe there's an option to do so in whatever you are browsing? > > > ?? I'm a bit l

Re: Getting more useful information in file browser - possible with maildir?

2020-09-26 Thread Ben Boeckel
about terminal browsers so much. > As I said 'very expensive' may not be an issue. Maybe there's an option to do so in whatever you are browsing? > ?? I'm a bit lost here, you recommend a "maildir browser" and say "... > which mutt is very good at", so is mutt

Re: Getting more useful information in file browser - possible with maildir?

2020-09-26 Thread Chris Green
On Sat, Sep 26, 2020 at 01:13:11PM -0400, Ben Boeckel wrote: > On Sat, Sep 26, 2020 at 17:02:08 +0100, Chris Green wrote: > > However there is a minor downside in the file browser (well directory > > browser really isn't it), the information shown against the > > directories

Re: Getting more useful information in file browser - possible with maildir?

2020-09-26 Thread Ben Boeckel
On Sat, Sep 26, 2020 at 17:02:08 +0100, Chris Green wrote: > However there is a minor downside in the file browser (well directory > browser really isn't it), the information shown against the > directories (at the bottom level these are maildir mailboxes) is > pretty useless, what I a

Getting more useful information in file browser - possible with maildir?

2020-09-26 Thread Chris Green
As per my recent questions and (successful) report I have just moved from using mbox to maildir. I'm generally happy with the result, apart from anything else it simplifies my custom MDA script and also some other utilities. However there is a minor downside in the file browser (well directory

Re: Odd problem with filename passed to browser, underscores replace spaces

2020-06-12 Thread Chris Green
On Fri, Jun 12, 2020 at 12:41:00PM -0700, Kevin J. McCarthy wrote: > On Fri, Jun 12, 2020 at 11:53:24AM +0100, Chris Green wrote: > > I have a small script to handle PDF (among other) attachments which is > > called via mailcap. > > > > The mailcap entry is simply:- > > > >application/pdf;

Re: Odd problem with filename passed to browser, underscores replace spaces

2020-06-12 Thread Kevin J. McCarthy
On Fri, Jun 12, 2020 at 11:53:24AM +0100, Chris Green wrote: I have a small script to handle PDF (among other) attachments which is called via mailcap. The mailcap entry is simply:- application/pdf; /home/chris/bin/muttfox %s The muttfox script gives the PDF file to firefox to be viewed.

Re: Odd problem with filename passed to browser, underscores replace spaces

2020-06-12 Thread Chris Green
On Fri, Jun 12, 2020 at 11:53:24AM +0100, Chris Green wrote: > I have a small script to handle PDF (among other) attachments which is > called via mailcap. > > The mailcap entry is simply:- > > application/pdf; /home/chris/bin/muttfox %s > > The muttfox script gives the PDF file to firefox

Odd problem with filename passed to browser, underscores replace spaces

2020-06-12 Thread Chris Green
I have a small script to handle PDF (among other) attachments which is called via mailcap. The mailcap entry is simply:- application/pdf; /home/chris/bin/muttfox %s The muttfox script gives the PDF file to firefox to be viewed. This works fine *except* when there are spaces in the

Sort mailboxes vs. file browser

2016-09-06 Thread Derek Martin
Hi all, It's bugged me forever that when I set sort_browser=unsorted, so that my mailboxes are shown to me in the order I list them, Mutt also shows me file listings in the file browser unsorted. I think this is insane. Mailboxes list != file list; the two have different properties and should

Re: new mail indicator in browser view

2016-07-15 Thread Jeremy Volkening
On Fri, Jul 15, 2016 at 11:37:18PM +0200, famfop wrote: Hi, I solved it the following way. I wanted to have a "startup-mailbox" folder with unread messages. Using mairix I set up the "maildir" and "mfolder" var in the rc and now I run mairix F:-s. It's a bit hacky but it shows all unread

new mail indicator in browser view

2016-07-15 Thread Jeremy Volkening
Hello, I've been giving mutt a spin for the past few days. I like it quite a bit except for one issue I have been unable to solve: how to get the mailbox browser to properly display new message status. Platform: Debian jessie running NeoMutt (latest from git but have tried mutt from

How to display old messages (unread) in browser menu

2015-09-01 Thread Alan Leoni
Hi everybody, I'm writing to ask how to display old messages (unread) in the browser menu. In my .muttrc I've: set folder_format = "%4C [%d] %2N %2t %2f " I've no idea if it's possible and about which "code" I've to add. Thanks a lot Alan -- Alan Leoni signature.asc

Re: Exiting Mutt from browser menu

2015-09-01 Thread Joe
Hi all, I posted a replay to David message yesterday morning, but looking at mail-archive.com web site, that message is not shown... Now, I'm not sure if it's just a problem of that web site or my message was not received by any recipients of mutt-users mailing list. Anyway I can see my mail on

Re: Exiting Mutt from browser menu

2015-08-29 Thread David J. Weller-Fahy
* Joe joe.on.l...@gmail.com [2015-08-25 09:32 -0400]: 2- I'd like to isolate a whole thread from the rest of messages/threads opening it in a new clean screen containing just that thread. Same behaviour of tin newsreader: - topics of a newsgroup are listed one per line So this would be

Re: N Flags don't appear in Browser Menu

2015-08-28 Thread Joe
to be removed, indeed I tried the following: mailboxes `echo $HOME/Mail/*` This finally works!:) Now I can view N-flags properly also in browser menu. I've tested buffy-list and check-new... seems all works as expected now. So, mutt needs mailboxes command is in its rc file to consider files

Re: N Flags don't appear in Browser Menu

2015-08-28 Thread Joe
On Thursday 27.08.15 21:40, Patrick Shanahan wrote: * Joe joe.on.l...@gmail.com [08-27-15 18:41]: Hope this will be usefull to solve... Very difficult solving problems when one does not know all the parameters and doesn't have access. This information is necessary you *you* to provide

Re: N Flags don't appear in Browser Menu

2015-08-27 Thread Erik Christiansen
On 27.08.15 13:40, Joe wrote: Nothing changes... still no N-flag in browser menu... That is peculiar. Have we compared a positive buffy-check, i.e. hitting '.' and being told that there's new mail, then hitting 'y' to look for 'N's? If that is negative, please change your folder_format to put

Re: N Flags don't appear in Browser Menu

2015-08-27 Thread Joe
On Thursday 27.08.15 23:43, Erik Christiansen wrote: On 27.08.15 13:40, Joe wrote: Nothing changes... still no N-flag in browser menu... That is peculiar. Have we compared a positive buffy-check, i.e. hitting '.' and being told that there's new mail, then hitting 'y' to look for 'N's

Re: N Flags don't appear in Browser Menu

2015-08-27 Thread Patrick Shanahan
* Joe joe.on.l...@gmail.com [08-27-15 12:10]: [...] Then I ran fetchmail... And finally I've opened Mutt. Using 'push cTAB' in my muttrc, I'm directly in browser menu at mutt start up, in front of my mailboxes list contained in ~/Mail. Here I've pressed . as suggested, but nothing

Re: N Flags don't appear in Browser Menu

2015-08-27 Thread Ian Zimmerman
On 2015-08-28 00:36 +0200, Joe wrote: set folder = $HOME/Mail set spoolfile = +inbox mailboxes `echo +*` Manual section 3.14: Note The folders in the mailboxes command are resolved when the command is executed, so if these names contain shortcut characters (such as “=” and “!”),

Re: N Flags don't appear in Browser Menu

2015-08-27 Thread Joe
On Thursday 27.08.15 12:58, Patrick Shanahan wrote: * Joe joe.on.l...@gmail.com [08-27-15 12:10]: [...] Then I ran fetchmail... And finally I've opened Mutt. Using 'push cTAB' in my muttrc, I'm directly in browser menu at mutt start up, in front of my mailboxes list contained

Re: N Flags don't appear in Browser Menu

2015-08-27 Thread Patrick Shanahan
* Joe joe.on.l...@gmail.com [08-27-15 18:41]: [...] mailboxes `echo +*` Ian probably solved your problem here :) I found also following files in /etc, I don't know if they are really read by mutt at startup, anyway here they are: Explained in the very fine manual which really should be read

Re: N Flags don't appear in Browser Menu

2015-08-27 Thread Joe
On Wednesday 26.08.15 17:34, Ian Zimmerman wrote: Check the code, in buffy.c, buffy_mbox_hasnew(). It's a good deal more complicated, and there are quite a few more ways it could be messed up. Including, but maybe not limited to, the config options check_mbox_size and mail_check_recent.

Re: N Flags don't appear in Browser Menu

2015-08-27 Thread Joe
! :) Nothing changes... still no N-flag in browser menu...

Re: N Flags don't appear in Browser Menu

2015-08-26 Thread Joe
On Tuesday 25.08.15 09:43, Ian Zimmerman wrote: On 2015-08-25 17:35 +0200, Joe wrote: %N should mean: show N flag for mailboxes containing New mail messages all mailboxes are in mbox format (at now) not in maildir format. I have many mailboxes, filled using fetchmail/procmail. With

Re: N Flags don't appear in Browser Menu

2015-08-26 Thread Joe
flag when I'm in browser menu. In my ~/.muttrc I've set: --- set folder_format = %4C %t %-40f %30.30d %-10.10N set sort_browser = reverse-date --- So I expected an N flag at the end of mail.test line in browser menu. But I can just view the following line when I open Mutt browser menu: --- 1

Re: N Flags don't appear in Browser Menu

2015-08-26 Thread Jon LaBadie
new mail. --- This should mean our mail.test mailbox contains new messages and I would expect Mutt shows N flag when I'm in browser menu. In my ~/.muttrc I've set: --- set folder_format = %4C %t %-40f %30.30d %-10.10N set sort_browser = reverse-date --- So I expected an N flag

Re: N Flags don't appear in Browser Menu

2015-08-26 Thread Ian Zimmerman
is greater than the access-time the file has new mail. --- This should mean our mail.test mailbox contains new messages and I would expect Mutt shows N flag when I'm in browser menu. No, it is the opposite (as I had written correctly but you misinterpreted). When new mail is delivered

Re: N Flags don't appear in Browser Menu

2015-08-26 Thread Ian Zimmerman
. --- This should mean our mail.test mailbox contains new messages and I would expect Mutt shows N flag when I'm in browser menu. No, it is the opposite (as I had written correctly but you misinterpreted). When new mail is delivered, _both_ mtime and atime should under normal circumstances get bumped

Re: Exiting Mutt from browser menu

2015-08-25 Thread Joe
version - Mutt 1.5.23 (2014-03-12) - maybe Debian (which I am using) packages mutt with slightly different defaults. Maybe, I'm on Slackware... 1- N flags in my browser menu do not appears even if my mailboxes contain brand new messages. This is really, *really* weird. If you

Re: Exiting Mutt from browser menu

2015-08-25 Thread Kevin J. McCarthy
Joe wrote: On 24.08.15 18:09, Kevin J. McCarthy wrote: joe.on.l...@gmail.com wrote: Is there a way to quit mutt immediately when I'm in browser menu? uppercase Q is bound to quit. This will save changes to the mailbox and quit mutt. Perhaps this should work from index menu, when

Re: Exiting Mutt from browser menu

2015-08-25 Thread Francesco Ariis
am using) packages mutt with slightly different defaults. There are still a couple of things I'd like to obtain, one should be easy and the other could be not possible at all: 1- N flags in my browser menu do not appears even if my mailboxes contain brand new messages. This is really

Re: Exiting Mutt from browser menu

2015-08-25 Thread Erik Christiansen
On 25.08.15 15:29, Joe wrote: Mmmm, this differs on my machine: from browser menu I can see mailboxes in ~/Mail directory. If I type :exec exit, mutt ask me for which mailbox I want to open, doesn't switch to the last opened automatically. I have to type enter to open last seen mailbox

Re: Exiting Mutt from browser menu

2015-08-25 Thread Joe
On Wednesday 26.08.15 00:12, Erik Christiansen wrote: On 25.08.15 15:29, Joe wrote: Mmmm, this differs on my machine: from browser menu I can see mailboxes in ~/Mail directory. If I type :exec exit, mutt ask me for which mailbox I want to open, doesn't switch to the last opened

Re: N Flags don't appear in Browser Menu

2015-08-25 Thread Ian Zimmerman
On 2015-08-25 17:35 +0200, Joe wrote: %N should mean: show N flag for mailboxes containing New mail messages all mailboxes are in mbox format (at now) not in maildir format. I have many mailboxes, filled using fetchmail/procmail. With mbox, AFAIK mutt detects newness simply by comparing

N Flags don't appear in Browser Menu

2015-08-25 Thread Joe
--- Mailboxes in mbox format not maildir mailbox4 mailbox5 3- When I'm in Index Menu I can view N flags near new messages as expected... Seems N flags disappears just in browser menu. Thanks in advance!

Re: Exiting Mutt from browser menu

2015-08-25 Thread Joe
On 24.08.15 18:09, Kevin J. McCarthy wrote: joe.on.l...@gmail.com wrote: Is there a way to quit mutt immediately when I'm in browser menu? uppercase Q is bound to quit. This will save changes to the mailbox and quit mutt. Perhaps this should work from index menu, when you are within

Re: Exiting Mutt from browser menu

2015-08-25 Thread Joe
On 25.08.15 02:19, Francesco Ariis wrote: macro browser q exitquit This doesn't work for me... When I press q mutt says something like: change to folder quit ? And if I press enter it says obviously that quit mailbox doesn't exists... Anyway this macro doesn't quit mutt at all

Re: Exiting Mutt from browser menu

2015-08-25 Thread Francesco Ariis
On Tue, Aug 25, 2015 at 11:33:32AM +0200, Joe wrote: On 25.08.15 02:19, Francesco Ariis wrote: macro browser q exitquit This doesn't work for me... When I press q mutt says something like: change to folder quit ? And if I press enter it says obviously that quit mailbox

Re: Exiting Mutt from browser menu

2015-08-25 Thread Joe
On 25.08.15 13:18, Francesco Ariis wrote: The browser menu is the one where all mailboxes/folders are listed. From there: - I type :exec exit and mutt returns to the last mailbox opened Mmmm, this differs on my machine: from browser menu I can see mailboxes in ~/Mail directory. If I

Re: Exiting Mutt from browser menu

2015-08-24 Thread Francesco Ariis
On Tue, Aug 25, 2015 at 01:23:04AM +0200, joe.on.l...@gmail.com wrote: Hi all, Is there a way to quit mutt immediately when I'm in browser menu? Thanks in advance! Regards Ciao Joe, macro browser q exitquit will this do?

Exiting Mutt from browser menu

2015-08-24 Thread joe . on . list
Hi all, Is there a way to quit mutt immediately when I'm in browser menu? Thanks in advance! Regards

Re: Exiting Mutt from browser menu

2015-08-24 Thread Kevin J. McCarthy
joe.on.l...@gmail.com wrote: Is there a way to quit mutt immediately when I'm in browser menu? uppercase Q is bound to quit. This will save changes to the mailbox and quit mutt. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA http://www.8t8.us/configs

Re: What does check-new in browser menu actually do?

2015-06-18 Thread Ian Zimmerman
At the risk of following up to myself (one foot in internet hell!), having done another little investigation, here's what I found. The code responsible for the check-new command is in browser.c, in functions _mutt_select_file (public) and examine_mailboxes (static). examine_mailboxes ultimately

What does check-new in browser menu actually do?

2015-06-14 Thread Ian Zimmerman
I often spend lots of time in the browser view, in fact it is my default interface to mutt. When I get bored I hit the check-new key combo. I think I have never once seen new mail detected that way, though. When I get _really_ bored I hit the y key to return to the index of the last mailbox I

Re: File browser oddity

2015-06-08 Thread Ian Zimmerman
On 2015-06-07 17:23 -0700, Ian Zimmerman wrote: Ian When I start the file browser view explicitly, either by hitting Ian the y key or by passing -y on the shell command line, it comes up Ian in the mailboxes only submode, i.e. things like my header cache Ian directory are hidden. (They can

Re: File browser oddity

2015-06-08 Thread Kevin J. McCarthy
Ian Zimmerman wrote: On 2015-06-07 17:23 -0700, Ian Zimmerman wrote: Ian When I start the file browser view explicitly, either by hitting Ian the y key or by passing -y on the shell command line, it comes up Ian in the mailboxes only submode, i.e. things like my header cache Ian directory

Re: File browser oddity

2015-06-08 Thread Kevin J. McCarthy
Kevin J. McCarthy wrote: Ian Zimmerman wrote: On 2015-06-07 17:23 -0700, Ian Zimmerman wrote: Ian When I start the file browser view explicitly, either by hitting Ian the y key or by passing -y on the shell command line, it comes up Ian in the mailboxes only submode, i.e. things like

Re: File browser oddity

2015-06-08 Thread Kevin J. McCarthy
pushed it without entertaining any feedback first. :-) Also, the file browser didn't even work if no mailboxes were defined. I've changed it to not abort and display an empty list, but this could still be confusing to newish users, or even users who define no mailboxes and for whom it just worked

Re: File browser oddity

2015-06-08 Thread Ian Zimmerman
On 2015-06-08 15:55 -0700, Kevin J. McCarthy wrote: Kevin After looking and thinking this through, it may be somewhat Kevin controversial to make this change. I've made a couple Kevin modifications and will mail the patch to mutt-dev, but really Kevin need more feedback before I consider pushing

File browser oddity

2015-06-07 Thread Ian Zimmerman
When I start the file browser view explicitly, either by hitting the y key or by passing -y on the shell command line, it comes up in the mailboxes only submode, i.e. things like my header cache directory are hidden. (They can be shown by activating the toggle-mailboxes function, bound to Tab

Re: display html email in browser?

2015-04-29 Thread Michael Tatge
* On Tue, Apr 28, 2015 12:09PM -0400 Peter P. (peterpar...@fastmail.com) muttered: Is there a way to have an html email rendered and displayed in a browser window? There used to be a page about that in the mutt wiki (wiki.mutt.org) though I cannot find it right now. In short: ~/.muttrc # i

Re: display html email in browser?

2015-04-29 Thread Peter P.
* Michael Tatge tatg...@gmail.com [2015-04-29 03:32]: * On Tue, Apr 28, 2015 12:09PM -0400 Peter P. (peterpar...@fastmail.com) muttered: Is there a way to have an html email rendered and displayed in a browser window? There used to be a page about that in the mutt wiki (wiki.mutt.org

Re: display html email in browser?

2015-04-28 Thread Francesco Ariis
On Tue, Apr 28, 2015 at 12:09:34PM -0400, Peter P. wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? Hello Peter, once opened the message, press 'v' (view-attachments) and then select the .html one and press enter, that should

Re: display html email in browser?

2015-04-28 Thread Peter P.
* Francesco Ariis fa...@ariis.it [2015-04-28 12:47]: On Tue, Apr 28, 2015 at 12:09:34PM -0400, Peter P. wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? Hello Peter, once opened the message, press 'v' (view-attachments

display html email in browser?

2015-04-28 Thread Peter P.
Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? I tried saving the html message part to disk and opened that file, but there was no formatting, and some symbols were wrong. Motivation: Wanting to print a few html emails in their original

Re: display html email in browser?

2015-04-28 Thread Grant Edwards
On 2015-04-28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-04-28, Grant Edwards grant.b.edwa...@gmail.com wrote: Yep. What many of us do is use w3m to view inside mutt, and then define a 'print' command to view it externally: text/html; w3m -T text/html -dump; copiousoutput;

Re: display html email in browser?

2015-04-28 Thread Grant Edwards
On 2015-04-28, Grant Edwards grant.b.edwa...@gmail.com wrote: Yep. What many of us do is use w3m to view inside mutt, and then define a 'print' command to view it externally: text/html; w3m -T text/html -dump; copiousoutput; print = firefoxurl %s; Uh, in case your crystal ball was broken,

Re: display html email in browser?

2015-04-28 Thread Peter Davis
Peter P. peterpar...@fastmail.com writes: * Francesco Ariis fa...@ariis.it [2015-04-28 12:47]: On Tue, Apr 28, 2015 at 12:09:34PM -0400, Peter P. wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? Hello Peter, once opened

Re: display html email in browser?

2015-04-28 Thread Francesco Ariis
; description=HTML Text; nametemplate=%s.html as the corresponding mailcap entry. I wonder if I could pipe the html message part to the browser. The way I did it, typing | and specifying firefox as the program to pipe it to, did not really render it nicely. Mhhh I am a puzzled on why saving

Re: display html email in browser?

2015-04-28 Thread Grant Edwards
On 2015-04-28, Peter P. peterpar...@fastmail.com wrote: * Francesco Ariis fa...@ariis.it [2015-04-28 12:47]: On Tue, Apr 28, 2015 at 12:09:34PM -0400, Peter P. wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? Hello Peter

Re: display html email in browser?

2015-04-28 Thread Larry Hynes
On 2015-04-28, Peter P. peterpar...@fastmail.com wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? I tried saving the html message part to disk and opened that file, but there was no formatting, and some symbols were wrong. I use

Re: How to prevent file disappearing before browser sees it?

2015-01-23 Thread Chris Green
On Fri, Jan 23, 2015 at 11:14:52AM -0500, Jon LaBadie wrote: On Fri, Jan 23, 2015 at 11:56:19AM +, Chris Green wrote: On Fri, Jan 23, 2015 at 01:41:57AM -0600, David Champion wrote: * On 23 Jan 2015, Gary Johnson wrote: #!/bin/sh COPY=$1.firefox.html ln $1

Re: How to prevent file disappearing before browser sees it?

2015-01-23 Thread David Champion
* On 23 Jan 2015, Jon LaBadie wrote: You should be able to remove it in the script that copies it and starts firefox. If more than a process has a file open and the file is removed, only the directory entry is deleted. The inode and data blocks not freed until the last close is done. So

Re: How to prevent file disappearing before browser sees it?

2015-01-23 Thread Chris Green
On Thu, Jan 22, 2015 at 04:56:35PM -0600, David Champion wrote: * On 22 Jan 2015, Chris Green wrote: [snip excellent explanation and solution] While I'm about it how do the two text/html entries in .mailcap work so that lynx is used by default but 'v' takes me to firefox? I would think

Re: How to prevent file disappearing before browser sees it?

2015-01-23 Thread Chris Green
On Fri, Jan 23, 2015 at 01:41:57AM -0600, David Champion wrote: * On 23 Jan 2015, Gary Johnson wrote: #!/bin/sh COPY=$1.firefox.html ln $1 $COPY /usr/bin/firefox $COPY I'm surprised that linking works because it used to be that mutt overwrote the temporary file

Re: How to prevent file disappearing before browser sees it?

2015-01-23 Thread Jon LaBadie
On Fri, Jan 23, 2015 at 11:56:19AM +, Chris Green wrote: On Fri, Jan 23, 2015 at 01:41:57AM -0600, David Champion wrote: * On 23 Jan 2015, Gary Johnson wrote: #!/bin/sh COPY=$1.firefox.html ln $1 $COPY /usr/bin/firefox $COPY I'm surprised

How to prevent file disappearing before browser sees it?

2015-01-22 Thread Chris Green
I usually automatically turn HTML mails into text using lynx and view them in the mutt pager but occasionally I view them in Firefox by hitting 'v' and then enter against the HTML part of the message. Thus my .muttrc file has:- auto_view text/html ... and my mailcap has:- text/html;

Re: How to prevent file disappearing before browser sees it?

2015-01-22 Thread David Champion
* On 22 Jan 2015, Chris Green wrote: The trouble is I'm frequently seeing the temporary HTML file saved by mutt disappearing before firefox gets to see it, why does this happen sometimes (almost all the time now)? It used to work OK. I have just moved to a faster computer, would this affect

Re: How to prevent file disappearing before browser sees it?

2015-01-22 Thread Gary Johnson
On 2015-01-22, David Champion wrote: To solve this you need a wrapper script around Firefox. The wrapper will take the file content from $1 and save it somehow for Firefox, so that mutt may delete the original. There are various techniques for this. I personally like the approach of

Re: How to prevent file disappearing before browser sees it?

2015-01-22 Thread David Champion
* On 23 Jan 2015, Gary Johnson wrote: #!/bin/sh COPY=$1.firefox.html ln $1 $COPY /usr/bin/firefox $COPY I'm surprised that linking works because it used to be that mutt overwrote the temporary file with 0s before deleting it. I thought it still did, but I don't know

Re: Viewing HTML in a real browser

2015-01-01 Thread Nuno J. Silva (aka njsg)
On 2013-12-14, Chris Down ch...@chrisdown.name wrote: Occasionally I get complex HTML e-mails that don't quite work in w3m (which is what I have in my mailcap to view text/html). In these instances, I would like to be able to somehow view these in my browser. Right now my procedure

Re: charset in html in external browser

2015-01-01 Thread Orm Finnendahl
Hi Christian, Am Sonntag, den 28. Dezember 2014 um 09:25:27 Uhr (+) schrieb Christian Ebert: Images should be displayed, and do so for me[tm] - unless one uses the --safe option where remotely loaded images are not. I'd need an example HTML message to check. everything ist ok, it was

  1   2   3   4   >