unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: beginning-on-line oddness
Date: Mon, 24 Dec 2012 17:29:07 +0100	[thread overview]
Message-ID: <87obhj2z3g.fsf@gnus.org> (raw)

Gnus has a mode where it uses that there "ellipsis" thing to hide
summary lines.

`beginning-of-line' now doesn't move to the beginning of the line, but
to the beginning of one of the hidden lines, apparently.

So I thought this might do the trick:

    (while (not (bolp))
      (forward-line 0))

Nope.

But if I do that, and then do it again, then it works.  That is, if I
let the display loop run a bit, then it gets past the hidden line
ending.  Or something.

The documentation of `beginning-of-line' looks to be written in a
strange, foreign language that I can't make heads or tails of.
"Fields"?  What's a "field"?

So is this a bug or are we now supposed to replace all our
`beginning-of-line' calls with something new that makes point go to the
beginning of the line?
      
-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




             reply	other threads:[~2012-12-24 16:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24 16:29 Lars Ingebrigtsen [this message]
2012-12-24 16:56 ` beginning-on-line oddness Andreas Schwab
2012-12-24 17:05   ` Lars Ingebrigtsen
2012-12-24 17:49 ` Eli Zaretskii
2012-12-24 17:56   ` Lars Ingebrigtsen
2012-12-25 17:44     ` Eli Zaretskii
2012-12-25 17:51       ` Lars Ingebrigtsen
2012-12-25 18:44         ` Eli Zaretskii
2012-12-26 13:42           ` Lars Ingebrigtsen
2012-12-26 14:05           ` Ted Zlatanov
2012-12-26 19:10             ` Eli Zaretskii
2012-12-31 11:31               ` Ted Zlatanov
2012-12-31 17:20                 ` 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=87obhj2z3g.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@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).