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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55878 in the body.
You can then email your comments to 55878 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55878
; Package
emacs
.
(Thu, 09 Jun 2022 20:25:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
goncholden <goncholden <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 09 Jun 2022 20:25:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Have set (setq-default indent-tabs-mode nil). This works well when using the RETURN key. But I have also noticed that the TAB key stops inputting tabs.
Perhaps the TAB key is bound to some indentation command.
Could use of tabs and spaces be made simpler so that one can use both spaces and tabs.
Meaning that although indentation is done with spaces, pressing the TAB key still introduces a real tab?
Regards
Cholden
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55878
; Package
emacs
.
(Fri, 10 Jun 2022 09:45:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 55878 <at> debbugs.gnu.org (full text, mbox):
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.
There doesn't seem to be anything to be done on the Emacs side here, so
I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 10 Jun 2022 09:45:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
55878 <at> debbugs.gnu.org and goncholden <goncholden <at> protonmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 10 Jun 2022 09:45:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55878
; Package
emacs
.
(Fri, 10 Jun 2022 18:18:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 55878 <at> debbugs.gnu.org (full text, mbox):
------- 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.
> There doesn't seem to be anything to be done on the Emacs side here, so
> I'm closing this bug report.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55878
; Package
emacs
.
(Sat, 25 Jun 2022 13:12:03 GMT)
Full text and
rfc822 format available.
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/
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 24 Jul 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 16 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.