From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Disabling M-q Date: Fri, 17 May 2013 23:43:46 -0500 Organization: NewsGuy - Unlimited Usenet $23.95 Message-ID: References: <87txm4w97w.fsf@Aspire.decebal.nl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368893517 17408 80.91.229.3 (18 May 2013 16:11:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 May 2013 16:11:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 18 18:11:56 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Udjje-00070R-Hk for geh-help-gnu-emacs@m.gmane.org; Sat, 18 May 2013 18:11:54 +0200 Original-Received: from localhost ([::1]:37643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Udjjd-0004Gw-RG for geh-help-gnu-emacs@m.gmane.org; Sat, 18 May 2013 12:11:53 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news-out.readnews.com!transit4.readnews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4 Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: p6f54094a0b53fbdc46dd5f50aa22f80ef71ca2672c7f44ab.newsdawg.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: <87txm4w97w.fsf@Aspire.decebal.nl> X-Received-Bytes: 1114 Original-Xref: usenet.stanford.edu gnu.emacs.help:198623 X-Mailman-Approved-At: Sat, 18 May 2013 12:11:36 -0400 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:90898 Archived-At: > A friend asked how to disable M-q. My first thought was: > (local-unset-key (kbd "\M-q")) > or > (local-set-key (kbd "M-q") nil) > > But both did not work. I am now using: > (local-set-key (kbd "M-q") "") > > and this works. Is this the best way, or is there a better way? > How about either (global-unset-key [(meta q)] or (local-unset-key [(meta q)] ??