From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Basile Starynkevitch <basile@starynkevitch.net>
Newsgroups: gmane.emacs.help
Subject: Re: Including AI into Emacs
Date: Tue, 10 Dec 2024 11:45:41 +0100
Message-ID: <ad41d544df092a072deab64cd41bad0c5ea21185.camel@starynkevitch.net>
References: <61ffb7417fcfe6fc0c1291aa53d1398b.support1@rcdrun.com>
 <87msh8ctag.fsf@librehacker.com>
Mime-Version: 1.0
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="22143"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Evolution 3.52.3-0ubuntu1
Cc: Emacs Tangents <help-gnu-emacs@gnu.org>
To: Christopher Howard <christopher@librehacker.com>, Jean Louis
 <bugs@gnu.support>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 10 11:47:01 2024
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1tKxlc-0005WO-I6
	for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 10 Dec 2024 11:47:00 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-gnu-emacs-bounces@gnu.org>)
	id 1tKxl3-0006bb-2R; Tue, 10 Dec 2024 05:46:33 -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 <basile@starynkevitch.net>)
 id 1tKxkX-0006X7-J5
 for help-gnu-emacs@gnu.org; Tue, 10 Dec 2024 05:45:55 -0500
Original-Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <basile@starynkevitch.net>)
 id 1tKxkU-0007gc-36
 for help-gnu-emacs@gnu.org; Tue, 10 Dec 2024 05:45:52 -0500
Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id B9F0520008;
 Tue, 10 Dec 2024 10:45:41 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=starynkevitch.net;
 s=gm1; t=1733827542;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=uljN4WKmx0uTxSs5rrMPzhR7dcZ5S7JF26Qi9oL9CxE=;
 b=E/ohM8Qqn98JbKnv8uTRluv13Ylm57cua7FN2+1iHwxOSsHtLgwd2/1FLknAO2KclojGE4
 0aEVrqhtIkIUyHJPWZKeQJRNr9Y7eJuJrSQz5YV10Q4IDxg5+tnY2VswO2geWnEb62vFYv
 yWi99utnnDhonHFGNmJUSJzvwyisr+OBTrm6b1hQk7LRpiOF/RGhC24YGGZShIIgw+alPu
 WBqktK+fS6Rfka9Bd/c5LPsGFO1NrbtkVS2eZxyxRuynUvJJeJXFa0kdYbwKTnsVKuCPbQ
 sOfCXKUjluComztl5bHcqbA/MiFJ6riLrSURMnJGNUoKLWPs2I/9OGJ6bRvj4g==
In-Reply-To: <87msh8ctag.fsf@librehacker.com>
X-GND-Sasl: basile@starynkevitch.net
Received-SPF: pass client-ip=2001:4b98:dc4:8::227;
 envelope-from=basile@starynkevitch.net; helo=relay7-d.mail.gandi.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.help:148746
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/148746>

On Fri, 2024-12-06 at 13:59 -0900, Christopher Howard wrote:
> Jean Louis <bugs@gnu.support> writes:
>=20
> > I believe it would be really beneficial to include AI into GNU
> > Emacs. Emacs is already a powerful tool, but adding AI features
> > could
> > make it even better. For example, AI could help with writing by
> > suggesting improvements or catching mistakes. It could also assist
> > with coding by providing smart autocomplete options or debugging
> > help. These features would make Emacs more efficient and
> > user-friendly, helping users get their work done faster and with
> > fewer
> > errors.
> >=20
>=20
> Could you clarify what you mean exactly but "including AI into GNU
> Emacs"? I know for sure I don't want Emacs sending information about
> my system, or questions that I have about Emacs or my project, off to
> some company's LLM chat system, or however that works exactly. I do
> not want to become dependent on some remote computer program or AI in
> order to be able to write code or figure out how Emacs works.
>=20
> I'm certain interested in running tools locally (same computer, or my
> network) that help me with "suggesting improvements, catching
> mistakes", etc. Do you need something massive like ChatGPT to
> accomplish that, or just some Emacs-centric expert systems? Or maybe
> something like MycroftAI, running locally?
>=20

Without needing a remote supercomputer, you could run
https://clipsrules.net/ on your Linux desktop (supplying it a rules
source file), or extend https://github.com/RefPerSys/RefPerSys (it is
GPLv3+ work-in-progress inference engine) to run locally on it and
suggest some improvement (or contextual autocompletion) to some EMACS
edited source file.

ChatGPT is certainly not the only possible open source symbolic AI
software, and they don't require a supercomputer or datacenter. For
example GNU prolog is also an open source AI software.

As a concrete example GNU chess is some open source AI program and you
don't need a datacenter to run it.

Very probably, both CLIPSRULES and RefPerSys could be extended (in a
few months of work) for simple tasks like English grammar checking or
English spellchecking.

Regards.
--=20
Basile STARYNKEVITCH           <basile@starynkevitch.net>
8 rue de la Fa=C3=AFencerie
92340 Bourg-la-Reine,          France
http://starynkevitch.net/Basile & https://github.com/bstarynk=20