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

bugs in emacspeak w3m form code - solved



Hi Yvonne, Hi Raman,

     I think I found the solution of this "bug". I mean, it's not a 
"bug", it was happen because some functions of w3m-form.el were altered 
(more especifcaly, the number of arguments). To solve this 
incompatibility, follow this instructions and please post here the results.


1. Edit the file (please, backup it first):
/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-w3m.el


2. Change the line about "form input" (in my file line no. 131):
-------------------- original: ---------------------------------------
(defun emacspeak-w3m-speak-form-input (form name type width maxlength value)
-------------------- change to: --------------------------------------
(defun emacspeak-w3m-speak-form-input (form id name type width maxlength 
value)
----------------------------------------------------------------------


3. Change the line about "input password" (in my file line no. 140):
-------------------- original: ---------------------------------------
(defun emacspeak-w3m-speak-form-input-password (form name)
-------------------- change to: --------------------------------------
(defun emacspeak-w3m-speak-form-input-password (form id name)
----------------------------------------------------------------------


4. Change the line about "input submit" (in my file line no. 149):
-------------------- original: ---------------------------------------
(defun emacspeak-w3m-speak-form-submit (form &optional name value)
-------------------- change to: --------------------------------------
(defun emacspeak-w3m-speak-form-submit (form id name value)
----------------------------------------------------------------------


5. Change the line about "input radio" (in my file line no. 158):
-------------------- original: ---------------------------------------
(defun emacspeak-w3m-speak-form-input-radio (form name value)
-------------------- change to: --------------------------------------
(defun emacspeak-w3m-speak-form-input-radio (form id name value)
----------------------------------------------------------------------


6. Change the line about "input select" (in my file line no. 177):
-------------------- original: ---------------------------------------
(defun emacspeak-w3m-speak-form-input-select (form name)
-------------------- change to: --------------------------------------
(defun emacspeak-w3m-speak-form-input-select (form id name)
----------------------------------------------------------------------

7. Ok. It's done. Start your w3m Emacs Browser and try to access some 
website with forms.


Best Regards,
Samer Eberlin.
(UNICAMP - BRAZIL)

-----------------------------------------------------------------------------
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"