GNU bug report logs -
#18493
24.3.93; posn-col-row should take text-scale-mode into account
Previous Next
Reported by: Dmitry <dgutov <at> yandex.ru>
Date: Wed, 17 Sep 2014 22:15:02 UTC
Severity: normal
Found in version 24.3.93
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 22 Sep 2014 07:59:16 +0400
with message-id <541F9E94.2020108 <at> yandex.ru>
and subject line Re: bug#18493: 24.3.93; posn-col-row should take text-scale-mode into account
has caused the debbugs.gnu.org bug report #18493,
regarding 24.3.93; posn-col-row should take text-scale-mode into account
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
18493: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18493
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
1. M-x text-scale-increase (7 times)
2. Go to column 4.
3. (posn-col-row (posn-at-point))
=> (15 . 24)
Alternatively, please describe how to reliably recalculate the returned
value in the presence of text-scale-mode.
In GNU Emacs 24.3.93.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
of 2014-09-05 on axl
Repository revision: 117482 monnier <at> iro.umontreal.ca-20140904161426-2072ebabqpyhaadw
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04.1 LTS
[Message part 3 (message/rfc822, inline)]
On 09/19/2014 11:46 PM, Eli Zaretskii wrote:
> You describe a means to get what you want, but don't explain why you
> need that. Why do you need to divide the pixel coordinates by
> something? What do you want to achieve by that division?
Then I'll have the return value of `posn-col-row' dependent on the
buffer contents, but hopefully independent of the text scale level.
> I don't insist that you explain things to me, I'm trying to help you
> find the way of computing whatever it is that you need. Feel free to
> give up on me.
Thank you, but you seem intent on helping me write the code in a
considerably different way than it's written now. That would indeed be a
waste of time, like Stefan said, because it mostly works well enough.
Closing.
This bug report was last modified 10 years and 247 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.