From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?SC4tSi4gSGVpdGzDpG5kZXI=?= Newsgroups: gmane.emacs.help Subject: Re: setting frame size with C-5 2 - emacs 30.5 Date: Tue, 14 Nov 2023 15:33:39 +0000 Message-ID: <56e4ffe3-c0c4-4fdc-935d-875998bc34d8@posteo.de> References: <58b2877b-a9e8-4fa6-8f8f-de3525b8abc7@posteo.de> <87lebehkwj.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32668"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 14 16:34:23 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r2vQl-0008E0-E6 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Nov 2023 16:34:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2vQD-0008LH-Oh; Tue, 14 Nov 2023 10:33:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2vQA-0008L1-GV for help-gnu-emacs@gnu.org; Tue, 14 Nov 2023 10:33:46 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2vQ8-0002HW-F0 for help-gnu-emacs@gnu.org; Tue, 14 Nov 2023 10:33:46 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E4598240106 for ; Tue, 14 Nov 2023 16:33:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1699976019; bh=ij0+52wfR5AvwCwFC11wUvd0uq5jqcmJV8bEUmh3obg=; h=Message-ID:Date:MIME-Version:Subject:To:From: Content-Transfer-Encoding:From; b=K8Zi9uQMyD5DLv1JWoYkxtx53kFFelLHhXxcv92St7mIa2sovP8Nmy2famGEfEylV Vs28YbKYsWpJ1A0dVWmVha6FRm64U6Q03Xp2UBKhW1n3leN94SmORw8JmH+PJe50vr Ze2xYJOL+qDECgaiYg+AfOoqirIaTbRbhgJQuywbaoYn7bCxPstuoYMrkwWGHAq5CN DcGNKive9UKcJnLTf5+HKutL0behQxNqoY4Zu7KhZEz5tkIJ2Shrjvl6z8QWs/xQKO i7Ne7PT77OZbL8Q5LudxSdNLX24Dc9gvk6CmcTIBBGRuzSeax//y3YWCHKl0+IFnHE WQfY/e2Jmv8OA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SV9LW3r9pz9rxL for ; Tue, 14 Nov 2023 16:33:39 +0100 (CET) Content-Language: de-DE In-Reply-To: <87lebehkwj.fsf@dataswamp.org> Received-SPF: pass client-ip=185.67.36.66; envelope-from=Heiner.Heitlaender@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145529 Archived-At: Found it at last (stupid me) Chatgpt: write emacs elisp function  which sets the new frame size to 65 w and 33 h answer: (with small edits) (defun KM-make-frame ()   "New frame and set size to w 65, h 33   "   (interactive)   (let ((old-frame (selected-frame))     (new-frame (make-frame)))     (select-frame new-frame)     (set-frame-width new-frame 65)     (set-frame-height new-frame 33)     (select-frame old-frame)     )   ) Outstanding is the problem with the irritating behaviour of C-5 2. But we'll get to that (at some time) TX to all Am 03.11.23 um 17:16 schrieb Emanuel Berg: > H.-J. Heitländer wrote: > >> Additionally the variables "frame-char-width" resp. >> "frame-char-height" don't seem to be defined. > They are functions, `frame-char-width' and > `frame-char-height'. > > Here (frame-char-width) is 1 and (frame-char-height) is > also 1. >