unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Johan Bockgård" <bojohan@gnu.org>
Cc: 10076@debbugs.gnu.org
Subject: bug#10076: 24.0.91; Automatic horizontal scrolling
Date: Sat, 19 Nov 2011 23:13:13 +0200	[thread overview]
Message-ID: <837h2vbyty.fsf@gnu.org> (raw)
In-Reply-To: <87mxbronpn.fsf@gnu.org>

> From: Johan Bockgård <bojohan@gnu.org>
> Cc: 10076@debbugs.gnu.org
> Date: Sat, 19 Nov 2011 21:35:00 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > (The fundamental problem here is that posn-at-point can return nil, if
> > point is invisible in the window, and line-move-visual doesn't handle
> > this situation.  Can point be invisible in some case that doesn't
> > involve hscroll?)
> 
> It also happens during ordinary scrolling
> 
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7046#23

The problem with posn-at-point returning nil is that you have no way
of knowing the horizontal position of point.

Does it help to call line-move-1 in line-move instead of
line-move-visual, when posn-at-point returns nil?






  reply	other threads:[~2011-11-19 21:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-19 18:24 bug#10076: 24.0.91; Automatic horizontal scrolling Dani Moncayo
2011-11-19 19:16 ` Eli Zaretskii
2011-11-19 19:54   ` Eli Zaretskii
2011-11-19 20:01     ` Eli Zaretskii
2011-11-19 20:35     ` Johan Bockgård
2011-11-19 21:13       ` Eli Zaretskii [this message]
2011-11-19 21:19     ` Dani Moncayo
2011-11-20 18:27       ` bug#7526: " Eli Zaretskii

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=837h2vbyty.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10076@debbugs.gnu.org \
    --cc=bojohan@gnu.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).