[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Alignment and images
From: |
Eli Zaretskii |
Subject: |
Re: Alignment and images |
Date: |
Tue, 28 Jun 2016 21:23:23 +0300 |
> From: Lars Magne Ingebrigtsen <address@hidden>
> Cc: address@hidden
> Date: Tue, 28 Jun 2016 20:17:00 +0200
>
> Eli Zaretskii <address@hidden> writes:
>
> >> So... there is no easy way implement this in the current Emacs?
> >
> > I don't think so, but maybe someone else will come up with some
> > rabbit-out-of-the-hat.
>
> Using the :align-to specs judiciously (i.e., only inserting them where
> they are needed), as well as a post-command-hook looking like
>
> (defun meme--fix-point ()
> (let ((column (current-column)))
> (when (get-text-property (point) 'meme-intangible)
> (if (> column meme-column)
> (forward-char 1)
> (backward-char 1))
> (setq column (current-column)))
> (setq meme-column column)))
>
> seems to make all movement commands work as expected. It's unfortunate
> that this is needed, though...
It shouldn't be hard to add the no-cursor condition, once its Lisp
form is defined. It's just a flag in the glyph structure that needs
to be set, all the rest already works.
- Alignment and images, Lars Magne Ingebrigtsen, 2016/06/28
- Re: Alignment and images, Eli Zaretskii, 2016/06/28
- Re: Alignment and images, Lars Magne Ingebrigtsen, 2016/06/28
- Re: Alignment and images, Eli Zaretskii, 2016/06/28
- Re: Alignment and images, Lars Magne Ingebrigtsen, 2016/06/28
- Re: Alignment and images, Eli Zaretskii, 2016/06/28
- Re: Alignment and images, Lars Magne Ingebrigtsen, 2016/06/28
- Re: Alignment and images, Eli Zaretskii, 2016/06/28
- Re: Alignment and images, Lars Magne Ingebrigtsen, 2016/06/28
- Re: Alignment and images,
Eli Zaretskii <=
- Re: Alignment and images, Ted Zlatanov, 2016/06/30
- Re: Alignment and images, Lars Magne Ingebrigtsen, 2016/06/30
Re: Alignment and images, Eli Zaretskii, 2016/06/28
Re: Alignment and images, Glenn Morris, 2016/06/28