From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Edmond Halley Newsgroups: gmane.emacs.help Subject: Re: How to binding key Ctrl-TAB to 'indent-relative Date: Tue, 9 Jun 2009 21:55:50 +0800 Message-ID: <6c7d8d780906090655pc99d452ue162efc316a006c2@mail.gmail.com> References: <6c7d8d780906081904h7ab02bcbrd0ec3ac70551cc7@mail.gmail.com> <767C110C-B9DB-4CD7-8A4F-E057948D55CE@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174bea246e495f046beab7fb X-Trace: ger.gmane.org 1244555779 28925 80.91.229.12 (9 Jun 2009 13:56:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2009 13:56:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 09 15:56:17 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ME1oG-0003kw-69 for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2009 15:56:16 +0200 Original-Received: from localhost ([127.0.0.1]:56416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME1oF-0006m7-PS for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2009 09:56:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME1nx-0006lL-Co for help-gnu-emacs@gnu.org; Tue, 09 Jun 2009 09:55:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME1ns-0006ea-De for help-gnu-emacs@gnu.org; Tue, 09 Jun 2009 09:55:56 -0400 Original-Received: from [199.232.76.173] (port=44305 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME1ns-0006eN-BE for help-gnu-emacs@gnu.org; Tue, 09 Jun 2009 09:55:52 -0400 Original-Received: from mail-ew0-f225.google.com ([209.85.219.225]:58255) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ME1nr-0001Eb-PP for help-gnu-emacs@gnu.org; Tue, 09 Jun 2009 09:55:52 -0400 Original-Received: by ewy25 with SMTP id 25so411340ewy.42 for ; Tue, 09 Jun 2009 06:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=S1lu3TxpBE1MTAfkbMLZjZbFlU9xAEksenZ/BS5UVII=; b=aLxb7wU6KmYHkexjNdhd4uruioUV5p5bdTwFfZRjezAK1fL1ut9vHD+ke18lDB1K7k pRo6tlSmKdK5dM9qXoX2aVC7ecBFxiSYLYf/Gk+Jup25bEEM7cyONkSaH2zjOR20cXzL GMqbfCq+qcoow5TVNfvBslmgAXcIef5je9LXY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZJNDaQadqrVIGvtASy/e3hJ6yrMtZQ+GdyGKL0bwWnCEsRmzqKkTQKjGify9vV+bYP cTglHbJ6+mHY6mJtMiMNzARSIPZNBDUuiiq81oF9eC2YXw2/2QhpZBT1s2dd4Mt1PWUZ mdgBqrfFU3sq10DfHUjmTjXnzs/BzxuvqeA4w= Original-Received: by 10.210.42.13 with SMTP id p13mr2632059ebp.31.1244555750819; Tue, 09 Jun 2009 06:55:50 -0700 (PDT) In-Reply-To: <767C110C-B9DB-4CD7-8A4F-E057948D55CE@Web.DE> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65090 Archived-At: --0015174bea246e495f046beab7fb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks to Jeff and Pete! Both method work well. Usually I try some codes in *scratch* buffer by "C-x C-e". However, I come to elisp just a few weeks, I know little about this language, and am often obsessed with the backtrace. It is very lucky to have a comprehensive references/docs/codes, and an active mail-group. 2009/6/9 Peter Dyballa > > Am 09.06.2009 um 04:04 schrieb Edmond Halley: > > (local-set-key [C-TAB] 'indent-relative) >> > > > This is close, you just need to write "tab" in lower-case letters. > > Have you learned that you can "test" Elisp statements in the *scratch* > buffer? You can also try them interactively in mini-buffer and upon success > find this command with C-x Esc Esc (and then cursor up if necessary). > > -- > Greetings > > Pete > > Specifications are for the weak and timid! > > > > --0015174bea246e495f046beab7fb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks to Jeff and Pete!
Both method work well.

Usually I try som= e codes in *scratch* buffer by "C-x C-e". However, I come to elis= p just a few weeks, I know little about this language, and am often obsesse= d with the backtrace.

It is very lucky to have a comprehensive references/docs/codes, and an = active mail-group.

2009/6/9 Peter Dyballa= <Peter_Dyball= a@web.de>

Am 09.06.2009 um 04:04 schrieb Edmond Halley:


(local-set-key [C-TAB] 'indent-relative)


This is close, you just need to write "tab" in lower-case letters= .

Have you learned that you can "test" Elisp statements in the *scr= atch* buffer? You can also try them interactively in mini-buffer and upon s= uccess find this command with C-x Esc Esc (and then cursor up if necessary)= .

--
Greetings

=A0Pete

Specifications are for the weak and timid!




--0015174bea246e495f046beab7fb--