GNU bug report logs -
#55878
Complications of tabs and spaces
Previous Next
Reported by: goncholden <goncholden <at> protonmail.com>
Date: Thu, 9 Jun 2022 20:25:01 UTC
Severity: normal
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #18 received at 55878 <at> debbugs.gnu.org (full text, mbox):
* goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors <bug-gnu-emacs <at> gnu.org> [2022-06-10 21:19]:
>
> ------- Original Message -------
> On Friday, June 10th, 2022 at 9:44 PM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
>
> > goncholden goncholden <at> 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/
This bug report was last modified 3 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.