GNU bug report logs -
#34787
New defcustom to govern TAB completion
Previous Next
Reported by: Alex Branham <alex.branham <at> gmail.com>
Date: Fri, 8 Mar 2019 18:22:02 UTC
Severity: wishlist
Tags: fixed
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 34787 <at> debbugs.gnu.org (full text, mbox):
Alex Branham <alex.branham <at> gmail.com> writes:
> On Sat 25 May 2019 at 08:37, Noam Postavsky <npostavs <at> gmail.com> wrote:
>
>> Alex Branham <alex.branham <at> 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.
This bug report was last modified 4 years and 307 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.