From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Meurer Newsgroups: gmane.emacs.help Subject: Re: I can't use Alt+Shift Date: Wed, 18 Jan 2012 17:34:19 -0700 Message-ID: References: <104171DB-3A57-41E3-8F71-F7F443D930C6@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326933293 26491 80.91.229.12 (19 Jan 2012 00:34:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2012 00:34:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?UTF-8?B?6YOt5pmT5bOw?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 19 01:34:49 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rnfxo-0006vl-Q0 for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Jan 2012 01:34:48 +0100 Original-Received: from localhost ([::1]:34576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnfxo-0003gG-BH for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jan 2012 19:34:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnfxj-0003g5-Iv for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 19:34:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rnfxi-0004CL-HX for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 19:34:43 -0500 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:55813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnfxi-0004CD-7y for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 19:34:42 -0500 Original-Received: by lagw12 with SMTP id w12so1724225lag.0 for ; Wed, 18 Jan 2012 16:34:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=DIC+9aMG2oMVsH+450vP7gqGTcaO05kfAl6ZBl/FUnQ=; b=L1bbdPBTmAoufjnetCRB8PK2V8161Eci9d/2TqAfaJQLAHOxx3eYzJnjE1T3MRGzkh JAq4Boit2RP8RVYxNWXwiAypb4q9mPCIN+RTKid5EDnuri5hpx3qRAUB3xNp5vTHlhxG pkMz6fVU0FIqbts/FJUdUVItQs9eGP2K8ltAs= Original-Received: by 10.112.48.193 with SMTP id o1mr5981137lbn.1.1326933280162; Wed, 18 Jan 2012 16:34:40 -0800 (PST) Original-Received: by 10.112.44.70 with HTTP; Wed, 18 Jan 2012 16:34:19 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83523 Archived-At: If your terminal program lets you define custom key sequences, you can work-around this by setting what you want to do as a some other unused key sequence in your .emacs, and then setting your terminal to convert the one key sequence to the other. Aaron Meurer On Tue, Jan 17, 2012 at 11:00 AM, =E9=83=AD=E6=99=93=E5=B3=B0 wrote: > Maybe something below is useful: > - Make sure your terminal or GUI transfer the key to the place you run > emacs. To confirm this, you can use "showkey" in console-tools for > terminal, or "xev" in X. > - If it is transferred, make sure you can see the same "scan code" in > emacs, with "Ctrl-h l", which will show you latest keyboard strokes. > - If you can see the strokes in emacs, make sure it is combined with > the emacs keymap. "Ctrl-h b" will show you all the mapping. "M-right" > or "M->", I am not sure which one you like, should be combined with > the key. > - In the end, make sure is combined with some emacs > interactive function. > > Hope I didn't miss anything here, and hope the hints are helpful to you. > > Best Regards, > Xiaofeng > > On Tue, Jan 17, 2012 at 6:43 AM, Peter Dyballa wro= te: >> >> Am 17.1.2012 um 13:36 schrieb Daniel Sousa: >> >>> When I run C-h k and press that key combination, emacs simply ignores i= t >>> and doesn't even say that it is undefined. >> >> Correct! In every software terminal emulation GNU Emacs is the guest of = this software product. When its host is not able to receive or distinguish = the signals about the keys being pressed (or released), then the host canno= t send anything to its guest. (You might try to teach your terminal emulati= on a bit more key events.) So GNU Emacs does not receive anything. To check= what it might receive you can press, for example in *scratch* buffer, C-q = and then some desired key combination. By this means you record anything th= e host programme sends to its guest GNU Emacs. You can also type C-h l, whi= ch shows a recording of what you typed. Or actually of what GNU Emacs recei= ved from your keyboard work... >> >> -- >> Greetings >> >> =C2=A0Pete >> >> Without vi there is only GNU Emacs >> >> >