From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#55878: Complications of tabs and spaces Date: Sat, 25 Jun 2022 15:39:25 +0300 Message-ID: References: <87v8t8von9.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16394"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-05-21) Cc: 55878@debbugs.gnu.org, Lars Ingebrigtsen To: goncholden Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 25 15:12:28 2022 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 1o55aO-00045s-5c for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jun 2022 15:12:28 +0200 Original-Received: from localhost ([::1]:51750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o55aN-0003MA-1q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jun 2022 09:12:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o55Zz-0003Lw-IA for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 09:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o55Zz-00027e-7L for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 09:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o55Zz-00022G-3B for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 09:12:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2022 13:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55878 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 55878-submit@debbugs.gnu.org id=B55878.16561626737738 (code B ref 55878); Sat, 25 Jun 2022 13:12:03 +0000 Original-Received: (at 55878) by debbugs.gnu.org; 25 Jun 2022 13:11:13 +0000 Original-Received: from localhost ([127.0.0.1]:44412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o55Z7-00020g-9M for submit@debbugs.gnu.org; Sat, 25 Jun 2022 09:11:13 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:33803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o55Z2-00020V-Vi for 55878@debbugs.gnu.org; Sat, 25 Jun 2022 09:11:08 -0400 Original-Received: from localhost ([::ffff:197.239.7.129]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000087C53.0000000062B70966.0000103D; Sat, 25 Jun 2022 06:11:02 -0700 Content-Disposition: inline In-Reply-To: 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:235267 Archived-At: * goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors [2022-06-10 21:19]: > > ------- Original Message ------- > On Friday, June 10th, 2022 at 9:44 PM, Lars Ingebrigtsen wrote: > > > > goncholden goncholden@protonmail.com writes: > > > > > Meaning that although indentation is done with spaces, pressing the TAB key still > > > introduces a real tab? > > > > > > If you want the TAB key to insert a TAB character, then rebind that key > > to do that. > > I would need information how to do that. Solution ======== You may invoke TAB by doing: {C-q TAB} Next solution ============= You could locally and temporarily bind key to TAB: {M-x local-set-key RET TAB self-insert-command RET} Then your TAB would give TAB character: OK? Next solution ============= Globally: (global-set-key (kbd "TAB") #'self-insert-command) -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/