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

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

Re: slime mode and keeping M-, for tags-loop-continue


From: Kevin Rodgers
Subject: Re: slime mode and keeping M-, for tags-loop-continue
Date: Wed, 12 Feb 2014 23:11:37 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

On 2/12/14 2:31 AM, Eric Abrahamsen wrote:
In slime mode, "M-," is rebound to slime-pop-find-definition-stack. This
means that if you've started out in dired and done "A" for
dired-do-search through a bunch of lisp files, you can't use M-, to
continue your search with tags-loop-continue. Has anyone else found this
annoying? Is there a simple solution for it?

Just a guess:

(add-hook 'slime-mode-hook
          (lambda ()
            ;; Don't shadow global `M-,' binding (tags-loop-continue):
            (local-unset-key "\M-,")
            ;; Replace with local `C-c,' (or `M-C-,'):
            (local-set-key "\C-c," 'slime-pop-find-definition-stack)))

--
Kevin Rodgers
Denver, Colorado, USA




reply via email to

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