From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#27427: 26.0.50; Native line numbers lead to display error in company-mode popup Date: Sun, 25 Jun 2017 17:59:01 +0200 Message-ID: <594FDDC5.6040009@gmx.at> References: <611468a0-3115-813a-7347-d0c06e155831@web.de> <83vanrx5uo.fsf@gnu.org> <362a7d18-7f05-2e99-f8b3-41c353cf234f@yandex.ru> <83h8zawvih.fsf@gnu.org> <00f59a24-2d80-ca47-b6f3-3d219aa5aa3f@yandex.ru> <8360fqvz9x.fsf@gnu.org> <6aa4616d-79f7-db1b-c048-076a9a48596f@yandex.ru> <83tw39urzq.fsf@gnu.org> <4c4b873b-2bec-1c12-82f5-325b558bea93@yandex.ru> <83o9tgul6h.fsf@gnu.org> <49b431fd-aaa4-e7ca-06fc-7146a0a5692c@yandex.ru> <83a84zul0d.fsf@gnu.org> <513eca6f-998a-a937-76c4-7cf2fb0ff787@yandex.ru> <83wp81u8rz.fsf@gnu.org> <8ec1b301-79dc-7d11-b3f9-85ae2e925785@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1498406474 12606 195.159.176.226 (25 Jun 2017 16:01:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 16:01:14 +0000 (UTC) Cc: alexanderm@web.de, 27427@debbugs.gnu.org To: Dmitry Gutov , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 25 18:01:10 2017 Return-path: Envelope-to: geb-bug-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 1dP9yF-0002vm-HS for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jun 2017 18:01:07 +0200 Original-Received: from localhost ([::1]:43015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP9yK-00049p-JO for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jun 2017 12:01:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP9xI-0003W4-FP for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2017 12:00:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dP9xD-0000iC-LP for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2017 12:00:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dP9xD-0000hV-Il for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2017 12:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dP9xD-0000rY-9S for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2017 12:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jun 2017 16:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27427 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27427-submit@debbugs.gnu.org id=B27427.14984063543207 (code B ref 27427); Sun, 25 Jun 2017 16:00:03 +0000 Original-Received: (at 27427) by debbugs.gnu.org; 25 Jun 2017 15:59:14 +0000 Original-Received: from localhost ([127.0.0.1]:37469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dP9wQ-0000pe-Fo for submit@debbugs.gnu.org; Sun, 25 Jun 2017 11:59:14 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dP9wP-0000pQ-0I for 27427@debbugs.gnu.org; Sun, 25 Jun 2017 11:59:13 -0400 Original-Received: from [192.168.1.100] ([213.162.68.95]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M0gcI-1dcgse1NAE-00uqJh; Sun, 25 Jun 2017 17:59:06 +0200 In-Reply-To: <8ec1b301-79dc-7d11-b3f9-85ae2e925785@yandex.ru> X-Provags-ID: V03:K0:M+VoObxOST2j8UJR399dbejkp24K5luu7bIjjVxUPerCWznAiAv y74oOmeJKYviI14kaAJtAO0KI9POgzjgf6Mx8nIEeFSfCil1AR9d4vibibg5+FKOy4AFjuS pjF199JWR5r8oqoOoODaSQEblyi5+TfhGNJ86jI8U0U23gSDnxnz9QiBgq1iVdLKnmDvEyF cvGTAp8iC0MweZOQUeN0g== X-UI-Out-Filterresults: notjunk:1;V01:K0:A9zg0jq356U=:+wRwCaq5T0acfqSV8TFRx3 gh5zYXe/DxSMTHygEWjRvp627vPrqKcmI7vy0ntLmtgEFYUWYG9b99Hk4YrlACdPMb8tOKrMr TPpsMdn1DFjpnyf3qHse6GkmC+jltUNfdaPBwrOVPEk/741SuIfDKrLqqBodeZz/CnZLEhyWD /up/rxBdCatfwyEENzc1chMi81gMg/JT+VAd8S5ZnPpiCCNFG+TB6ZTdaJ63gG+jp7c0e73Bp CskmgzRng+PEKMUQOBEk8DKg4gLqFk4YKbXYEm5SYhgdDlidtK6bP44I1wmlu0EVfeCDVjASU Upn2/w0oVACmLEf9BfVBhn2RAkIviRJY9aZuiAyXCRpuRTx9bOz8wGbFSxlAU3o7Rt6R4O/tn Gywtxl79W2YdH6t7iE36KqG8v2kfHNVvBOqJCW6O3ut4LIA7ilG7JreTSJC1QydXmc87qFDMT +ApcVZGg+85+4IXtM+cEyVRW4myc01CBErNTE1unUhteuaghi00d1ANvpwSX2WU/jeZF0+36h vdYif3GFPNPTi9jLdbz2YOJdA7rXrK1XNBUD58Bxr95NG6sdve8JnWqQi3CIorAKBevJi0o6C 0fvVRdp8RoJqxvWDFW61d82eHvNXwqcm9eyy9gDxI9w8eu2kfLwng6H84YPt45sTOI3n5vx1A +1+zSQcyMRgSLiL/eTJuK8T/hh/dbuHritastMVN64wBRccZbEeyp0AKhPT+MUKNGIMO/qS/l 0vRgDVhZnBhZjuIKjD8Qmz3g4lv8CtBN+9VvFyQIVeQEwk3wcDf4+xawq4TOlyntM5RkSJIU X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:133883 Archived-At: > Try as I might, I can't repro those kind of problems. Line wrap > indicators in the terminal usually come at the right. And I think it's= > aesthetically important that the extra glyphs don't shift line text to= > the right unless absolutely necessary, so those issues don't > materialize. (let ((window (split-window-horizontally))) (set-window-margins window 0 0) (set-window-fringes window 0 0)) Now move the divider between the two windows as far as possible to the right and in the window on the right move to the end of the first line. Here a '$' appears at the beginning of each line > I think you're trying too hard to stay away from the margins. But > anyway, we have the alternative solution now. Back then I considered Markus' idea to use the margins quite ingenious (actually, I didn't believe it would work in practice). Still I always voted in favor of having line numbers provided by the redisplay engine. I also voted for a line numbers cache like that of (or even in combination with) the 'syntax-ppss' cache but that's a different subject. Maybe one day Eli will come up with a redesign which would allow to divide a window into side-by-side subwindows that would share a common scroll bar so =E2=80=98follow-mode=E2=80=99 would be done entirely by the= display engine. And each such subwindow would have an arbitrary number of subwindows usable as margins for that window and a line number subwindow and whatever else we want. > I can't see a way to create a less-than-fullscreen frame in terminal > Emacs (speaking of normal frames here). Popup frames (or tooltip frames) on terminals would have to be emulated as we currently do for menus. martin