emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beginning-on-line oddness


From: Lars Ingebrigtsen
Subject: Re: beginning-on-line oddness
Date: Mon, 24 Dec 2012 18:56:16 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]