☰
Current Page
Main Menu
Home
Home
Editing
Mutt
Edit
Preview
h1
h2
h3
Keybinding
default
vim
emacs
Markup
Markdown
Plain Text
Pod
RDoc
reStructuredText
AsciiDoc
BibTeX
Creole
MediaWiki
Org-mode
Textile
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
--- title: 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" ```ruby #!/usr/bin/env ruby require "rubygems" # apt-get install rubygems require "icalendar" # gem install icalendar require "date" class DateTime def myformat (self.offset == ? (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; [1]: Mutt?action=sourceblock&num=1 [2]: Mutt?action=sourceblock&num=2
Uploading file...
Sidebar
# SideBar * [Home][1] * [Projects][2] * * * <!-- --> * [Code][3] * [Tech][4] * [Network][5] * [MediaCentre][6] * [UAV][7] * * * <!-- --> * [Travel][8] * [Music][9] * [Horse Riding][10] * [Study][11] * [Games][12] * [Other Activities][13] * * * <!-- --> * [Car][14] * [House][15] * [Watch][16] * [Clothing][17] * [Miscellany][18] * * * [1]: /Home [2]: /Projects [3]: /Code/Code [4]: /Tech/Tech [5]: /Network/Network [6]: /MediaCentre/MediaCentre [7]: /UAV/UAV [8]: /Travel/Travel [9]: /Music/Music [10]: /HorseRiding/HorseRiding [11]: /Study/Study [12]: /Games/Games [13]: /Do/Do [14]: /Car/Car [15]: /House/House [16]: /Watch/Watch [17]: /Clothing/Clothing [18]: /Miscellany/Miscellany
Edit message:
Cancel