unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* hexl-mode bug
@ 2002-06-13 15:50 Davide Viti
  2002-06-13 16:09 ` Paul Stoeber
  2002-06-13 16:18 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Davide Viti @ 2002-06-13 15:50 UTC (permalink / raw)


Hi,
try and create a 1-byte binary file with the following command

	printf "\xff" > log

and you'll obviously get the wanted file

-rw-rw-rw-   1 VitiD    5               1 Jun 13 17:13 log

now visit it using the hexl-mode and...

00000000: 81ff                                     ..

It happens both under linux and under windows NT with Emacs 20.7.1
and seems to happen with values >= 0xa0

Hope this helps

Davide

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

* Re: hexl-mode bug
  2002-06-13 15:50 hexl-mode bug Davide Viti
@ 2002-06-13 16:09 ` Paul Stoeber
  2002-06-13 16:18 ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Stoeber @ 2002-06-13 16:09 UTC (permalink / raw)
  Cc: bug-gnu-emacs

A random guess: try

	(setq default-enable-multibyte-characters nil)

Or update to Emacs 21.2.1 where it doesn't happen.

On Thu, Jun 13, 2002 at 05:50:01PM +0200, Davide Viti wrote:
> try and create a 1-byte binary file with the following command
> 
> 	printf "\xff" > log
> 
> and you'll obviously get the wanted file
> 
> -rw-rw-rw-   1 VitiD    5               1 Jun 13 17:13 log
> 
> now visit it using the hexl-mode and...
> 
> 00000000: 81ff                                     ..
> 
> It happens both under linux and under windows NT with Emacs 20.7.1
> and seems to happen with values >= 0xa0

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

* Re: hexl-mode bug
  2002-06-13 15:50 hexl-mode bug Davide Viti
  2002-06-13 16:09 ` Paul Stoeber
@ 2002-06-13 16:18 ` Eli Zaretskii
  2002-06-14  6:27   ` Davide Viti
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2002-06-13 16:18 UTC (permalink / raw)



On 13 Jun 2002, Davide Viti wrote:

> now visit it using the hexl-mode and...
> 
> 00000000: 81ff                                     ..
> 
> It happens both under linux and under windows NT with Emacs 20.7.1
> and seems to happen with values >= 0xa0

This is a known bug in Emacs 20.x; fixed in Emacs 21.1 and later.

Thanks for reporting this, though.

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

* Re: hexl-mode bug
  2002-06-13 16:18 ` Eli Zaretskii
@ 2002-06-14  6:27   ` Davide Viti
  2002-06-16  5:06     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Davide Viti @ 2002-06-14  6:27 UTC (permalink / raw)


Thanx to you guys for the replies!!!!
The workaround worked for me;
still trying to get a hold of a precompiled version of Emacs 21.x for NT

Thanx again

Davide

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

* Re: hexl-mode bug
  2002-06-14  6:27   ` Davide Viti
@ 2002-06-16  5:06     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2002-06-16  5:06 UTC (permalink / raw)



On 14 Jun 2002, Davide Viti wrote:

> Thanx to you guys for the replies!!!!
> The workaround worked for me;
> still trying to get a hold of a precompiled version of Emacs 21.x for NT

You should be able to find it on ftp.gnu.org, in the gnu/windows/emacs 
directory.

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

end of thread, other threads:[~2002-06-16  5:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-13 15:50 hexl-mode bug Davide Viti
2002-06-13 16:09 ` Paul Stoeber
2002-06-13 16:18 ` Eli Zaretskii
2002-06-14  6:27   ` Davide Viti
2002-06-16  5:06     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

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).