GNU bug report logs -
#32744
There seems to be a bug in current-column in character mode
Previous Next
Full log
Message #22 received at 32744 <at> debbugs.gnu.org (full text, mbox):
> From: Kalman Reti <kalman.reti <at> gmail.com>
> Date: Mon, 17 Sep 2018 10:54:50 -0400
> Cc: 32744-done <at> debbugs.gnu.org
>
> > The doc string for the function doesn't clarify the intended meaning.
>
> I think the doc string for current column should be enhanced to say what it is returning.
What would you want it to say in addition or differently to what it
says now?
> It's a bug in bubbles.el, now fixed on the emacs-26 branch. The patch
> is below, so you can apply it locally if you want.
>
> The existing bubbles code works for both gui and character mode in emacs 22, so I'd characterize it less as a
> bug in bubbles as an incompatibility introduced after emacs 22.
I don't see bubbles.el in any Emacs 22.x release I have here. Maybe
you have some downstream distribution which backported the game from
Emacs 23?
I did try in Emacs 23, and I saw the same problem there. And the
initial revision of bubbles.el I see in Git has the same problem on
TTY frames as the one I described.
Perhaps there was some bug/misfeature in current-column, which was
meanwhile fixed.
> Is there some other function that will give 'how many forward-chars necessary to go from beginning of line to
> here?
I think you want posn-actual-col-row.
This bug report was last modified 6 years and 306 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.