From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#20847: [display engine] 25.0.50; company-mode popup makes point jump to an entirely different location Date: Wed, 1 Jul 2015 13:21:12 +0300 Message-ID: <5593BF18.6000509@yandex.ru> References: <868ubgld8y.fsf@yandex.ru> <83mvzvjz3w.fsf@gnu.org> <83wpyyiond.fsf@gnu.org> <5586C2A8.1020904@yandex.ru> <83h9q1hv0t.fsf@gnu.org> <5586FD0F.8090300@yandex.ru> <83d20oj4wo.fsf@gnu.org> <5587185A.306@yandex.ru> <83616gihqd.fsf@gnu.org> <55881053.3080604@yandex.ru> <83oak7hfq6.fsf@gnu.org> <558878BE.3000709@yandex.ru> <83vbeefkf8.fsf@gnu.org> <5589A92A.5080709@yandex.ru> <83k2uufdkg.fsf@gnu.org> <5589CC8D.80608@yandex.ru> <83pp4ldqq9.fsf@gnu.org> <559168B9.8070403@yandex.ru> <83fv592ioa.fsf@gnu.org> <5592F105.3010307@yandex.ru> <837fql2by1.fsf@gnu.org> <5592F9F3.9020109@yandex.ru> <83616438f1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435746146 9630 80.91.229.3 (1 Jul 2015 10:22:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2015 10:22:26 +0000 (UTC) Cc: 20847@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 01 12:22:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZAF9h-0000Ut-6L for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jul 2015 12:22:13 +0200 Original-Received: from localhost ([::1]:56732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAF9g-0002tf-9h for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jul 2015 06:22:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAF9Z-0002p1-V3 for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 06:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAF9W-0000V6-O4 for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 06:22:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAF9W-0000Uz-Kd for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 06:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZAF9W-0000Uj-8J for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 06:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jul 2015 10:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20847 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20847-submit@debbugs.gnu.org id=B20847.14357460841854 (code B ref 20847); Wed, 01 Jul 2015 10:22:02 +0000 Original-Received: (at 20847) by debbugs.gnu.org; 1 Jul 2015 10:21:24 +0000 Original-Received: from localhost ([127.0.0.1]:35223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAF8t-0000Tq-Nt for submit@debbugs.gnu.org; Wed, 01 Jul 2015 06:21:23 -0400 Original-Received: from mail-wi0-f176.google.com ([209.85.212.176]:36973) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAF8r-0000TU-V4 for 20847@debbugs.gnu.org; Wed, 01 Jul 2015 06:21:22 -0400 Original-Received: by wicgi11 with SMTP id gi11so40830403wic.0 for <20847@debbugs.gnu.org>; Wed, 01 Jul 2015 03:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=m0fEt5jPuOHPdMJOouroNaSd6xlgL7KWghE4/DNbZUA=; b=gfyPF/Eo4gKdcOMnuyvnocZRD5Vj8EpMZ65TfVwANwFMAXDMivipp1bTj8yR7uElkU /WjYmybtxSM4y9n/gk7rfRDmf+BbuMVvOitSruvYxAHq8KlrYNpvpa2izZTGyoKKXbXc IUqfmjLd8gBdd/VukiT4HIpX5GzUG1KbGO567/m1d010jd2gWGc+Uvr9u26q1j6OJK+s zOLTw7eGy45UDMEZtMy4a96ltgcvX+E+N/Kvl3kFf0ylEFjY1b6ojVpNzH/RisqUq9M2 tOo7dlgBV8j0KrxS1Ghm6tV4i5RHcmPI8kMKP8mChf/2kgW9/GjABXiS3y/2qErdIZ5A 2WKA== X-Received: by 10.180.10.101 with SMTP id h5mr5016535wib.94.1435746076113; Wed, 01 Jul 2015 03:21:16 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id v3sm2146933wja.31.2015.07.01.03.21.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jul 2015 03:21:14 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: <83616438f1.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104570 Archived-At: On 07/01/2015 05:42 AM, Eli Zaretskii wrote: > Yes, but that's not the situation we are talking about. We are > talking about point being _covered" by an overlay string that ends in > a newline. Fair point. > I meant only in this special situation. It will be a big hack: just look at the huge predicate we'll need to detect it. This situation is not special from the standpoint of the underlying logic. Anyway, I'm inclining toward revisiting the fix for #18285, and doing a smaller hack: using `display' normally, and only resorting to `invisible' + `after-string' when the overlay is empty. I'll report how it goes.