unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Can't find character, but can replace it?
@ 2009-08-08 14:58 djc
  2009-08-08 15:38 ` Xah Lee
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: djc @ 2009-08-08 14:58 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: djc

On switching to GNU Emacs 23.1.1 (i386-mingw-nt5.0.2195) from 22.3,
suddenly emacs can't find the character \0363 (decimal 243), small o
with acute accent -- neither with "search-forward" in elisp code, nor
with "search-forward" bound to a key.  (Or perhaps others, but this is
what I happened to notice.)

But replace-string can find and replace it.

What am I missing here?

djc


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

* Re: Can't find character, but can replace it?
  2009-08-08 14:58 Can't find character, but can replace it? djc
@ 2009-08-08 15:38 ` Xah Lee
  2009-08-08 16:55   ` djc
  2009-08-08 22:18 ` Peter Dyballa
       [not found] ` <mailman.4215.1249769906.2239.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 8+ messages in thread
From: Xah Lee @ 2009-08-08 15:38 UTC (permalink / raw)
  To: help-gnu-emacs

On Aug 8, 7:58 am, djc <peter.kai...@gmail.com> wrote:
> On switching to GNU Emacs 23.1.1 (i386-mingw-nt5.0.2195) from 22.3,
> suddenly emacs can't find the character \0363 (decimal 243), small o
> with acute accent -- neither with "search-forward" in elisp code, nor
> with "search-forward" bound to a key.  (Or perhaps others, but this is
> what I happened to notice.)
>
> But replace-string can find and replace it.
>
> What am I missing here?

i cant reproduce this. e.g.

what ó thewhatóthe

interactive search finds it.

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Can't find character, but can replace it?
  2009-08-08 15:38 ` Xah Lee
@ 2009-08-08 16:55   ` djc
  2009-08-08 21:48     ` Xah Lee
  0 siblings, 1 reply; 8+ messages in thread
From: djc @ 2009-08-08 16:55 UTC (permalink / raw)
  To: help-gnu-emacs

It is absolutely reproducible on my system.

djc



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

* Re: Can't find character, but can replace it?
  2009-08-08 16:55   ` djc
@ 2009-08-08 21:48     ` Xah Lee
  0 siblings, 0 replies; 8+ messages in thread
From: Xah Lee @ 2009-08-08 21:48 UTC (permalink / raw)
  To: help-gnu-emacs

> On Aug 8, 7:58 am, djc <peter.kai...@gmail.com> wrote:
>
> > On switching to GNU Emacs 23.1.1 (i386-mingw-nt5.0.2195) from 22.3,
> > suddenly emacs can't find the character \0363 (decimal 243), small o
> > with acute accent -- neither with "search-forward" in elisp code, nor
> > with "search-forward" bound to a key.  (Or perhaps others, but this is
> > what I happened to notice.)
>
> > But replace-string can find and replace it.

On Aug 8, 8:38 am, Xah Lee <xah...@gmail.com> wrote:
> i cant reproduce this. e.g.
>
> what ó thewhatóthe
>
> interactive search finds it.

On Aug 8, 9:55 am, djc <peter.kai...@gmail.com> wrote:
> It is absolutely reproducible on my system.

can you give a exact steps?

also, the output from M-x version.

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Can't find character, but can replace it?
  2009-08-08 14:58 Can't find character, but can replace it? djc
  2009-08-08 15:38 ` Xah Lee
@ 2009-08-08 22:18 ` Peter Dyballa
       [not found] ` <mailman.4215.1249769906.2239.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Peter Dyballa @ 2009-08-08 22:18 UTC (permalink / raw)
  To: djc; +Cc: help-gnu-emacs, djc


Am 08.08.2009 um 16:58 schrieb djc:

> What am I missing here?


Maybe you have too much? (In your init file.) How does it work when  
you launch GNU Emacs with -Q or with -q?

--
Greetings

   Pete

A TRUE Klingon warrior does not comment his code.





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

* Re: Can't find character, but can replace it?
       [not found] ` <mailman.4215.1249769906.2239.help-gnu-emacs@gnu.org>
@ 2009-08-09 10:17   ` djc
  2009-08-09 14:38     ` djc
  0 siblings, 1 reply; 8+ messages in thread
From: djc @ 2009-08-09 10:17 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: Peter_Dyballa

> Maybe you have too much? (In your init file.) How does it work when  
> you launch GNU Emacs with -Q or with -q?

That's it: with -q the problem doesn't appear.  So thanks for the
help: it's very useful to have someone look over my shoulder and
remind me of the obvious.

Now to debug my init file!

djc


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

* Re: Can't find character, but can replace it?
  2009-08-09 10:17   ` djc
@ 2009-08-09 14:38     ` djc
  2009-08-09 21:57       ` Peter Dyballa
  0 siblings, 1 reply; 8+ messages in thread
From: djc @ 2009-08-09 14:38 UTC (permalink / raw)
  To: help-gnu-emacs

The problem was in one of my customization entries:

    '(enable-multibyte-characters nil)

When I disabled that, emacs once again behaved as I expected.

The other behavior is confusing.  Worth a bug report?

djc


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

* Re: Can't find character, but can replace it?
  2009-08-09 14:38     ` djc
@ 2009-08-09 21:57       ` Peter Dyballa
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Dyballa @ 2009-08-09 21:57 UTC (permalink / raw)
  To: djc; +Cc: help-gnu-emacs


Am 09.08.2009 um 16:38 schrieb djc:

> The problem was in one of my customization entries:
>
>     '(enable-multibyte-characters nil)
>
> When I disabled that,

By commenting or removing this line you did not disable anything but  
*enable* GNU Emacs to work correctly, use UTF-8 (with usually more  
than one byte for one character).

> emacs once again behaved as I expected.
>
> The other behavior is confusing.  Worth a bug report?

To yourself? Read the documentation and understand that you are using  
a multi-byte/Unicode application. Unibyte can easily be accomplished  
by using an environment variable like LC_CTYPE with a value that  
corresponds to some 7- or 8-bit encoding.

--
Mit friedvollen Grüßen

   Pete

Eat the rich – the poor are tough and stringy.







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

end of thread, other threads:[~2009-08-09 21:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-08 14:58 Can't find character, but can replace it? djc
2009-08-08 15:38 ` Xah Lee
2009-08-08 16:55   ` djc
2009-08-08 21:48     ` Xah Lee
2009-08-08 22:18 ` Peter Dyballa
     [not found] ` <mailman.4215.1249769906.2239.help-gnu-emacs@gnu.org>
2009-08-09 10:17   ` djc
2009-08-09 14:38     ` djc
2009-08-09 21:57       ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).