unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kalman Reti <kalman.reti@gmail.com>
Cc: 32744@debbugs.gnu.org
Subject: bug#32744: There seems to be a bug in current-column in character mode
Date: Mon, 17 Sep 2018 18:22:45 +0300	[thread overview]
Message-ID: <83k1nkgncq.fsf@gnu.org> (raw)
In-Reply-To: <CAJ7Ts_1rQ_JxzJxP3YO+c_P7mNxLVtOjnDUSsUAp0cSuP0kVRQ@mail.gmail.com> (message from Kalman Reti on Mon, 17 Sep 2018 10:54:50 -0400)

> From: Kalman Reti <kalman.reti@gmail.com>
> Date: Mon, 17 Sep 2018 10:54:50 -0400
> Cc: 32744-done@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.





  reply	other threads:[~2018-09-17 15:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-16 13:28 bug#32744: There seems to be a bug in current-column in character mode Kalman Reti
2018-09-16 17:11 ` Eli Zaretskii
     [not found]   ` <CAJ7Ts_161=cFRcG7oZAfjLsByzk=L8=iD+WQr-LF4z2-kWhn4w@mail.gmail.com>
     [not found]     ` <CAJ7Ts_22HqjfaPO7AGXRw3FS3hiH8SX4BF6DYE+YX5y8Znketg@mail.gmail.com>
2018-09-16 23:44       ` Kalman Reti
2018-09-17 14:43         ` Eli Zaretskii
2018-09-17 14:54           ` Kalman Reti
2018-09-17 15:22             ` Eli Zaretskii [this message]
2018-09-17 15:34               ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k1nkgncq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=32744@debbugs.gnu.org \
    --cc=kalman.reti@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).