all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@corrigan.gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Extending the ecomplete.el data store.
Date: Tue, 10 Apr 2018 23:00:36 +0200	[thread overview]
Message-ID: <87po366akr.fsf@mouse.gnus.org> (raw)
In-Reply-To: <jwvd11hkf01.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan Monnier's message of "Tue, 06 Feb 2018 16:12:42 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Another approach is to update more carefully: check that all words from
> the old variation still appear in the new variation, and if not, check
> if new words appeared (as above): if not it means replacing the old with
> the new would reduce the amount of info so it's probably not a good
> idea, and if yes then prompt the user.

We'd still need to expand the storage so that we know what we're
expanding to.

So if we have the following scenario:

Karl Fogel <kfogel@red-bean.com>
HAHAHA <kfogel@red-bean.com>

we do not want to expand to "Karl Fogel HAHAHA <kfogel@red-bean.com>" if
the user types "Karl".  Perhaps we even want "HAHAHA" to expand to
"Karl Fogel <kfogel@red-bean.com>"?  In any case, I think the way to
achieve this is to do what Karl suggests, and store all the variations
and make the user interface be clever.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  parent reply	other threads:[~2018-04-10 21:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-04  6:16 Extending the ecomplete.el data store Karl Fogel
2018-02-04 22:33 ` Stefan Monnier
2018-02-04 23:54   ` Karl Fogel
2018-02-05  2:34     ` Stefan Monnier
2018-02-05  7:17       ` Karl Fogel
2018-02-05 18:30         ` Stefan Monnier
2018-02-06 20:19           ` Karl Fogel
2018-02-06 20:39             ` Stefan Monnier
2018-02-05  9:41   ` Lars Ingebrigtsen
2018-02-06 21:01     ` Modifying a shared file (was: Extending the ecomplete.el data store) Stefan Monnier
2018-02-06 22:33       ` Modifying a shared file Clément Pit-Claudel
2018-02-05  9:40 ` Extending the ecomplete.el data store Lars Ingebrigtsen
2018-02-06 20:17   ` Karl Fogel
2018-04-10 20:47     ` Lars Ingebrigtsen
2018-02-06 21:12   ` Stefan Monnier
2018-02-06 23:04     ` Karl Fogel
2018-02-06 23:21       ` Stefan Monnier
2018-02-08 17:21         ` Karl Fogel
2018-04-10 21:00     ` Lars Ingebrigtsen [this message]
2018-04-10 21:08       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87po366akr.fsf@mouse.gnus.org \
    --to=larsi@corrigan.gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.