From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: jinx Date: Sat, 01 Apr 2023 10:54:59 +0200 Message-ID: <87tty0f0d8.fsf@gmail.com> References: <874jq4c4lt.fsf@posteo.net> <87tty1pf0y.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10212"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Philip Kaludercic , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 01 10:55:51 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 1piX1b-0002TP-3B for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Apr 2023 10:55:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piX0s-0005Qh-Tn; Sat, 01 Apr 2023 04:55:06 -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 1piX0r-0005QP-Fx for emacs-devel@gnu.org; Sat, 01 Apr 2023 04:55:05 -0400 Original-Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piX0p-0002UE-H3; Sat, 01 Apr 2023 04:55:04 -0400 Original-Received: by mail-ed1-x530.google.com with SMTP id b20so98862967edd.1; Sat, 01 Apr 2023 01:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680339301; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=xKPz+4ZAiSACaHCdYQI4zQRHq4wu0M+OgAh/YfHaNdM=; b=huCkHQ6dS2fh6wKXiGxT7bBTFlDfSdIaeXt7uTMHirVuGV3+OJ8Rva0DxgevqsnMak f3n+3yFNsmOn4rHCkbIOXrdvrEerDkqA6dUY1+eStJplTeEcCNa4BCooAQ/eNWEOF9us Y3vrpXMmgfSFV+szkBT2CjgxVzxmWOsUiI+zFqBMHLWsgoiV6mbH4qvVuzR60bSABnnp IlfBVxlvlPyIM8SWYfIOzfRjsXyXbwcV0ybT324JuwQJdP6+ITfym5cPhWMSOXerMjDS o8xpw1Ve6QjSYnPCKMeWvQ0YfvVRQtisG/wQHgOfZ7qmt52/Ht34FFj86zBrK+rhJQFs 99aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680339301; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xKPz+4ZAiSACaHCdYQI4zQRHq4wu0M+OgAh/YfHaNdM=; b=eRoZW+SMdvu2lud/v7EqTUanvb0YJW/gcru5VDLWq7687FFLbxfnqGxwOTlOs5JMgp +9TdMbtCSRsCH0LpRtS+Qd5eSxT0OjvT5b69fW64ePsAqkPB2YmCE05CSM3rMLDnyygr f0Drk1TFTHM9G0NKz/B5izBBGxLsYNaUQ8s/BE/dJUkQvEOTXB9bEfFmRYtkWEToItkQ 7ITQOplgN7D1Yu0HeawzhdLqbLHEb9LbJCW7LWD74hruWgLyfIekCGjDJHrs8lZAVBUl Weho0fatQPYgqXlrAnVz1FROvaCchhWGqSroLkK0ZaCx3t/aqX7Eof6nCSkRgWvRyu/7 9hQQ== X-Gm-Message-State: AAQBX9eqQNKUBXvcI8qrxg7uF6srXn9/69hUaYHHp7SOaxCIjgh425B/ Z+6F8GwJLnsbdUcSSupZP0UAR1RKvpGOMQ== X-Google-Smtp-Source: AKy350ZfbrudM/zZMiIdUKOC2TfuRoEgF5hPwzW+IgsA6l6OBEJ483iAy0wYNz61unOF/wJxitVbGw== X-Received: by 2002:aa7:c3d7:0:b0:500:40f4:f8 with SMTP id l23-20020aa7c3d7000000b0050040f400f8mr27969119edr.0.1680339301147; Sat, 01 Apr 2023 01:55:01 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::f39f]) by smtp.gmail.com with ESMTPSA id f24-20020a50a6d8000000b004acbda55f6bsm1873857edc.27.2023.04.01.01.54.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Apr 2023 01:55:00 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Fri, 31 Mar 2023 23:11:57 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x530.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, 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:304983 Archived-At: On Fri, 31 Mar 2023 at 23:11, 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. ]]] > > > > > ispell already supports enchant, but it communicates via IPC instead of > > > > the library interface. > > > > > > Would it be possible for jinx to do this? > > > Would it be better overall for jinx to do this? > > > Do what? > > Communicate with enchant via IPC. > > I understood the other person to be saying that communicating that way > is an advantage for ispell. If it is an advantage, could jinx be made > to do it that way? > > Maybe perse did not mean that this was an advantage. It is totally feasible to write a decent spell-checking package relying just on IPC, but it would be very helpful (for this an many other purposes) to optimize Emacs's subprocess communication routines, which are clearly pretty slow. In fact, jinx is a fork of my (also recent) jit-spell package, which communicates with the spellchecker through pipes using the `ispell -a' interface. Jinx was created because its author experienced some latency issues while using jit-spell. I was unable to reproduce his observations, although I do observe relatively high CPU usage while typing with jit-spell mode on.