From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: hideshow bug with json-mode Date: Wed, 06 May 2015 21:45:02 +0100 Message-ID: <87lhh1306p.fsf@robertthorpeconsulting.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430945134 19118 80.91.229.3 (6 May 2015 20:45:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2015 20:45:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Andrew Pennebaker Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 06 22:45:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yq6C3-00018k-1a for geh-help-gnu-emacs@m.gmane.org; Wed, 06 May 2015 22:45:23 +0200 Original-Received: from localhost ([::1]:47038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq6C2-0002Tr-6E for geh-help-gnu-emacs@m.gmane.org; Wed, 06 May 2015 16:45:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq6Bp-0002TA-69 for help-gnu-emacs@gnu.org; Wed, 06 May 2015 16:45:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq6Bl-0002n7-Mz for help-gnu-emacs@gnu.org; Wed, 06 May 2015 16:45:09 -0400 Original-Received: from outbound-smtp05.blacknight.com ([81.17.249.38]:42854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq6Bl-0002hi-GU for help-gnu-emacs@gnu.org; Wed, 06 May 2015 16:45:05 -0400 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp05.blacknight.com (Postfix) with ESMTPS id 8A74898803 for ; Wed, 6 May 2015 20:45:03 +0000 (UTC) Original-Received: (qmail 10632 invoked from network); 6 May 2015 20:45:03 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.77.23.201]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 6 May 2015 20:45:03 -0000 In-Reply-To: (message from Andrew Pennebaker on Wed, 6 May 2015 12:37:57 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.38 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104250 Archived-At: Andrew Pennebaker writes: > If I don't carefully position my cursor right on the opening curly brace, > then hideshow toggles the parent block instead of the current line's block. That looks like a bug in json-mode. I think that mode doesn't setup the syntax table correctly. That said, I just downloaded https://github.com/joshwnj/json-mode (I assume that's the one you're using) and ran that, and it worked correctly. Have you tried it with emacs -q ? BR, Rob