unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bijan Soleymani <bijan@psq.com>
Subject: Re: true "word wrap"
Date: 07 Dec 2002 18:45:05 -0500	[thread overview]
Message-ID: <87lm31wfzy.fsf@server.crasseux.com> (raw)
In-Reply-To: mailman.6.1039293639.3906.help-gnu-emacs@gnu.org

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

Michael Herman <michael@thehermans.org> writes:

I'm working on this idea of having commands to move by screen lines
instead of logical lines. I have implemented an ugly hack version, but
it assumes that every character has the same width, which is not
correct for control chars. But as long as there aren't any it works
fine. And even with control chars it works more or less. The only
exceptions being stuff like .elc files or general binary files, where
everything show up as control chars.

I've attached my small file. It remaps C-n and C-p to work by screen
lines instead of logical lines. I know I should make this into a minor
mode, but I am a relative newbie to emacs lisp.


[-- Attachment #2: hack to have screen motion --]
[-- Type: application/emacs-lisp, Size: 1772 bytes --]

[-- Attachment #3: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

  parent reply	other threads:[~2002-12-07 23:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-04 17:58 true "word wrap" Matt Armstrong
2002-12-04 18:42 ` D. Goel
2002-12-07  3:15 ` Miles Bader
2002-12-07  7:09   ` Matt Armstrong
2002-12-07 14:14     ` Kai Großjohann
2002-12-07 20:40       ` Michael Herman
2002-12-07 21:30         ` Kai Großjohann
2002-12-07 23:35           ` Michael Herman
     [not found]       ` <mailman.6.1039293639.3906.help-gnu-emacs@gnu.org>
2002-12-07 23:45         ` Bijan Soleymani [this message]
2002-12-09 21:13           ` Kevin Rodgers
2002-12-08  3:19         ` Miles Bader
2002-12-07  7:13 ` Bijan Soleymani

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=87lm31wfzy.fsf@server.crasseux.com \
    --to=bijan@psq.com \
    /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.
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).