[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-form allows editing when it shouldn't
- From: Thorsten Jolitz <tjolitz@xxxxxxxxx>
- Date: Fri, 04 Oct 2013 10:12:52 +0200
- X-ml-name: emacs-w3m
- X-mail-count: 12159
- References: <87ioxkcrkq.fsf@xxxxxxxxx> <b4mwqlxancd.fsf@xxxxxxx> <87d2no2s4d.fsf@xxxxxxxxx> <b4mbo38uet6.fsf@xxxxxxx> <b4m4n8zdrkz.fsf@xxxxxxx> <87y56ah9wc.fsf@xxxxxxxxx> <b4mob76x9o2.fsf@xxxxxxx>
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