unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: John Shahid <jvshahid@gmail.com>
To: "help-gnu-emacs\@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: auto-complete popup is broken on master
Date: Mon, 25 Jun 2018 15:49:06 +0000	[thread overview]
Message-ID: <87r2kurhn1.fsf@gmail.com> (raw)
In-Reply-To: <87sh5arhw0.fsf@gmail.com>


Sorry for the premature post.

The candidates in the auto-complete popup aren't aligned properly. This
seems to be a result of the change in the behavior of
`vertical-motion'. auto-complete tries to move vertically by getting the
column using `(car (posn-col-row (posn-at-point)))' then use the col
number as follows `(vertical-motion '(COL 1))'. This works as expected
on `4a7e74fea687011ee81dcbb02294bccd99b3a05f` but its behavior has
changed on master. Current master doesn't take into account
display-line-number width. Was that an intentional change ? If so, what
is the recommended way to get the previous behavior ?

While debugging this issue I also noticed that auto-complete popup-el
use overlay 'prefix property which isn't documented. How did that use to
work ? I could fix the prefix by using `line-prefix' instead of
`prefix'.

cheers,

-js



  reply	other threads:[~2018-06-25 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25 15:43 auto-complete popup is broken on master John Shahid
2018-06-25 15:49 ` John Shahid [this message]
2018-06-25 16:45   ` Eli Zaretskii

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=87r2kurhn1.fsf@gmail.com \
    --to=jvshahid@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).