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#30320: 26.0.91; Crash when using lsp-ui-doc-mode Date: Sat, 10 Feb 2018 14:40:20 +0100 Message-ID: <5A7EF644.5030706@gmx.at> References: <83po5oeil8.fsf@gnu.org> <83a7wrer8i.fsf@gnu.org> <5A757B30.9070402@gmx.at> <83y3ka9gmg.fsf@gnu.org> <83mv0pal74.fsf@gnu.org> <83y3k88ux5.fsf@gnu.org> <834lmv8j3u.fsf@gnu.org> <5A797560.9000602@gmx.at> <83mv0h2ltf.fsf@gnu.org> <5A7ECD34.6000604@gmx.at> <834lmp2gex.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1518269954 647 195.159.176.226 (10 Feb 2018 13:39:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Feb 2018 13:39:14 +0000 (UTC) Cc: 30320@debbugs.gnu.org, jake.goulding@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 10 14:39:09 2018 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 1ekVMw-00084l-AH for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 14:39:06 +0100 Original-Received: from localhost ([::1]:43272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekVOx-0002Jl-G3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 08:41:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekVOr-0002Iw-HI for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 08:41:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekVOo-0000Xy-Ou for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 08:41:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56549) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekVOo-0000Xm-Kt for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 08:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekVOo-0002fN-BL for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 08:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Feb 2018 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30320 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30320-submit@debbugs.gnu.org id=B30320.151827003410207 (code B ref 30320); Sat, 10 Feb 2018 13:41:02 +0000 Original-Received: (at 30320) by debbugs.gnu.org; 10 Feb 2018 13:40:34 +0000 Original-Received: from localhost ([127.0.0.1]:36213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekVOL-0002eY-S3 for submit@debbugs.gnu.org; Sat, 10 Feb 2018 08:40:34 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:52249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekVOK-0002eL-03 for 30320@debbugs.gnu.org; Sat, 10 Feb 2018 08:40:32 -0500 Original-Received: from [192.168.1.100] ([212.95.5.41]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M7kwW-1exTuC377Q-00vRlw; Sat, 10 Feb 2018 14:40:24 +0100 In-Reply-To: <834lmp2gex.fsf@gnu.org> X-Provags-ID: V03:K0:ma26r00n1jvMDOvVD82qj9N2ykIhDQSNtvxhOVUBriIC8BQ7nXV sndNjuqgGdwElbp5ZBd0hw62Jd+2gJWJMG+mtnM9NIB4BWiFKjtUF0TPb8F+eIFJsHYqP7u L6JXMVT06wZrQYVBxH/JDXqBWTPxbk0jJoLkXOsE1hCWhRO1aGHpBbjLKtdQ+BD2mPue025 cnvysC/Wsb0/FTze6iP2Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:E+3x0mvQ6tA=:QNeg2wCVh5ikE7Ti2LnYYi 4c3qDbvsgMTXHcZWWN9VZ7XmNzZx8Hj6F32959PfeYxlKQcT+ufLhFK4QgQQOKCGTm8rJLo7N T2P13y0qcWBTpAZzGAbRwWKpEuRkJNwhuEqDiGnk4YFiSHk+19lcOIRdplkfRLmkhpP/GXDO2 ujK5pIH+3Lvpjjm2ZayUI0hLNZ7En3AVEn7OmNN4rJcbLJeHi14O+PBxkbjcSbSRx5az12ZZ9 Tehwexh9GRNKCEQANfRu5fFBOe352OWpgccxuxooYaZzed54nF83qAsonQVKigkMRw6us18iT ck1UyrCcqISbDBRU668pBB30WHqgD8CSUYbnYOUK/s+xKRuB898I0b3dwZtxoxmR+QgfW3w9Q 6N184OACGqIs6X5d6JwtHpViCSY1z5ZWA9ZBw8x/i8OozOI85CbGCCLnGJye+r8aMqSsWLnh3 djEZDKBwRSJrFRQ4YBfXfZ047dG4ykFhs55LfTaMitg8z4gSfbiW0qQPbr8CvTme/smiix7Hi 9641Cs9M6RLnLG8YpP3rA/AO8zkkD8D+AgXnYbCuq9Bdff5pl6nsq//ftTUlNVL1pEwVUXx9o miVHH7FQr8X5yPQGbUCKew0pnSV9UOom+3no5LnkFzmIrtI/PUFbv77hPojJYadbfI07hcp6m PIG3SA/nU+1oSsen1w+nZiyY2gWi7LPhQoW1Qnw6oT+68cATaOgkwef/c1nCt1mQKN8X8SMrz /eYbHpvyeVdX3pTZ9T5DMJCvC2IkDXM5i5MGETLWcSMDly2M+IN3jFNZKGbuuBx0ruZw+mmD 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:143092 Archived-At: > I considered the case of width, but couldn't find a case where 1 is > too few. Is there some configuration where one or more columns are > taken by some display element other than text? Is the truncation/continuation glyph mechanism robust enough to handle one column wide windows? > Also, cm.c only aborts > if the Y coordinate is wrong, it doesn't care about the X coordinate. I have no idea what MagicWrap does (the "Wrap" made me wrongly suspect a width problem initially). Maybe a simpler fix would be to process the 'min-width' and 'min-height' frame parameters for graphic frames only. Then 'frame-windows-min-size' should be able to handle this problem without further assistance. Note that 'window-safe-min-width' is 2 which also gives the minimum width of the frame. OTOH 'window-safe-min-height' is 1 and we add 1 for a header line, 1 for a mode line and 1 if the frame contains a minibuffer/echo area window so we can have a one line frame if there's none of the latter. martin