From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Including AI into Emacs Date: Sat, 7 Dec 2024 02:21:59 +0300 Message-ID: References: <61ffb7417fcfe6fc0c1291aa53d1398b.support1@rcdrun.com> <87msh8ctag.fsf@librehacker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34466"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.12 (2023-09-09) Cc: Emacs Tangents To: Christopher Howard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 00:22:32 2024 Return-path: 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 ) id 1tJhea-0008pD-F0 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 00:22:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJheC-0000yx-Sd; Fri, 06 Dec 2024 18:22:08 -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 1tJheA-0000yl-Mp for help-gnu-emacs@gnu.org; Fri, 06 Dec 2024 18:22:06 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJhe8-00005m-SV for help-gnu-emacs@gnu.org; Fri, 06 Dec 2024 18:22:06 -0500 Original-Received: from localhost ([::ffff:41.75.190.82]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000082017.000000006753871A.003BB1B3; Fri, 06 Dec 2024 16:22:01 -0700 Mail-Followup-To: Christopher Howard , Emacs Tangents Content-Disposition: inline In-Reply-To: <87msh8ctag.fsf@librehacker.com> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:148643 Archived-At: * Christopher Howard [2024-12-07 01:59]: > Jean Louis writes: > > > 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. > > > > 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. There are large language models (LLMs) that may be downloaded and used in local network, Ethernet or on the local computer. Emacs itself is huge contribution to general artificial intelligence. LLMs help in correction of text, answering the questions, correcting the text, making headings, emphasizing words. It is not question of releasing private data, asking remote computer what, those are other issues, I don't agree to it. There are local models and free software that shall be accessible through Emacs. Examples: https://github.com/Mozilla-Ocho/llamafile/ > 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? There is huge knowledge built-in, it can't be compared to our Emacs only based artificial intelligence. When offline, lot of knowledge is accessible on fingertips by using large language models. Since 11 months 8 days I have logged 3623 requests and interactions with the large language models, and created so much, it greatly helped me enhance my common Emacs experience, and it is great extension to editor. Simple run: $ ./llava-v1.5-7b-q4.llamafile Louis: What is GNU Emacs? Llama: GNU Emacs is a powerful text editor that's been around since 1984. It was designed by Richard Stallman and is part of the GNU project which promotes free software development. What makes it stand out from other editors is its extensibility, thanks to an extensive set of packages or plugins known as "emacs modes." These modes allow you to customize Emacs' features based on your needs, making it a versatile and powerful tool for various programming languages, web browsing, organizing files, emailing, and more. Another notable feature is the use of key bindings called "keys" in place of traditional menus or shortcuts. This unique approach to navigation allows users to personalize their editing experience further by creating customized mappings for specific tasks within Emacs. In summary, GNU Emacs is a highly versatile and customizable text editor that has been widely used for decades due to its extensibility, robustness, and the extensive community support it enjoys. -- Jean Louis