From 8208904004536f5914d99855dea159c1a7c2355a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 5 May 2008 09:55:27 +0100 Subject: [PATCH 01/16] hardcode pager_index_lines=5 for all --- .mutt/muttrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.mutt/muttrc b/.mutt/muttrc index abfdb07..d02c553 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -2003,6 +2003,7 @@ set pager_context=2 # is less than pager_index_lines, then the index will only use as # many lines as it needs. # +set pager_index_lines=5 # # set pager_stop=no # -- 2.39.2 From a90e989df8f50efce0f8df30d3b68c9e73e386a4 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 5 May 2008 10:20:37 +0100 Subject: [PATCH 02/16] read mailboxes without the massive ones --- .mutt/muttrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index d02c553..87d7502 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -4443,5 +4443,5 @@ source $my_confdir/lists source $my_confdir/spam source $my_confdir/hooks -#set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` -#source $my_mailboxes +set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` +source $my_mailboxes -- 2.39.2 From 862b6fb47f513616452e93e5f6163ca359a83f65 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 9 May 2008 14:48:57 +0200 Subject: [PATCH 03/16] ensure header_cache as directory --- .var/mutt/.gitignore | 3 +-- .var/mutt/header_cache/.gitignore | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .var/mutt/header_cache/.gitignore diff --git a/.var/mutt/.gitignore b/.var/mutt/.gitignore index 120f485..c375d5b 100644 --- a/.var/mutt/.gitignore +++ b/.var/mutt/.gitignore @@ -1,2 +1 @@ -* -!/.gitignore +history diff --git a/.var/mutt/header_cache/.gitignore b/.var/mutt/header_cache/.gitignore new file mode 100644 index 0000000..78d9101 --- /dev/null +++ b/.var/mutt/header_cache/.gitignore @@ -0,0 +1,2 @@ +/* +!.gitignore -- 2.39.2 From 759468168055d9c5507b174456f07cfb34dc91de Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 9 May 2008 13:51:08 +0100 Subject: [PATCH 04/16] smarter ignore --- .var/mutt/.gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.var/mutt/.gitignore b/.var/mutt/.gitignore index c375d5b..e9ca160 100644 --- a/.var/mutt/.gitignore +++ b/.var/mutt/.gitignore @@ -1 +1,3 @@ -history +/* +!/.gitignore +!/header_cache -- 2.39.2 From a3a2e59a9cb6ad1bf4b2397d91cfebd7b00a0c31 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 9 May 2008 14:03:27 +0100 Subject: [PATCH 05/16] fail gracefully in the absense of the aliases file --- .mutt/muttrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index 87d7502..35915bc 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -34,8 +34,6 @@ set my_confdir="~/.mutt" # Type: path # Default: "~/.muttrc" # -set alias_file="$my_confdir/aliases" -source $my_confdir/aliases # # The default file in which to save aliases created by the # ``create-alias'' function. @@ -4445,3 +4443,8 @@ source $my_confdir/hooks set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` source $my_mailboxes + +# this sucks a bit since we hardcode ~/.mutt instead of using $my_confdir, but +# apparently we can't expand that mutt variable for the subshell... +set alias_file = `ls ~/.mutt/aliases 2>/dev/null || echo /dev/null` +source $alias_file -- 2.39.2 From 5089b3ee80379f6a88a14fb4c091d02c244a9cbd Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 9 May 2008 14:27:10 +0100 Subject: [PATCH 06/16] properly handle absent aliases files --- .mutt/muttrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index 35915bc..84260b1 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -4444,7 +4444,5 @@ source $my_confdir/hooks set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` source $my_mailboxes -# this sucks a bit since we hardcode ~/.mutt instead of using $my_confdir, but -# apparently we can't expand that mutt variable for the subshell... -set alias_file = `ls ~/.mutt/aliases 2>/dev/null || echo /dev/null` -source $alias_file +set alias_file="$my_confdir/aliases" +source "test -f $alias_file && cat $alias_file || echo unset alias_file|" -- 2.39.2 From a586e58a0608c11613d011e5e17e249d1433f805 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 9 May 2008 14:40:42 +0100 Subject: [PATCH 07/16] do not display error if alias file missing --- .mutt/muttrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index 84260b1..6933157 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -4445,4 +4445,4 @@ set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/nul source $my_mailboxes set alias_file="$my_confdir/aliases" -source "test -f $alias_file && cat $alias_file || echo unset alias_file|" +source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|" -- 2.39.2 From f015f4435264051c8a0b5f44c36f8587d26d443f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 12 May 2008 12:48:24 +0100 Subject: [PATCH 08/16] do not hardcode tmpdir --- .mutt/muttrc | 1 - 1 file changed, 1 deletion(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index 6933157..4cbf0b5 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -4139,7 +4139,6 @@ set thorough_search=yes # this variable is not set, the environment variable TMPDIR is # used. If TMPDIR is not set then "/tmp" is used. # -set tmpdir="~/.tmp" # # set to_chars=" +TCFL" # -- 2.39.2 From 341bd6ce5893da21a65c8e0fd6fc3970d09308b8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 12 May 2008 12:48:34 +0100 Subject: [PATCH 09/16] add keybinding to print to file --- .mutt/keybindings | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.mutt/keybindings b/.mutt/keybindings index f2a5312..2126b16 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -1,6 +1,7 @@ bind index,pager | pipe-message bind index,pager ! flag-message -bind index,pager \ep print-message +macro index,pager \ep "muttprint -p TO_FILE:$tmpdir/muttprint.ps -D && gv $tmpdir/muttprint.ps && rm $tmpdir/muttprint.ps" +bind index,pager \eP print-message bind index,pager previous-entry bind index,pager next-entry bind index,pager p previous-undeleted -- 2.39.2 From eb458ce8c75b5aed3835bebfc17640ec0946ff16 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 12 May 2008 13:30:49 +0100 Subject: [PATCH 10/16] set spoolfile to =inbox --- .mutt/muttrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.mutt/muttrc b/.mutt/muttrc index 4cbf0b5..fd09d3d 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -3927,6 +3927,7 @@ set sort_aux=last-date-received # automatically set this variable to the value of the environment # variable $MAIL if it is not set. # +set spoolfile="=inbox" # # set status_chars="-*%A" # -- 2.39.2 From 0d3bd369f791c7121bf6dcbe3077f2381335cc54 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 12 May 2008 13:40:41 +0100 Subject: [PATCH 11/16] import new defaults and comments from sample Muttrc --- .mutt/muttrc | 130 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 100 insertions(+), 30 deletions(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index fd09d3d..883baa7 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -205,6 +205,10 @@ set my_confdir="~/.mutt" # (please see the ``attachments'' section for possible speed effects) # %>X right justify the rest of the string and pad with character "X" # %|X pad to the end of the line with character "X" +# %*X soft-fill with character "X" as pad +# +# +# For an explanation of `soft-fill', see the ``$index_format'' documentation. # # # set attach_sep="\n" @@ -357,6 +361,7 @@ set beep=no # # # Character set your terminal uses to display and enter textual data. +# It is also the fallback for $send_charset. # # # set check_new=yes @@ -647,9 +652,6 @@ set delete=yes # Default: "" # # -# Note: you should not enable this unless you are using Sendmail -# 8.8.x or greater. -# # This variable sets the request for when notification is returned. The # string consists of a comma separated list (no spaces!) of one or more # of the following: never, to never request notification, @@ -659,6 +661,12 @@ set delete=yes # # Example: set dsn_notify="failure,delay" # +# Note: when using $sendmail for delivery, you should not enable +# this unless you are either using Sendmail 8.8.x or greater or a MTA +# providing a sendmail(1)-compatible interface supporting the -N option +# for DSN. For SMTP delivery, it depends on the server whether DSN is +# supported or not. +# # # set dsn_return="" # @@ -667,15 +675,18 @@ set delete=yes # Default: "" # # -# Note: you should not enable this unless you are using Sendmail -# 8.8.x or greater. -# # This variable controls how much of your message is returned in DSN # messages. It may be set to either hdrs to return just the # message header, or full to return the full message. # # Example: set dsn_return=hdrs # +# Note: when using $sendmail for delivery, you should not enable +# this unless you are either using Sendmail 8.8.x or greater or a MTA +# providing a sendmail(1)-compatible interface supporting the -R option +# for DSN. For SMTP delivery, it depends on the server whether DSN is +# supported or not. +# # # set duplicate_threads=yes # @@ -829,6 +840,10 @@ set folder="~/mail" # %u owner name (or numeric uid, if missing) # %>X right justify the rest of the string and pad with character "X" # %|X pad to the end of the line with character "X" +# %*X soft-fill with character "X" as pad +# +# +# For an explanation of `soft-fill', see the ``$index_format'' documentation. # # # set followup_to=yes @@ -930,8 +945,7 @@ set folder="~/mail" # is unset. # # Defaults to the contents of the environment variable EMAIL. -# -set from='martin f krafft ' +# # # set gecos_mask="^[^,]*" # @@ -1107,9 +1121,20 @@ set history_file="~/.var/mutt/history" # Default: "" # # -# Specifies the hostname to use after the ``@'' in local e-mail -# addresses. This overrides the compile time definition obtained from -# /etc/resolv.conf. +# Specifies the fully-qualified hostname of the system mutt is running on +# containing the host's name and the DNS domain it belongs to. It is used +# as the domain part (after ``@'') for local email addresses as well as +# Message-Id headers. +# +# Its value is determined at startup as follows: If the node's name +# as returned by the uname(3) function contains the hostname and the +# domain, these are used to construct $hostname. If there is no +# domain part returned, Mutt will look for a ``domain'' or ``search'' +# line in /etc/resolv.conf to determine the domain. Optionally, Mutt +# can be compiled with a fixed domain name in which case a detected +# one is not used. +# +# Also see ``$use_domain'' and ``$hidden_host''. # # Note: On Debian systems, the default for this variable is obtained # from /etc/mailname when Mutt starts. @@ -1135,7 +1160,8 @@ set history_file="~/.var/mutt/history" # # # Affects the behaviour of the reply function when replying to -# messages from mailing lists. When set, if the ``Reply-To:'' field is +# messages from mailing lists (as defined by the ``subscribe'' or +# ``lists'' commands). When set, if the ``Reply-To:'' field is # set to the same value as the ``To:'' field, Mutt assumes that the # ``Reply-To:'' field was set by the mailing list to automate responses # to the list, and will ignore this field. To direct a response to the @@ -1376,6 +1402,9 @@ set include=yes # message to which you are replying. You are strongly encouraged not to # change this value, as it tends to agitate the more fanatical netizens. # +# This option is a format string, please see the description of +# ``$index_format'' for supported printf()-style sequences. +# # # set index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" # @@ -1403,7 +1432,7 @@ set include=yes # ``date_format'' converted to the local time zone # %e current message number in thread # %E number of messages in current thread -# %f entire From: line (address + real name) +# %f sender (address + real name), either From: or Return-Path: # %F author name, or recipient name if the message is from you # %H spam attribute(s) of this message # %i message-id of the current message @@ -1445,7 +1474,19 @@ set include=yes # function ``strftime''; a leading bang disables locales. # %>X right justify the rest of the string and pad with character "X" # %|X pad to the end of the line with character "X" +# %*X soft-fill with character "X" as pad +# +# +# `Soft-fill' deserves some explanation. Normal right-justification +# will print everything to the left of the %>, displaying padding and +# the whatever lies to the right only if there's room. By contrast, +# soft-fill gives priority to the right-hand side, guaranteeing space +# to display it and showing padding only if there's still room. If +# necessary, soft-fill will eat text leftwards to make room for +# rightward text. # +# Note that these expandos are supported in +# ``save-hook'', ``fcc-hook'' and ``fcc-save-hook'', too. # # See also: ``$to_chars''. # @@ -1969,11 +2010,11 @@ set narrow_tree=yes # set pager_context=2 # -# set pager_format="-%Z- %C/%m: %-20.20n %s%> -- (%P)" +# set pager_format="-%Z- %C/%m: %-20.20n %s%* -- (%P)" # # Name: pager_format # Type: string -# Default: "-%Z- %C/%m: %-20.20n %s%> -- (%P)" +# Default: "-%Z- %C/%m: %-20.20n %s%* -- (%P)" # # # This variable controls the format of the one-line message ``status'' @@ -3121,7 +3162,8 @@ set pipe_decode # # # Controls whether or not messages are saved in the ``$postponed'' -# mailbox when you elect not to send immediately. +# mailbox when you elect not to send immediately. Also see the +# ``$recall'' variable. # # # set postponed="~/postponed" @@ -3443,8 +3485,7 @@ set reply_regexp="^((re([[(]?[[:digit:]]+[)]]?)?|aw|antwort|wg|sgkb):[[:space:]] # alternates. If the variable is unset, or the address that would be # used doesn't match your alternates, the From: line will use # your address on the current machine. -# -set reverse_name=yes +# # # set reverse_realname=yes # @@ -3596,7 +3637,7 @@ set save_history=100 # Default: "us-ascii:iso-8859-1:utf-8" # # -# A list of character sets for outgoing messages. Mutt will use the +# A colon-delimited list of character sets for outgoing messages. Mutt will use the # first character set into which the text can be converted exactly. # If your ``$charset'' is not iso-8859-1 and recipients may not # understand UTF-8, it is advisable to include in the list an @@ -3604,6 +3645,9 @@ set save_history=100 # iso-8859-2, koi8-r or iso-2022-jp) either instead of or after # "iso-8859-1". # +# In case the text cannot be converted into one of these exactly, +# mutt uses ``$charset'' as a fallback. +# # # set sendmail="/usr/sbin/sendmail -oem -oi" # @@ -3983,7 +4027,10 @@ set spoolfile="=inbox" # %V currently active limit pattern, if any * # %>X right justify the rest of the string and pad with "X" # %|X pad to the end of the line with "X" +# %*X soft-fill with character "X" as pad +# # +# For an explanation of `soft-fill', see the ``$index_format'' documentation. # # * = can be optionally printed if nonzero # @@ -4115,6 +4162,20 @@ set thorough_search=yes # screen with a tilde (~). # # +# set time_inc=0 +# +# Name: time_inc +# Type: number +# Default: 0 +# +# +# Along with ``read_inc'', ``write_inc'', and ``net_inc'', this +# variable controls the frequency with which progress updates are +# displayed. It suppresses updates less than ``time_inc'' milliseconds +# apart. This can improve throughput on systems with slow terminals, +# or when running mutt on a remote system. +# +# # set timeout=600 # # Name: timeout @@ -4122,10 +4183,17 @@ set thorough_search=yes # Default: 600 # # -# This variable controls the number of seconds Mutt will wait -# for a key to be pressed in the main menu before timing out and -# checking for new mail. A value of zero or less will cause Mutt -# to never time out. +# When Mutt is waiting for user input either idleing in menus or +# in an interactive prompt, Mutt would block until input is +# present. Depending on the context, this would prevent certain +# operations from working, like checking for new mail or keeping +# an IMAP connection alive. +# +# This variable controls how many seconds Mutt will at most wait +# until it aborts waiting for input, performs these operations and +# continues to wait for input. +# +# A value of zero or less will cause Mutt to never time out. # # # set tmpdir="" @@ -4226,13 +4294,15 @@ set thorough_search=yes # Default: no # # -# When set, mutt will use ``$envelope_from_address'' as the -# envelope sender if that is set, otherwise it will attempt to -# derive it from the "From:" header. Note that this information is passed -# to sendmail command using the "-f" command line switch, so don't set this -# option if you are using that switch in $sendmail yourself, -# or if the sendmail on your machine doesn't support that command -# line switch. +# When set, mutt will set the envelope sender of the message. +# If ``$envelope_from_address'' is set, it will be used as the sender +# address. If not, mutt will attempt to derive the sender from the +# "From:" header. +# +# Note that this information is passed to sendmail command using the +# "-f" command line switch. Therefore setting this option is not useful +# if the ``$sendmail'' variable already contains "-f" or if the +# executable pointed to by $sendmail doesn't support the "-f" switch. # # # set use_from=yes -- 2.39.2 From 26bd9fd8e893c90a0f369f37b9884f97f9f35d92 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 12 May 2008 16:54:37 +0100 Subject: [PATCH 12/16] readd setting accidentally removed in 0d3bd36 --- .mutt/muttrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index 883baa7..8ab765d 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -945,7 +945,8 @@ set folder="~/mail" # is unset. # # Defaults to the contents of the environment variable EMAIL. -# +# +set from='martin f krafft ' # # set gecos_mask="^[^,]*" # @@ -3485,7 +3486,8 @@ set reply_regexp="^((re([[(]?[[:digit:]]+[)]]?)?|aw|antwort|wg|sgkb):[[:space:]] # alternates. If the variable is unset, or the address that would be # used doesn't match your alternates, the From: line will use # your address on the current machine. -# +# +set reverse_name=yes # # set reverse_realname=yes # -- 2.39.2 From bd32ebec018c0942ff148a53ba0848045696289d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 21 May 2008 14:11:36 +0200 Subject: [PATCH 13/16] tag-prefix a number of commands --- .mutt/keybindings | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.mutt/keybindings b/.mutt/keybindings index 2126b16..35a1d59 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -19,7 +19,7 @@ bind pager,index previous-unread ##bind index n next-undeleted ##macro index L "=store" -macro index,pager S "=store" "save message to store" +macro index,pager S "=store" "save message to store" macro index,pager E ':set my_editor="$editor":set editor="$my_confdir/add-tickle-stamp"=resubmit:set editor="$my_editor"' "schedule message with tickler" macro index,pager \eS "" @@ -34,8 +34,8 @@ macro index,pager \ea "=admin" "go to admin folder" macro index,pager \eR ":source $my_confdir/muttrc" "reload muttrc" macro compose \eR ":source $my_confdir/muttrc" "reload muttrc" -macro index,pager X "=retrain/spam" "retrain message as spam" -macro index,pager Z "=retrain/ham" "retrain message as ham" +macro index,pager X "=retrain/spam" "retrain message as spam" +macro index,pager Z "=retrain/ham" "retrain message as ham" macro index,pager \Cb ':set my_pipe_decode="$pipe_decode":set pipe_decode/usr/bin/urlview:set pipe_decode="$my_pipe_decode"' "invoke urlview" -- 2.39.2 From d215fb8c4bb24685149e374ced9ab2fa5c2fd21e Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 21 May 2008 14:19:31 +0200 Subject: [PATCH 14/16] add ability to change message subjects --- .mutt/batch-subject-editor | 25 +++++++++++++++++++++++++ .mutt/keybindings | 4 +++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100755 .mutt/batch-subject-editor diff --git a/.mutt/batch-subject-editor b/.mutt/batch-subject-editor new file mode 100755 index 0000000..ad12bef --- /dev/null +++ b/.mutt/batch-subject-editor @@ -0,0 +1,25 @@ +#!/bin/sh +# +# batch-subject-editor - helper script to change subject lines with mutt +# +# Based on an idea by David Champion +# +# Copyright © 2008 martin f. krafft +# Released under the terms of the Artistic Licence 2.0 +# +set -eu + +printf 'Enter new subject: ' >/dev/tty +read subj &2 + exit 1 +fi + +RE_REPLY='(re([[(]?[[:digit:]]+[)]]?)?|aw|antwort):[[:space:]]*' +RE_SUBJ_PREFIX="^Subject:[[:space:]]*(${RE_REPLY})?" +RE_SUBJ='.*' +EDITOR="sed -i -re \"s,(${RE_SUBJ_PREFIX})${RE_SUBJ},\\\1$subj,i\"" + +printf "set editor='${EDITOR} %s'\n" diff --git a/.mutt/keybindings b/.mutt/keybindings index 35a1d59..758e971 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -46,6 +46,8 @@ macro index F '~L ' "search for correspondents" #TODO this is a hack until switch-profile does not readd headers. macro compose e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" -macro index,pager e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" +macro index,pager e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" + +macro index,pager \ej ':set my_editor="$editor":source "$my_confdir/batch-subject-editor|":set editor="$my_editor"' "change message subject" # vim:sw=12:noet:sts=12:ts=12:ft=muttrc -- 2.39.2 From 6edb4db8a097c53bd82a984eb5aae31bd0109104 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 22 May 2008 12:30:16 +0200 Subject: [PATCH 15/16] cannot use tag-prefix in pager --- .mutt/keybindings | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.mutt/keybindings b/.mutt/keybindings index 758e971..0410ebc 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -19,7 +19,8 @@ bind pager,index previous-unread ##bind index n next-undeleted ##macro index L "=store" -macro index,pager S "=store" "save message to store" +macro index S "=store" "save message to store" +macro pager S "=store" "save message to store" macro index,pager E ':set my_editor="$editor":set editor="$my_confdir/add-tickle-stamp"=resubmit:set editor="$my_editor"' "schedule message with tickler" macro index,pager \eS "" @@ -34,8 +35,10 @@ macro index,pager \ea "=admin" "go to admin folder" macro index,pager \eR ":source $my_confdir/muttrc" "reload muttrc" macro compose \eR ":source $my_confdir/muttrc" "reload muttrc" -macro index,pager X "=retrain/spam" "retrain message as spam" -macro index,pager Z "=retrain/ham" "retrain message as ham" +macro index X "=retrain/spam" "retrain message as spam" +macro pager X "=retrain/spam" "retrain message as spam" +macro index Z "=retrain/ham" "retrain message as ham" +macro pager Z "=retrain/ham" "retrain message as ham" macro index,pager \Cb ':set my_pipe_decode="$pipe_decode":set pipe_decode/usr/bin/urlview:set pipe_decode="$my_pipe_decode"' "invoke urlview" @@ -48,6 +51,6 @@ macro index F '~L ' "search for correspondents" macro compose e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" macro index,pager e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" -macro index,pager \ej ':set my_editor="$editor":source "$my_confdir/batch-subject-editor|":set editor="$my_editor"' "change message subject" +macro index \ej ':set my_editor="$editor":source "$my_confdir/batch-subject-editor|":set editor="$my_editor"' "change message subject" # vim:sw=12:noet:sts=12:ts=12:ft=muttrc -- 2.39.2 From e093ff54957a113205988f0ba3f1c08eef1b60be Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 30 May 2008 11:20:32 +0200 Subject: [PATCH 16/16] add trasurer@d.ch alternate --- .mutt/alternates | 1 + 1 file changed, 1 insertion(+) diff --git a/.mutt/alternates b/.mutt/alternates index ed17257..af2e2f2 100644 --- a/.mutt/alternates +++ b/.mutt/alternates @@ -1,6 +1,7 @@ alternates 'madduck(\+.+)?@(.+\.)*madduck\.net' alternates madduck@debian\.(org|ch|net) alternates (madduck|press)@debconf\.org +alternates treasurer@debian\.ch alternates madduck@acm\.org alternates madduck@ieee\.org alternates madduck@madduck\.dhs\.org -- 2.39.2