all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5799: 24.0.50; Case and search problems in unibyte buffers
@ 2010-03-29 20:48 bojohan
  2010-03-29 21:43 ` Eli Zaretskii
  2011-09-18 20:01 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: bojohan @ 2010-03-29 20:48 UTC (permalink / raw)
  To: 5799


http://lists.gnu.org/archive/html/help-gnu-emacs/2010-03/msg00246.html


This correctly finds a \377 character in a unibyte buffer:

    (let ((case-fold-search nil)) (search-forward "\377"))

This fails to match \377 and actually finds \277 instead:

    (let ((case-fold-search t)) (search-forward "\377"))


`downcase' behaves strangely too:

    (let ((default-enable-multibyte-characters nil))
      (with-temp-buffer
        (downcase 255)))
    => 4194303

These problems exist in trunk and Emacs 23, and did not occur in
Emacs 22.







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-18 20:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-29 20:48 bug#5799: 24.0.50; Case and search problems in unibyte buffers bojohan
2010-03-29 21:43 ` Eli Zaretskii
2011-09-18 20:01 ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.