From: Neil Gershenfeld <neilg@cba.mit.edu>
Subject: questions
Date: Fri, 22 Aug 2003 08:43:03 -0400 [thread overview]
Message-ID: <3F460FD7.3020509@cba.mit.edu> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1103 bytes --]
Hello,
I have two related questions that I haven't been able to answer from
emacs documentation:
* This:
(defun neil-scroll-up ()
(interactive)
(scroll-up 1)
(next-line 1)
)
(global-set-key [down] 'neil-scroll-up)
gives me my preferred behavior of having arrow keys move the
screen, but if a text line extends beyond the end of one screen
line (i.e., wraps with a \ ) then this macro jumps to the next
text line rather than screen line, making it difficult to reach
the wrapped parts of the line. Is there a way to move single
screen lines relative to wrapped text?
* Wrapping happens at exactly the set character, rather than doing
it at the closest whitespace character (which is easier to read
for writing). Is there a way to wrap at whitespace?
Any suggestions?
Thanks,
Neil
Prof. Neil Gershenfeld, Director (617) 253-7680
Room E15-411 neilg@cba.mit.edu
20 Ames Street fax: (617) 253-7035
Cambridge, MA 02139 http://cba.mit.edu/~neilg
[-- Attachment #1.2.1: Type: text/html, Size: 2386 bytes --]
[-- Attachment #1.2.2: CBAsig.jpg --]
[-- Type: image/jpeg, Size: 9741 bytes --]
[-- Attachment #2: 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
reply other threads:[~2003-08-22 12:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F460FD7.3020509@cba.mit.edu \
--to=neilg@cba.mit.edu \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.