[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Re: [patch] emacspeak-w3m.el and problems
- To: raman@xxxxxxxxxxx
- Subject: Re: [patch] emacspeak-w3m.el and problems
- From: Tim Cross <tcross@xxxxxxxxxxx>
- Date: Wed, 27 Dec 2006 15:06:02 +1100 (EST)
- Delivered-To: priestdo@xxxxxxxxxxx
- Delivered-To: emacspeak@xxxxxxxxxxx
- In-Reply-To: <17802.38296.510966.160408@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: Tue, 26 Dec 2006 23:11:12 -0500 (EST)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <gU-R4B.A.w0.gJfkFB@xxxxxxxxxxx>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
Can someone expand on why the use of macros is a problem? I'm
interested as I've been looking at providing emacspeak support for an
application and have been experiencing problems with advising one of
the functions. I really wanted to know if there is an issue with using
defadvice and macros that I may not be aware of and I'm always
intrested in knowing more about elisp and possible limitations/issues
that may exist with using things like macros.
In my current problem, there is a function which controls display of
some data in another window. I originally thought I could advise this
function so that after it was called, emacspeak would speak the
contents of the window. However, its not turned out to be that simple.
As soon as I advise the function, it stops working correctly - it no
longer scrolls the information in the other window. Even if I just
advise the function without doing anything but essentially putting a
defadvice wrapper around it, the behavior of the function changes.
I then tried to be a bit clever and redefined the key the function was
bound to to another function which just calls the display function and
then emacspeak to speak the window. This also changes the behavior of
the original display function. The window will get spoken, but it does
not scroll when you hit the key as it is supposed to.
The function in question is definitely a function, but it does use a
number of macros and I'm wondering if there is some weird macro
expansion going on that I'm not understanding.
Tim
>
> I'm not on the w3m lists -- so at least I've not made them aware
> of this. If you and others use w3m heavily, I suggest you join
> their mailing list and contribute -- I'm sure they will be receptive.
>
> >>>>> "Robert" == Robert D Crawford <rdc1x@xxxxxxxxxxx> writes:
> Robert> "T. V. Raman" <raman@xxxxxxxxxxx> writes:
> >> many of these errors are because things that shouldn't be
> >> macros are defined as macros in w3m --- see my earlier
> >> message about cleaning up w3m itself and changing those to
> >> defsubst where appropriate.
> Robert>
> Robert> OK, as long as I know it wasn't something I did.
> Robert>
> Robert> Have the developers of w3m been made aware of their
> Robert> errors? I have no idea what is appropriate where, so
> Robert> it wouldn't do any good for me to post a message to
> Robert> them.
> Robert>
> Robert> Thanks, rdc -- Robert D. Crawford rdc1x@xxxxxxxxxxx
> Robert>
> Robert> "The only real way to look younger is not to be born
> Robert> so soon." -- Charles Schulz, "Things I've Had to
> Robert> Learn Over and Over and Over"
> Robert>
> Robert> -----------------------------------------------------------------------------
> Robert> To unsubscribe from the emacspeak list or change your
> Robert> address on the emacspeak list send mail to
> Robert> "emacspeak-request@xxxxxxxxxxx" with a subject of
> Robert> "unsubscribe" or "help"
>
> --
> Best Regards,
> --raman
>
>
> Email: raman@xxxxxxxxxxx
> WWW: http://emacspeak.sf.net/raman/
> AIM: emacspeak GTalk: tv.raman.tv@xxxxxxxxxxx
> PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
> Google: tv+raman
> IRC: irc://irc.freenode.net/#emacs
>
> -----------------------------------------------------------------------------
> 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"
>
-----------------------------------------------------------------------------
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"
Emacspeak Files |
Subscribe |
Unsubscribe | Search