all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: steve-humphreys@gmx.com
To: Stephen Berman <stephen.berman@gmx.net>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: set-frame-parameter
Date: Thu, 10 Dec 2020 00:49:05 +0100	[thread overview]
Message-ID: <trinity-80a4a590-50a6-46da-aed6-fe135c818a3c-1607557745798@3c-app-mailcom-bs14> (raw)
In-Reply-To: <877dpq35ml.fsf@rub.de>



> Sent: Thursday, December 10, 2020 at 12:46 AM
> From: "Stephen Berman" <stephen.berman@gmx.net>
> To: steve-humphreys@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: set-frame-parameter
>
> On Thu, 10 Dec 2020 00:39:19 +0100 steve-humphreys@gmx.com wrote:
> 
> >> Sent: Thursday, December 10, 2020 at 12:29 AM
> >> From: "Stephen Berman" <stephen.berman@gmx.net>
> >> To: steve-humphreys@gmx.com
> >> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> >> Subject: Re: set-frame-parameter
> >>
> >> On Thu, 10 Dec 2020 00:26:24 +0100 Stephen Berman <stephen.berman@gmx.net> wrote:
> >> 
> >> > On Thu, 10 Dec 2020 00:19:40 +0100 steve-humphreys@gmx.com wrote:
> >> >
> >> >> Have used "emacs -Q" as instructed.
> >> >>
> >> >> Then executed the following three commands, one after the other.
> >> >>
> >> >> The last command beeps the frame to fullheight.
> >> >>
> >> >> (set-frame-parameter (selected-frame) 'fullscreen 'fullboth)
> >> >> (set-frame-parameter (selected-frame) 'fullscreen 'fullheight)
> >> >> (set-frame-size nil 58 13)
> >> >
> >> > I can only reiterate that it works for me.  Perhaps your window manager
> >> > is interfering somehow.  The doc string of set-frame-size says:
> >> >
> >> >   (set-frame-size FRAME WIDTH HEIGHT &optional PIXELWISE)
> >> >   
> >> >   Set text size of FRAME to WIDTH by HEIGHT, measured in characters.
> >> >   Optional argument PIXELWISE non-nil means to measure in pixels.  Note:
> >> >   When ‘frame-resize-pixelwise’ is nil, some window managers may refuse to
> >> >   honor a WIDTH that is not an integer multiple of the default frame font
> >> >   width or a HEIGHT that is not an integer multiple of the default frame
> >> >   font height.
> >> >
> >> > FWIW I'm using xfwm4.
> >> 
> >> I meant to add: What happens when you try (set-frame-size nil 58 13 t)?
> >
> >
> >  Doing (set-frame-size nil 58 13) works only if emacs has not been maximised.
> 
> And (set-frame-size nil 58 13 t)?  (Note the `t' at the end.)  If that
> works, then I assume your window manager is preventing the non-pixelwise
> resizing.  If pixelwise resizing also doesn't work, then I'm out of
> ideas.  Maybe someone else will have a suggestion.

Same thing happens when using (set-frame-size nil 58 13 t).  Only works if emacs is not
maximised.  Thanks for bearing with me. 
 
> Steve Berman
> 
> 
>



  reply	other threads:[~2020-12-09 23:49 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09 22:24 set-frame-parameter steve-humphreys
2020-12-09 22:58 ` set-frame-parameter Stephen Berman
2020-12-09 23:04   ` set-frame-parameter steve-humphreys
2020-12-09 23:13     ` set-frame-parameter Stephen Berman
2020-12-09 23:19       ` set-frame-parameter steve-humphreys
2020-12-09 23:26         ` set-frame-parameter Stephen Berman
2020-12-09 23:29           ` set-frame-parameter Stephen Berman
2020-12-09 23:39             ` set-frame-parameter steve-humphreys
2020-12-09 23:46               ` set-frame-parameter Stephen Berman
2020-12-09 23:49                 ` steve-humphreys [this message]
2020-12-09 23:43             ` set-frame-parameter steve-humphreys
2020-12-09 23:47               ` set-frame-parameter Stephen Berman
2020-12-09 23:50                 ` set-frame-parameter steve-humphreys
2020-12-10  0:19     ` set-frame-parameter Michael Heerdegen
2020-12-10  0:38       ` set-frame-parameter Michael Heerdegen
2020-12-10  2:13         ` set-frame-parameter steve-humphreys
2020-12-10  2:33           ` set-frame-parameter steve-humphreys
2020-12-10  3:01             ` set-frame-parameter Michael Heerdegen
2020-12-10  3:08               ` set-frame-parameter steve-humphreys
2020-12-10  3:55                 ` set-frame-parameter Michael Heerdegen
2020-12-10  4:09                   ` set-frame-parameter steve-humphreys
2020-12-10  3:17               ` set-frame-parameter steve-humphreys
2020-12-10  3:42                 ` set-frame-parameter steve-humphreys
2020-12-10  3:59                 ` set-frame-parameter Michael Heerdegen
2020-12-10  4:11                   ` set-frame-parameter steve-humphreys
2020-12-10 16:13                     ` set-frame-parameter Drew Adams
2020-12-10 17:26                       ` set-frame-parameter Michael Heerdegen
2020-12-10 18:31                         ` set-frame-parameter Drew Adams
2020-12-10 18:45                       ` set-frame-parameter Pankaj Jangid
2020-12-10 18:51                         ` set-frame-parameter Drew Adams
2020-12-10 19:03                           ` set-frame-parameter steve-humphreys
2020-12-10 20:44       ` set-frame-parameter Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-80a4a590-50a6-46da-aed6-fe135c818a3c-1607557745798@3c-app-mailcom-bs14 \
    --to=steve-humphreys@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.