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

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

Re: Byte offset from point


From: Teemu Likonen
Subject: Re: Byte offset from point
Date: Wed, 12 Aug 2009 21:57:24 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

On 2009-08-12 11:44 (-0700), senny wrote:
> I am looking for a way to get the exact byte-offset from the cursor
> position. I need this value to call an external service. Is there a
> way to achieve this in emacs?

Perhaps this:

    (position-bytes (point))


reply via email to

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