From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torben Knudsen Newsgroups: gmane.emacs.help Subject: Re: Remove local key binding in Dired Date: Fri, 03 Jul 2009 08:36:03 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <87ab3mgtnw.fsf@es.aau.dk> References: <87iqib1snz.fsf@es.aau.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1246603304 9066 80.91.229.12 (3 Jul 2009 06:41:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2009 06:41:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 03 08:41:36 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 1MMcSm-0000AW-1b for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2009 08:41:36 +0200 Original-Received: from localhost ([127.0.0.1]:42496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMcSl-0004dA-Ga for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2009 02:41:35 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Original-Lines: 39 Original-NNTP-Posting-Host: 172.16.14.2 Original-X-Trace: news.sunsite.dk DXC==^gaaX<@29nHZJdbckJ7Xa[Ff6Z_`9JfcA\6hR_; =AMd Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:170541 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:65751 Archived-At: Xah Lee writes: > On Jul 1, 11:54 pm, Torben Knudsen wrote: >> I have the following which I find conveinent >> >> ;;; Window spliting >> (global-set-key (kbd "M-3") 'split-window-horizontally) ; was digit-argument >> (global-set-key (kbd "M-2") 'split-window-vertically) ; was digit-argument >> (global-set-key (kbd "M-1") 'delete-other-windows) ; was digit-argument >> (global-set-key (kbd "M-0") 'delete-window) ; was digit-argument >> (global-set-key (kbd "M-o") 'other-window) ; was prefix >> >> However, in dired >> >> M-o runs the command dired-omit-mode >> >> I can remove this "manually" by >> >> local-unset-key M-o >> >> in a dired buffer >> >> but how can I do this in my .emacs? > > > you might try the latest version of ergoemacs, which fixes this. > http://code.google.com/p/ergoemacs/ Thanks for the suggestion. I have some small changes to emacs key bindings. However I try to keep it at a minimum. -- Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Direct : 6 8694 Department of Electronic Systems, Email : tk@es.aau.dk Aalborg University Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark