From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: Abbrev suggestions - feedback appreciated Date: Sun, 8 Oct 2017 17:28:06 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113f4424b759f9055b0ab9b5" X-Trace: blaine.gmane.org 1507476519 4688 195.159.176.226 (8 Oct 2017 15:28:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Oct 2017 15:28:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 08 17:28:35 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 1e1DVH-0008KU-5m for ged-emacs-devel@m.gmane.org; Sun, 08 Oct 2017 17:28:31 +0200 Original-Received: from localhost ([::1]:54059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1DVL-00065X-CS for ged-emacs-devel@m.gmane.org; Sun, 08 Oct 2017 11:28:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1DVE-00065R-O8 for emacs-devel@gnu.org; Sun, 08 Oct 2017 11:28:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1DVD-0003AC-W7 for emacs-devel@gnu.org; Sun, 08 Oct 2017 11:28:28 -0400 Original-Received: from mail-qt0-x236.google.com ([2607:f8b0:400d:c0d::236]:51563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1DVD-0003A3-RJ for emacs-devel@gnu.org; Sun, 08 Oct 2017 11:28:27 -0400 Original-Received: by mail-qt0-x236.google.com with SMTP id q4so39146051qtq.8 for ; Sun, 08 Oct 2017 08:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=wRqpXVlblLjPBvRgGnpkJZIOM0c8j/mQwRRmstZ88Ww=; b=ZYxeWa2GZxOhp+maFJkn0o4VwQ7Vw2+r/o7TdJUMd3LXuYl2k6AAq9hxKIx4PvD4zc tuFgqf6V1CGwKHQo+knDLHSpNRIui2gIbB5q/lwXEVmIaMy6LnK08fiqcK/N+cL5Mkvj cmFSiZChmU1RSy7qtzXTq7SFVUhPyCy6s4PUe0PGninUQu33QwIem1cZEvHmoUf68OBq hsTET9sD0xKaGCW/ZKfGYA2Z9MDvbNem+4Kl0usU8gtJ3ZjNNDn7U5v4XNQbWK0xbPiP s9QBseQ4jr9zhP+fpvuo5Ew5+/SMS2x3xfO1JSI++q6g2XgB+chjVnaxvWgrpABcqmKZ dV3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=wRqpXVlblLjPBvRgGnpkJZIOM0c8j/mQwRRmstZ88Ww=; b=SGj3NvxaePYAuDHf3oSWJXE8IIHzQXVuzjs35MEuVz9Xx3cBW3z+FWfhbzD5+IZwWF Z9wdUnb+K8Dm3HtG2hcyfX2lIx7mz7PknT88zKVJe3x1ioDDPx0kCL1TQlJSAyUYiwcv T5CwXl0bqKdJqUDcbqddKChAVXGFsCPvwDWQKIljBEm3LBr/79dMhOEGtLPFLz22QwxV OWhrVngrAXcK16Euir7ffFZDyKqsV49rMNR+xwPXDnrlovqOBAuGcLL25iniO2znwF7j rHpYSIJ2x1vqDoR33c0qxQBDsdj/Brgb1gPfkXZKDy5V8Fl62hVqD+ykv80i8y0S+jAT 12ng== X-Gm-Message-State: AMCzsaWsvItQmeSOa94DC7/01yRTSJyadHltW+eeixG3XeSQz/HC31FI lmEMBBHpsfGlBgOcT4r74r5zJQ/TBDW67CDTOz/1TA== X-Google-Smtp-Source: AOwi7QC45tKTp3+yw++B72TpmOtER5KFLADMpYRNwcYmCn3nutfRZ6c5GRD35H8bsl+h84XaanZPIOB5fq5UhH+2ZWs= X-Received: by 10.200.56.124 with SMTP id r57mr11094866qtb.310.1507476507153; Sun, 08 Oct 2017 08:28:27 -0700 (PDT) Original-Received: by 10.140.85.170 with HTTP; Sun, 8 Oct 2017 08:28:06 -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::236 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:219249 Archived-At: --001a113f4424b759f9055b0ab9b5 Content-Type: text/plain; charset="UTF-8" > > > I was able to implement that quite easily. The only worry I have is that > > it might be slow, or I know it is slow-er at least since I need to go > > through all active abbrev expansions to see if there is any shorter > > one. > > I don't think that should be slower than when you go through all abbrevs > and conclude that there aren't any that apply, which AFAICT is the most > common case. > You're very right, of course :) Sometimes you don't see the forest for the trees... --001a113f4424b759f9055b0ab9b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> I was able to implement th= at quite easily. The only worry I have is that
> it might be slow, or I know it is slow-er at least since I need to go<= br> > through all active abbrev expansions to see if there is any shorter > one.

I don't think that should be slower than when you go through all= abbrevs
and conclude that there aren't any that apply, which AFAICT is the most=
common case.

You're very right, of = course :) Sometimes you don't see the forest for the trees...

--001a113f4424b759f9055b0ab9b5--