all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chong Yidong'" <cyd@stupidchicken.com>,
	"'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: Sun, 24 Apr 2011 12:43:03 -0700	[thread overview]
Message-ID: <736C4CB8BF7044B7AF21D85595F179A2@us.oracle.com> (raw)
In-Reply-To: <87oc3vwmi9.fsf@stupidchicken.com>

> > TAB can do completion if you (setq tab-always-indent 'complete).
> 
> I tried this out some time ago, but found it unsatisfactory.  The
> problem was that I sometimes spuriously triggered completion 
> when I only intended to indent, because the current line happened
> to be correctly indented.  It is often difficult to tell by eye
> whether a line is already indented.

Amen.  Another case of DWIM making the user work harder, forcing her to try to
second-guess it and figure out whether it will in fact DTRT in the current
context.  As I said:

>> Keep it simple.  Find a key or let users find their own key 
>> for a simple, straightforward command (i.e., that does only
>> what M-TAB does currently).  Forget about combining 36
>> different behaviors on the same key.
...
>> But please do not redesign the behavior to become hydra-headed
>> so it tries to adapt to multiple contexts, just because you
>> cannot think of a good default key.  That makes little sense.
>> 
>> And TAB, in particular, is *not* "the way forward for this".  
>> If ever there was a key *not* to double-up on for this (triple?
>> quadruple? pentuple?), TAB is it.  It's just about the poorest
>> choice possible here.

Simple, straightforward commands/keys give the user control (not the clever
programmer).






  reply	other threads:[~2011-04-24 19:43 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 [this message]
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
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=736C4CB8BF7044B7AF21D85595F179A2@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=8492@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --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.