bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#37393: 26.2.90; [PATCH] Speed up 'csv-align-fields'


From: Eli Zaretskii
Subject: bug#37393: 26.2.90; [PATCH] Speed up 'csv-align-fields'
Date: Wed, 18 Sep 2019 05:34:52 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Simen Heggestøyl <simenheg@gmail.com>,
>   37393@debbugs.gnu.org,
>   sdl.web@gmail.com
> Date: Tue, 17 Sep 2019 15:14:45 -0400
> 
> > Once again, risking to talk about something I don't clearly
> > understand: vertical-motion already allows you to pass an argument
> > which tells what is the current column.
> > Any rationale to use current-column instead of vertical-motion?
> 
> But we need to measure the width of a particular chunk of buffer text,
> and I don't see how vertical-motion can be used for that: the only
> things it returns are:
> - a new point position
> - the number of screen lines moved over
> I can't see how to use it to compute the text's width.

What about posn-at-point?





reply via email to

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