all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Audrey Lee <audrey.lee.is.me@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: haml plus kill-rectangle hangs emacs
Date: Sat, 3 Apr 2010 00:20:49 +0200	[thread overview]
Message-ID: <560ACED8-FDAB-4096-878E-EAC060D8CD2F@Web.DE> (raw)
In-Reply-To: <o2kd62ac5f31004021212j67f608a1s51c1296ac6cd7107@mail.gmail.com>


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	other threads:[~2010-04-02 22:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-02 19:12 haml plus kill-rectangle hangs emacs Audrey Lee
2010-04-02 22:20 ` Peter Dyballa [this message]
2010-04-06  6:17 ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560ACED8-FDAB-4096-878E-EAC060D8CD2F@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=audrey.lee.is.me@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.