Gnus development mailing list
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
To: ding@gnus.org
Subject: Re: Fancy completion
Date: Mon, 30 Aug 2010 04:44:55 +0100	[thread overview]
Message-ID: <m1iq2skbm0.fsf@cam.ac.uk> (raw)
In-Reply-To: <m37hj8x07i.fsf@quimbies.gnus.org>

On 2010-08-30 04:12 +0100, Lars Magne Ingebrigtsen wrote:
> That's awesome.  Is that something only users are supposed to meddle
> with, or does it make sense just to add `substring' to the list just for
> the `j' command?  Like thus? 

I think the idea is users customise completion-styles and get the kind
of completions they like everywhere. For example I set it to (basic
initials partial-completion). (substring is a new addition to Emacs 24).
But if you want to force certain type of completion you probably need to
meddle with completion-styles although I don't know if it will work.

There are also completion-at-point-functions and
completion-in-region-functions offering complete control of how
completion works.

completion-at-point-functions is usually set by modes for example
emacs-lisp-mode sets completion-at-point-functions.

The code is new so it may have bugs and missing features. But Stefan
Monnier is committed to making this completion code a default in as many
places as possible which is a good thing in my view.

Cheers,
Leo




  parent reply	other threads:[~2010-08-30  3:44 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30  2:54 Lars Magne Ingebrigtsen
2010-08-30  3:07 ` Leo
2010-08-30  3:12   ` Lars Magne Ingebrigtsen
2010-08-30  3:18     ` Lars Magne Ingebrigtsen
2010-08-30  3:44     ` Leo [this message]
2010-08-30 16:25       ` Lars Magne Ingebrigtsen
2010-08-30  3:08 ` Leo
2010-08-30  8:01 ` Adam Sjøgren
2010-08-30 19:54   ` Andreas Schwab
2010-08-30 19:59     ` Adam Sjøgren
2010-08-30 20:45       ` Andreas Schwab
2010-08-31  2:07         ` Eric Abrahamsen
2010-08-31  6:13   ` Reiner Steib
2010-08-31 21:12     ` Adam Sjøgren
2010-08-31 23:19       ` Andreas Schwab
2010-08-31 23:29         ` Lars Magne Ingebrigtsen
2010-08-30 12:19 ` Julien Danjou
2010-08-30 16:26   ` Lars Magne Ingebrigtsen
2010-08-30 16:33     ` Julien Danjou
2010-08-30 16:43       ` Lars Magne Ingebrigtsen
2010-08-30 17:03         ` Leo
2010-08-30 17:16         ` Adam Sjøgren
2010-08-30 17:19           ` Lars Magne Ingebrigtsen
2010-08-30 17:21             ` Leo
2010-08-30 17:42               ` Adam Sjøgren
2010-08-30 17:38             ` Adam Sjøgren
2010-08-30 17:45               ` Leo
2010-08-30 17:53                 ` Lars Magne Ingebrigtsen
2010-08-30 18:22                 ` Adam Sjøgren

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=m1iq2skbm0.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=ding@gnus.org \
    /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 NNTP newsgroup(s).