From: Noam Postavsky <npostavs@gmail.com>
To: Alex Branham <alex.branham@gmail.com>
Cc: 34787@debbugs.gnu.org
Subject: bug#34787: New defcustom to govern TAB completion
Date: Tue, 04 Jun 2019 21:50:11 -0400 [thread overview]
Message-ID: <87y32g3ing.fsf@gmail.com> (raw)
In-Reply-To: <878suuvee1.fsf@gmail.com> (Alex Branham's message of "Sat, 25 May 2019 08:43:02 -0500")
Alex Branham <alex.branham@gmail.com> writes:
> On Sat 25 May 2019 at 08:37, Noam Postavsky <npostavs@gmail.com> wrote:
>
>> Alex Branham <alex.branham@gmail.com> writes:
>>
>>> As a quick reminder/TLDR - the proposal is to add a defcustom that
>>> governs whether TAB offers completion when hit the first time. The
>>> thinking is that if point is in the middle of a word, you may not want
>>> completion.
>>
>> How would it interact with the existing tab-always-indent? Would it
>> make sense to combine them?
>
> The way we have it in ESS currently is that they're two separate
> variables. One (our version of tab-always-indent) governs whether TAB
> offers completion and another (what I'm proposing adding to Emacs)
> governs whether the first press of TAB should offer completion based on
> context.
Oh, I see, it only affects people who have already customized
tab-always-indent to a non-default value (specifically, `complete').
So I guess the idea is that (setq tab-always-indent 'complete) triggers
too many accidental completions to be a reasonable setting? I think it
would be nicer if the option's values could be `(word paren)', `(word
paren punct) instead of `word-or-paren', `word-or-paren-or-punct', etc.
next prev parent reply other threads:[~2019-06-05 1:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-08 18:21 bug#34787: New defcustom to govern TAB completion Alex Branham
2019-03-08 19:29 ` Alex Branham
2020-10-14 5:29 ` Lars Ingebrigtsen
2019-05-25 13:05 ` Alex Branham
2019-05-25 13:37 ` Noam Postavsky
2019-05-25 13:43 ` Alex Branham
2019-06-05 1:50 ` Noam Postavsky [this message]
2020-08-24 19:22 ` Stefan Kangas
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=87y32g3ing.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=34787@debbugs.gnu.org \
--cc=alex.branham@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.
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.