From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#37183: 26.2 Never for Tab-Always-Indent Date: Sat, 05 Sep 2020 14:48:32 +0200 Message-ID: <87sgbw5qzj.fsf@gnus.org> References: <87h84hsazq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10419"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Charles Jackson , 37183@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 05 14:49:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEXd4-0002YH-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 14:49:14 +0200 Original-Received: from localhost ([::1]:59876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEXd3-00049l-HZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 08:49:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEXcs-00049X-Jq for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 08:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEXcs-0001KS-B0 for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 08:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEXcs-00065R-8Y for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 08:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 12:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37183 X-GNU-PR-Package: emacs Original-Received: via spool by 37183-submit@debbugs.gnu.org id=B37183.159931012423371 (code B ref 37183); Sat, 05 Sep 2020 12:49:02 +0000 Original-Received: (at 37183) by debbugs.gnu.org; 5 Sep 2020 12:48:44 +0000 Original-Received: from localhost ([127.0.0.1]:41791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEXca-00064t-KE for submit@debbugs.gnu.org; Sat, 05 Sep 2020 08:48:44 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:32950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEXcZ-00064g-26 for 37183@debbugs.gnu.org; Sat, 05 Sep 2020 08:48:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FqaVMkd9w5q8gBt4RSzv7zm79jFg8vktlAg0z0IwHrQ=; b=rL35gCxApDdZ5cBwCoo2cls38F ZbSmKl1bH90yIRjqATgB2hKMlWLgNLNFHlwayw051BH9HO2o34xupj26OjOtPZwYZ9e41x0IwMnAt tqlxqnSOpa0NCe7SSPPYAm8WKfBqbnHVvyYOWpAwzM6bk9d5APVKsq1FXfY7RMOkaAlY=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEXcP-0003kk-Ns; Sat, 05 Sep 2020 14:48:36 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEU5JSFIMy42IR0o EhAeCgp3ZmBnU01cSENXQjyHd3Cdjof///9o0S9GAAAAAWJLR0QLH9fEwAAAAAd0SU1FB+QJBQwY LbURXD8AAAFxSURBVDjLdZJLTsMwEIad5ALYCc22iXktE9sq24axukeCSl0iIF3TonZNKsENQD0A i94Sm7zc2B1pnMif/n8yM0EeRgj5CI39NB2rN/X4DyS4O5D7OrFBog9xDhbIQ3WwuQ0yDbIH24pp kK8dxTWYvThAoGpj6gb527APqrKifEbIABCVVyG/tKw8lRPKl2xolXPKbgK+IhbIlzEO83A3BJk+ 8GQU2FYqPnFpjV2NQn0Webb3gVV+FTsbTJX76pp3AAAENC1mpOpAdhb4Y1JPnTMcdqDYH+5/f2pJ wDDvrTblU1k1rTDSAxZ7280rrb0w7cG0/Fg87qNaknJDsfXiZV2z+X9axWh0+H7ntmJaxov52tii 0TmYOzdBt0OfuwFrv2EIEkGcQLWduhV6jCdAdgokA9A10jcoju5ZaAIh5aBEayVANpoKjmvIBtyF vQKkAJDKTLPiogP6pg0Qt9wARggMbgCRBCe4i7h0ASii1uoPky7q2T4YcJEAAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjAtMDktMDVUMTI6MjQ6NDUrMDA6MDDSIEriAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIwLTA5LTA1VDEyOjI0OjQ1KzAwOjAwo33yXgAAAABJRU5ErkJggg== X-Now-Playing: Thomas Mery's _Les couleurs, les ombres_: "=?UTF-8?Q?=C3=87a?=" In-Reply-To: (Stefan Kangas's message of "Sat, 5 Sep 2020 01:02:38 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187226 Archived-At: Stefan Kangas writes: >> I think that might make sense... On the other hand, you can just >> globally set the TAB key to insert a TAB character, so I'm not quite >> sure whether it's very useful. >> >> Does anybody have an opinion here? > > (How would you set it globally? If you use `global-set-key' any local > bindings would shadow it, right?) I was thinking about setting TAB in `overriding-terminal-local-map'... (I've never used that map myself, though, so I may be misunderstanding how that variable works.) > FWIW, I think the option makes sense, with or without the ability to set > it in another way. It's a logical addition and could make things easier > for users. Yeah, it is pretty logical addition. The main problem with doing something like this is that there's a bunch of other similar variables, like c-tab-always-indent/snmp-tab-always-indent/opascal-tab-always-indents (and seemingly an infinite number for some reason), and for consistency, we'd have to allow `never' for all of these (and change all the usage sites). I'm not sure that's worth it if there is a simple way of binding TAB. We could just mention that in the doc string of `tab-always-indent'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no