From: "tubescreamer808@gmail.com" <tubescreamer808@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Key binding problem
Date: 26 Feb 2007 08:54:22 -0800 [thread overview]
Message-ID: <1172508862.399116.33070@p10g2000cwp.googlegroups.com> (raw)
In-Reply-To: <mailman.118.1172506366.7795.help-gnu-emacs@gnu.org>
Thank you very much weber, it works perfectly.
Alternatively, I have just discovered that using the kbd macro works
fine also e.g.
(local-set-key (kbd "C-|") 'indent-region)
Don't ask me why I never tried it before since I was already using it
for the newline-and-indent binding. I guess that sometimes things are
just too obvious or you're just too stupid...
Anyways, thanks again for your help!
Jean
On 26 fév, 17:12, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> weber wrote:
> >> (local-set-key [C-|] 'indent-region)
>
> Try
>
> (local-set-key [(control ?|)] (lambda() (interactive) (message "Hi from
> C-|")))
next prev parent reply other threads:[~2007-02-26 16:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-26 13:23 Key binding problem tubescreamer808
2007-02-26 13:33 ` weber
2007-02-26 14:19 ` tubescreamer808
2007-02-26 16:12 ` Lennart Borgman (gmail)
[not found] ` <mailman.118.1172506366.7795.help-gnu-emacs@gnu.org>
2007-02-26 16:54 ` tubescreamer808 [this message]
2007-02-26 18:41 ` Xavier Maillard
2007-02-26 19:15 ` Drew Adams
2007-02-26 20:28 ` Xavier Maillard
[not found] ` <mailman.136.1172521894.7795.help-gnu-emacs@gnu.org>
2007-02-27 8:50 ` tubescreamer808
2007-02-27 10:15 ` Lennart Borgman (gmail)
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1172508862.399116.33070@p10g2000cwp.googlegroups.com \
--to=tubescreamer808@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.
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).