From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Abbrev suggestions - feedback appreciated Date: Tue, 03 Oct 2017 12:51:51 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c06a3862d8a2c055aa3f553" X-Trace: blaine.gmane.org 1507035204 29890 195.159.176.226 (3 Oct 2017 12:53:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Oct 2017 12:53:24 +0000 (UTC) To: Mathias Dahl , Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 03 14:53:13 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzMhC-0006aE-VB for ged-emacs-devel@m.gmane.org; Tue, 03 Oct 2017 14:53:11 +0200 Original-Received: from localhost ([::1]:58456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzMhK-0008JW-8p for ged-emacs-devel@m.gmane.org; Tue, 03 Oct 2017 08:53:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzMgA-0007uB-AQ for emacs-devel@gnu.org; Tue, 03 Oct 2017 08:52:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzMg9-0004y1-Dd for emacs-devel@gnu.org; Tue, 03 Oct 2017 08:52:06 -0400 Original-Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:47708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzMg9-0004wk-8B for emacs-devel@gnu.org; Tue, 03 Oct 2017 08:52:05 -0400 Original-Received: by mail-qt0-x234.google.com with SMTP id z50so7711701qtj.4 for ; Tue, 03 Oct 2017 05:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=7c66A2yydKfN2PNVcwpKbVh0jx737CieQlOq9i9w5l8=; b=ktHbyElFUmpcWjzbb2JeCBuof2bd19kuRfoa3PqKZaMRscLapWECiShdRhGuDVLuTu BsSxoECUYmhIXxhwCvcyzzVAouCJgsfwrGivLVYIC6AbXPQESBvL4YJpAOAPKzrO1ok7 u7EcUC0fQ99Xunu1WsKfiW6RGEtZjF3nCcAh7rkoyuFnroZVkHLMAI0f0J8AA79kAxf6 l8hunA0IJiUf6MPUmbvbasW/3zlsJOk8rgVhMP/HqQPit6urWjVD/HZWSWC/r4zxss8P ZS16aPyIe/jpnWb7SyzCBtLEQmuphSFILFgN0B02iGUt+zPHQouLdT1ZsCttEZoelvtP cPzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=7c66A2yydKfN2PNVcwpKbVh0jx737CieQlOq9i9w5l8=; b=ixer4LigYr+JYvw8Z6Qb5DhXImhp3Nwd6VPdh1jMNW1qs/bVmj4f9Sq6YnxcVb70JF T43+V56+yQiLaj09vE76MpVh3RYBPRay3XDCBkOVZA4hCMnu4WDQWLJJDPeaKKMu9jke 3EVq34sL9d7UJosbL3T43lT4bTCdeLpRSkr6yQU6I3KDrZjf0h81Q8xXzKzlIpJaj1cc 2kVczR6PT1wDSsqyt3WyayIOpYFme3BCqVBfrQZKip2T1htLcp1OC8fRQxcpTwBYvT/I qWeV5Ev3cTzo4oHnBxxGo09GqTCGsqhGaLB9Y5qK12oy3UeHILpaffbAmrG1vL6L3ZvK ICYg== X-Gm-Message-State: AHPjjUjUSXPWMLoh0w35gy3Koqdpw4/MV6nZBJg0DM0D90+CLgAdROVF EXEceFkkV+CYL4qyC0q6Pr/mdJa/75bdLS3eh4A= X-Google-Smtp-Source: AOwi7QB5ygq1rYGWn0RkyYpirgr4Puzx65TaK3mBRJxSSnwfaaQauj/1fgWovWOx08OUfts+1y6BpBR3vmuUjELPCOc= X-Received: by 10.13.253.196 with SMTP id n187mr15170682ywf.523.1507035123119; Tue, 03 Oct 2017 05:52:03 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219029 Archived-At: --94eb2c06a3862d8a2c055aa3f553 Content-Type: text/plain; charset="UTF-8" Hi Mathias, This will be a pretty cool feature. I see just one caveat. I don't use abbrev for "auto-correct", but I know that many folks do[1]. So people could have abbrev entries like "eamcs" that "expand" to "emacs". So with this feature, the user will be suggested to type "eamcs" each time they correctly type "emacs"? If so, can the suggestion be enabled only when the abbreviation is shorter than the expansion by N number of characters, where that N can be set using a defcustom? (I would default that to 2 or 3). [1]: http://endlessparentheses.com/ispell-and-abbrev-the-perfect-auto-correct.html -- Kaushal Modi --94eb2c06a3862d8a2c055aa3f553 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Mathias,

This will be a pretty cool feat= ure.=C2=A0

I see just one caveat. I don't use = abbrev for "auto-correct", but I know that many folks do[1].

So people could have abbrev entries like "eamcs&q= uot; that "expand" to "emacs". So with this feature, th= e user will be suggested to type "eamcs" each time they correctly= type "emacs"?

If so, can the suggestion= be enabled only when the abbreviation is shorter than the expansion by N n= umber of characters, where that N can be set using a defcustom? (I would de= fault that to 2 or 3).=C2=A0

--

Kaushal Modi

--94eb2c06a3862d8a2c055aa3f553--