From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alex Branham Newsgroups: gmane.emacs.bugs Subject: bug#34787: New defcustom to govern TAB completion Date: Sat, 25 May 2019 08:43:02 -0500 Message-ID: <878suuvee1.fsf@gmail.com> References: <87h8cdqlb3.fsf@gmail.com> <87a7favg3s.fsf@gmail.com> <87v9xy8xk0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="11267"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.2.0; emacs 27.0.50 Cc: 34787@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 25 15:44:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hUWy6-0002lP-VO for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 May 2019 15:44:15 +0200 Original-Received: from localhost ([127.0.0.1]:42345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUWy5-0003kQ-UK for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 May 2019 09:44:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUWxv-0003iR-LC for bug-gnu-emacs@gnu.org; Sat, 25 May 2019 09:44:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUWxu-0007Kj-N5 for bug-gnu-emacs@gnu.org; Sat, 25 May 2019 09:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUWxu-0007KE-11 for bug-gnu-emacs@gnu.org; Sat, 25 May 2019 09:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hUWxt-0004ix-UC for bug-gnu-emacs@gnu.org; Sat, 25 May 2019 09:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Branham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 May 2019 13:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34787 X-GNU-PR-Package: emacs Original-Received: via spool by 34787-submit@debbugs.gnu.org id=B34787.155879179318074 (code B ref 34787); Sat, 25 May 2019 13:44:01 +0000 Original-Received: (at 34787) by debbugs.gnu.org; 25 May 2019 13:43:13 +0000 Original-Received: from localhost ([127.0.0.1]:48436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUWx6-0004hS-TV for submit@debbugs.gnu.org; Sat, 25 May 2019 09:43:13 -0400 Original-Received: from mail-oi1-f175.google.com ([209.85.167.175]:46978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUWx4-0004hE-RW for 34787@debbugs.gnu.org; Sat, 25 May 2019 09:43:11 -0400 Original-Received: by mail-oi1-f175.google.com with SMTP id 203so8992390oid.13 for <34787@debbugs.gnu.org>; Sat, 25 May 2019 06:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=oXo5xpfDHPDWrgctKUfQyQg67mQxHSHu6fgEy4nR4hk=; b=EB2ikAyzdjmA8UkMjU5IW1PZQY6tm+XuPGjmAYQX5eB9zA+DzARAvAV+2mNjPGLEQg NCrIyLfBnc3W2U9UcymqnfEGFZv8UQaBTbr2g6IRdzz1iONVdvrwIZBMMn6FK0j/n/bY KGG8BCdS6VnVoeUvs0Xj33jG/9VivY5G1JuYpq1xiHXYYerMrrUiAWTySaf0I8Ld4Yw0 57b8o1C2TD+zye3IED24dby/zR5SY2YdIBdblWKEDBLrnOY9C6veI3xSjpwyI79WH+VJ xoKrA0m1g5CpB44grUMWjbCLRIDp5qqSUgDmhOzW8KKvQ0FYTf511c6qZOgeMjcxE/4D hJ9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=oXo5xpfDHPDWrgctKUfQyQg67mQxHSHu6fgEy4nR4hk=; b=rqjZDh9rrbBc31cns+OPI+6cr+nb9ErfmTSRtj3cxl89wvNbOyGsE1K2xLDZYysGBr iHtSJPgvWe+/s62kBJXk3BFfW/5ltKVF8jHW6RiRmtx4rocQgnQX8AFVJ72j/dTJPD4e CF3UNHX1Wc28w12jGFbcqoFb4gbwXuRSnhKqwyWK67NqBZTr/g2v0HQVZAQUomVe/I9P ozOZP0L1Zn8lTZ6gT7T7N2E1rTbj/cl4JwX3FBWUPN/sM75YL0/UyDeF3jEXlny8R+sa UiT8fD7SQ3McbD56GmSlzeLLkD6MlDvaZbL0SLMQiV/ENzlF6XrfA2ErLFHZ8Xs9o0SX yI+g== X-Gm-Message-State: APjAAAVnAEbUYfRHeoc8V7di6BXpX5qk7giMvP5Neh2//rDeCZQmmuUi MFRThFjRpYUXNPP4l3Og46kAYl0F X-Google-Smtp-Source: APXvYqwqTxBxHRjugieMfc8maEw7ns9eGOPWmR+Hfd42SKULN0bHXcjXlKFP4+jXsbNXeobIZU8OKA== X-Received: by 2002:aca:5b83:: with SMTP id p125mr9202505oib.164.1558791784324; Sat, 25 May 2019 06:43:04 -0700 (PDT) Original-Received: from mars (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id e4sm1904714oti.64.2019.05.25.06.43.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 May 2019 06:43:03 -0700 (PDT) In-reply-to: <87v9xy8xk0.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159754 Archived-At: --=-=-= Content-Type: text/plain On Sat 25 May 2019 at 08:37, Noam Postavsky wrote: > Alex Branham 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. Alex --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEeEJ4XAMgliXNXicpHkInolPpmscFAlzpRmYACgkQHkInolPp mseMSggAk34paBf+OmepxXT9HuJv/bS0BAl3OPXsbaDgaJsZs3qw9B7vh33kMLfk +KzDYqJevt6WiAs3NA/AZkoskd9UcW4U3hiCbgL6tfXoBgm89sLnjsfy/UbosPwm ySLcdEQ7yMeUct5Lw/PhbrE/DHpgfe1/gpN8zY6bf+C34xkXzW4A5d8n1IJFSIwW G6jnj3NoTXgOh2OWPFv4lW5g2ptwDBe3YV40jcrsZEcd3OfqM81xkPhj6AhL5sS7 rRLU/plcm1SOpNXtG3w0kTkerRfmC0Wp9rBNGmtyAAy3d7P3vOZ12NvMkeMDV8yc lD2PCMc/i/XgX8jKASU+fgohZQ9u3A== =9lmZ -----END PGP SIGNATURE----- --=-=-=--