unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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:19:40 +0100	[thread overview]
Message-ID: <trinity-6bb8eaf3-e948-4407-a62f-293fd3fdb8f2-1607555980812@3c-app-mailcom-bs14> (raw)
In-Reply-To: <87k0tq375o.fsf@rub.de>

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)

> Sent: Thursday, December 10, 2020 at 12:13 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:04:53 +0100 steve-humphreys@gmx.com wrote:
>
> >> Sent: Wednesday, December 09, 2020 at 11:58 PM
> >> 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 Wed, 9 Dec 2020 23:24:39 +0100 steve-humphreys@gmx.com wrote:
> >>
> >> > Have started using fullscreen
> >> >
> >> >    (set-frame-parameter (selected-frame) 'fullscreen 'fullboth)
> >> >
> >> > Then to maximised position
> >> >
> >> >    (set-frame-parameter (selected-frame) 'width 75)
> >> >    (set-frame-parameter nil 'fullscreen 'fullheight)
> >> >
> >> > But then doing the following small frame gets me an error
> >> >
> >> >    (set-frame-size nil 'width  58)
> >> >    (set-frame-size nil 'height 13)
> >>
> >> The WIDTH and HEIGHT arguments of set-frame-size should be numbers, like
> >> this:
> >>
> >> (set-frame-size nil 58 13)
> >
> > I have tried it that way, but the frame stays at fullheight, rather than being
> > set to 13.
>
> It works for me with emacs-26, emacs-27 and emacs-28 (master).  Did you
> try it after starting Emacs with -Q to suppress any customizations from
> your init file?
>
> Steve Berman
>
>



  reply	other threads:[~2020-12-09 23:19 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       ` steve-humphreys [this message]
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               ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=trinity-6bb8eaf3-e948-4407-a62f-293fd3fdb8f2-1607555980812@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).