From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ke Lu Newsgroups: gmane.emacs.help Subject: Re: How to bind meta+shift in linux Date: Sun, 03 Aug 2008 22:22:21 +0900 Organization: Bentium Ltd. (CN99) Message-ID: References: <8c06b983-fd26-4506-a6be-ba65d6fd1fae@59g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1217771823 11033 80.91.229.12 (3 Aug 2008 13:57:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Aug 2008 13:57:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 03 15:57:52 2008 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 1KPe5m-00067I-Rw for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 15:57:51 +0200 Original-Received: from localhost ([127.0.0.1]:53788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPe4s-0004xy-1y for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 09:56:54 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: softbank218118058050.bbtec.net Original-X-Trace: news.cn99.com 1217769741 13283 218.118.58.50 (3 Aug 2008 13:22:21 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Sun, 3 Aug 2008 13:22:21 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:PIxTbXoOMvD5ocvySu5sNGefx6c= Original-Xref: news.stanford.edu gnu.emacs.help:160838 X-Mailman-Approved-At: Sun, 03 Aug 2008 09:52:58 -0400 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:56185 Archived-At: I solved it. It's the problem of the default keyboad layout setting. menu->system->keyboad->layout->keyboad layout option ->layout switching [alt+shift change layout] have been checked. I sovled the problem by uncheck it. Ke Lu writes: > X window. ubuntu 8.04. > When I press alt-shift-j, it works as alt-j > When I press shift-alt-j, it works as J > > weber writes: > >> On Aug 3, 8:47 am, Ke Lu wrote: >>> Hi >>> >>> I see a ergonomic keybinding fromhttp://xahlee.org/emacs/ergonomic_emacs_keybinding.html >>> >>> But meta+shift+somekey takes no effect in linux. >>> >>> ie >>> ;; Move to beginning/ending of file >>> (global-set-key (kbd "M-J") 'beginning-of-buffer)  ; was nil >>> (global-set-key (kbd "M-L") 'end-of-buffer)  ; was nil >>> >>> (global-set-key (kbd "M-S-j") 'beginning-of-buffer)  ; was nil >>> (global-set-key (kbd "M-S-l") 'end-of-buffer)  ; was nil >>> >>> Both of them takes no effect. >>> >>> Thanks. >> >> X or console? >> What you pasted works on my linux,,, perhaps try global-set-key >> interactively to find out more? >> >> -weber > -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ラクスドウ 株式会社 LUXDO Inc. 呂 克 (Ke Lu) 〒103-0025 東京都中央区日本橋茅場町2-17-6-413 TEL:03-3249-6501 FAX:03-3249-6502 携帯:070-5565-8206 http://www.luxdo.co.jp E-mail:lu@luxdo.co.jp _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/