all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 8492@debbugs.gnu.org
Subject: bug#8492: 23.3; Time to use a different binding for completion?
Date: Wed, 20 Apr 2011 11:16:32 -0300	[thread overview]
Message-ID: <jwvwripqao2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <BANLkTimLpVK00NMAQLCc5soL6K6Ge-UFig@mail.gmail.com> (Reuben Thomas's message of "Wed, 20 Apr 2011 14:22:20 +0100")

>> Since this problem has been around for a long time and no good key has
>> popped up during this time, I believe that using TAB is the
>> way forward, which means we need to figure out ways to make it work in
>> the cases where it currently doesn't.
> I am inclined to agree that that is the path of least resistance; I
> think it remains to be demonstrated that two lots of magic can be
> loaded on to the same key, but I'm prepared to give it a go!

Of course, pursuing this route doesn't preclude pursuing other routes at
the same time.  So, people should feel free to suggest other keys to use
for completion.

One that comes to mind is C-M-/ (currently bound to dabbrev-completion,
so somewhat compatible) but I'm not sure if it's convenient enough.

Another one could be M-SPC, based on the idea that SPC performs
completion in many cases in the minibuffer, but that would be an
incompatible change since M-SPC currently calls just-one-space.

>> for those modes maybe completion should take precedence as
>> in "see if we're somewhere where completion makes sense and if not try
>> to reindent", so TAB would complete if point is in an identifier
>> but not if it's a BOL.
> And there's already code to do this.

I didn't know that.  Where is it?

> At least if there's a concerted effort to make this work and it fails,
> there's more incentive to come up with another solution.

And the failure itself might give us a clue as to what a better solution
might look like,


        Stefan





  reply	other threads:[~2011-04-20 14:16 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 17:26 bug#8492: 23.3; Time to use a different binding for completion? Reuben Thomas
2011-04-15 19:53 ` Stefan Monnier
2011-04-15 22:53   ` Reuben Thomas
2011-04-15 23:21     ` Lennart Borgman
2011-04-19 12:46       ` Stefan Monnier
2011-04-19 13:01         ` Lennart Borgman
2011-04-19 13:34           ` Stefan Monnier
2011-04-19 18:53             ` Lennart Borgman
2011-04-24 18:08   ` Chong Yidong
2011-04-24 19:43     ` Drew Adams
2011-04-24 19:55     ` Reuben Thomas
2011-04-19 10:52 ` Andrew W. Nosenko
2011-04-19 12:21   ` Lennart Borgman
2011-04-20 11:54   ` Reuben Thomas
2011-04-20 13:18     ` Stefan Monnier
2011-04-20 13:22       ` Reuben Thomas
2011-04-20 14:16         ` Stefan Monnier [this message]
2011-04-20 14:49           ` Sven Joachim
2011-04-20 16:41           ` David De La Harpe Golden
2011-04-20 17:11             ` Deniz Dogan
2011-04-20 18:28               ` David De La Harpe Golden
2011-04-20 22:02                 ` Lennart Borgman
2011-04-21  0:13               ` Sean Sieger
2011-04-21  6:02                 ` Deniz Dogan
2011-04-20 17:17             ` Eli Zaretskii
2011-04-20 22:03               ` Lennart Borgman
2011-04-21  6:43                 ` Eli Zaretskii
2011-04-20 21:59           ` Lennart Borgman
2011-04-20 14:07       ` Deniz Dogan
2011-04-20 15:49       ` Drew Adams
2011-04-20 18:28         ` Reuben Thomas
2011-04-20 22:48           ` Stefan Monnier
2011-04-20 22:49             ` Reuben Thomas
2011-04-20 21:56       ` Lennart Borgman
2011-04-20 22:49         ` Drew Adams
2011-04-20 22:51           ` Reuben Thomas
2011-04-21 12:42           ` Lennart Borgman
2011-04-21 14:13             ` Drew Adams
2011-04-21 18:49               ` Lennart Borgman
2011-04-21 19:34                 ` Reuben Thomas
2011-04-21 19:54                   ` Lennart Borgman
2011-04-21 20:14                     ` Reuben Thomas
2011-04-21 20:55                       ` Lennart Borgman
2011-04-21 21:08                         ` Reuben Thomas
2011-04-22 13:47                           ` Lennart Borgman
2011-04-22 17:33                             ` Reuben Thomas
2011-04-22 18:12                               ` Lennart Borgman
2011-04-22 21:01                     ` Sean Sieger
2011-04-22 21:09                       ` Lennart Borgman
2011-04-22 20:44                 ` Sean Sieger
2021-10-21 19:44 ` Stefan Kangas
2021-10-21 19:45   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-21 20:11     ` Stefan Kangas
2021-10-22  6:30   ` Phil Sainty
2021-10-22  8:12     ` Stefan Kangas
2022-04-29 12:38 ` Lars Ingebrigtsen
2022-04-29 13:22   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-29 13:25   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-29 13:33     ` Lars Ingebrigtsen
2022-04-29 15:14   ` Drew Adams

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=jwvwripqao2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=8492@debbugs.gnu.org \
    --cc=rrt@sc3d.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.
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.