unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@jidanni.org>
Subject: want to go to the 2345th byte, not character
Date: Thu, 23 Jun 2005 01:20:07 +0800	[thread overview]
Message-ID: <874qbqjol4.fsf@jidanni.org> (raw)

I'm sitting in a unicode buffer and I want to go to the 2345th byte.
ESC 2 3 4 5 C-f will take me to the 2345th character, wide and narrow
included, but not the 2345th byte.  Therefore there should be an
additional command that operates byte wise.  No I don't want to leave
unicode mode.

So a C-f analog that counts in bytes would be good.
"byte-forward-char" sounds good but must be an unrelated variable.

P.S.
   C-f runs the command forward-char
   Move point right N characters (left if N is negative).

Perhaps that right and left stuff should be reworded in view of BIDI
(Arabic, Hebrew) languages? Just say forward and backward?

             reply	other threads:[~2005-06-22 17:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22 17:20 Dan Jacobson [this message]
2005-06-23  4:44 ` want to go to the 2345th byte, not character Eli Zaretskii
2005-06-23 15:56   ` Dan Jacobson
2005-06-23 21:05     ` Kevin Rodgers
2005-06-24 10:40     ` Eli Zaretskii
2005-06-26  5:11       ` hexl vs. non-ASCII Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874qbqjol4.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).