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

Re: w3m-form allows editing when it shouldn't



Katsumi Yamaoka <yamaoka@xxxxxxx> writes:

> In [emacs-w3m : No.12156] Thorsten Jolitz wrote:
>> hmm... downloaded the newest CVS version, but still - clicking on a
>> textarea before pressing the 'Edit' button in the PicoLisp wiki open an
>> edit buffer that allows to edit the contents, allows for C-c C-c, but
>> when doing C-c C-c again then in the textarea of the webpage, the edits
>> are lost.
>
> Do you explicitly set `w3m-use-filter' to nil?  Now it defaults
> to t, and needs to be t in order to make it work for the `disabled'
> attribute in forms.

,--------------------------------------------------
| w3m-use-filter is a variable defined in `w3m.el'.
| Its value is t
| Original value was nil
`--------------------------------------------------


> and make sure the 'w3m-filter-subst-disabled-with-readonly' filter
> is enabled.

,---------------------------------------------------------
| [X] Substitute disabled attr with readonly attr in forms
|   Regexp matching url: 
|   Function Type: w3m-filter-subst-disabled-with-readonly
`---------------------------------------------------------

and with the newest version, text is in read-only mode unless 'Edit'
button is pressed as expected - thanks for the fix. 

And, as mentioned in my other mail, submitting changes in textareas
works in the PicoLIsp wiki when doing C-c C-c two time, in the edit
buffer first and then in the page buffer, before pressing the 'Done'
button. So PicoLisp web-apps can be used comfortably from within Emacs
now with emacs-w3m - great!

-- 
cheers,
Thorsten