all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: beginning-on-line oddness
Date: Mon, 24 Dec 2012 18:56:16 +0100	[thread overview]
Message-ID: <87zk135o73.fsf@gnus.org> (raw)
In-Reply-To: <83vcbrnxwc.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 24 Dec 2012 19:49:23 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> Hard to tell without a simple reproducible recipe.  (No, I don't use
> Gnus.)  Can this be shown in 'emacs -Q"?

Oh, I see that the ellipsis code now uses simple invisible text instead
of the old ... code.

So:

(progn
  (insert "hello")
  (let ((point (point)))
    (insert "\nyes\n")
    (put-text-property point (1- (point)) 'invisible t)
    (forward-char -1)
    (beginning-of-line)))

Except it uses overlays, but that's probably the same thing, I guess...
    
-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen



  reply	other threads:[~2012-12-24 17:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24 16:29 beginning-on-line oddness Lars Ingebrigtsen
2012-12-24 16:56 ` Andreas Schwab
2012-12-24 17:05   ` Lars Ingebrigtsen
2012-12-24 17:49 ` Eli Zaretskii
2012-12-24 17:56   ` Lars Ingebrigtsen [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zk135o73.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=eliz@gnu.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 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.