unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lektu@terra.es>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: line-move-finish (simple.el) hangs on invisible&intangible text.
Date: Fri, 19 Apr 2002 12:32:15 +0200	[thread overview]
Message-ID: <20020419122441.1A89.LEKTU@terra.es> (raw)
In-Reply-To: <5080-Fri19Apr2002125927+0300-eliz@is.elta.co.il>


On Fri, 19 Apr 2002 12:59:28 +0300, "Eli Zaretskii" <eliz@is.elta.co.il> wrote:

> Does it happen in "emacs -nw"?

In -nw mode the line of rows below the Info title is visible and
tangible. If I toggle read-only and then manually make the line to be
i&i, then yes, it happens too.

line-move-finish calls line-move-to-column to set the cursor to the
desired column, and that function does:

  (if (zerop col)
      (beginning-of-line)
    (move-to-column col))

That's why it works from column 0 and not others. In my system, puting
the cursor at the beginning of a line that only contains i&i characters
and evaling

 (beginning-of-line)

does not move the cursor, while evaling

 (move-to-column 0)

moves it. Doesn't that happen on your system?


                                                           /L/e/k/t/u

  reply	other threads:[~2002-04-19 10:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-17 14:48 line-move-finish (simple.el) hangs on invisible&intangible text Juanma Barranquero
2002-04-18 18:44 ` Richard Stallman
2002-04-19  8:46   ` Juanma Barranquero
2002-04-19  9:59     ` Eli Zaretskii
2002-04-19 10:32       ` Juanma Barranquero [this message]
2002-04-19 13:06         ` Eli Zaretskii
2002-04-19 13:40           ` Juanma Barranquero
2002-04-19 14:32             ` Eli Zaretskii
2002-04-19 14:49               ` Juanma Barranquero
2002-04-19 15:04             ` Robert J. Chassell
2002-04-20 11:50         ` Eli Zaretskii
2002-04-21  1:32           ` Juanma Barranquero
2002-04-21  6:06             ` Eli Zaretskii
2002-04-21 17:05               ` Juanma Barranquero
2002-04-21 15:19                 ` Eli Zaretskii
2002-04-22  7:47                 ` Richard Stallman
2002-04-22 10:09                   ` Juanma Barranquero
  -- strict thread matches above, loose matches on Subject: below --
2002-04-19 16:08 Christoph Conrad

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=20020419122441.1A89.LEKTU@terra.es \
    --to=lektu@terra.es \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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).