[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: hexl-max-address in hexl-mode is incorrect]
From: |
Stuart D. Herring |
Subject: |
Re: address@hidden: hexl-max-address in hexl-mode is incorrect] |
Date: |
Mon, 27 Nov 2006 11:09:49 -0800 (PST) |
User-agent: |
SquirrelMail/1.4.6-7.el3.7lanl |
>> How about: (- (position-bytes (point-max)) (position-bytes (point-min)))
>
> I already looked in this, and couldn't find a way to get it to work.
> Hexl mode works by passing the buffer contents to an external program,
> lib-src/hexl; thus, the byte values seen by hexl-mode depend on
> buffer-file-coding-system. The value of position-bytes is independent
> of this.
Is there some other coding system variable that does affect position-bytes
(which we could then let-bind), or is it based on Emacs' internal,
invariant encoding?
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.