From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20847: [display engine] 25.0.50; company-mode popup makes point jump to an entirely different location Date: Tue, 30 Jun 2015 23:11:50 +0300 Message-ID: <837fql2by1.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435695142 30808 80.91.229.3 (30 Jun 2015 20:12:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2015 20:12:22 +0000 (UTC) Cc: 20847@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 22:12:12 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 1ZA1t5-0007m2-W9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 22:12:12 +0200 Original-Received: from localhost ([::1]:48575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1t5-0003h6-4t for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 16:12:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1t1-0003h0-6r for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2015 16:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZA1sw-00080N-VK for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2015 16:12:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1sw-00080H-St for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2015 16:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZA1sw-0008L1-4P for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2015 16:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jun 2015 20:12: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.143569512032035 (code B ref 20847); Tue, 30 Jun 2015 20:12:02 +0000 Original-Received: (at 20847) by debbugs.gnu.org; 30 Jun 2015 20:12:00 +0000 Original-Received: from localhost ([127.0.0.1]:34788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZA1st-0008Kc-Ms for submit@debbugs.gnu.org; Tue, 30 Jun 2015 16:12:00 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:53427) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZA1sq-0008Jq-Op for 20847@debbugs.gnu.org; Tue, 30 Jun 2015 16:11:57 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NQR00900WWF4X00@mtaout29.012.net.il> for 20847@debbugs.gnu.org; Tue, 30 Jun 2015 23:11:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQR005RZXESVV50@mtaout29.012.net.il>; Tue, 30 Jun 2015 23:11:16 +0300 (IDT) In-reply-to: <5592F105.3010307@yandex.ru> X-012-Sender: halo1@inter.net.il 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:104546 Archived-At: > Cc: 20847@debbugs.gnu.org > From: Dmitry Gutov > Date: Tue, 30 Jun 2015 22:41:57 +0300 > > >> Why not prefer the former? > > > > Insertion point, I think. If you type characters, they will appear on > > the next line, which is confusing. > > Isn't it the same in the absence of any overlays, if point is under the > edge of the window (and so the cursor is displayed on the margin)? No, in that case the characters are inserted before the newline, i.e. on the same line. > > But once again, you wanted a solution that will work with currently > > released Emacs, so such changes are out of scope for now. > > What I said is, if it's a hack, then I want a hack that will work today. If you can avoid the leading newline in the overlay string, there's no hack here.