all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* slime mode and keeping M-, for tags-loop-continue
@ 2014-02-12  9:31 Eric Abrahamsen
  2014-02-13  6:11 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2014-02-12  9:31 UTC (permalink / raw
  To: help-gnu-emacs

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?

Thanks,
Eric




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: slime mode and keeping M-, for tags-loop-continue
  2014-02-12  9:31 slime mode and keeping M-, for tags-loop-continue Eric Abrahamsen
@ 2014-02-13  6:11 ` Kevin Rodgers
  2014-02-13 14:04   ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2014-02-13  6:11 UTC (permalink / raw
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: slime mode and keeping M-, for tags-loop-continue
  2014-02-13  6:11 ` Kevin Rodgers
@ 2014-02-13 14:04   ` Eric Abrahamsen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2014-02-13 14:04 UTC (permalink / raw
  To: help-gnu-emacs

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

> 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)))

Sure, I could override the slime bindings, but I guess I was hoping for
a way to have it check to see if a search was in progress, and not stomp
on it if so...




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-13 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-12  9:31 slime mode and keeping M-, for tags-loop-continue Eric Abrahamsen
2014-02-13  6:11 ` Kevin Rodgers
2014-02-13 14:04   ` Eric Abrahamsen

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.