help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spaces rather than tabs by a major mode hook


From: goncholden
Subject: Re: Spaces rather than tabs by a major mode hook
Date: Fri, 10 Jun 2022 05:46:44 +0000

------- Original Message -------
On Friday, June 10th, 2022 at 5:39 PM, Eli Zaretskii <eliz@gnu.org> wrote:


> > Date: Thu, 9 Jun 2022 21:54:27 +0200 (GMT+02:00)
> > From: Tassilo Horn tsdh@gnu.org
> > Cc: Yuri Khan yuri.v.khan@gmail.com, help-gnu-emacs@gnu.org
> >
> > The TAB key is usually bound to some indentation command such as 
> > indent-according-to-mode. So bind that to some other key and TAB to 
> > self-insert-command.
>
>
> Or use "C-q TAB" to insert a literal TAB no matter what command TAB is
> bound to.

A superior choice would be to all TAB to be a tab by default, rather than 
binding to some other thing, making the key non-functional.  RETURN could 
introduce indentation, but with the tab
key introducing a literal tab.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]