From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 28 00:04:02 2011 Received: (at submit) by debbugs.gnu.org; 28 Feb 2011 05:04:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtvH7-0006Kk-CE for submit@debbugs.gnu.org; Mon, 28 Feb 2011 00:04:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtuMD-00054u-11 for submit@debbugs.gnu.org; Sun, 27 Feb 2011 23:05:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtuM2-0003BZ-WE for submit@debbugs.gnu.org; Sun, 27 Feb 2011 23:05:07 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:53759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtuM2-0003BV-Tq for submit@debbugs.gnu.org; Sun, 27 Feb 2011 23:05:02 -0500 Received: from [140.186.70.92] (port=48561 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtuLx-0007Br-Rs for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2011 23:05:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtuLs-0003AX-V5 for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2011 23:04:57 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:52936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtuLs-0003AT-Oo for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2011 23:04:52 -0500 Received: by fxm5 with SMTP id 5so3945825fxm.0 for ; Sun, 27 Feb 2011 20:04:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=VMAM8eakkdDsSFDBz2tAjMWRUrwqEziiFDQJgQdP7Ag=; b=nQQHjjfAt/okzqhT4ssLX5sk5n3FWExl8A+6KJ72dq3H9gCU9iJ4iDCL6WG/x067fI cDzPSwZfH3GXyC2ZTQFTtASTd3DpTuqex49H8MWtDwIZLEjy22fKC9+3XYZBLZlj33qZ y+MlR7u9de4wyVn/Qk/etJhKIqaRTg9MSbZbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IK7Wp4NoW954pY0RTq2+2fCqPmWcNVoYh4n/9XzTdcJKDGJ77QmvpRggKP6TSuTPIY NA5fYyeeMo1LV06Y9u48PF6pypffaZqL5yf6jup9x/hDb2eXBNQDJX6LV4S5ETSyn+PE QB082cvNDBer+7vgGaC7iceYCweJLMVmI7hn0= MIME-Version: 1.0 Received: by 10.223.103.4 with SMTP id i4mr5488458fao.123.1298865891748; Sun, 27 Feb 2011 20:04:51 -0800 (PST) Received: by 10.223.36.139 with HTTP; Sun, 27 Feb 2011 20:04:51 -0800 (PST) Date: Mon, 28 Feb 2011 12:04:51 +0800 Message-ID: Subject: Problem about TAB in emacs23 From: dexter K To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=20cf30433f1616ac2c049d4fc8fb X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 28 Feb 2011 00:03:59 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --20cf30433f1616ac2c049d4fc8fb Content-Type: text/plain; charset=ISO-8859-1 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 --20cf30433f1616ac2c049d4fc8fb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone
rms says here maybe can help me find out a way to fix my pro= blem.

I have problem in emacs with TAB

I want have a real ta= b , when I press TAB, it goes like 8 spaces distances..
I did it with th= is code:
-------

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

(global-set-key [delete] 'delete-char)
(global-set-key [back= space] 'delete-backward-char)

-------

it works both on windows & mac , the most important is I can delete a=20 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=A0 to fix=A0 this problem ?
Cause I=20 really dont want delete a tab by press 8 times=A0 backspace=A0 on the=20 keyboard.
If it is possible , I want change all=A0 modes of emacs to get a REAL TAB, = no more space instead of TAB.
Thanks
--20cf30433f1616ac2c049d4fc8fb-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 28 14:51:27 2011 Received: (at 8135) by debbugs.gnu.org; 28 Feb 2011 19:51:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pu97v-0003iN-Es for submit@debbugs.gnu.org; Mon, 28 Feb 2011 14:51:27 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pu97t-0003iB-Jp for 8135@debbugs.gnu.org; Mon, 28 Feb 2011 14:51:26 -0500 Received: from localhost ([127.0.0.1]:40095) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu97o-0000WK-8Z; Mon, 28 Feb 2011 14:51:20 -0500 From: Glenn Morris To: dexter K Subject: Re: bug#8135: Problem about TAB in emacs23 References: X-Spook: Ermes White Water Attorney General Mafia NWO Mossad X-Ran: hh>;DrCY>MOjj4\^,?sFofy>8ReB)cR+j)%wh*!z3~jIvXO(.y^)Q*XhRc+0;KL%blpg(s X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 28 Feb 2011 14:51:19 -0500 In-Reply-To: (dexter K.'s message of "Mon, 28 Feb 2011 12:04:51 +0800") Message-ID: <0zwrkk9buw.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8135 Cc: 8135@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) dexter K wrote: > 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 This does not look like an Emacs bug, and probably would have been better suited to the help-gnu-emacs mailing list. Comments: 1) The default tab-width is 8. 2) There is no `c-basic-indent' variable. Maybe you meant c-basic-offset? 3) delete runs `delete-char' by default. 4) C-h k BACKSPACE tells me that I can customize the behaviour by setting `backward-delete-char-untabify-method'. So in Emacs 23.2 I get the behaviour that you want simply with: (global-set-key (kbd "TAB") 'self-insert-command) (setq backward-delete-char-untabify-method nil) From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 01 12:47:48 2011 Received: (at 8135-done) by debbugs.gnu.org; 1 Mar 2011 17:47:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuTfn-0006EB-TM for submit@debbugs.gnu.org; Tue, 01 Mar 2011 12:47:48 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuTfm-0006E0-OH for 8135-done@debbugs.gnu.org; Tue, 01 Mar 2011 12:47:47 -0500 Received: from localhost ([127.0.0.1]:41199) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuTfh-0002Qw-Io; Tue, 01 Mar 2011 12:47:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19821.12605.257878.983814@fencepost.gnu.org> Date: Tue, 1 Mar 2011 12:47:41 -0500 From: Glenn Morris To: 8135-done@debbugs.gnu.org Subject: Re: bug#8135: Problem about TAB in emacs23 In-Reply-To: References: <0zwrkk9buw.fsf@fencepost.gnu.org> X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: aUIs(!mC~s;!]J$+|.35S5K`X1=9frwN^=^-hTx]iE""BQq1\C!Nq{8>I(B3|}cA]]6G/s X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8135-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) 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 From unknown Sat Jun 21 05:11:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 30 Mar 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator