From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Barbier Newsgroups: gmane.emacs.help Subject: Re: Including AI into Emacs Date: Tue, 10 Dec 2024 11:37:39 +0100 Message-ID: <675819f5.050a0220.2dd5de.45d0@mx.google.com> References: <61ffb7417fcfe6fc0c1291aa53d1398b.support1@rcdrun.com> <67533f62.5d0a0220.74bfb.65e6@mx.google.com> <67541628.050a0220.1c50f6.91ff@mx.google.com> <6754318e.df0a0220.314e38.6466@mx.google.com> <675775ac.050a0220.1b7ef7.6fe2@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30860"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 10 11:38:21 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 1tKxdD-0007rg-AY for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 10 Dec 2024 11:38:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKxci-0004bP-1W; Tue, 10 Dec 2024 05:37:48 -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 1tKxch-0004bD-A2 for help-gnu-emacs@gnu.org; Tue, 10 Dec 2024 05:37:47 -0500 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tKxcf-0006qm-NS for help-gnu-emacs@gnu.org; Tue, 10 Dec 2024 05:37:47 -0500 Original-Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-434a044dce2so59054865e9.2 for ; Tue, 10 Dec 2024 02:37:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733827062; x=1734431862; darn=gnu.org; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=K84rWKrxBQeJm/xLoIzOlxnv6nJ6TNJK208CWtKP9Xg=; b=OHnEc1gZMB6kWME2+EAnmIIWw1UQ0fxKICeRoDDeu7phaDoKIee5+ilZWHvUsD3cJ/ bvoE+vOpzodfeSJLII7ZSZpsGln0a2aZ9R8hKGJSZbBBsp/mFKbdyZz/3w6vhC8PCHWy MeXfftUBu1F0/ALO1rJFAasJMllkZNVB4NggkMu1aWEAMzQwR68zHYZ6z3S0Q9yrZK9h XW4fZcxvCyv1CVp33lC0cGbKHpjdPcI6oFR3Tsgm25XqNVWSgrRgBsNy8/TsWlWzmb/S 43L9cTgPhMDiZniRXhcNKUS3KoLC0roaM+liTYs2JS258hn2+IHOnCUf5HFXm5PoHTQn Kw1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733827062; x=1734431862; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K84rWKrxBQeJm/xLoIzOlxnv6nJ6TNJK208CWtKP9Xg=; b=YAPFqe+ydF9ovj6ZWbhIVYCZKDmOQbgNTxSgXypMSRB9BDRP+3jwmcZs5nCCAv3BT+ ZAKysnpUkmkSEKsmUgpph3Rlxi3SspK5xlGSCTpjahQlEuzPBKCKuLXMNbB7NjSyE3MB wvtP2Jn1I4ybXyYYaEeRApELc+2mtejv10tGfiXKHgJW4TnExmMRyC35m3f49N2XHOGj Gs8dg8lxfzvn+/jdbjVUOsiW16Ef6HFCM2SJYMsbrcUiXDHIfDS3zsfLZ366OUaXCUh3 3jPYOaiEyWchg7UP/ZA2qPmWe7zodPPL1ubzYuP2VOIYJdx1RAfNvj4Zaoe2XA1wZ5ZT eh5g== X-Gm-Message-State: AOJu0YyoDIYKl0L7c7PGWiPXc7YlVrW0bDckHhQbyMhUTubaRj8uzuDK 9pfDCyohzc0BkkrwQ53/rqkKkqWeych8CS+tOLZYQNwg5DeUCecV X-Gm-Gg: ASbGncuKaHcGX72GAyKoVGrPw/iFuEJXVgB2PQUG3Z8aebD2sYmGuz2l0YeH/jhBj+/ F1IGnSy6xeG2DJG7oLvATIOnErurCRH4+hDXLKH3dUztWoza3geavWLYHN02lXl8jsIVC+2EGC+ sEMUPk5PGWjjFk2is/BME6ArveSfrXc1IiqNrkxUNDnS3hQi9nOXjgkjbeCdaSrLmHfUD4yg+y2 PAh3nvsDkqXIGGQBePPLYnwhImkdE4R5ets6LMWCaQNl9OJUDQs X-Google-Smtp-Source: AGHT+IHR+ozFtkCkFdxMePtktxmxpfN55dEnduOdKTjDkhQC6y5XxCxh9zA8UQ7ktIc1/sThRY5BeA== X-Received: by 2002:a05:600c:4447:b0:434:a26c:8291 with SMTP id 5b1f17b1804b1-434fff9c4fbmr38223005e9.24.1733827061783; Tue, 10 Dec 2024 02:37:41 -0800 (PST) Original-Received: from localhost ([2a01:e0a:505:3460:1c18:688d:ece4:372e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434f43aedb2sm87835925e9.41.2024.12.10.02.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 02:37:41 -0800 (PST) Original-Received: by localhost (sSMTP sendmail emulation); Tue, 10 Dec 2024 11:37:39 +0100 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=brubar.cs@gmail.com; helo=mail-wm1-x330.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, MSGID_FROM_MTA_HEADER=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: 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:148745 Archived-At: Jean Louis writes: > * Bruno Barbier [2024-12-10 01:57]: >> The package repository has a nice video that shows this package in >> action. I think it will answer your questions better than I could >> (I discovered this package recently; I just tried it out of curiosity, >> no real needs). > > I have so much real need. It is indispensable, and I can't wait buying > strong GPU to run it locally and fast. It already works locally, just > it is so slow as I don't have GPU. I will upgrade memory, GPU so that > I can run free LLMs locally. That's why I pick asynchronous calls when possible: I don't have to care about how fast I will get the result. > ... > I can't agree to asynchronous injection of text, it sounds dangerous > to me. When there is any lag in computer, my text anyway doesn't get > well written due to whatever problems and often my speed writing. Emacs does this all the time when running processes asynchronously. > And I am often using temporary buffers for that reason that I do not > disturb my other buffers with whatever changes. Then asynchronous injection should be 100% safe. > My LLM usage is such that I just do C-u F5 and then text will be added > to the previous text, or I do F5 and text will be inserted, if region > was marked it is used as part of the prompt. > > Everything is logged in the database, so I can convert each response > later to other objects. > > Basically I get fundamentally same result as gptel with just few > functions in background. That's all that matters! Best regards, Bruno