emacs-devel
[Top][All Lists]
Advanced

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

Re: get-byte (was: bug#1051: 23.0.60; rmail decoding bug)


From: Eli Zaretskii
Subject: Re: get-byte (was: bug#1051: 23.0.60; rmail decoding bug)
Date: Wed, 01 Oct 2008 11:14:09 +0300

> From: Kenichi Handa <address@hidden>
> CC: address@hidden, address@hidden, address@hidden,
>         address@hidden
> Date: Wed, 01 Oct 2008 09:29:41 +0900
> 
> Ah!  How about something like this?
> 
> (defun get-byte (pos &optional string)
>   "Return a byte at position POS of the current buffer..
> If POS is nil, it defaults to point.
> If the second optional arg STRING is non-nil, return a byte in
> STRING at index POS.
> An error is signaled if the character at POS is not ASCII
> nor eight-bit character."
>   ...)

Yes, that's what I had in mind.




reply via email to

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