all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: steve-humphreys@gmx.com
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: set-frame-parameter
Date: Thu, 10 Dec 2020 04:17:09 +0100	[thread overview]
Message-ID: <trinity-a36670a5-1241-4d2c-b467-556034850a15-1607570229457@3c-app-mailcom-bs13> (raw)
In-Reply-To: <87im9a749t.fsf@web.de>


> Sent: Thursday, December 10, 2020 at 4:01 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: set-frame-parameter
>
> steve-humphreys@gmx.com writes:
>
> > I wonder which way I should do things for fullscreen and re-sizing.
> >
> > Is it good to use set-frame-parameter for fullscreen, and for re-sizing
> > using set-frame-size?
> >
> >
> > Have done as follows to make same size frame using set-frame-size.
> >
> > (let ((w (frame-width)) (h (frame-height)))
> >     (set-frame-parameter (selected-frame) 'fullscreen nil)
> >     (set-frame-size nil w h))
>
> I don't understand that code.  You resize the frame to its...current
> size?

Would like some advice of when I should use (selected-frame).  Is it correct
to do as I have done?  Then for set-frame-size I use nil.

> Regards,
>
> Michael.
>
>
>



  parent reply	other threads:[~2020-12-10  3:17 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                 ` set-frame-parameter steve-humphreys
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               ` steve-humphreys [this message]
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-a36670a5-1241-4d2c-b467-556034850a15-1607570229457@3c-app-mailcom-bs13 \
    --to=steve-humphreys@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.