From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25408: Remove Decorations Around Emacs Frame (Windows OS) Date: Sat, 06 May 2017 10:13:16 +0300 Message-ID: <83k25ufofn.fsf@gnu.org> References: <587499E6.9030205@gmx.at> <838tqietdj.fsf@gnu.org> <587522DB.2050105@gmx.at> <831swaepnc.fsf@gnu.org> <5875EF34.20507@gmx.at> <9efbe1e3-e8aa-f056-bc5c-5a41f10b6d42@gmail.com> <58996EED.6030601@gmx.at> <3d34793f-4b7c-d4ea-74ec-49ce84214cc8@gmail.com> <589F1F58.1050807@gmx.at> <301ed349-64c7-12c6-d843-e73eb1e20e83@gmail.com> <58A0434D.6030206@gmx.at> <58EDF316.5000205@gmx.at> <939323bf-1d49-e5f0-b6da-7e985c817eb2@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1494054849 12144 195.159.176.226 (6 May 2017 07:14:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 May 2017 07:14:09 +0000 (UTC) Cc: 25408@debbugs.gnu.org, arthur.miller.no1@gmail.com To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 06 09:14:05 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 1d6tun-00033R-AZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 May 2017 09:14:05 +0200 Original-Received: from localhost ([::1]:50312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6tus-0008Lw-IJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 May 2017 03:14:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6tul-0008Lq-Mt for bug-gnu-emacs@gnu.org; Sat, 06 May 2017 03:14:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6tuk-0003d0-KL for bug-gnu-emacs@gnu.org; Sat, 06 May 2017 03:14:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6tuk-0003cq-Fv for bug-gnu-emacs@gnu.org; Sat, 06 May 2017 03:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d6tuk-0005HQ-BF for bug-gnu-emacs@gnu.org; Sat, 06 May 2017 03:14: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: Sat, 06 May 2017 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25408 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25408-submit@debbugs.gnu.org id=B25408.149405483520275 (code B ref 25408); Sat, 06 May 2017 07:14:02 +0000 Original-Received: (at 25408) by debbugs.gnu.org; 6 May 2017 07:13:55 +0000 Original-Received: from localhost ([127.0.0.1]:57066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6tuc-0005Gw-Q3 for submit@debbugs.gnu.org; Sat, 06 May 2017 03:13:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6tub-0005Gl-OQ for 25408@debbugs.gnu.org; Sat, 06 May 2017 03:13:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6tuS-0003a8-KY for 25408@debbugs.gnu.org; Sat, 06 May 2017 03:13:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6tuS-0003a3-Gx; Sat, 06 May 2017 03:13:44 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1927 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d6tuO-000764-QJ; Sat, 06 May 2017 03:13:41 -0400 In-reply-to: <939323bf-1d49-e5f0-b6da-7e985c817eb2@gmail.com> (message from =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel on Fri, 5 May 2017 20:06:46 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:132291 Archived-At: > From: Clément Pit-Claudel > Date: Fri, 5 May 2017 20:06:46 -0400 > Cc: 25408@debbugs.gnu.org > > I've run into another small issue: there doesn't seem to be a way to turn off truncation marks in tooltip frames. Is that correct? This bit of xdisp.c seems to take care of that for Emacs' default tip frame; is there a way to emulate this for Lisp-created frames? > > /* Get dimensions of truncation and continuation glyphs. These are > displayed as fringe bitmaps under X, but we need them for such > frames when the fringes are turned off. But leave the dimensions > zero for tooltip frames, as these glyphs look ugly there and also > sabotage calculations of tooltip dimensions in x-show-tip. */ > #ifdef HAVE_WINDOW_SYSTEM > if (!(FRAME_WINDOW_P (it->f) > && FRAMEP (tip_frame) > && it->f == XFRAME (tip_frame))) > #endif Doing that will have a disadvantage: text will be truncated on display, but there will be no visual cue for that truncation. Tooltip frames don't suffer from this problem, because their size is computed in advance to have the text fit exactly on the line, but AFAIU these "undecorated" frames are just normal frames in that regard, so they will be adversely affected. Therefore, if we are going to allow disabling truncation and continuation glyphs on such frames, it should be via a frame parameter which is by default off.