From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juergen Fenn Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Word completion in text modes Date: Sat, 18 Nov 2023 17:55:47 +0100 Message-ID: References: <83h6ljme0j.fsf@gnu.org> 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="31286"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 18 17:58:16 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 1r4Oe7-00082J-VX for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Nov 2023 17:58:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4OdQ-0000VC-IW; Sat, 18 Nov 2023 11:57:32 -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 1r4Obq-0008QV-QT for emacs-devel@gnu.org; Sat, 18 Nov 2023 11:55:56 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r4Obo-0000vp-Ok for emacs-devel@gnu.org; Sat, 18 Nov 2023 11:55:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1700326548; x=1700931348; i=jfenn@gmx.net; bh=dviyBsgEn/g0kENJ0AJhbCIrFR9020svetKT+8aIlRo=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=ig6oWJBY5CLXRqmeC68W3+gwilT3JQkJ3kQQd82qTQdzWGD6klDxM8BWfnWS2pOW s1Lfi2zKrqgSVa0YOTq3AP3Jh7JZHiBxzoD7kWJ8a+ybuhpJgoD/8lrFp3pNyB9Qk GEb7IEr5sOjneXwvL1heNnmEuXS6rwdzS9R3dIO44HJBHkbQJ68I/74Ahz35ms5Pk U6rLn+Hyzjce5FOHQm/8nRl9siSmmLWJ4A2uL9YXvmxn8U41oXI2RUTM0AvvFMxie PgJftB8VnLOU6uTceb63vI1d8jmh5WiVIw81TQGHXXIaTiGeIie3ho9lQ6GOSmE+O ZrD97YZp/ifkNixv8g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.178.22] ([79.234.87.76]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MqaxU-1rhq1z44W0-00mZgD for ; Sat, 18 Nov 2023 17:55:48 +0100 Content-Language: de-DE In-Reply-To: X-Provags-ID: V03:K1:1cjYbV/wjgLENVV9TOmtsGu3qEJ2hmUpAKOKS6Jzrxxg6e4nPGc 9XMLx46HwRPE/z2JOSitdmdpH8ELUdw72WpN6KytO9YqpOYO8RjmGYBtKfFmdzBshwrQjF1 TcdDNbYn6M7k3ESXm5CxPDYyiD/GRYunLaoE1Ikv51kppEpeLP829cveeM5RcNS7P1Kmv1G xrt+gQ1BWwQYodAkskrKw== UI-OutboundReport: notjunk:1;M01:P0:6tKazPY26QA=;CmTTdPTW3lyRDoadYu8+7Lnbk3X OspzJir9eMgjzT8lySJ8MbIqALuTYBkBYZmZjdwIC5lfwfzZWN9CIlo+WwBWqcJ5jAp8bCaAw VVMfU/n0Q/GYozF2E9LAr7O3Siq3Q7Or0fG5Ei9RRMCVKe5fmKZyYkcOCkffRRx7xxotM4hDo UrEop/7qcuABxC3ZbIQDwmwMxsfT1Fp8Qf9ZldHC5GNTADhYmLIv1lhymhgfm4lVaz6S5sUvT IyrvfmilVAnynvFvfNJes3j2IoN4cW050J8ili7CY5GtPvmR81+XE8EkfYJWy3RLTqd/Lxy+Y 7rfqI1fkZzFgpD1QWoD0ixP1OTKhsLWVPKxPxLkUSyL94yyYcmLNaeRRomNkflgmaXFzKIR+E 0b3o+n590Dz0bxKxjs3CT78ytKmEkIDUBMkomrWf7LJW7aC40RdsSJI6H6RlLS7mGoCkW9IUc N+80P4ZLSj8MF+KybWJnsocOC3f1qcPwezXlPlBPA+51+uT0ez80see4D+ui35hGFQIpvTKQs AtC9d4dcVamG9i6ta12xMqEZXG4taWzaIOFaDzZKuA5QKstFI8aNXiF3wrKpdGZO0zwRYA3fe 5zy8+uMsSN+4I+t/QMaMWrMCYboSB7I6MdxbsEjo9A1Q5YWQUr+2ogRiufe6MI4uhVn7xKcyn KJ6BRwABqVRN5xlLeaB9P0wY00osrZsbYUIsuEIY+EVioaZtbfEJwgTKpaAnAQMtsnzBHD0UO buLHKtFG7ewf/pZu+H8lhU0MKmV5+w6ZeZ88aZGFl2BPDGtaf696RY88i89jVFuQP/xYCOlc Received-SPF: pass client-ip=212.227.17.22; envelope-from=jfenn@gmx.net; helo=mout.gmx.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:312921 Archived-At: Am 18.11.23 um 17:05 Uhr schrieb Drew Adams: >> Btw, a really great addition to text-mode would be to have completion >> that is based not only on dictionaries that suggest single words, but >> also on dictionaries or other databases that suggest phrases based on >> context. > > I don't even use in-buffer word etc. completion > much, but this sounds like a good idea to me! It's easy to realise. I keep a notebook buffer in Org open where most of the completion-at-point suggestions in my sessions come from. You could say this is a kind of dictionary for the vocabulary I keep using. Please also think of language environments. Most languages are much more complex than English and need special attention for completion (case, punctuation, etc.). BTW, at the beginning of this month we had another discussion of completion-at-point under the subject "Inline completion preview". Regards, J=C3=BCrgen.