From unknown Fri Sep 19 20:43:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21295: 25.0.50; Strage behaviour when send JSON request Resent-From: =?UTF-8?Q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=90=D0=BD=D1=83=D1=84=D1=80=D0=B8=D0=B5=D0=B2?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Aug 2015 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21295 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21295@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144000493120168 (code B ref -1); Wed, 19 Aug 2015 17:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2015 17:22:11 +0000 Received: from localhost ([127.0.0.1]:32834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZS73y-0005FB-2E for submit@debbugs.gnu.org; Wed, 19 Aug 2015 13:22:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51048) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZS61Z-0003hi-MM for submit@debbugs.gnu.org; Wed, 19 Aug 2015 12:15:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZS61X-0005rR-CH for submit@debbugs.gnu.org; Wed, 19 Aug 2015 12:15:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS61X-0005rK-8Z for submit@debbugs.gnu.org; Wed, 19 Aug 2015 12:15:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS61U-0007j0-Io for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 12:15:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZS61S-0005nI-1p for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 12:15:32 -0400 Received: from mail-yk0-x22e.google.com ([2607:f8b0:4002:c07::22e]:34947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS61R-0005mo-RQ for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 12:15:29 -0400 Received: by ykbi184 with SMTP id i184so9947017ykb.2 for ; Wed, 19 Aug 2015 09:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uTbObl4/xG5qJjp8WGM6yx+ZOqxy1BMKUkalKx48eR8=; b=QQ4YSFpRWSUJtmZEPgLc60jmVRN85UEfX0Ckjs91LmjmyuNnt29R0aROkEbSHxYRnb HG+USvwUyfBFwQLXxUFfOHsU6CabvtZ3/6urTsjEU8Us0ZZclj41LD8Hp5ASUYjOtvUA NlOT0bTzIlT5nFgLzM+pQ3dRBF1v/hJEwlQoCjJg/NSLQ3xdDPx7OjtWem0c7vj71RXp 8Zjh+BhxDeOhaGG/HoHqkLrDmNWtlZMCCJkm8wTgpyqhIidzB3UJkGrjZz4L8lWqSQNg SXsl6ms+fU6vt+wNC7ZT8/g7pCf/jnNQEUjXyfTF6dSG2QYeD8k8d50YwJsjTFhFne17 oZyQ== MIME-Version: 1.0 X-Received: by 10.13.231.133 with SMTP id q127mr13853460ywe.66.1440000928377; Wed, 19 Aug 2015 09:15:28 -0700 (PDT) Received: by 10.13.197.130 with HTTP; Wed, 19 Aug 2015 09:15:28 -0700 (PDT) Date: Wed, 19 Aug 2015 21:15:28 +0500 Message-ID: From: =?UTF-8?Q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=90=D0=BD=D1=83=D1=84=D1=80=D0=B8=D0=B5=D0=B2?= Content-Type: multipart/alternative; boundary=94eb2c0763a6cff1b9051dac576b X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Wed, 19 Aug 2015 13:22:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --94eb2c0763a6cff1b9051dac576b Content-Type: text/plain; charset=UTF-8 Hello, When I try to use Emacs with Tern package, I get error 'Request failed: (nil)'. I submit bug to project maintainer and we found that this bug in Emacs. Link to issue: https://github.com/marijnh/tern/issues/605 In GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2015-05-19 on lcy01-07 Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Linux Mint 17.2 Rafaela Configured using: `configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=-snapshot --with-x=yes --with-x-toolkit=gtk3 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: global-auto-complete-mode: t global-nlinum-mode: t projectile-global-mode: t helm-mode: t shell-dirtrack-mode: t which-key-mode: t show-paren-mode: t delete-selection-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent messages: which-key: echo-keystrokes changed from 1 to 0 ad-handle-definition: `tramp-read-passwd' got redefined Turn on helm-projectile key bindings Eshell virtualenv support initialized. For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/25.0.50/lisp/textmodes/flyspell /usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/25.0.50/lisp/textmodes/ispell Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mailabbrev gmm-utils mailheader sendmail mail-utils winner powerline powerline-separators color flycheck find-func help-mode subr-x flymake wombat-theme virtualenvwrapper auto-complete-config auto-complete popup nlinum linum powerline-themes helm-projectile projectile ibuf-ext ibuffer helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver shell pcomplete format-spec dired-x dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexp helm-plugin helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source gnus-util password-cache url-vars mailcap helm-utils compile comint ansi-color ring helm-help helm-types helm easy-mmode helm-source eieio-compat eieio byte-opt bytecomp byte-compile cl-extra seq cconv eieio-core helm-match-plugin helm-lib dired advice which-key hl-line windmove paren delsel edmacro kmacro info easymenu cask cl-seq cl-macs gv cask-bootstrap package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr json lisp-mnt shut-up epl git commander cl-loaddefs pcase cl-lib f dash s ucs-normalize finder-inf package epg-config time-date mule-util cyril-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 350431 26426) (symbols 48 33992 0) (miscs 40 252 284) (strings 32 62874 21136) (string-bytes 1 1880066) (vectors 16 58974) (vector-slots 8 1611166 176042) (floats 8 506 430) (intervals 56 473 140) (buffers 976 14) (heap 1024 48944 1933)) --94eb2c0763a6cff1b9051dac576b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello,

When I try to use Emacs with Tern packag= e, I get error 'Request failed:
(nil)'. I submit bug to project = maintainer and we found that this bug in
Emacs.

Link to issue: https://github.com/mar= ijnh/tern/issues/605

In GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu= , GTK+ Version 3.10.8)
=C2=A0of 2015-05-19 on lcy01-07
Windowing syst= em distributor `The X.Org Foundation', version 11.0.11501000
System = Description:=C2=A0=C2=A0=C2=A0 Linux Mint 17.2 Rafaela

Configured us= ing:
=C2=A0`configure --build=3Dx86_64-linux-gnu --prefix=3D/usr
=C2= =A0'--includedir=3D${prefix}/include' '--mandir=3D${prefix}/sha= re/man'
=C2=A0'--infodir=3D${prefix}/share/info' --sysconfdi= r=3D/etc --localstatedir=3D/var
=C2=A0'--libdir=3D${prefix}/lib/x86_= 64-linux-gnu'
=C2=A0'--libexecdir=3D${prefix}/lib/x86_64-linux-g= nu' --disable-maintainer-mode
=C2=A0--disable-dependency-tracking --= prefix=3D/usr --sharedstatedir=3D/var/lib
=C2=A0--program-suffix=3D-snap= shot --with-x=3Dyes --with-x-toolkit=3Dgtk3
=C2=A0'CFLAGS=3D-g -O2 -= fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat
=C2=A0-Werror=3D= format-security' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0'LDFLAGS= =3D-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured featur= es:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTING= S
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
=
Important settings:
=C2=A0 value of $LANG: ru_RU.UTF-8
=C2=A0 loc= ale-coding-system: utf-8-unix

Major mode: Fundamental

Minor m= odes in effect:
=C2=A0 global-auto-complete-mode: t
=C2=A0 global-nli= num-mode: t
=C2=A0 projectile-global-mode: t
=C2=A0 helm-mode: t
= =C2=A0 shell-dirtrack-mode: t
=C2=A0 which-key-mode: t
=C2=A0 show-pa= ren-mode: t
=C2=A0 delete-selection-mode: t
=C2=A0 tooltip-mode: t=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mo= use-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mod= e: t
=C2=A0 global-font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-numb= er-mode: t

Recent messages:
which-key: echo-keystrokes changed fr= om 1 to 0
ad-handle-definition: `tramp-read-passwd' got redefinedTurn on helm-projectile key bindings
Eshell virtualenv support initiali= zed.
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
/usr/share/emacs/site-lisp/dictionaries-common/= flyspell hides /usr/share/emacs/25.0.50/lisp/textmodes/flyspell
/usr/sha= re/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/25.0.5= 0/lisp/textmodes/ispell

Features:
(shadow sort mail-extr emacsbug= message rfc822 mml mml-sec mailabbrev
gmm-utils mailheader sendmail mai= l-utils winner powerline
powerline-separators color flycheck find-func h= elp-mode subr-x flymake
wombat-theme virtualenvwrapper auto-complete-con= fig auto-complete popup
nlinum linum powerline-themes helm-projectile pr= ojectile ibuf-ext
ibuffer helm-mode helm-files rx image-dired tramp tram= p-compat
tramp-loaddefs trampver shell pcomplete format-spec dired-x dir= ed-aux
ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark=
helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexphelm-plugin helm-external helm-net browse-url xml url url-proxy
url-pr= ivacy url-expand url-methods url-history url-cookie url-domsuf
url-util = url-parse auth-source gnus-util password-cache url-vars mailcap
helm-uti= ls compile comint ansi-color ring helm-help helm-types helm
easy-mmode h= elm-source eieio-compat eieio byte-opt bytecomp byte-compile
cl-extra se= q cconv eieio-core helm-match-plugin helm-lib dired advice
which-key hl-= line windmove paren delsel edmacro kmacro info easymenu
cask cl-seq cl-m= acs gv cask-bootstrap package-build mm-decode mm-bodies
mm-encode mail-p= arse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns
mail-prsvr json= lisp-mnt shut-up epl git commander cl-loaddefs pcase
cl-lib f dash s uc= s-normalize finder-inf package epg-config time-date
mule-util cyril-util= tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwh= eel x-win term/common-win x-dnd tool-bar dnd fontset
image regexp-opt fr= inge tabulated-list newcomment elisp-mode lisp-mode
prog-mode register p= age menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-loc= k syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang mi= sc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp= 51932 hebrew greek romanian slovak czech
european ethiopic indian cyrill= ic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuff= er cl-preloaded nadvice
loaddefs button faces cus-face macroexp files te= xt-properties overlay
sha1 md5 base64 format env code-pages mule custom = widget
hashtable-print-readable backquote dbusbind gfilenotify dynamic-s= etting
system-font-setting font-render-setting move-toolbar gtk x-toolki= t x
multi-tty make-network-process emacs)

Memory information:
= ((conses 16 350431 26426)
=C2=A0(symbols 48 33992 0)
=C2=A0(miscs 40 = 252 284)
=C2=A0(strings 32 62874 21136)
=C2=A0(string-bytes 1 1880066= )
=C2=A0(vectors 16 58974)
=C2=A0(vector-slots 8 1611166 176042)
= =C2=A0(floats 8 506 430)
=C2=A0(intervals 56 473 140)
=C2=A0(buffers = 976 14)
=C2=A0(heap 1024 48944 1933))

--94eb2c0763a6cff1b9051dac576b-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 19 13:38:16 2015 Received: (at control) by debbugs.gnu.org; 19 Aug 2015 17:38:16 +0000 Received: from localhost ([127.0.0.1]:32847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZS7JT-0005dO-8O for submit@debbugs.gnu.org; Wed, 19 Aug 2015 13:38:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51362) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZS7JM-0005dC-8F for control@debbugs.gnu.org; Wed, 19 Aug 2015 13:38:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZS7JL-0002ts-9c for control@debbugs.gnu.org; Wed, 19 Aug 2015 13:38:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS7JL-0002kh-6a for control@debbugs.gnu.org; Wed, 19 Aug 2015 13:38:03 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZS7FO-0000lN-Nv for control@debbugs.gnu.org; Wed, 19 Aug 2015 13:33:58 -0400 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 19 Aug 2015 13:33:58 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) block 19759 by 21295 From unknown Fri Sep 19 20:43:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21295: 25.0.50; Strage behaviour when send JSON request Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Aug 2015 09:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21295 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=90=D0=BD=D1=83=D1=84=D1=80=D0=B8=D0=B5=D0=B2?= Cc: 21295@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 21295-submit@debbugs.gnu.org id=B21295.14401491544974 (code B ref 21295); Fri, 21 Aug 2015 09:26:01 +0000 Received: (at 21295) by debbugs.gnu.org; 21 Aug 2015 09:25:54 +0000 Received: from localhost ([127.0.0.1]:34148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSiaA-0001IA-E7 for submit@debbugs.gnu.org; Fri, 21 Aug 2015 05:25:54 -0400 Received: from mtaout29.012.net.il ([80.179.55.185]:32952) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSia8-0001I0-BP for 21295@debbugs.gnu.org; Fri, 21 Aug 2015 05:25:53 -0400 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NTF00I00E1ADZ00@mtaout29.012.net.il> for 21295@debbugs.gnu.org; Fri, 21 Aug 2015 12:25:54 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTF00D5OE76XU50@mtaout29.012.net.il>; Fri, 21 Aug 2015 12:25:54 +0300 (IDT) Date: Fri, 21 Aug 2015 12:25:47 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83y4h5hu1w.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Wed, 19 Aug 2015 21:15:28 +0500 > From: Дмитрий Ануфриев > > > When I try to use Emacs with Tern package, I get error 'Request failed: > (nil)'. I submit bug to project maintainer and we found that this bug in > Emacs. > > Link to issue: https://github.com/marijnh/tern/issues/605 Sorry, I couldn't understand what Emacs feature could be involved in that problem. Please show a reproducible recipe that doesn't involve Tern. Or look into what Tern does, and show here the code that is responsible for incorrect handling of Cyrillic characters. Thanks. From unknown Fri Sep 19 20:43:24 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=90=D0=BD=D1=83=D1=84=D1=80=D0=B8=D0=B5=D0=B2?= Subject: bug#21295: closed (Re: bug#21295: 25.0.50; Strage behaviour when send JSON request) Message-ID: References: <55D86D08.8080009@yandex.ru> X-Gnu-PR-Message: they-closed 21295 X-Gnu-PR-Package: emacs Reply-To: 21295@debbugs.gnu.org Date: Sat, 22 Aug 2015 12:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1440247082-14024-1" This is a multi-part message in MIME format... ------------=_1440247082-14024-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21295: 25.0.50; Strage behaviour when send JSON request which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21295@debbugs.gnu.org. --=20 21295: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21295 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1440247082-14024-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21295-done) by debbugs.gnu.org; 22 Aug 2015 12:37:37 +0000 Received: from localhost ([127.0.0.1]:35011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZT83E-0003dI-Ui for submit@debbugs.gnu.org; Sat, 22 Aug 2015 08:37:37 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:34804) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZT83D-0003dA-AS for 21295-done@debbugs.gnu.org; Sat, 22 Aug 2015 08:37:35 -0400 Received: by lbbtg9 with SMTP id tg9so57818157lbb.1 for <21295-done@debbugs.gnu.org>; Sat, 22 Aug 2015 05:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=NyUn4/IvqEn8E0Dftttqhub4nuRPgHxxzTyZW6Sk9A0=; b=S192JarDnu3YfNipamF3YiN2tDKhhSUFOsdk8nudJxTAM63DS+2sHzYnewhLcR0s5h J+E3RQxU/u9mQBIIiABdt8MCYC03SxaVWGgk9U6rqFrKBunAFKzDgQmVgmWcOxhvsBXt CLLVcgBmmmLyE0t7BvMxLiFcalYy5SA072EcXjnONsIsWeDTe6UcscHodPBrcFIxP7iD kjfn1abdf+LAG3YBkbENOQy+G4TBpRd2T/taiF3L9vZFcQCBAZE+PmBpc4AjXS7GFLPh DequIK+ymviG82hxb5jJK1YIcCJftfxhojrAQC3WOZdrr8jRhwKv+dymVksqBjA4oWlK SV4g== X-Received: by 10.112.51.133 with SMTP id k5mr12007685lbo.107.1440247054367; Sat, 22 Aug 2015 05:37:34 -0700 (PDT) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id k3sm337147laf.42.2015.08.22.05.37.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Aug 2015 05:37:33 -0700 (PDT) Subject: Re: bug#21295: 25.0.50; Strage behaviour when send JSON request To: Eli Zaretskii , =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JDQvdGD0YQ=?= =?UTF-8?B?0YDQuNC10LI=?= References: <83y4h5hu1w.fsf@gnu.org> From: Dmitry Gutov Message-ID: <55D86D08.8080009@yandex.ru> Date: Sat, 22 Aug 2015 15:37:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 MIME-Version: 1.0 In-Reply-To: <83y4h5hu1w.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21295-done Cc: 21295-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 08/21/2015 12:25 PM, Eli Zaretskii wrote: > Please show a reproducible recipe that doesn't involve Tern. Or look > into what Tern does, and show here the code that is responsible for > incorrect handling of Cyrillic characters. Tern didn't call encode-coding-string on string returned by json-encode, before sending it over the wire. Fixed there. ------------=_1440247082-14024-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Aug 2015 17:22:11 +0000 Received: from localhost ([127.0.0.1]:32834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZS73y-0005FB-2E for submit@debbugs.gnu.org; Wed, 19 Aug 2015 13:22:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51048) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZS61Z-0003hi-MM for submit@debbugs.gnu.org; Wed, 19 Aug 2015 12:15:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZS61X-0005rR-CH for submit@debbugs.gnu.org; Wed, 19 Aug 2015 12:15:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS61X-0005rK-8Z for submit@debbugs.gnu.org; Wed, 19 Aug 2015 12:15:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS61U-0007j0-Io for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 12:15:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZS61S-0005nI-1p for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 12:15:32 -0400 Received: from mail-yk0-x22e.google.com ([2607:f8b0:4002:c07::22e]:34947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZS61R-0005mo-RQ for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 12:15:29 -0400 Received: by ykbi184 with SMTP id i184so9947017ykb.2 for ; Wed, 19 Aug 2015 09:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uTbObl4/xG5qJjp8WGM6yx+ZOqxy1BMKUkalKx48eR8=; b=QQ4YSFpRWSUJtmZEPgLc60jmVRN85UEfX0Ckjs91LmjmyuNnt29R0aROkEbSHxYRnb HG+USvwUyfBFwQLXxUFfOHsU6CabvtZ3/6urTsjEU8Us0ZZclj41LD8Hp5ASUYjOtvUA NlOT0bTzIlT5nFgLzM+pQ3dRBF1v/hJEwlQoCjJg/NSLQ3xdDPx7OjtWem0c7vj71RXp 8Zjh+BhxDeOhaGG/HoHqkLrDmNWtlZMCCJkm8wTgpyqhIidzB3UJkGrjZz4L8lWqSQNg SXsl6ms+fU6vt+wNC7ZT8/g7pCf/jnNQEUjXyfTF6dSG2QYeD8k8d50YwJsjTFhFne17 oZyQ== MIME-Version: 1.0 X-Received: by 10.13.231.133 with SMTP id q127mr13853460ywe.66.1440000928377; Wed, 19 Aug 2015 09:15:28 -0700 (PDT) Received: by 10.13.197.130 with HTTP; Wed, 19 Aug 2015 09:15:28 -0700 (PDT) Date: Wed, 19 Aug 2015 21:15:28 +0500 Message-ID: Subject: 25.0.50; Strage behaviour when send JSON request From: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JDQvdGD0YTRgNC40LXQsg==?= To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=94eb2c0763a6cff1b9051dac576b X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 19 Aug 2015 13:22:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --94eb2c0763a6cff1b9051dac576b Content-Type: text/plain; charset=UTF-8 Hello, When I try to use Emacs with Tern package, I get error 'Request failed: (nil)'. I submit bug to project maintainer and we found that this bug in Emacs. Link to issue: https://github.com/marijnh/tern/issues/605 In GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2015-05-19 on lcy01-07 Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Linux Mint 17.2 Rafaela Configured using: `configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=-snapshot --with-x=yes --with-x-toolkit=gtk3 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: global-auto-complete-mode: t global-nlinum-mode: t projectile-global-mode: t helm-mode: t shell-dirtrack-mode: t which-key-mode: t show-paren-mode: t delete-selection-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent messages: which-key: echo-keystrokes changed from 1 to 0 ad-handle-definition: `tramp-read-passwd' got redefined Turn on helm-projectile key bindings Eshell virtualenv support initialized. For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/25.0.50/lisp/textmodes/flyspell /usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/25.0.50/lisp/textmodes/ispell Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mailabbrev gmm-utils mailheader sendmail mail-utils winner powerline powerline-separators color flycheck find-func help-mode subr-x flymake wombat-theme virtualenvwrapper auto-complete-config auto-complete popup nlinum linum powerline-themes helm-projectile projectile ibuf-ext ibuffer helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver shell pcomplete format-spec dired-x dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexp helm-plugin helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source gnus-util password-cache url-vars mailcap helm-utils compile comint ansi-color ring helm-help helm-types helm easy-mmode helm-source eieio-compat eieio byte-opt bytecomp byte-compile cl-extra seq cconv eieio-core helm-match-plugin helm-lib dired advice which-key hl-line windmove paren delsel edmacro kmacro info easymenu cask cl-seq cl-macs gv cask-bootstrap package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr json lisp-mnt shut-up epl git commander cl-loaddefs pcase cl-lib f dash s ucs-normalize finder-inf package epg-config time-date mule-util cyril-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 350431 26426) (symbols 48 33992 0) (miscs 40 252 284) (strings 32 62874 21136) (string-bytes 1 1880066) (vectors 16 58974) (vector-slots 8 1611166 176042) (floats 8 506 430) (intervals 56 473 140) (buffers 976 14) (heap 1024 48944 1933)) --94eb2c0763a6cff1b9051dac576b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello,

When I try to use Emacs with Tern packag= e, I get error 'Request failed:
(nil)'. I submit bug to project = maintainer and we found that this bug in
Emacs.

Link to issue: https://github.com/mar= ijnh/tern/issues/605

In GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu= , GTK+ Version 3.10.8)
=C2=A0of 2015-05-19 on lcy01-07
Windowing syst= em distributor `The X.Org Foundation', version 11.0.11501000
System = Description:=C2=A0=C2=A0=C2=A0 Linux Mint 17.2 Rafaela

Configured us= ing:
=C2=A0`configure --build=3Dx86_64-linux-gnu --prefix=3D/usr
=C2= =A0'--includedir=3D${prefix}/include' '--mandir=3D${prefix}/sha= re/man'
=C2=A0'--infodir=3D${prefix}/share/info' --sysconfdi= r=3D/etc --localstatedir=3D/var
=C2=A0'--libdir=3D${prefix}/lib/x86_= 64-linux-gnu'
=C2=A0'--libexecdir=3D${prefix}/lib/x86_64-linux-g= nu' --disable-maintainer-mode
=C2=A0--disable-dependency-tracking --= prefix=3D/usr --sharedstatedir=3D/var/lib
=C2=A0--program-suffix=3D-snap= shot --with-x=3Dyes --with-x-toolkit=3Dgtk3
=C2=A0'CFLAGS=3D-g -O2 -= fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat
=C2=A0-Werror=3D= format-security' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0'LDFLAGS= =3D-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured featur= es:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTING= S
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
=
Important settings:
=C2=A0 value of $LANG: ru_RU.UTF-8
=C2=A0 loc= ale-coding-system: utf-8-unix

Major mode: Fundamental

Minor m= odes in effect:
=C2=A0 global-auto-complete-mode: t
=C2=A0 global-nli= num-mode: t
=C2=A0 projectile-global-mode: t
=C2=A0 helm-mode: t
= =C2=A0 shell-dirtrack-mode: t
=C2=A0 which-key-mode: t
=C2=A0 show-pa= ren-mode: t
=C2=A0 delete-selection-mode: t
=C2=A0 tooltip-mode: t=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mo= use-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mod= e: t
=C2=A0 global-font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-numb= er-mode: t

Recent messages:
which-key: echo-keystrokes changed fr= om 1 to 0
ad-handle-definition: `tramp-read-passwd' got redefinedTurn on helm-projectile key bindings
Eshell virtualenv support initiali= zed.
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
/usr/share/emacs/site-lisp/dictionaries-common/= flyspell hides /usr/share/emacs/25.0.50/lisp/textmodes/flyspell
/usr/sha= re/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/25.0.5= 0/lisp/textmodes/ispell

Features:
(shadow sort mail-extr emacsbug= message rfc822 mml mml-sec mailabbrev
gmm-utils mailheader sendmail mai= l-utils winner powerline
powerline-separators color flycheck find-func h= elp-mode subr-x flymake
wombat-theme virtualenvwrapper auto-complete-con= fig auto-complete popup
nlinum linum powerline-themes helm-projectile pr= ojectile ibuf-ext
ibuffer helm-mode helm-files rx image-dired tramp tram= p-compat
tramp-loaddefs trampver shell pcomplete format-spec dired-x dir= ed-aux
ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark=
helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexphelm-plugin helm-external helm-net browse-url xml url url-proxy
url-pr= ivacy url-expand url-methods url-history url-cookie url-domsuf
url-util = url-parse auth-source gnus-util password-cache url-vars mailcap
helm-uti= ls compile comint ansi-color ring helm-help helm-types helm
easy-mmode h= elm-source eieio-compat eieio byte-opt bytecomp byte-compile
cl-extra se= q cconv eieio-core helm-match-plugin helm-lib dired advice
which-key hl-= line windmove paren delsel edmacro kmacro info easymenu
cask cl-seq cl-m= acs gv cask-bootstrap package-build mm-decode mm-bodies
mm-encode mail-p= arse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns
mail-prsvr json= lisp-mnt shut-up epl git commander cl-loaddefs pcase
cl-lib f dash s uc= s-normalize finder-inf package epg-config time-date
mule-util cyril-util= tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwh= eel x-win term/common-win x-dnd tool-bar dnd fontset
image regexp-opt fr= inge tabulated-list newcomment elisp-mode lisp-mode
prog-mode register p= age menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-loc= k syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang mi= sc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp= 51932 hebrew greek romanian slovak czech
european ethiopic indian cyrill= ic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuff= er cl-preloaded nadvice
loaddefs button faces cus-face macroexp files te= xt-properties overlay
sha1 md5 base64 format env code-pages mule custom = widget
hashtable-print-readable backquote dbusbind gfilenotify dynamic-s= etting
system-font-setting font-render-setting move-toolbar gtk x-toolki= t x
multi-tty make-network-process emacs)

Memory information:
= ((conses 16 350431 26426)
=C2=A0(symbols 48 33992 0)
=C2=A0(miscs 40 = 252 284)
=C2=A0(strings 32 62874 21136)
=C2=A0(string-bytes 1 1880066= )
=C2=A0(vectors 16 58974)
=C2=A0(vector-slots 8 1611166 176042)
= =C2=A0(floats 8 506 430)
=C2=A0(intervals 56 473 140)
=C2=A0(buffers = 976 14)
=C2=A0(heap 1024 48944 1933))

--94eb2c0763a6cff1b9051dac576b-- ------------=_1440247082-14024-1-- From unknown Fri Sep 19 20:43:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21295: 25.0.50; Strage behaviour when send JSON request Resent-From: =?UTF-8?Q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=90=D0=BD=D1=83=D1=84=D1=80=D0=B8=D0=B5=D0=B2?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Aug 2015 13:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21295 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: Eli Zaretskii , 21295-done@debbugs.gnu.org Received: via spool by 21295-done@debbugs.gnu.org id=D21295.144025005518438 (code D ref 21295); Sat, 22 Aug 2015 13:28:02 +0000 Received: (at 21295-done) by debbugs.gnu.org; 22 Aug 2015 13:27:35 +0000 Received: from localhost ([127.0.0.1]:35021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZT8pa-0004nJ-6x for submit@debbugs.gnu.org; Sat, 22 Aug 2015 09:27:34 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:33243) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZT8pW-0004n9-K1 for 21295-done@debbugs.gnu.org; Sat, 22 Aug 2015 09:27:31 -0400 Received: by ykll84 with SMTP id l84so95782648ykl.0 for <21295-done@debbugs.gnu.org>; Sat, 22 Aug 2015 06:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v/NmcdVvdeqBxvlFXh8LPKW2wKD0uEgk4rspzCTk+y0=; b=B3b5AwTwUbJ2PaQjyzPQNZOY3J581TmmwbTQZOm/RY7ZVlQGX/g6f/l3qA3t9mtoIQ To4TBtmJtaWa+XAfaSi2jVFFJQcbTUSqnXn92fkAKN4usiiDkKlM/ox/jluhqn/Oi8o3 kt0Q9gHsIlraaPP6xBuFT5V6n2Mr1zkEkasHR5ppPipswkks4AESQT+Dj4KeFlMvi4f9 1pf4CI5g0JPyzpT0baH4zd3Zob4UZcesPq+nhyByO3m/at4ZcVusZoJHJwG/f675p+Uk cATh3jA9vxDptyhSNEOTXR4GfxsUexrwHlmkh8u2401oZqAN/FQ5nmO4aI4PHnWVLrms 9ocQ== MIME-Version: 1.0 X-Received: by 10.170.174.65 with SMTP id q62mr18243169ykd.63.1440250050192; Sat, 22 Aug 2015 06:27:30 -0700 (PDT) Received: by 10.13.197.130 with HTTP; Sat, 22 Aug 2015 06:27:30 -0700 (PDT) In-Reply-To: <55D86D08.8080009@yandex.ru> References: <83y4h5hu1w.fsf@gnu.org> <55D86D08.8080009@yandex.ru> Date: Sat, 22 Aug 2015 18:27:30 +0500 Message-ID: From: =?UTF-8?Q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=90=D0=BD=D1=83=D1=84=D1=80=D0=B8=D0=B5=D0=B2?= Content-Type: multipart/alternative; boundary=001a113993f6a12ca3051de658a6 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a113993f6a12ca3051de658a6 Content-Type: text/plain; charset=UTF-8 Thank you and sorry for false alarm! 2015-08-22 17:37 GMT+05:00 Dmitry Gutov : > On 08/21/2015 12:25 PM, Eli Zaretskii wrote: > > Please show a reproducible recipe that doesn't involve Tern. Or look >> into what Tern does, and show here the code that is responsible for >> incorrect handling of Cyrillic characters. >> > > Tern didn't call encode-coding-string on string returned by json-encode, > before sending it over the wire. > > Fixed there. > --001a113993f6a12ca3051de658a6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you and sorry for false alarm!

2015-08-22 17:37 GMT+05:00 = Dmitry Gutov <dgutov@yandex.ru>:
On 08/21/2015 12:25 PM, Eli Zaretskii wrote:

Please show a reproducible recipe that doesn't involve Tern.=C2=A0 Or l= ook
into what Tern does, and show here the code that is responsible for
incorrect handling of Cyrillic characters.

Tern didn't call encode-coding-string on string returned by json-encode= , before sending it over the wire.

Fixed there.

--001a113993f6a12ca3051de658a6-- From unknown Fri Sep 19 20:43:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21295: 25.0.50; Strage behaviour when send JSON request Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Aug 2015 14:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21295 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: dmitryanufriev@gmail.com, 21295@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 21295-submit@debbugs.gnu.org id=B21295.144025240222005 (code B ref 21295); Sat, 22 Aug 2015 14:07:01 +0000 Received: (at 21295) by debbugs.gnu.org; 22 Aug 2015 14:06:42 +0000 Received: from localhost ([127.0.0.1]:35261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZT9RR-0005iq-J7 for submit@debbugs.gnu.org; Sat, 22 Aug 2015 10:06:41 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:50843) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZT9RO-0005ig-3T for 21295@debbugs.gnu.org; Sat, 22 Aug 2015 10:06:39 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NTH00E00LHY5D00@a-mtaout22.012.net.il> for 21295@debbugs.gnu.org; Sat, 22 Aug 2015 17:06:36 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTH00DW4LV0JW70@a-mtaout22.012.net.il>; Sat, 22 Aug 2015 17:06:36 +0300 (IDT) Date: Sat, 22 Aug 2015 17:06:35 +0300 From: Eli Zaretskii In-reply-to: <55D86D08.8080009@yandex.ru> X-012-Sender: halo1@inter.net.il Message-id: <83fv3bifis.fsf@gnu.org> References: <83y4h5hu1w.fsf@gnu.org> <55D86D08.8080009@yandex.ru> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Cc: 21295-done@debbugs.gnu.org > From: Dmitry Gutov > Date: Sat, 22 Aug 2015 15:37:28 +0300 > > On 08/21/2015 12:25 PM, Eli Zaretskii wrote: > > > Please show a reproducible recipe that doesn't involve Tern. Or look > > into what Tern does, and show here the code that is responsible for > > incorrect handling of Cyrillic characters. > > Tern didn't call encode-coding-string on string returned by json-encode, > before sending it over the wire. > > Fixed there. Thank you.