Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284542 - mail-client/mutt-1.5.20-r4: UTF-8 locale -> character classes do no match
Summary: mail-client/mutt-1.5.20-r4: UTF-8 locale -> character classes do no match
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Fabian Groffen
URL: http://dev.mutt.org/trac/ticket/3334
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 23:37 UTC by Drake Wyrm
Modified: 2016-12-06 19:37 UTC (History)
1 user (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 Drake Wyrm 2009-09-10 23:37:39 UTC
After an upgrade to mail-client/mutt-1.5.20-r4, I noticed problems in regex matching when using UTF-8. Specifically, most named character classes (e.g. [[:alpha:]]) fail to match when mutt is started with `LC_ALL=en_US.utf8 mutt`, but match correctly when mutt is started with `LC_ALL=C mutt`. I have noticed this failure to match in the mail reader's search search function and in attempting to match email with the save-hook command in configuration files.

The problem also exists in mail-client/mutt-1.5.20-r5, but does not exist with mail-client/mutt-1.5.16 or mail-client/mutt-1.5.19-r1.
Comment 1 Fabian Groffen gentoo-dev 2009-09-11 06:30:07 UTC
just for sure, can you paste your mutt -v output?
Comment 2 Drake Wyrm 2009-09-11 20:18:25 UTC
Mutt 1.5.19 (2009-01-05)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.30-gentoo-r4 (x86_64)
ncurses: ncurses 5.6.20061217 (compiled with 5.6)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Apr 17 2009 18:17:02)
Compile options:
-DOMAIN
+DEBUG
+HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  -USE_FCNTL  +USE_FLOCK   
+USE_POP  +USE_NNTP  +USE_IMAP  +USE_SMTP  
+USE_SSL_OPENSSL  -USE_SSL_GNUTLS  +USE_SASL  -USE_GSS  +HAVE_GETADDRINFO  
-HAVE_REGCOMP  +USE_GNU_REGEX  +COMPRESSED  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="Maildir"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc/mutt"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

dgc.subjrx
fg.smarttime
vvv.initials
vvv.quote
vvv.nntp
patch-1.5.6.dw.pgp-timeout.1
patch-1.5.6.dw.mbox-hook.1
rr.compressed
patch-1.5.4.lpr.collapse_flagged Lukas P. Ruf <lukas.ruf@lpr.ch>
Comment 3 Fabian Groffen gentoo-dev 2016-12-06 19:37:26 UTC
I think this is libc related, not much mutt can do about it.