unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: help-gnu-emacs@gnu.org
Subject: Re: How to bind to M-"
Date: Wed, 28 Jan 2009 19:16:28 GMT	[thread overview]
Message-ID: <873af3meb7.fsf@iki.fi> (raw)
In-Reply-To: b140e8f6-13dc-4d3e-94b1-edb430b9f5bb@g39g2000pri.googlegroups.com

Mirko (2009-01-28 10:27 -0800) wrote:

> I would like to bind a command to the Escape + quote `"' character
> sequency.
>
> I tried a few combinations of "M-" and \", ?\", but none work. What is
> the official way?

This works:

    (kbd "M-\"")

> Since we are at it, how would one create a string of five double
> quotes using make-string:
> I tried
>
> (make-string 5 \")

The input must be an integer so we use "?" form:

    (make-string 5 ?\")


  reply	other threads:[~2009-01-28 19:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28 18:27 How to bind to M-" Mirko
2009-01-28 19:16 ` Teemu Likonen [this message]
2009-01-29  1:09 ` Kevin Rodgers
     [not found] ` <mailman.6126.1233191412.26697.help-gnu-emacs@gnu.org>
2009-01-29  1:24   ` Pascal J. Bourguignon
2009-01-31  4:10     ` Kevin Rodgers

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=873af3meb7.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --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).