all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'TheLonelyStar'" <nabble@lonely-star.org>, <Help-gnu-emacs@gnu.org>
Subject: RE: elisp questions for Advanced Closing brackets function
Date: Tue, 20 May 2008 13:19:38 -0700	[thread overview]
Message-ID: <000701c8bab6$d44b7bb0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <17349504.post@talk.nabble.com>

> What do you mean by the "onboard elisp manual"?
> This: http://www.gnu.org/software/emacs/manual/elisp.html ?

Yes, but by "onboard" I meant that it is also part of Emacs itself. Use `C-h i'
in Emacs to access all of the onboard manuals. Start with the Info manual, which
explains how to use this help system.

"On board" might not be the official terminology, but "online" seems to imply a
network or Internet connection these days. Whatever the terminology, this is
Info, the hypertext (online) help system which is built into Emacs (in addition
to sometimes standing alone).

> I have a another question for which I did not find an answer 
> in the link above:
> I want the closing-parentese function to be more general.
> I want to call the same funciton for "]", ")" and "}".
> So i would bind this function to all these keys.
> But how can the function know by which key it was invoked?

Look up `this-command-keys' in the Elisp manual. Or search the code in the
`lisp' directory of your Emacs installation, to see how it can be used.

> I thought, the key would be given as argument ... but if it 
> is I do not know how to format the argument to the correct character.





  reply	other threads:[~2008-05-20 20:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 18:12 elisp questions for Advanced Closing brackets function TheLonelyStar
2008-05-20 18:24 ` Drew Adams
2008-05-20 20:04   ` TheLonelyStar
2008-05-20 20:19     ` Drew Adams [this message]
2008-05-21  6:18     ` Pierre Lorenzon
  -- strict thread matches above, loose matches on Subject: below --
2008-05-21  8:47 Lorenzo Isella
     [not found] <mailman.11908.1211307132.18990.help-gnu-emacs@gnu.org>
2008-05-21  9:09 ` Tim X
     [not found] <mailman.11944.1211359652.18990.help-gnu-emacs@gnu.org>
2008-05-21 10:28 ` Rupert Swarbrick
2008-05-21 10:33   ` Rupert Swarbrick
2008-05-21 18:30 ` Ralf Angeli
2008-05-21 18:40   ` Rupert Swarbrick
2008-05-21 20:14     ` Ralf Angeli

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000701c8bab6$d44b7bb0$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=nabble@lonely-star.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.
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.