Mutt 1.5.15, sidebar patch, rpmbuild
Wednesday, May 23rd, 2007Craving more mutt functionality I was enticed by the mutt sidebar patch[1]. Instructions appeared simple enough, but it required a rebuild of mutt so I took the opportunity to build[2] an rpm. Having only made a few rpms in the past and wanting to do it in a manner that conforms with best practices, I used one of Josh’s spec files as an example. Red Hat’s How To documentation[3] was also helpful, although probably quite dated.
After building & installing mutt I appended the following to my .muttrc.
# Sidebar settings
set sidebar_width=20
set sidebar_visible=yes
set sidebar_delim=' '
color sidebar_new yellow default
macro index b 'toggle sidebar_visible'
macro pager b 'toggle sidebar_visible'
bind index K sidebar-prev
bind pager K sidebar-prev
bind index J sidebar-next
bind pager J sidebar-next
bind index O sidebar-open
bind pager O sidebar-open
bind index B bounce-message
I like the sidebar a lot, we’ll see how long it lasts.
[1]http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
[2]mutt-1.5.15-mtu.1.spec
[3]http://www.rpm.org/RPM-HOWTO/build.html