* string to symbol
@ 2009-08-02 8:54 TheFlyingDutchman
2009-08-02 10:02 ` Thierry Volpiatto
[not found] ` <mailman.3669.1249207765.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 5+ messages in thread
From: TheFlyingDutchman @ 2009-08-02 8:54 UTC (permalink / raw)
To: help-gnu-emacs
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: string to symbol
2009-08-02 8:54 string to symbol TheFlyingDutchman
@ 2009-08-02 10:02 ` Thierry Volpiatto
[not found] ` <mailman.3669.1249207765.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 5+ messages in thread
From: Thierry Volpiatto @ 2009-08-02 10:02 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: string to symbol
[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
0 siblings, 1 reply; 5+ messages in thread
From: TheFlyingDutchman @ 2009-08-02 23:31 UTC (permalink / raw)
To: help-gnu-emacs
>
> ,----
> | ELISP> (intern "shell")
> | shell
Thanks Thierry, worked like a charm! Is there a way to determine,
given a string, whether or not an interned symbol already exists with
that name?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: string to symbol
2009-08-02 23:31 ` TheFlyingDutchman
@ 2009-08-03 0:10 ` Pascal J. Bourguignon
2009-08-03 2:06 ` TheFlyingDutchman
0 siblings, 1 reply; 5+ messages in thread
From: Pascal J. Bourguignon @ 2009-08-03 0:10 UTC (permalink / raw)
To: help-gnu-emacs
TheFlyingDutchman <zzbbaadd@aol.com> writes:
>>
>> ,----
>> | ELISP> (intern "shell")
>> | shell
>
> Thanks Thierry, worked like a charm! Is there a way to determine,
> given a string, whether or not an interned symbol already exists with
> that name?
intern-soft
--
__Pascal Bourguignon__
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: string to symbol
2009-08-03 0:10 ` Pascal J. Bourguignon
@ 2009-08-03 2:06 ` TheFlyingDutchman
0 siblings, 0 replies; 5+ messages in thread
From: TheFlyingDutchman @ 2009-08-03 2:06 UTC (permalink / raw)
To: help-gnu-emacs
>
> intern-soft
>
> --
> __Pascal Bourguignon__
Thanks Pascal!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-08-03 2:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-02 8:54 string to symbol TheFlyingDutchman
2009-08-02 10:02 ` Thierry Volpiatto
[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
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.