all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21295: 25.0.50; Strage behaviour when send JSON request
@ 2015-08-19 16:15 Дмитрий Ануфриев
  2015-08-21  9:25 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Дмитрий Ануфриев @ 2015-08-19 16:15 UTC (permalink / raw)
  To: 21295

[-- Attachment #1: Type: text/plain, Size: 4956 bytes --]

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))

[-- Attachment #2: Type: text/html, Size: 5518 bytes --]

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

* bug#21295: 25.0.50; Strage behaviour when send JSON request
  2015-08-19 16:15 bug#21295: 25.0.50; Strage behaviour when send JSON request Дмитрий Ануфриев
@ 2015-08-21  9:25 ` Eli Zaretskii
  2015-08-22 12:37   ` Dmitry Gutov
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2015-08-21  9:25 UTC (permalink / raw)
  To: Дмитрий Ануфриев
  Cc: 21295

> Date: Wed, 19 Aug 2015 21:15:28 +0500
> From: Дмитрий Ануфриев
> 	<dmitryanufriev@gmail.com>
> 
> 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.





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

* bug#21295: 25.0.50; Strage behaviour when send JSON request
  2015-08-21  9:25 ` Eli Zaretskii
@ 2015-08-22 12:37   ` Dmitry Gutov
  2015-08-22 13:27     ` Дмитрий Ануфриев
  2015-08-22 14:06     ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Gutov @ 2015-08-22 12:37 UTC (permalink / raw)
  To: Eli Zaretskii,
	Дмитрий Ануфриев
  Cc: 21295-done

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.





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

* bug#21295: 25.0.50; Strage behaviour when send JSON request
  2015-08-22 12:37   ` Dmitry Gutov
@ 2015-08-22 13:27     ` Дмитрий Ануфриев
  2015-08-22 14:06     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Дмитрий Ануфриев @ 2015-08-22 13:27 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 21295-done

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

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.  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.
>

[-- Attachment #2: Type: text/html, Size: 937 bytes --]

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

* bug#21295: 25.0.50; Strage behaviour when send JSON request
  2015-08-22 12:37   ` Dmitry Gutov
  2015-08-22 13:27     ` Дмитрий Ануфриев
@ 2015-08-22 14:06     ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2015-08-22 14:06 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: dmitryanufriev, 21295

> Cc: 21295-done@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> 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.





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

end of thread, other threads:[~2015-08-22 14:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-19 16:15 bug#21295: 25.0.50; Strage behaviour when send JSON request Дмитрий Ануфриев
2015-08-21  9:25 ` Eli Zaretskii
2015-08-22 12:37   ` Dmitry Gutov
2015-08-22 13:27     ` Дмитрий Ануфриев
2015-08-22 14:06     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.