unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21881: 24.4; eww-submit is nil
@ 2015-11-11 18:46 Pushpal Sidhu
  2015-11-11 19:01 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Pushpal Sidhu @ 2015-11-11 18:46 UTC (permalink / raw)
  To: 21881

Running "emacs -q" and using eww, I find that some buttons on some
websites cause the following to occur: http://pastebin.com/MtZhnr5e

To reproduce easily:
1. point eww to: https://dev.openwrt.org/log/trunk/
2. Select "Show full log messages"
3. Click on the "Update" button.

The above steps will cause a wrong-type-argument integer-or-marker-p nil
to be thrown. I haven't been able to try 24.5, but I don't think there
were any eww changes between 24.4 and 24.5 anyways (reading NEWS.24.5).

In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2015-10-21 on psidhu
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description:	Ubuntu 14.04.3 LTS

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix

Major mode: eww

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> M-x e w w <return> d e v . g a t e <backspace> 
<M-backspace> o p e n w r t . o r g / l o g / t r u 
n k <return> C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-f <return> C-n C-n <return> 
M-x t o g <tab> d e <tab> e r <tab> <return> <return> 
C-x o M-x r e p o <tab> r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Contacting host: dev.openwrt.org:80
find-coding-systems-region: Wrong type argument: integer-or-marker-p, nil
Debug on Error enabled globally
Entering debugger...
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail help-mode
debug cus-start cus-load gnutls network-stream starttls url-http tls
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache url-auth
eww easymenu mm-url gnus gnus-ems nnheader mail-utils wid-edit
cl-loaddefs cl-lib url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util url-parse auth-source eieio
byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util
help-fns mail-prsvr password-cache url-vars mailcap shr browse-url
format-spec time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 194966 7365)
 (symbols 48 22812 0)
 (miscs 40 523 104)
 (strings 32 35129 6504)
 (string-bytes 1 1102698)
 (vectors 16 13572)
 (vector-slots 8 437328 5796)
 (floats 8 97 172)
 (intervals 56 5915 577)
 (buffers 960 17)
 (heap 1024 54132 2717))





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21881: 24.4; eww-submit is nil
  2015-11-11 18:46 bug#21881: 24.4; eww-submit is nil Pushpal Sidhu
@ 2015-11-11 19:01 ` Glenn Morris
  2015-11-11 20:06   ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2015-11-11 19:01 UTC (permalink / raw)
  To: Pushpal Sidhu; +Cc: 21881

Pushpal Sidhu wrote:

> Running "emacs -q" and using eww, I find that some buttons on some
> websites cause the following to occur: http://pastebin.com/MtZhnr5e
>
> To reproduce easily:
> 1. point eww to: https://dev.openwrt.org/log/trunk/
> 2. Select "Show full log messages"
> 3. Click on the "Update" button.
>
> The above steps will cause a wrong-type-argument integer-or-marker-p nil
> to be thrown. I haven't been able to try 24.5, but I don't think there
> were any eww changes between 24.4 and 24.5 anyways (reading NEWS.24.5).

We don't list bug fixes in the NEWS, but by experiment the issue is
still present in 24.5.

In current master, I can't even figure out how to toggle a checkbox.
Neither RET nor mouse-2 works.
It just beeps "buffer is read-only" at me.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21881: 24.4; eww-submit is nil
  2015-11-11 19:01 ` Glenn Morris
@ 2015-11-11 20:06   ` Eli Zaretskii
  2015-12-25  5:47     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2015-11-11 20:06 UTC (permalink / raw)
  To: Glenn Morris, Kenjiro NAKAYAMA; +Cc: psidhu.devel, 21881

> From: Glenn Morris <rgm@gnu.org>
> Date: Wed, 11 Nov 2015 14:01:43 -0500
> Cc: 21881@debbugs.gnu.org
> 
> Pushpal Sidhu wrote:
> 
> > Running "emacs -q" and using eww, I find that some buttons on some
> > websites cause the following to occur: http://pastebin.com/MtZhnr5e
> >
> > To reproduce easily:
> > 1. point eww to: https://dev.openwrt.org/log/trunk/
> > 2. Select "Show full log messages"
> > 3. Click on the "Update" button.
> >
> > The above steps will cause a wrong-type-argument integer-or-marker-p nil
> > to be thrown. I haven't been able to try 24.5, but I don't think there
> > were any eww changes between 24.4 and 24.5 anyways (reading NEWS.24.5).
> 
> We don't list bug fixes in the NEWS, but by experiment the issue is
> still present in 24.5.

I think I fixed it now.  It was due to attributes that have no value,
so the cdr was nil.

> In current master, I can't even figure out how to toggle a checkbox.
> Neither RET nor mouse-2 works.
> It just beeps "buffer is read-only" at me.

This seems to need binding inhibit-read-only inside eww-update-field.
However, doing that causes incorrect display afterwards, looks like
there's some funky error in computing the string to be inserted
there.  I'm cc'ing Kenjiro NAKAYAMA who made that change.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#21881: 24.4; eww-submit is nil
  2015-11-11 20:06   ` Eli Zaretskii
@ 2015-12-25  5:47     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25  5:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: psidhu.devel, Kenjiro NAKAYAMA, 21881

Eli Zaretskii <eliz@gnu.org> writes:

> This seems to need binding inhibit-read-only inside eww-update-field.
> However, doing that causes incorrect display afterwards, looks like
> there's some funky error in computing the string to be inserted
> there.  I'm cc'ing Kenjiro NAKAYAMA who made that change.

I think I've fixed this now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-25  5:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-11 18:46 bug#21881: 24.4; eww-submit is nil Pushpal Sidhu
2015-11-11 19:01 ` Glenn Morris
2015-11-11 20:06   ` Eli Zaretskii
2015-12-25  5:47     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).