From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Question on set-window-margins Date: Tue, 2 Jan 2024 19:42:59 -0800 Message-ID: <5FC2FDA6-CB7F-4285-958E-EC8595FC66AE@gmail.com> References: <83il4bzgmk.fsf@gnu.org> <83h6jvyu9p.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) 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="40128"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Nicolas P. Rougier (inria)" , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 03 04:44:08 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 1rKsAq-000ADc-5W for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jan 2024 04:44:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKsA1-0007HX-3J; Tue, 02 Jan 2024 22:43:17 -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 1rKs9z-0007GR-7c for emacs-devel@gnu.org; Tue, 02 Jan 2024 22:43:15 -0500 Original-Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKs9x-0002RV-9E; Tue, 02 Jan 2024 22:43:14 -0500 Original-Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6dbfe24c91dso4109537a34.0; Tue, 02 Jan 2024 19:43:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704253391; x=1704858191; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xYf4k1Q5V37ySl0K8oVEpp/IKsKwdXTX6GrXypu4y20=; b=nrwE02+aLtJoWsUTAbopS9c0f/g1riJXiQ6R6IskWWlRuqFlmkA6O9uoKz7YeKaNWb HhD57Lw4PSRzCIv1ejLis8Z1W2UvR7ObONBS5xWFzpSFVbqMvc0xwIbq28NWNxsXdve5 2E62pPMQDKlFnsBV6qcQOIVTJyxgjWxE6BijT0AF+8WdD4xmrWPa4iddx83KHUMT1sUC sdJxgP1gyGHgZTqfLgA1jXbrTRXSEwzlVsqG9fnh7y7hH1y3b1G4OjbD1h36QQsusSBB TzKbjSx1iQ5BRqg7+ge7LVgzx3LL9fbzqRYbeK0JA1YzJu+V4jtbKBkDfbZfOPLRoWdu DVNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704253391; x=1704858191; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xYf4k1Q5V37ySl0K8oVEpp/IKsKwdXTX6GrXypu4y20=; b=oRk3cOfkwwIcpmwSZMW9U10XlZoiZRXduhb1LpVZAocauRzCgoX1bA/uApIFwY46rL BLwoDD7sMKAIrYBN9wtyIvI2y/YACbldiP0fXETUSDB1ZYKONoaUjGNHMrkG2ZJrYW0i IWDNxQSmiyJgBCM+TKsPX1kZf2s7NuQkjnWAd9bOKyXX+Z/+b35ysQfUjegsC0tVP2xe z8NAkwZ7hmZx2/o3tfULDA5Crnamf8rlk67ndBnZekMKghByVGwHLWGCm1ZWIp8sHYBv MpPSbKsbWS/pEPWMwnzXahPxf8wowKi+qt1YaQrxuXUfDjkwO0tfJc4/jznvwBZKXlGF RXZg== X-Gm-Message-State: AOJu0YxWWbEFfmp+mm/GZ0kCXjzdo6pnRJqu+HbyBKDhhVEywTrTOXnD pXPaFa5r9RnFU9dIGuYaEiCC3FbY4GQ= X-Google-Smtp-Source: AGHT+IG2V/+fAmRUwcwxfKIDIreGVrrixlWApHBMZGzEpMDwpFOqzbLfjFseRrmL5XGuhGwITDfgxA== X-Received: by 2002:a05:6830:3d0f:b0:6db:b303:9aad with SMTP id eu15-20020a0568303d0f00b006dbb3039aadmr13146255otb.67.1704253391624; Tue, 02 Jan 2024 19:43:11 -0800 (PST) Original-Received: from smtpclient.apple (172-117-161-177.res.spectrum.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id f17-20020a056a00239100b006d9723bf48dsm22192990pfc.10.2024.01.02.19.43.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jan 2024 19:43:11 -0800 (PST) In-Reply-To: <83h6jvyu9p.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.700.6) Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=casouri@gmail.com; helo=mail-ot1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:314468 Archived-At: > On Jan 2, 2024, at 7:23 PM, Eli Zaretskii wrote: >=20 >> From: "Nicolas P. Rougier (inria)" >> Cc: emacs-devel@gnu.org >> Date: Tue, 02 Jan 2024 20:46:14 +0100 >>=20 >>=20 >> Eli Zaretskii [2024-01-02 at 21:20] wrote: >>> =46rom 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. >>=20 >> Thanks. The last paragraph is actually missing from function=20 >> definition on 29.1 hence my question.=20 >=20 > Sorry, I don't understand what you mean by "missing from function > definition". Please elaborate. I think Nicolas means that the last paragraph isn=E2=80=99t present in = the docstring of set-window-margin. That paragraph is only in the = manual. It might be a good idea to mention this caveat in the docstring. Yuan