all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: string to symbol
Date: Sun, 02 Aug 2009 12:02:45 +0200	[thread overview]
Message-ID: <87skgabkje.fsf@tux.homenetwork> (raw)
In-Reply-To: 8e9443a2-414f-4849-94ed-ff187b810fe4@s15g2000yqs.googlegroups.com

TheFlyingDutchman <zzbbaadd@aol.com> writes:

> I want to call the documentation or describe-function, functions, with
> a list of strings that are function names. Those functions take a
> symbol as an argument. e.g. (describe-function 'shell).  Given a
> string "shell" is it possible to convert that to the symbol shell so
> that I can use it as an argument to those functions?
>
,----
| ELISP> (intern "shell")
| shell
| ELISP> (symbol-name 'shell)
| "shell"
| ELISP> 
`----
-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





  reply	other threads:[~2009-08-02 10:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-02  8:54 string to symbol TheFlyingDutchman
2009-08-02 10:02 ` Thierry Volpiatto [this message]
     [not found] ` <mailman.3669.1249207765.2239.help-gnu-emacs@gnu.org>
2009-08-02 23:31   ` TheFlyingDutchman
2009-08-03  0:10     ` Pascal J. Bourguignon
2009-08-03  2:06       ` TheFlyingDutchman

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=87skgabkje.fsf@tux.homenetwork \
    --to=thierry.volpiatto@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.
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.