GNU bug report logs - #17631
24.3.50; the following should return t

Previous Next

Package: emacs;

Reported by: Samuel Lê <samuel.le <at> gmail.com>

Date: Thu, 29 May 2014 15:43:01 UTC

Severity: normal

Tags: notabug

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Samuel Lê <samuel.le <at> gmail.com>
Cc: 17631 <at> debbugs.gnu.org
Subject: bug#17631: 24.3.50; the following should return t
Date: Thu, 29 May 2014 18:52:32 +0300
> Date: Thu, 29 May 2014 16:38:02 +0200
> From: Samuel Lê <samuel.le <at> gmail.com>
> 
> I ran this code, as someone recommanded on the #emacs chan of freenode:
> (with-temp-buffer
>   (insert "foo Bar")
>   (goto-char (point-min))
>   (re-search-forward "[[:upper:]]")
>   (looking-at "Bar"))
> 
> t was expected, but instead I got returned nil.

You need to bind case-fold-search to nil.




This bug report was last modified 11 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.