From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Shahid Newsgroups: gmane.emacs.help Subject: Re: auto-complete popup is broken on master Date: Mon, 25 Jun 2018 15:49:06 +0000 Message-ID: <87r2kurhn1.fsf@gmail.com> References: <87sh5arhw0.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529941665 9121 195.159.176.226 (25 Jun 2018 15:47:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2018 15:47:45 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 To: "help-gnu-emacs\@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 25 17:47:41 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXTiN-0002FK-4p for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2018 17:47:39 +0200 Original-Received: from localhost ([::1]:47898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXTkT-0007b5-RO for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2018 11:49:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXTju-0007aa-8M for help-gnu-emacs@gnu.org; Mon, 25 Jun 2018 11:49:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXTjq-0000DJ-De for help-gnu-emacs@gnu.org; Mon, 25 Jun 2018 11:49:14 -0400 Original-Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:46416) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXTjq-0000D5-7H for help-gnu-emacs@gnu.org; Mon, 25 Jun 2018 11:49:10 -0400 Original-Received: by mail-qt0-x229.google.com with SMTP id h5-v6so12326759qtm.13 for ; Mon, 25 Jun 2018 08:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=UzTQleAvAEurtw/X6eWoVu0kOjx2+HTmOE986XCefBo=; b=p3mMWfkyX0l+yZ53CQBjXKTF+21gavoK3jumOAjS5ycsmx5jgUrA/UHtLsf6l7wyVr Bd5UpifUbx7idpKy3ONzQ5hGlnqaH9njEkr8ubfvubkznnZVhmkSuL7GL0cY4ctsWL7W wFwNfaIH3bPxdXLGwT4iI8sH1qg9mmMSnZFT6ucC8b1u1k3reLSRzAtcc++5m+v6qvvm RC0Y+cUwyWqAUOREIjw5tyP0c+RdsdtQ6CZ10XTRRRCVXHRrRnP4/N680/P180yCiO+h 0NaBMMw/PS9PnEWJGr+wuKsJAIZpfINcKaAuQ0qhsLuTr78vHpt9gTi6BwwiSGvCkOan 9cZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=UzTQleAvAEurtw/X6eWoVu0kOjx2+HTmOE986XCefBo=; b=HmdG7KyFtPbkM9DnBrUbQDzgWtjjp0jQErKlJRvp/yLDVpuaP7GDIIqm6ojBaKmSJw jVnDeICJyp2YozM1Hx4AWhY48ItU4PP6mzTZPEXEAnvXe+hwax0hNbr8/6ELwS5m7bpe R9WpKYJwZ8s15bt/CowEzsbPRKG8lNBC9m5EMcZ1tRtBPSVFMpcfQPJvDWmSbKgC1V5+ 2ageu1BSV8vQjkPMPA/xqFTVfdamzMxABPhoEAgIqSPylQcJ4zz/RexaLzJGS2RO8y6b L+CD6BUSRRgo+I1TQqb9KShRjFaITj056pCRzycizcGnOQpPpovSdFuLAZjgDOX0sTyi jYoA== X-Gm-Message-State: APt69E12LgVXGQi1clIS3juN7tBNHSWkjDBKEUFxGJ8n1Jmd/mg3qQ8B pKGEdzxYlOSwLkbqpAgjy+jCJnJh X-Google-Smtp-Source: AAOMgpeVQxz7z/pKACTFi454ovtT+yA+ar1ZDr60bhcH7ivwshxZm57KTwTcRVisBLejS2tqESaHvw== X-Received: by 2002:a0c:a5a4:: with SMTP id z33-v6mr11525261qvz.59.1529941748787; Mon, 25 Jun 2018 08:49:08 -0700 (PDT) Original-Received: from 146f2c17b146 (cpe-184-152-55-93.nyc.res.rr.com. [184.152.55.93]) by smtp.gmail.com with ESMTPSA id b14-v6sm9515751qtp.26.2018.06.25.08.49.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 08:49:08 -0700 (PDT) In-reply-to: <87sh5arhw0.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117282 Archived-At: 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