GNU bug report logs - #44107
set-window-dedicated-p: args should be marked as optional

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Tue, 20 Oct 2020 22:56:01 UTC

Severity: normal

Tags: wontfix

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 44107 <at> debbugs.gnu.org
Subject: bug#44107: set-window-dedicated-p: args should be marked as optional
Date: Wed, 21 Oct 2020 01:25:43 +0100
Boruch Baum <boruch_baum <at> gmx.com> writes:

> On 2020-10-21 01:13, Basil L. Contovounesios wrote:
>> Or are you suggesting that the function's arguments _be made_ optional,
>> since they are both allowed to be nil?  (A positional argument that can
>> be nil is not the same as an optional argument.)
>
> Yes, I see I was unclear about that. They should be made optional since
> both may be nil.

I don't think that would make sense, since

  (set-window-dedicated-p nil nil)

undedicates the selected window, but if I saw its (proposed) equivalent

  (set-window-dedicated-p)

I'd think the opposite.

-- 
Basil




This bug report was last modified 4 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.