help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using setq to obtain a symbol from a list, so that I can assign a f


From: Barry Margolin
Subject: Re: Using setq to obtain a symbol from a list, so that I can assign a function to it
Date: Wed, 23 Apr 2008 00:06:22 -0400
User-agent: MT-NewsWatcher/3.5.3b2 (Intel Mac OS X)

In article <mailman.10727.1208920326.18990.help-gnu-emacs@gnu.org>,
 Timothy Hobbs <tim.thelion@gmail.com> wrote:

> Pascal Bourguignon <pjb@informatimago.com> writes:
> > but it's probably better to but these function in a hash-table than in
> > the value slots of the symbols.
> I am curious, why would this be better?  I find that when an elisp program 
> defines functions outside of the standard lisp symbols reading and modifying 
> them becomes difficult or impossible.  In the simplest scenario, simply 
> finding out how functionality is implemented, I cannot use C-h f to jump to 
> the doc string and ultimately, through that handy little hyperlink, source 
> code.  In a more involved case, I cannot advise, or redefine the function.

Most of these things are unlikely to be done for dynamically-generated 
functions that are internal to an application like this.  There's no 
source code for that "handy little hyperlink" to point to, because the 
function was created on the fly.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]