GNU bug report logs - #8135
Problem about TAB in emacs23

Previous Next

Package: emacs;

Reported by: dexter K <dexterkidd <at> gmail.com>

Date: Mon, 28 Feb 2011 05:04:02 UTC

Severity: wishlist

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#8135: closed (Problem about TAB in emacs23)
Date: Tue, 01 Mar 2011 17:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 1 Mar 2011 12:47:41 -0500
with message-id <19821.12605.257878.983814 <at> fencepost.gnu.org>
and subject line Re: bug#8135: Problem about TAB in emacs23
has caused the GNU bug report #8135,
regarding Problem about TAB in emacs23
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
8135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8135
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: dexter K <dexterkidd <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Problem about TAB in emacs23
Date: Mon, 28 Feb 2011 12:04:51 +0800
[Message part 3 (text/plain, inline)]
Hi everyone
rms says here maybe can help me find out a way to fix my problem.

I have problem in emacs with TAB

I want have a real tab , when I press TAB, it goes like 8 spaces distances..
I did it with this code:
-------

(global-set-key (kbd "TAB") 'self-insert-command)
(setq default-tab-width 8)
(setq tab-width 8)
(setq c-basic-indent 8)

(global-set-key [delete] 'delete-char)
(global-set-key [backspace] 'delete-backward-char)

-------

it works both on windows & mac , the most important is I can delete a whole
tab distances like 8 spaces when I press [BackSpace] key
But it failed again in my Centos ,when I done complie emacs 23.2

Is there any way  to fix  this problem ?
Cause I really dont want delete a tab by press 8 times  backspace  on the
keyboard.
If it is possible , I want change all  modes of emacs to get a REAL TAB, no
more space instead of TAB.
Thanks
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 8135-done <at> debbugs.gnu.org
Subject: Re: bug#8135: Problem about TAB in emacs23
Date: Tue, 1 Mar 2011 12:47:41 -0500
dexter K. wrote (on Tue, 1 Mar 2011 at 17:59 +0800):

> Oh man, It works!
> I cant tell you how much I thank you!
> Thanks very very much



This bug report was last modified 14 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.