From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Dedicated window for *log-edit-files* Date: Fri, 25 Oct 2019 22:38:07 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ec74e00595c2f7e4" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="205056"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 25 23:38:30 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iO7Hw-000rAY-CL for ged-emacs-devel@m.gmane.org; Fri, 25 Oct 2019 23:38:28 +0200 Original-Received: from localhost ([::1]:36380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iO7Hv-0007Qs-4S for ged-emacs-devel@m.gmane.org; Fri, 25 Oct 2019 17:38:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42144) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iO7Hp-0007Q5-5i for emacs-devel@gnu.org; Fri, 25 Oct 2019 17:38:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iO7Ho-0000q2-2w for emacs-devel@gnu.org; Fri, 25 Oct 2019 17:38:21 -0400 Original-Received: from mail-il1-x136.google.com ([2607:f8b0:4864:20::136]:34530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iO7Hn-0000pm-Ug for emacs-devel@gnu.org; Fri, 25 Oct 2019 17:38:20 -0400 Original-Received: by mail-il1-x136.google.com with SMTP id a13so3108050ilp.1 for ; Fri, 25 Oct 2019 14:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M+plLyWeKni5oBxK7MmdP9kqPK1ZabJ/N1NCIih13aU=; b=IADjNBsJ6TAYEcJ1ZN4JR3rIHpQeUQAr4y9vQsT/EH2nAQxe+3yT/DHhtj55hs4mKF xeDFd1+8059oU1xe+to0NkF7qUUEc01808fevrYU2LelwNAOABUd3EgM7Nu+qEM4bQ+m X7Dk4i4j94E/v9hAQZHX1oBlXFJJi7oIFDKY68b9kfWWC+izvZWQNlNKWXv47yWWu/Ag 0Xa+bJ9iaCzHtACgbSirweBoUJhaZDPlp48BFOvg/n6i0MtpYqLEnkiK5aL+jOWPXdJ8 uYnVWVZJvkIHksBlEBBoiTSBOCCo7F7QGXgSzzi+d374tmegbexW+EpBQNY4qs2hzXVB yYqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M+plLyWeKni5oBxK7MmdP9kqPK1ZabJ/N1NCIih13aU=; b=suzZVnM8wSWbrb0BYh+LmnY5HMAA8OaQCi+o1N4/pjk34TJrpJL3M2EfcVysRIjD8d 8V6zkDU8t1ntXBcBjBvQUwsI7wpgFk3kfgqN92PoBn7uq2SA+yClsyEl3Vzry0wXRbGW 5GybR5+RZDmp9Q7SmGEslaw1lR5fOhwuqfobGwmckERvA2NlGOi9wp/h3GT+yj3l3QPY VpINcx3CwZAGIwjkmL75w8++wd1B+vttL8FH5Ye6C6tJy7fi+TmBKNXBgTyxX4VNyJO1 4xE2Bf6GUCjNNpbkptZF28fpAsiK+NWTnZQY1scmsaIzrBprYFfDKeqgA9FonTFRi5QS 9Okw== X-Gm-Message-State: APjAAAXmQNPno4irkD4lfHVc45vZOGQnpUWy7uwMuL1zCCRt1o5PnLrj e/BrEvlhQupZO1MRzX3M8qsoTidutdmDlK7Jn5c= X-Google-Smtp-Source: APXvYqzUYkQ/O2LeoCE2jbx1saekn67D5XIY0rF4Jt8vm2a0yYY087dAWoHsKfJbzo42VlL/6f9HGJap6iFNmeeP39s= X-Received: by 2002:a92:dd88:: with SMTP id g8mr6953225iln.199.1572039499214; Fri, 25 Oct 2019 14:38:19 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::136 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241426 Archived-At: --000000000000ec74e00595c2f7e4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Oct 25, 2019, 16:50 Stefan Monnier wrote= : > >> [ Yes, non-nil default values for non-preloaded hooks are evil. > >> I confess to doing it, but I plead insanity. ] > > Why evil? > > Because you can't conveniently add/remove values from it (you either > have to wait for the file to be loaded to do that, or force loading it > eagerly at startup, or completely override the default value with your > own). > Makes sense. I suppose an autoload cookie could do it, but maybe it's kind of ugly. > We discussed a few times teaching Custom how to modify lists like these > (so what is stored in your config file for this variable is morally > a sort of "diff" rather than the current result of applying the diff). > Yes. But it wouldn't work for Custom-hat... err... avoiders like me, right? Anyway, it's the first time I bump into this problem, so it mustn't be so terrible. Jo=C3=A3o --000000000000ec74e00595c2f7e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Oct 25, 2019, 16:50 Stefan Monnier &l= t;monnier@iro= .umontreal.ca> wrote:
>&g= t; [ Yes, non-nil default values for non-preloaded hooks are evil.
>>=C2=A0 =C2=A0I confess to doing it, but I plead insanity.=C2=A0 ] > Why evil?

Because you can't conveniently add/remove values from it (you either have to wait for the file to be loaded to do that, or force loading it
eagerly at startup, or completely override the default value with your
own).

Makes sense. I suppose an autoload cookie could do it, but
<= div dir=3D"auto">maybe it's kind of ugly.
=C2=A0
We dis= cussed a few times teaching Custom how to modify lists like these
(so what is stored in your config file for this variable is morally
a sort of "diff" rather than the current result of applying the d= iff).

Yes.=C2=A0 But it wouldn't wo= rk for Custom-hat... err... avoiders like me,
right?

Anyway, it's the first time I bump into this problem,= so it mustn't
be so terrible.

Jo=C3= =A3o
--000000000000ec74e00595c2f7e4--