Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493228 - mail-client/mutt - 11-change_subject.patch mangles reply_regexp
Summary: mail-client/mutt - 11-change_subject.patch mangles reply_regexp
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-03 15:08 UTC by Arnaud Launay
Modified: 2014-03-09 11:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Launay 2013-12-03 15:08:55 UTC
When replying to mails with subject like:
Subject: [LIVRAISON-DC2] Consigne livraison
the subject for the replying mails becomes:
Subject: Re: Consigne livraison

Given my current reply_regexp, I should get:
Subject: Re: [LIVRAISON-DC2] Consigne livraison

I don't with the gentoo mutt, either with mutt-1.5.21-r12 or mutt-1.5.22-r1 . 

So I poke around it and totally deactivated the gentoo patch:
11-change_subject.patch

Since then, I do get the subject line I'm waiting for.

Reproducible: Always

Steps to Reproduce:
1. launch mutt
2. find a mail with square brackets (maybe at the beginning)
3. try to reply, you'll get the wrong subject
Actual Results:  
Subject: Re: Consigne livraison

Expected Results:  
Subject: Re: [LIVRAISON-DC2] Consigne livraison

Tried with the same .muttrc file on a vanilla debian wheezy, problem does NOT appear.

Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.16.0, 3.10.17-gentoo x86_64)
=================================================================
System uname: Linux-3.10.17-gentoo-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     7881272 total,   5460100 free
KiB Swap:    3965268 total,   3965268 free
Timestamp of tree: Mon, 02 Dec 2013 13:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.mirror.sdv.fr http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.fr.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 bash-completion beagle bluetooth branding bzip2 cairo cdda cddb cdr cli colord consolekit cracklib cups cxx dbus dga doc dri dts dv dvd dvdr eds emboss encode evo exif expat fam ffmpeg flac fontconfig foomaticdb ftp gd geoip gif gimp gnome gnome-keyring gnome-online-accounts gphoto2 gpm graphviz gstreamer gtk gtkhtml howl iconv id3tag imlib introspection ipv6 jbig jpeg jpeg2k lcms libcaca libnotify libsecret logrotate mad mbox mmx mng modules mp3 mp4 mpeg mplayer mtp mudflap multilib musicbrainz nautilus ncurses nls nntp nptl nsplugin offensive ogg openexr opengl pam pango pcre pdf png policykit ppds pulseaudio qt3support raw readline real samba sasl scanner sdl session slp snmp socialweb speex spell sse sse2 ssl startup-notification svg symlink systemd taglib tetex theora threads tiff truetype udev udisks unicode upower usb vala vim-syntax vorbis wmf wxwidgets x264 xcb xml xosd xprint xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon ptp2 samsung" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Fabian Groffen gentoo-dev 2013-12-04 14:45:08 UTC
can you post the relevant bits from your muttrc?
Comment 2 Arnaud Launay 2013-12-04 20:41:28 UTC
Sure, it isn't a problem:

rm .muttrc

and test: I tried with the defaults, and also with
set reply_regexp=""
It's the same.

the subjectrx stuff isn't in use (I didn't even know it existed), so it should be in the undef state.
Comment 3 Fabian Groffen gentoo-dev 2013-12-08 20:09:02 UTC
I find this really strange.  Just to check, if you run

unsubjectrx *

does that make it work like you expect?

Here, even if subjectrx is in effect, it doesn't affect the subject when replying.