* Re: how to bind to Super-\ ???
[not found] <20020831210601.14569.29641.Mailman@monty-python.gnu.org>
@ 2002-09-01 6:11 ` Joe Corneli
2002-09-01 6:38 ` how to send ")" Joe Corneli
0 siblings, 1 reply; 3+ messages in thread
From: Joe Corneli @ 2002-09-01 6:11 UTC (permalink / raw)
> That's because \ is a quoting character, so whenever you add it
> in a string, you have to quote it, hence, it should have been
> "\\", rather than "\".
"\\" gives an error message, unknown keysym
> No, S-\ is shift-\ whereas s-\ is super-\.
Thanks. (I personally think this convention is weird.)
> You can probably use (kbd "s-\").
That gives the "end of file" error message I described earlier (quoting
character problem). But you fixed it too:
> (kbd "s-\\") -- sorry.
This works, but emacs complains: "Unknown modifier"!
My method with ?\134 seems to be the best for the compiler,
hard to read but I can add a comment. This seems to be a case
where using octal is the only way to get quiet compilation. (Maybe?)
Anyway, I'm satisfied.
Joe
^ permalink raw reply [flat|nested] 3+ messages in thread
* how to send ")"
2002-09-01 6:11 ` how to bind to Super-\ ??? Joe Corneli
@ 2002-09-01 6:38 ` Joe Corneli
0 siblings, 0 replies; 3+ messages in thread
From: Joe Corneli @ 2002-09-01 6:38 UTC (permalink / raw)
(This is sort of related to my last questio)
(defalias 'rightparen
(read-kbd-macro ")"))
causes the compiler to complain.
Work around?
Joe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to send ")"
[not found] <mailman.1030862343.18862.help-gnu-emacs@gnu.org>
@ 2002-09-01 18:39 ` Kai Großjohann
0 siblings, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2002-09-01 18:39 UTC (permalink / raw)
Joe Corneli <jcorneli@math.utexas.edu> writes:
> (defalias 'rightparen
> (read-kbd-macro ")"))
>
> causes the compiler to complain.
Well, read-kbd-macro probably does not return a function name. Why
not the following?
(defun rightparen ()
(interactive)
(insert ")"))
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-01 18:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20020831210601.14569.29641.Mailman@monty-python.gnu.org>
2002-09-01 6:11 ` how to bind to Super-\ ??? Joe Corneli
2002-09-01 6:38 ` how to send ")" Joe Corneli
[not found] <mailman.1030862343.18862.help-gnu-emacs@gnu.org>
2002-09-01 18:39 ` Kai Großjohann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).