[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delay with close tab
- From: Michael Heerdegen <michael_heerdegen@xxxxxx>
- Date: Wed, 16 Oct 2013 03:49:53 +0200
- X-ml-name: emacs-w3m
- X-mail-count: 12189
- References: <87y55wpt9m.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <b4mtxgje1mx.fsf@xxxxxxx> <87txgj457m.fsf@xxxxxxx> <b4miowzdrnn.fsf@xxxxxxx> <87iowy4gbt.fsf@xxxxxxx> <87d2n6njwj.fsf@xxxxxx> <87iowycavr.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <8761syhwdf.fsf@xxxxxx> <87bo2qc8fr.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Emanuel Berg <emanuel.berg.8573@xxxxxxxxxxxxx> writes:
(B> Michael Heerdegen <michael_heerdegen@xxxxxx> writes:
(B> > Yes. In Emacs, I use M-x epatch to apply patches.
(B> > It's not complicated. You can create patches with
(B> > Ediff.
(B> > You really don't need to cope with that. Just load
(B> > the attached file after loading w3m (L in dired, or
(B> > open the file and M-x eval-buffer), please, and tell
(B> > us if the problem is fixed for you.
(B> You mean the w3m-ems-test.patch file?
(BNo, I meant the file I had attached to the last message, which was an .el
(Belisp file ;-) For the .patch, you need to apply it, e.g. with M-x epatch.
(B> In that case, none of methods worked. (And... it looks a bit strange
(B> with your paths still there?)
(BThat should be ok (I hope so). I also learned that by trial and error
(Bsome time ago. Too bad there is no good node about handling patches in
(Bthe Emacs manuals.
(B> But I managed to test it anyway - what you suggest is
(B> (run-at-time 0.1 nil
(B> (lambda (buffer)
(B> (when (buffer-live-p buffer)
(B> (with-current-buffer buffer
(B> (setq w3m-tab-timer nil)
(B> ;; (when (and (eq (selected-window)
(B> ;; (get-buffer-window buffer))
(B> ;; w3m-process-queue)
(B> ;; (inline (w3m-force-window-update)))
(B> with the one line (second last) added and the four old
(B> removed (commentated out)?
(B> In that case, *YES*, that seems to have done it!
(BThat's good news. Then we have at least a hint what the problem is. I
(Bthink the mistake is that the code assumes that there has already a
(Bredisplay being performed. Hoping Yamaoka has an idea how to fix this
(BFWIW, thanks for testing, Emanuel!