GNU bug report logs - #25408
Remove Decorations Around Emacs Frame (Windows OS)

Previous Next

Package: emacs;

Reported by: Arthur Miller <arthur.miller.no1 <at> gmail.com>

Date: Mon, 9 Jan 2017 22:21:02 UTC

Severity: wishlist

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #179 received at 25408 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Clément Pit-Claudel <cpitclaudel <at> gmail.com>, 
 Arthur Miller <arthur.miller.no1 <at> gmail.com>
Cc: 25408 <at> debbugs.gnu.org
Subject: Re: bug#25408: Remove Decorations Around Emacs Frame (Windows OS)
Date: Sat, 06 May 2017 09:40:28 +0200
[Message part 1 (text/plain, inline)]
> 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

Please try the attached patch (I only checked whether it compiles and
builds on Windows).  You have to add a non-nil 'no-special-glyphs' frame
parameter to suppress such glyphs.

And please test the new behavior for tooltip frames as well.

Thanks, martin
[no-special-glyphs.diff (text/plain, attachment)]

This bug report was last modified 7 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.