unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: goncholden <goncholden@protonmail.com>
Cc: 55878@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#55878: Complications of tabs and spaces
Date: Sat, 25 Jun 2022 15:39:25 +0300	[thread overview]
Message-ID: <YrcB/RjjjNvwZC8d@protected.localdomain> (raw)
In-Reply-To: <BWwfR6wufx19uvUcnjrJCdhknU1vomLJiAjbDWE6BFlh9UzMnZqthJ6FXCLgZ12NCRZ2-pOhjH_pxOgUJ7Iw6_dvLbu92ig0p1iZPpkelso=@protonmail.com>

* goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors <bug-gnu-emacs@gnu.org> [2022-06-10 21:19]:
> 
> ------- Original Message -------
> On Friday, June 10th, 2022 at 9:44 PM, Lars Ingebrigtsen <larsi@gnus.org> 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/





      reply	other threads:[~2022-06-25 12:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-09 20:24 bug#55878: Complications of tabs and spaces goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-10  9:44 ` Lars Ingebrigtsen
2022-06-10 18:17   ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-25 12:39     ` Jean Louis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YrcB/RjjjNvwZC8d@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=55878@debbugs.gnu.org \
    --cc=goncholden@protonmail.com \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).