From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Make fullscreen with margins Date: Sun, 22 Nov 2020 15:45:29 +0100 Message-ID: References: <87sg91h3si.fsf@web.de> <87mtz9h34i.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27747"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 22 15:47:58 2020 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 1kgqej-00075W-OC for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 15:47:57 +0100 Original-Received: from localhost ([::1]:37672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgqei-0005tP-Ji for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 09:47:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgqcR-0005rh-Pu for help-gnu-emacs@gnu.org; Sun, 22 Nov 2020 09:45:37 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:44709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgqcO-0001VH-0R for help-gnu-emacs@gnu.org; Sun, 22 Nov 2020 09:45:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606056329; bh=yutWe51Dq6Avp70PA51bcB4OnwmxTQbjUb2fs7s6Ycc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ga+A4lexOYdgVXAdiOy0zPndyDBSloz6wLf6z17nX5JXyTm216ABybAaMGf5wRZEp I3CQYn2QsuxWQL02Aaei1T77571aYxK23ntxXBvPt+4dRSmwq1D66rCktzBV0EHvoH +rT4PGa9ZZn4F6RDB09+m/9vNTCPLwIxqP3V70fc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Sun, 22 Nov 2020 15:45:29 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87mtz9h34i.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:DExLUR+b+5ZWvsh8f/XvkfGSzr2Occ9PZHHWrzsAr00Ilaa3ZIfhC/5uQ0JfQrMVGDk1U khYYRuGtbRe6eBTP3famsSLd0i7XOAMk//OzWnceN1HNn8HKj937IRV7dlDCLV27FGhCDa8MtbfV 8Zhx+j/syRZSfZuSQRnB2nHCp4ri6Ox3CYd2nfIspUpOGBehQf27L0LT7kzQVBM4tU9Xscj+9XO0 vPcPqV8tu0cg6RkDx5N6BoTPnZejtsEHIA3ou+Dl7OWECVdwNhBwaMgT3SKELQPiPmbJjRGQz3nl bw= X-UI-Out-Filterresults: notjunk:1;V03:K0:v0FKYdvc4FA=:BGKyE27gTIT7VsiSa7eF7H oZ29w1JUalWimDKbZNaP/8PcnmmAr1+98l3KFXQbI5Rj+eIqXrzfqxTtQB7bxf6AGrt3nbm9O Tq2U+6vXwr3P+c8DPxoi6+kaO3aDEH5u/cWgVG9VpfIv3Vj/qed4N6y3s6tPHnMPPLDzeyhVZ iwB3V5o3ePSB/iI8jnynsgMFwv9D6Uo6UwW0KtUEQjezqw5xR3bUArwbisASC2XCvGLDjK8SQ j3lYHZeWeIpnTG2dcA1/UH1fUYATB4PjwpYS3ClrdnFxAtNdbI6UmPF9ookQZQXD+1LKqNpcB /GcssvKcYL2+6QpBIRo5RaVkZY2MrW29QfrZrklJvLmB1OuzWNdgMs6EsK7nvjpj8h4BDRVdY Opdgy22rbdmHhHOaAbNRsFC0VZXwpFB2Bv+x+DsnQ5K7rCqvVEUfnDMwoUazOGUWGrG0ZTGPy quv6mThq+AuRxB851qy9HDd+TxsXsjn46FG5BcmgXbauS21G0DIVRRZTQMVP14eZvaja3WKPO m+CNqJ1P3ZRVwmOTrxSn9BlBsiKne1n8Kv8FPeB0s6a9tuUryj9YxUH2sYjbVK3sUfUH99Kcb MCzZCC/L/kvUs= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:125474 Archived-At: > Sent: Sunday, November 22, 2020 at 3:34 PM > From: "Michael Heerdegen" > To: "Christopher Dimech" > Cc: help-gnu-emacs@gnu.org > Subject: Re: Make fullscreen with margins > > Christopher Dimech writes: > > > I actually used > > > > (if (one-window-p) > > Should be ok, yes. > > > Here is the code. Would you be so kind to comment if this can be > > improved? > > If you are happy with what it does, and `margined-buffer' is a function > you defined, I think you can use that. Yes, it is a function I defined. > If you intend to distribute your code, your function names should get an > according prefix. If not, it's still better to use a prefix like "my-" > or so, for the sake that it will later be obvious that that is your own > function. That will prevent later confusion, for yourself, or if you > post your code etc. Yes, the code will be good enough for public release. Can you suggest a package I can check out on the things you mentioned so there won't be confusion? > Regards, > > Michael. > >