unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: John <jmg3000@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: global-set-key, error: Invalid modifier in string
Date: Fri, 17 Aug 2007 15:20:53 -0000	[thread overview]
Message-ID: <1187364053.751956.181150@22g2000hsm.googlegroups.com> (raw)
In-Reply-To: <yoijir7ejwnx.fsf@gamma02.me.chalmers.se>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 781 bytes --]

On Aug 17, 6:13 am, bojohan+n...@dd.chalmers.se (Johan Bockgård)
wrote:
> John <jmg3...@gmail.com> writes:
> > Seems like some of the Alt keys are working, but the ones with "\C-"
> > in them are causing the error.
>
> Strings can't contain non-ASCII control characters. Use (kbd "C-.") or
> [?\C-.] etc instead.
>

I'm not familiar with the differences between ascii and non-ascii ctrl
characters, but using kbd fixed the problem. :)

(Note: I swapped around the C-<> and M-<> keys from what's shown
above.) I'm giving these new key combos a try for a little while.
Using M-v for page up has always seemed out of place wrt the rest of
the Emacs key bindings. And M-n / M-p seems to make perfect sense for
backward-/forward-paragraph.

Thanks Johan!

---John

  reply	other threads:[~2007-08-17 15:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17  5:08 global-set-key, error: Invalid modifier in string John
2007-08-17  8:17 ` Peter Dyballa
2007-08-17 10:13 ` Johan Bockgård
2007-08-17 15:20   ` John [this message]
2007-08-17 15:40     ` John
2007-08-19 15:56       ` Johan Bockgård
2007-08-17 18:16     ` Emilio Lopes
2007-08-20  6:12       ` Stefan Monnier
     [not found] ` <mailman.4897.1187338712.32220.help-gnu-emacs@gnu.org>
2007-08-17 15:08   ` John

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=1187364053.751956.181150@22g2000hsm.googlegroups.com \
    --to=jmg3000@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).