unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pierre Rouleau <prouleau001@gmail.com>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: Spencer Baugh <sbaugh@janestreet.com>, help-gnu-emacs@gnu.org
Subject: Re: Teach completion to insert a common prefix
Date: Wed, 9 Aug 2023 00:09:59 -0400	[thread overview]
Message-ID: <CALTqLiaNUKp689-9ES3q-7zV7LASJpiWcdSc=nR3CMNJCJPpPg@mail.gmail.com> (raw)
In-Reply-To: <CAP_d_8VNCLRoQcvxWDPdLKb8b=8gX9gtXPF3ERh7qYHMhpsk2A@mail.gmail.com>

> All possible completions for -matching-lines- start with
> > list-matching-lines-.  So there would be no harm in inserting "list" at
> > the start of the completion input.  But Emacs does not do this.
>
> It does do that if you put the point at the start of line.
>
> Note that older versions of Emacs was also doing that even when point was
at the end of the line, as in Emacs 26.3

Do you know when that changed and why?

-- 
/Pierre


  reply	other threads:[~2023-08-09  4:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-07 20:38 Teach completion to insert a common prefix Spencer Baugh
2023-08-08  6:19 ` Yuri Khan
2023-08-09  4:09   ` Pierre Rouleau [this message]
2023-08-10 11:33     ` sbaugh

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CALTqLiaNUKp689-9ES3q-7zV7LASJpiWcdSc=nR3CMNJCJPpPg@mail.gmail.com' \
    --to=prouleau001@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sbaugh@janestreet.com \
    --cc=yuri.v.khan@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).