all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can't define Hyper-, modifier in Emacs current
@ 2010-12-16 18:23 HAMANO Kiyoto
  2010-12-16 18:41 ` Davis Herring
  0 siblings, 1 reply; 3+ messages in thread
From: HAMANO Kiyoto @ 2010-12-16 18:23 UTC (permalink / raw
  To: emacs-devel

Hi emacs-developpers

I tried to define(eval) following codes.

  (global-set-key [(super ,)] '(lambda () (interactive) (message "hello")))

As a result, I got a following error message.

  Debugger entered--Lisp error: (invalid-read-syntax ")")

Is this a bug? Or, Was specification changed?

;; My environment:
;;   Emacs 24.0.50 (12/17)
;;   Debian GNU/Linux sid

Thanks.
-- 
HAMANO Kiyoto
khiker.mail@mail.com



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

* Re: Can't define Hyper-, modifier in Emacs current
  2010-12-16 18:23 Can't define Hyper-, modifier in Emacs current HAMANO Kiyoto
@ 2010-12-16 18:41 ` Davis Herring
  2010-12-16 21:50   ` Deniz Dogan
  0 siblings, 1 reply; 3+ messages in thread
From: Davis Herring @ 2010-12-16 18:41 UTC (permalink / raw
  To: HAMANO Kiyoto; +Cc: emacs-devel

>   (global-set-key [(super ,)] '(lambda () (interactive) (message

Try ?, instead of ,.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



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

* Re: Can't define Hyper-, modifier in Emacs current
  2010-12-16 18:41 ` Davis Herring
@ 2010-12-16 21:50   ` Deniz Dogan
  0 siblings, 0 replies; 3+ messages in thread
From: Deniz Dogan @ 2010-12-16 21:50 UTC (permalink / raw
  To: herring; +Cc: HAMANO Kiyoto, emacs-devel

2010/12/16 Davis Herring <herring@lanl.gov>:
>>   (global-set-key [(super ,)] '(lambda () (interactive) (message
>
> Try ?, instead of ,.
>

Or possibly (kbd "s-,") instead of [(super ?,)] or whatever that
nonsense would result in.

(Not tested though, as I don't have a super key.)

-- 
Deniz Dogan



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

end of thread, other threads:[~2010-12-16 21:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-16 18:23 Can't define Hyper-, modifier in Emacs current HAMANO Kiyoto
2010-12-16 18:41 ` Davis Herring
2010-12-16 21:50   ` Deniz Dogan

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.