From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 8492@debbugs.gnu.org, Reuben Thomas <rrt@sc3d.org>
Subject: bug#8492: 23.3; Time to use a different binding for completion?
Date: Wed, 20 Apr 2011 16:07:16 +0200 [thread overview]
Message-ID: <BANLkTi=7ydVZN_Z=0aKhgqe66_TNeZY_3A@mail.gmail.com> (raw)
In-Reply-To: <jwv8vv5rrsu.fsf-monnier+emacs@gnu.org>
2011/4/20 Stefan Monnier <monnier@iro.umontreal.ca>:
>> This is the problem: unusable defaults. I'm asking if we can have a
>> usable default setting.
>
> Currently, the "usable default" is ESC TAB.
>
> It's a bit longwinded, so it'd be good to find a better solution.
> 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.
>
> Currently the way it works is "try to reindent, and if there was no
> change, try to complete". As mentioned this doesn't work for Python and
> Haskell, so 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.
>
> Not sure if it would work well in practice, but it might be worth trying
> it out. There are other cases where TAB has trouble, e.g. in text modes
> where TAB doesn't reindent but jumps to the next tab position.
> I don't know how/if we can combine this TAB semantics with completion.
>
Surely there must be keys left that are not used for any particular
purpose in general. E.g. C-. comes to mind (c.f. C-M-. for
find-tag-regexp), although I'm not sure how well that key is
recognized by terminals.
--
Deniz Dogan
next prev parent reply other threads:[~2011-04-20 14:07 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
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 [this message]
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='BANLkTi=7ydVZN_Z=0aKhgqe66_TNeZY_3A@mail.gmail.com' \
--to=deniz.a.m.dogan@gmail.com \
--cc=8492@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--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.