emacs-devel
[Top][All Lists]
Advanced

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

Re: Getting column position accounting for overlays


From: Yuri D'Elia
Subject: Re: Getting column position accounting for overlays
Date: Sat, 8 Aug 2015 19:22:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.1.0

On 08/08/15 18:48, Eli Zaretskii wrote:
>>>   (/ (car (window-text-pixel-size nil (line-beginning-position) (point)))
>>>      (default-font-width))
>>
>> I didn't like this solution precisely because it doesn't rely on
>> character-cells units
> 
> Why do you say that?  Did you try it and saw problems?  If so, please
> show the test cases where the above doesn't do what you want.

I didn't try indeed. I know it /will/ work for a fixed-pitch font, but I
was searching for alternatives and/or different semantics anyway.

I cannot tell if you're bothered by this (if so, it's not intentional).
I understood perfectly what you wrote/meant so far, so I don't think we
need to go on.





reply via email to

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