help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: haml plus kill-rectangle hangs emacs


From: Peter Dyballa
Subject: Re: haml plus kill-rectangle hangs emacs
Date: Sat, 3 Apr 2010 00:20:49 +0200


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_________________





reply via email to

[Prev in Thread] Current Thread [Next in Thread]