- To: listaddr1@xxxxxxxxxxx
- Subject: Re: listing the most user friendly apps with emacspeak.
- From: Tim Cross <tcross@xxxxxxxxxxx>
- Date: Fri, 27 Oct 2006 17:24:05 +1000
- Delivered-To: emacspeak@xxxxxxxxxxx
- In-Reply-To: <17729.45320.112698.95801@xxxxxxxxxxx>
- List-Help: <mailto:emacspeak-request@xxxxxxxxxxx?subject=help>
- List-Post: <mailto:emacspeak@xxxxxxxxxxx>
- List-Subscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=subscribe>
- List-Unsubscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=unsubscribe>
- Old-Return-Path: <tcross@xxxxxxxxxxx>
- Resent-Date: Fri, 27 Oct 2006 03:24:45 -0400 (EDT)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <Zg2tq.A.nBH.9QbQFB@xxxxxxxxxxx>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
Lukas Loehrer writes:
> Steve Holmes writes ("Re: listing the most user friendly apps with emacspeak."):
> > Interesting lisp code here. How did you figure all that out? I'm not
> > aware of the internal dired variables or functions like filename.
>
> There are many ways, here is one: You pick an existing dired
> command that supposedly has to do similar operations as the one you
> want to write. Look at its source ("C-h M-f" works most of the time).
> Try to understand how the existing function works and extract the
> functions and variables you will need in your own code. Look at the
> docstrings to make sure they really do what you believe.
>
Also, M-x apropos-variable is very useful once you know the prefix
used in a package e.g. dired-
I also find it useful to try M-x customize-group <ret> dired to see
all the customizable variables in a package like dired.
Many packages with info pages will also include an index of functions
and variables.
and of course, as aptly mentioned already by Lukas and with a less
than subtle reference to 20th century pop culture
Use the source Luke!
Tim
--
Tim Cross
tcross@xxxxxxxxxxx
There are two types of people in IT - those who do not manage what they
understand and those who do not understand what they manage.
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"