From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Hyatt Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU ELPA] New package: llm Date: Tue, 12 Sep 2023 00:54:27 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000079507e0605223d2a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28011"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 12 06:55:44 2023 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 1qfvR9-0006xe-Nn for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Sep 2023 06:55:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfvQD-0006yi-U4; Tue, 12 Sep 2023 00:54:45 -0400 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 1qfvQC-0006yY-AJ for emacs-devel@gnu.org; Tue, 12 Sep 2023 00:54:44 -0400 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfvQ9-0006qb-Cl; Tue, 12 Sep 2023 00:54:43 -0400 Original-Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so6645256a12.2; Mon, 11 Sep 2023 21:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694494479; x=1695099279; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vEEcTrxb3qwj29YuNAVeO3nrFwD1guPKK8MQC5PQL+s=; b=csToxilg8p9f543fg6Jhc1uYs7AJ+Kz2s23J1U9igVkkFrpfrRtAGhjn7dfUOrZLe5 rJv3JygtOguSBlHeFA6NoXn/rEQ/hOvrKde7vm7bQFayyOQsyy/FBX2r4LA5HxJYLiKm xHeaEtqLRyImoGd3zy49GwssdQTAn5tFYtLBJ9kqOKVNMywKJyQKdtJffAkFjnNhEwp/ +tRxL6a0lJrcRsou17hsNPAbO0r9TrVgZkVGHBk7OAIDj/yQBENkpCRChVzTj12Wm0um bBQdE5mhz0kdf7ZdcqNvVno/clJn3yDmSEawRIBMB2g4AZDUcuUzjJ7adwcuAVcprxCA OMmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694494479; x=1695099279; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vEEcTrxb3qwj29YuNAVeO3nrFwD1guPKK8MQC5PQL+s=; b=aUYdjBGHwiknlPrSFQWk4POs83aGVuTAn0ZdjraFTU+/8gRFY9vPFly/L0cT+sRKiF /EsMbsd/23kEVwRYRTMN3KweCyqcW4g3B1DyvzXqr2fSc4BQrtBgbIhwTVSV5dz0Ss1w hmcV3G2K86EXQLz/YGoYhtmmU0huW/LoORntSNtJbnDutZMEhlFX2v9szUwQiX1Vxyjc zU7NY1BQ1Z4NLm9+EjZ/wJhBNhDvaBcBVJ/7vH3Tr0/lOtfMZeND7XffnTpJ7fPyDSP5 XN6misFTpKhVcUDXbP+tuhzdvSpq69WS7f8QvKgsEbW5X7aZCga6psV9TqoVmd7S1e4k lE7Q== X-Gm-Message-State: AOJu0YzWv2qU/dyrGjFkPFfJCsbySBkbLYt7uVJdk2EdUA92pWuO71up meAnz+2yU/twKYJJvCQOLj+K8kMeDYDD7T8kBRxpOccy X-Google-Smtp-Source: AGHT+IGK/07eUehoLoBzoBfKUMEmaCNhyCzP9DUrn1b7OwDx5Rs5enFQjJAGIoa8R8LBW9vBzl0EliTZ9M2OtY5I7IU= X-Received: by 2002:a05:6402:1219:b0:523:102f:3ce1 with SMTP id c25-20020a056402121900b00523102f3ce1mr10414690edw.10.1694494478649; Mon, 11 Sep 2023 21:54:38 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=ahyatt@gmail.com; helo=mail-ed1-x52c.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:310502 Archived-At: --00000000000079507e0605223d2a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To bring this thread back to the original purpose: It doesn't seem like there are any objections to having this package in GNU ELPA, in its current form. I'd like to resolve this long-running discussion by committing the first version. I believe I have commit access, so if no one does object, I can add this to GNU ELPA myself. I'll do so on Friday (September 15th), unless someone wants me to hold off. Another question is whether this should be one package or many. The many-package option would have the llm and llm-fake package in the main llm package, with a package for all llm clients, such as llm-openai and llm-vertex (which are the two options I have now). If someone has an opinion on this, please let me know. On Wed, Sep 6, 2023 at 9:21=E2=80=AFPM Richard Stallman wrote= : > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > The warn functionality in emacs does this already: it will pop up a > buffer > > with a warning. The user can choose, by clicking on the (-) symbol t= o > the > > left, to suppress the warning, or suppress the popup. Since the warn > > functionality is built-into emacs, I prefer to use it then create a > similar > > functionality that is nonstandard. > > That is a good approach for this. > > A few days ago, someone asked if it might be possible > to have a general Emacs-wide way of customizing warnings > and notifications that would apply to the various mechanisms. > It could be a good idea. If someone wants to think about what > specific customizations this might do, that might lead to ideas > to implement. > > > -- > Dr Richard Stallman (https://stallman.org) > Chief GNUisance of the GNU Project (https://gnu.org) > Founder, Free Software Foundation (https://fsf.org) > Internet Hall-of-Famer (https://internethalloffame.org) > > > --00000000000079507e0605223d2a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To bring this thread back to the original purpose: It does= n't seem like there are any objections to having this package in GNU EL= PA, in its current form.=C2=A0 I'd like to resolve this long-running di= scussion by committing the first version.=C2=A0 I believe I have commit acc= ess, so if no one does object, I can add this to GNU ELPA myself.=C2=A0 I&#= 39;ll do so on Friday (September 15th), unless someone wants me to hold off= .

Another question is whether this should be one package= or many.=C2=A0 The many-package option would have the llm and llm-fake pac= kage in the main llm package, with a package for all llm clients, such as l= lm-openai and llm-vertex (which are the two options I have now).=C2=A0 If s= omeone has an opinion on this, please let me know.=C2=A0

=


On Wed, Sep 6, 2023 at 9:21=E2=80=AFPM Richard Stallma= n <rms@gnu.org> wrote:
[[[ To any NSA and FBI agen= ts reading my email: please consider=C2=A0 =C2=A0 ]]]
[[[ whether defending the US Constitution against all enemies,=C2=A0 =C2=A0= =C2=A0]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]<= br>
=C2=A0 > The warn functionality in emacs does this already: it will pop = up a buffer
=C2=A0 > with a warning.=C2=A0 The user can choose, by clicking on the (= -) symbol to the
=C2=A0 > left, to suppress the warning, or suppress the popup.=C2=A0 Sin= ce the warn
=C2=A0 > functionality is built-into emacs, I prefer to use it then crea= te a similar
=C2=A0 > functionality that is nonstandard.

That is a good approach for this.

A few days ago, someone asked if it might be possible
to have a general Emacs-wide way of customizing warnings
and notifications that would apply to the various mechanisms.
It could be a good idea.=C2=A0 If someone wants to think about what
specific customizations this might do, that might lead to ideas
to implement.


--
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)


--00000000000079507e0605223d2a--