From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Nicolas P. Rougier (inria)" Newsgroups: gmane.emacs.devel Subject: Re: Question on set-window-margins Date: Tue, 02 Jan 2024 20:46:14 +0100 Message-ID: References: <83il4bzgmk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32736"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.8; emacs 29.1 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 02 20:51:56 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rKknr-0008FE-FJ for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jan 2024 20:51:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKkn1-0000fq-Kz; Tue, 02 Jan 2024 14:51:03 -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 1rKkmq-0000ew-Dr for emacs-devel@gnu.org; Tue, 02 Jan 2024 14:50:53 -0500 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKkmn-0000An-Tx; Tue, 02 Jan 2024 14:50:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=references:from:to:cc:subject:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=E6RDy7e6FRn9yGKZ+3vsWySgg4KhAOuIseReexuis4Q=; b=KPnsgSUZqUCm9qwR5oD0o07+BRaPUe/miQXxFHZtiwR5Y2jNJqjDR6C6 O4NWCMBFWVkmegpNUzaTtVfGi0A6D+q0mBVkyNs7aBlnqEMs2EZsIofQD g15y81EpafQm0K1RardM2Ptxlmqw+yZopsw/vbXsAsuL+iQDnuns6vAP0 o=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=nicolas.rougier@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.04,325,1695679200"; d="scan'208";a="144613957" Original-Received: from 91-160-114-139.subs.proxad.net (HELO M-E7-NPR.local) ([91.160.114.139]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2024 20:50:46 +0100 In-reply-to: <83il4bzgmk.fsf@gnu.org> Received-SPF: pass client-ip=192.134.164.83; envelope-from=nicolas.rougier@inria.fr; helo=mail2-relais-roc.national.inria.fr 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314466 Archived-At: Eli Zaretskii [2024-01-02 at 21:20] wrote: > From the ELisp manual: >=20 > -- Function: set-window-margins window left &optional right > This function specifies the margin widths for window=20 > WINDOW, in > character cell units. The argument LEFT controls the left=20 > margin, > and RIGHT controls the right margin (default =E2=80=980=E2=80=99). >=20 > If WINDOW is not large enough to accommodate margins of the=20 > desired > width, this leaves the margins of WINDOW unchanged. >=20 > The values specified here may be later overridden by=20 > invoking > =E2=80=98set-window-buffer=E2=80=99 (*note Buffers and Windows::) on= WINDOW=20 > with > its KEEP-MARGINS argument =E2=80=98nil=E2=80=99 or omitted. Thanks. The last paragraph is actually missing from function=20 definition on 29.1 hence my question.=20 Nicolas --=20 Nicolas P. Rougier =E2=80=94=E2=80=94 www.labri.fr/perso/nrougier Institute of Neurodegenerative Diseases, Bordeaux