From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: haml plus kill-rectangle hangs emacs Date: Sat, 3 Apr 2010 00:20:49 +0200 Message-ID: <560ACED8-FDAB-4096-878E-EAC060D8CD2F@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270246930 10866 80.91.229.12 (2 Apr 2010 22:22:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Apr 2010 22:22:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Audrey Lee Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 03 00:22:04 2010 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.69) (envelope-from ) id 1NxpFc-0002Ub-1f for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Apr 2010 00:22:04 +0200 Original-Received: from localhost ([127.0.0.1]:47415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxpFb-0001ns-Af for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Apr 2010 18:22:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxpF9-0001mU-BC for help-gnu-emacs@gnu.org; Fri, 02 Apr 2010 18:21:35 -0400 Original-Received: from [140.186.70.92] (port=56443 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxpEu-00011Q-TY for help-gnu-emacs@gnu.org; Fri, 02 Apr 2010 18:21:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxpET-0008NN-92 for help-gnu-emacs@gnu.org; Fri, 02 Apr 2010 18:21:19 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:56498) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxpES-0008Mx-UP for help-gnu-emacs@gnu.org; Fri, 02 Apr 2010 18:20:53 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id A2DB915B4F6BB; Sat, 3 Apr 2010 00:20:51 +0200 (CEST) Original-Received: from [91.35.185.160] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (WEB.DE 4.110 #4) id 1NxpER-00032P-00; Sat, 03 Apr 2010 00:20:51 +0200 In-Reply-To: X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/qzm+YMqa16PHh+RCyVb8v3IAos3idWrQaqDB/ uaVzQnPD+N2OaDyml+lQ0MsQf1MkBqzGnvwqG+wqaOK68WmrAO ZiaYybTx1PXYwDCKV4zg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:72584 Archived-At: Am 02.04.2010 um 21:12 schrieb Audrey Lee: > Question 1: > - In my .emacs, What might be some simple syntax I can use to > disable kill-rectangle while I am in haml-mode ? (global-unset-key KEY) > > Question 2: > - In my .emacs, What might be some simple syntax I can use to > connect a key to a function, but only for haml-mode, not globally. (define-key KEYMAP KEY DEF) > > Question 3: > - Does emacs have some kind of debugger I can use to tell me what > files it is reading when I execute emacs commands? Yes (edebug node in info). You could also use this code to record in *Messages* buffer loading of Elisp files: (defadvice load (before debug-log activate) (message "(Tipp von Kai G) Lade jetzt: %s" (ad-get-arg 0))) It's just a bit complicated with Carbon Emacs finding the right init file... Starting with Leopard (Mac OS X 10.5) you can also use DTrace, part of the OS. DTrace is exact, but also complicated. Mac OS X's Activity Meter allows to take samples of a wild running process. -- Greetings <] Pete o __o |__ o recumbo ___o /I -\<, |o \ -\),-% ergo sum! ___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________