Subject: C-w folds case too eagerly

From: Stefan Monnier <[email-masked]>
Date: Wed, 23 Nov 2011 09:29:40 -0500

Package: Emacs

   % emacs -Q
   TOTORO TOTO M-b
   C-r C-w RO

this fails to find "TOTORO" because we end up looking for "totoRO"
(without ignoring case) rather than "TOTORO".

        Stefan

In GNU Emacs 24.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.24.7)
 of 2011-11-22 on pastel
Windowing system distributor `The X.Org Foundation', version 11.0.11101901
configured using `configure  'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O0' '--with-tiff=no''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: fr_CH.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  gnus-mailing-list-mode: t
  electric-pair-mode: t
  electric-indent-mode: t
  url-handler-mode: t
  global-reveal-mode: t
  reveal-mode: t
  auto-insert-mode: t
  savehist-mode: t
  minibuffer-electric-default-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<right> <down> <left> <right> <down> <left> <right> 
<up> <left> <right> <up> <left> <right> <up> <left> 
<right> <up> <left> <right> <up> <left> <right> <down> 
<left> <right> <down> <left> <right> <down> <left> 
<right> <down> <right> <up> <up> <up> <up> <left> <left> 
<right> <down> <left> <right> <down> <left> <right> 
<down> <left> <right> <up> <up> <up> <left> <right> 
<down> <left> <right> <down> <left> <right> <up> <up> 
<left> <right> <down> <left> <right> <down> <left> 
<right> <up> <up> <left> <right> <down> <left> <right> 
<down> <left> <right> <down> <left> <right> <down> 
<left> <right> <down> <left> <right> <up> <up> <up> 
<up> <up> <left> <right> <down> <left> <right> <down> 
<left> <right> <down> <left> <right> <up> <up> <left> 
<right> <up> <left> <right> <down> <left> <right> <down> 
<left> <right> <down> <left> <right> <down> <left> 
<right> <up> <left> <right> <down> <left> <right> <down> 
<left> <right> <up> <left> <right> <up> <left> <right> 
<up> <left> <right> <down> <left> <right> <down> <left> 
<right> <down> <left> <right> <left> <return> I e . 
<backspace> <backspace> . e . SPC C - s SPC T O T O 
SPC M - e SPC C - a SPC _ <backspace> C - k SPC f o 
o SPC R E T SPC s h o u l d SPC s e a r c h SPC f o 
r SPC " f o o " SPC w h i l e SPC i g n o r e i n g 
SPC c a s e . <right> <up> <left> <right> <up> <left> 
<right> <up> <left> <right> <up> <left> <right> <down> 
<left> <right> <down> <left> <right> <left> <down> 
<right> <right> <right> <right> <right> <right> <right> 
<C-left> C-d C-e <right> <up> <left> <right> <up> <left> 
<right> <down> <left> <right> <down> <left> <right> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <select-window> <help-echo> M-x r e 
p - e m - b <tab> <return>

Recent messages:
Mark set
byte-code: End of buffer [2 times]
Auto-saving...done
Mark set
byte-code: End of buffer
Auto-saving...done
Mark set
Quit
Mark activated
Auto-saving...done

Load-path shadows:
None found.

Features:
(shadow emacsbug multi-isearch debug woman tutorial help-macro man
info-look help-at-pt ehelp apropos cus-edit cus-start cus-load gnus-fun
newcomment supercite regi pp qp executable copyright gnus-html
browse-url xml url-cache mm-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-util mule-util sort smiley
ansi-color gnus-cite flow-fill mail-extr gnus-async gnus-bcklg gnus-ml
nndraft nnmh utf-7 rfc2104 nnimap parse-time utf7 gnutls netrc
network-stream starttls tls gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime
smime dig mailcap nntp gnus-cache nnir gnus-sum nnoo gnus-group
gnus-undo nnmail mail-source server gnus-start gnus-spec gnus-int
gnus-range message sendmail format-spec rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader
mail-utils wid-edit noutline outline easy-mmode flyspell ispell eldoc
checkdoc regexp-opt thingatpt help-mode view prog-mode load-dir electric
url-handlers url-parse auth-source warnings eieio byte-opt bytecomp
byte-compile cconv macroexp assoc gnus-util password-cache url-vars
mm-util mail-prsvr reveal autoinsert uniquify advice help-fns
advice-preload time-date savehist minibuf-eldef disp-table cl
cl-loaddefs all-autoloads company-autoloads debbugs-autoloads
epoch-view-autoloads jgraph-mode-autoloads js2-mode-autoloads
lmc-autoloads load-dir-autoloads markchars-autoloads minimap-autoloads
muse-autoloads info easymenu oauth2-autoloads quarter-plane-autoloads
rainbow-mode-autoloads register-list-autoloads sisu-mode-autoloads
svg-clock-autoloads undo-tree-autoloads uni-confusables-autoloads
windresize-autoloads package tabulated-list proof-site proof-autoloads
pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit
x multi-tty emacs)