Tech /

Mutt





edit SideBar

Mutt

Mutt Notes

Requirements

  • fast
  • works offline

Optional

  • synchronizes message status

Performance Tuning

http://durak.org/sean/pubs/software/mutt/tuning.html

Indexing speed

Update read progress only every 1000 messages

set read_inc=1000

Goobook

muttrc

set query_command="goobook -c ~/.pim/markferry.net/goobookrc query '%s'"

Shortcuts

Mark all as read

T ~N  # tag all matching New
; N   # toggle N
^T ~T # untag matching Tagged

VCAL

http://nickmurdoch.livejournal.com/391409.html

sudo apt-get install ruby1.9.3
sudo gem1.9.3 install -v 1.5.4 icalendar"
#!/usr/bin/env ruby

require "rubygems" # apt-get install rubygems
require "icalendar" # gem install icalendar
require "date"

class DateTime
  def myformat
    (self.offset == 0 ? (DateTime.parse(self.strftime("%a %b %d %Y, %H:%M ") + self.icalendar_tzid)) : self).
        new_offset(Rational(Time.now.utc_offset - 60*60, 24*60*60)).strftime("%a %b %d %Y, %H:%M")
        # - 60*60 to compensate for icalendar gem/Outlook mismatch
  end
end

cals = Icalendar.parse($<)
cals.each do |cal|
  cal.events.each do |event|
    puts "Organizer: #{event.organizer}"
    puts "Event:     #{event.summary}"
    puts "Starts:    #{event.dtstart.myformat} local time"
    puts "Ends:      #{event.dtend.myformat}"
    puts "Location:  #{event.location}"
    puts "Contact:   #{event.contacts}"
    puts "Description:\n#{event.description}"
    puts ""
    end
end
 

.mailcap:

text/calendar; icalview.rb; copiousoutput

.mutt/ical:

auto_view text/calendar

Doesn't seem to overcome Outlook timezone craziness.

HTML e-mail

~/.mutt/muttrc:

auto_view text/html                                      # view html automatically
alternative_order text/plain text/enriched text/html     # save html for last

~/.mailcap:

text/html; w3m -I %{charset} -T text/html; copiousoutput;
Recent Changes (All) | Edit SideBar Page last modified on 09 March 2016, at 03:31 PM UTC Edit Page | Page History
Powered by PmWiki