bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Emacs 21.2.1 kill-line bug ?


From: Besam Khidhir
Subject: GNU Emacs 21.2.1 kill-line bug ?
Date: Tue, 13 Jul 2004 16:14:34 -0400 (EDT)

Hi,

Not sure if this is a bug but it sure acts like one AND in previous versions
of emacs (circa 19.x) this never happened, but who knows, one man's bug is
another man's feature...

So, running Emacs 21.2.1 on Mac OS X 10.3.4, base emacs install, I'm in
a buffer with some binary characters, I do a kill-line (C-k) and then
switch to another buffer and yank, and guess what, my characters come
out different... it looks like some characters such as \366 get replaced
with '?'.

When I do a save I get prompted for what encoding I want to use... which
doesn't change anything because vi sees the characters as '?'.

Here's a cut-and-paste of what I'm seeing:

address@hidden&address@hidden(E\204\\
200<\302[\261Nx\312 ^LR^U\265jPQ\221\326\370D\243
\240Ea\206A^PE^]\307wUpj^U\35\
5\260D\3357\335q\246q\2345k\326\262?f\235s\366:\347\354\363\255u\326\267\277o\2\
address@hidden)^M^K^L^H\231?{|\250:?(>==%>'\321sQ\246&>\343mr^VoC\3602\222w^U\36\
0n^T/^U\242\265^U\325f%\344]\255\234p>n\373E\373\213\232\346\366\220\377\252\25\
2z^W\255\304^Pl^Ki6\260\323\256\327\225^[eOP$9q\346\347\213\324\253Rr\325\211\2\
address@hidden"%\303<^S2s\2622s\342\363\324

Gets translated to:

address@hidden&address@hidden(E\204\200<?[?Nx?
^LR^U?j\
PQ\221??D?
?Ea\206A^PE^]?wUpj^U??D?7?q?q\2345k???f\235s?:address@hidden
0$)^M^K^L^H\231?{|?:?(>==%>'?sQ?&>?mr^VoC?2\222w^U?n^T/^U??^U?f%?]?\234p>n?E?\2\
address@hidden"%?<^\
S2s?2s???

Any ideas?

If this is a "feature" is there anyway to turn it off: ie. get emacs back
to the good old days when a character was a character and there wasn't any
"hiding" of characters (noticed how ^M characters don't appear any more when
you edit DOS files) or "replacing" of characters with '?'. I mean I used to
rely on emacs to show me everything but these days I trust vi more than emacs
and that's saying something...

Anyway, thanks!

Besam

P.S. I'm still waiting to get list-approved so can you please send a
     copy of your emails to this address as well as the mailing list.
     Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]