From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#25408: Remove Decorations Around Emacs Frame (Windows OS) Date: Fri, 5 May 2017 20:06:46 -0400 Message-ID: <939323bf-1d49-e5f0-b6da-7e985c817eb2@gmail.com> 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> 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 1494029237 13885 195.159.176.226 (6 May 2017 00:07:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 May 2017 00:07:17 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: 25408@debbugs.gnu.org To: martin rudalics , Arthur Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 06 02:07:11 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 1d6nFf-0003WX-Ap for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 May 2017 02:07:11 +0200 Original-Received: from localhost ([::1]:49500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6nFi-0006Zf-8e for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 May 2017 20:07:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6nFb-0006Yz-OV for bug-gnu-emacs@gnu.org; Fri, 05 May 2017 20:07:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6nFW-0006sC-PN for bug-gnu-emacs@gnu.org; Fri, 05 May 2017 20:07:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58733) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6nFW-0006s6-Kp for bug-gnu-emacs@gnu.org; Fri, 05 May 2017 20:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d6nFW-0006nV-Ba for bug-gnu-emacs@gnu.org; Fri, 05 May 2017 20:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 May 2017 00:07: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.149402921626115 (code B ref 25408); Sat, 06 May 2017 00:07:02 +0000 Original-Received: (at 25408) by debbugs.gnu.org; 6 May 2017 00:06:56 +0000 Original-Received: from localhost ([127.0.0.1]:56932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6nFP-0006n9-N8 for submit@debbugs.gnu.org; Fri, 05 May 2017 20:06:55 -0400 Original-Received: from mail-it0-f42.google.com ([209.85.214.42]:37234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6nFN-0006mw-Jw for 25408@debbugs.gnu.org; Fri, 05 May 2017 20:06:53 -0400 Original-Received: by mail-it0-f42.google.com with SMTP id x188so17234269itb.0 for <25408@debbugs.gnu.org>; Fri, 05 May 2017 17:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=bD7QRqg/0K/yIO0r+uqcqhK9VcfDOWb2Tu44V97P6Gg=; b=J2MjasX18Vcd7Uzls9/gbBRyqtSbqkwN4iPFJA1OF92XzuLNaYZaxYuD8vhqwswXZ1 kSASghY/w1AebdNt+EPGWu5Wyrx1DiWK3csQoRuLbGTUjqxD4rwnHYJvHXjEpxlBBXij 2wfdtMmyW51YTZRJI2UEnSVAh9OoGULevCYqJr2jtX2+f5tQXFIeNp89/67/NH8t3PZj rcsABn78I2CjenRQHd59Mh1u2xTat3Zugl0c7mHshscepg6xmmShKmXARrcQemTr9g0o VR/azBWVNqTeKWfhM+NCW4V4Qc1rykgx462d+l8P87qVCCLPmVyepCYFDtET5xpeCUIB k2JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=bD7QRqg/0K/yIO0r+uqcqhK9VcfDOWb2Tu44V97P6Gg=; b=eU0XvPdchzkL/Yk6rQ+ZEyga2aHm01fiAY2lvLh6U+TRmEsScTbC7Rowex/g6QEII6 MCjSQaGFFIXeUelJDUlc69XSfCuBSXO7rCVR1271unTqEBpNKmgCik1xUX/9tX3gWmHg GvXj679Ojh3QJ8KzQUJ7x48zEosYKxYXu4xDo5C5p58NGbChswhWjxvRjf4MbHkML31y p0a4dXWtYD3/ZY0XsHF42zERpdA03uHT//+vdOHgX1IuVOQvSEEmgWNctsiF9HPWvBgg c9L/3Lq4KqWr1w0XWxz4h8/kDCDIUX0PZUpFhKH1HjmdXx78eh7RTZH72EePLBpCeV3b pMFg== X-Gm-Message-State: AN3rC/5XPFtimD4vr+AYQMl6wpdYXOS8XLje03jdcvNPvBe9C5AwlW6N OIv/ToWunKA93w== X-Received: by 10.36.127.85 with SMTP id r82mr11212522itc.33.1494029207946; Fri, 05 May 2017 17:06:47 -0700 (PDT) Original-Received: from ?IPv6:2001:470:8b2d:1a:9bab:c177:73b2:20a9? ([2001:470:8b2d:1a:9bab:c177:73b2:20a9]) by smtp.gmail.com with ESMTPSA id m31sm10341271iod.27.2017.05.05.17.06.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 May 2017 17:06:47 -0700 (PDT) In-Reply-To: <58EDF316.5000205@gmx.at> 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:132285 Archived-At: On 2017-04-12 05:27, martin rudalics wrote: > I now installed most of the changes from my earlier patch. Minor > changes for an `internal-border' face, `x-focus-frame' and > `select-window' will follow. Also a major documentation rewrite will be > installed in the next days. Till then, the major purpose of installing > was to check whether we get any breakage of existing code. > > If people can see anything fishy, please report immediately. Affected > might be among others scroll bars, frame deletion and selection. Also, > most of the new parameters won't work on NS. Hopefully, Alan or Anders > can help us with some of them. > >> So as a rule create your frames (lazily) once for each session and hide >> them when you don't need them. > > Did you try that in the meantime? Yes :) I just did. It works great. >> > * Creating a frame / making it visible uses my WM's frame creating animation — is there a way to disable this (x-show-tip doesn't have it)? >> >> No idea. I can look into that (as a rule I turn off all animations >> here). Do you use GTK tooltips or Emacs' native ones? > > For X I have now also provided an `override-redirect' parameter which > should replicate what the tooltip code does. If you still get > animations then I think you will have to explicitly tell the WM (for > example, via the frame title) to turn them off. This works perfectly. 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 Thanks! Clément.