mutt message

Arnout Couperus llhorian at
Thu Jan 11 08:25:54 PST 2001

I'm having some trouble with mutt. Or rather, it works fine, there's just one message that keeps turning up.

I get the following (error) message when I change to a folder with new e-mails in mutt:
Invalid preceding regular expression.

It's probably some error in the .muttrc file but I don't know what it indicates. Did I give a variable a wrong value or did I put somethings in the wrong order or something? It doesn't really cause any major problems it's just that whenever I go to another folder with new mail it'll show that message for 1 or 2 seconds, which is really annoying.

I'll include my .muttrc file, maybe one of you can see the problem and help me.

-------------- next part --------------
# System configuration file for Mutt

# Alias file to source
source ~/.muttalias

# default list of header fields to weed when displaying
ignore "from " received content- mime-version status x-status message-id
ignore precedence x-accept-language delivered-to sender references return-path lines
ignore x-listar-version errors-to x-comment x-listprocessor x-http-proxy x-flags
ignore x-original-sender x-unsub in-reply-to x-mimeole x-msmail-priority
ignore x-authentication-warning resent-date resent-message-id resent-from
ignore resent-sender x-mailing-list mail-followup-to x-namezero

# emacs-like bindings
bind editor    "\e<delete>"    kill-word
bind editor    "\e<backspace>" kill-word

# map delete-char to a sane value
bind editor     <delete>  delete-char

# Message editor is vim
set editor="vim -c '/^$/+1'"

# Don't prompt for deletion
set delete=yes

# Keep copies of outgoing messages
set copy

# Disable annoying beeps
unset beep
unset beep_new

# Ask for cc's before editing
set askcc

# Ask for abort if msg has not been modified
set abort_unmodified=ask-yes

# Apply operation to all tagged messages
set auto_tag

# Mail folders directory
set folder=/home/llhorian/Mail

# Subject line of forwarded messages
set forward_format="[Fwd] %s"

# Long history
set history=80

# Ask to include message in reply, default to yes
set include=ask-yes

# Remove my address from list when replying to multiple recipients
unset metoo

# Move read messages
set move=yes

# The name messages appear to be from
set realname="Arnout Couperus"

# Save postponed messages in this folder
set postponed=+drafts

# Command for printing
set print_command="muttprint"

# Ask before quitting
set quit=ask-yes

# Save outgoing messages in this folder
set record=+sent

# Read messages go here
set mbox=+received

# Carry one line over to next screen of text
set pager_context=1

# Highlight arrow instead of whole line
set arrow_cursor

# Remove empty mail folders
unset save_empty

# More 'reply' prefixes (will be removed for threading)
set reply_regexp="^((re(\\^[0-9])? ?:|a(nt)?w(ort)?:|\\(fwd\\))[ \t]+)*"

# Special characters which do not indicate quoted text
set smileys="(>From )|(>?[;:][-^]?[][)(><}{|/DP][)}]*)"

set attribution="On the daye of %d, %n defied the Gods crying:"

# Check here for new mail
mailboxes /var/spool/mail/llhorian
mailboxes /home/llhorian/Mail/IN.debian 
mailboxes /home/llhorian/Mail/IN.lfs
mailboxes /home/llhorian/Mail/IN.skipstone

# Default method of sorting
folder-hook . set sort=threads

# Sort personal mail by date received and outgoing mail by date sent
folder-hook /var/spool/mail/llhorian set sort=date-received
folder-hook =sent set sort=date-sent

# Save messages according to folder
folder-hook IN.lfs save-hook * =lfs-apps
folder-hook IN.debian save-hook * =debian
folder-hook IN.skipstone save-hook * =skipstone

# Mailing lists
subscribe lfs-apps lfs-discuss lfs-config
subscribe debian debian-security
subscribe skipstone

# Attachment Handling
auto_view text/html text/enriched text/x-vcard application/x-zip-compressed
alternative_order text/plain text/html

# some people actually like these settings
#set pager_stop
#bind pager <up> previous-line
#bind pager <down> next-line

# don't add the hostname to the From header
unset use_domain
# don't generate a From header
unset use_from

# Exim does not removes Bcc headers
unset write_bcc
# Postfix and qmail uses Delivered-To for detecting loops
unset bounce_delivered

# weed out binary-only announcements to -devel-changes
#macro index \CW T!~s\(.*source.*\)\nWn^T~A\n "Weed out binary-only announcements"

# -- Everything below here is fine as it is. Don't change it.

# imitate the old search-body function
macro index \eb '/~b ' 'search in message bodies'

# simulate the old url menu
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

# Show documentation when pressing F1
macro generic <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"
macro index   <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"
macro pager   <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"

# If Mutt is unable to determine your site's domain name correctly, you can
# set the default here.
# set

# If your sendmail supports the -B8BITMIME flag, enable the following
# set use_8bitmime

# colors
color hdrdefault cyan default
color quoted   green default
color signature        cyan default
color attachment brightyellow default
color indicator black cyan
#color indicator brightblack cyan      # nicer in reverse-color xterms
color status   brightgreen blue
color tree     red default
color markers  brightred default
color tilde    blue default
color header   brightgreen default ^From:
color header   brightcyan default ^To:
color header   brightcyan default ^Reply-To:
color header   brightcyan default ^Cc:
color header   brightblue default ^Subject:
color body     brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color body     brightblue default (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+

# aliases for broken MUAs
charset-hook US-ASCII     ISO-8859-1
charset-hook x-unknown    ISO-8859-1
charset-hook windows-1250 CP1250
charset-hook windows-1251 CP1251
charset-hook windows-1252 CP1252
charset-hook windows-1253 CP1253
charset-hook windows-1254 CP1254
charset-hook windows-1255 CP1255
charset-hook windows-1256 CP1256
charset-hook windows-1257 CP1257
charset-hook windows-1258 CP1258

## More settings

# GnuPG configuration
set pgp_sign_micalg=pgp-sha1 # default for DSS keys
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" 
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" 
set pgp_getkeys_command=""

More information about the blfs-support mailing list