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

Re: Form reuse doesn't update content [BUG REPORT]

In [emacs-w3m:12943]
On Fri, 30 Mar 2018 04:13:29 -0400, Boruch Baum wrote:
> I was using emacs-w3m to edit a wiki, which initially worked flawlessly.
> However, when I attempted to edit the page a second time, the data in
> the w3m form edit window buffer did not update its content. What I mean
> is that it had the original text of the page prior to the first edit.

`w3m-history' holds the form data.  I forgot what I did, though.

::: w3m.el :::
9795 ;; Store the current forms in the history structure.
9796 (w3m-history-plist-put :forms w3m-current-forms))

9805 ;; Set current forms using the history structure.
9806 (when (setq w3m-current-forms
9807             (when (and
9808                    ;; If reloading, ignore history.
9809                    (not reload)
9810                    ;; If post, ignore history.
9811                    (null post-data)
9812                    (or (w3m-cache-available-p url)
9813                        (w3m-url-local-p url)))
9814               ;; Don't use `w3m-history-plist-get' here.
9815               (plist-get (nthcdr 3 element) :forms)))