From: Ralf Angeli <dev.null@iwi.uni-sb.de>
Subject: Re: next-line + recenter (- redraw frame)?
Date: Mon, 06 Mar 2006 09:43:32 +0100 [thread overview]
Message-ID: <440bf62c$0$15790$14726298@news.sunsite.dk> (raw)
In-Reply-To: 1g49xa6zb8ner$.10t1mn6pq44fr$.dlg@40tude.net
* Peter Tury (2006-03-06) writes:
> On Fri, 03 Mar 2006 18:36:30 +0100, Ralf Angeli wrote:
>
>> You can get a similar functionality with `C-l' followed by `M-x
>> scroll-lock-mode RET' and using `C-p' and `C-n' for moving around.
>
> thanks for the info! I checked this mode now and learned from it. But I
> don't plan to use it instead of my code, because you reimplemented some
> functionality and thus (e.g.) <down> doesn't work exactly as normally. I
> mean e.g. if I go to end of line and then down, then the column is keeped
> instead of the end of line (as normally).
I don't understand what you mean.
If there are the lines
1: a
2: ab
in a buffer and point is at the end of the first line, calling either
`next-line' without Scroll Lock mode or `scroll-lock-next-line' will
have the same result, namely that point will be between "a" and "b" in
the second line. `next-line' does not move point to the end of the
second line as you seem to describe. But maybe I misunderstood that.
> This solution is equivalently
> good also for me but I would like to have only one method... (Moreover:
> your minor mode sometimes skips two lines, I don't know why.)
If you send a bug report with a minimal example by means of `M-x
emacs-report-bug RET' people would have a chance to debug the problem
and eventually fix it.
--
Ralf
next prev parent reply other threads:[~2006-03-06 8:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-03 16:54 next-line + recenter (- redraw frame)? Peter Tury
2006-03-03 17:36 ` Ralf Angeli
2006-03-06 8:17 ` Peter Tury
2006-03-06 8:43 ` Ralf Angeli [this message]
2006-03-06 9:34 ` Peter Tury
2006-03-03 22:20 ` Peter Dyballa
[not found] ` <mailman.1.1141424503.26251.help-gnu-emacs@gnu.org>
2006-03-06 8:36 ` Peter Tury
2006-03-26 2:38 ` David Combs
2006-03-26 10:10 ` Peter Dyballa
2006-03-27 15:51 ` Kevin Rodgers
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='440bf62c$0$15790$14726298@news.sunsite.dk' \
--to=dev.null@iwi.uni-sb.de \
--cc=angeli@iwi.uni-sb.de \
/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).