From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Pennebaker Newsgroups: gmane.emacs.help Subject: Re: hideshow bug with json-mode Date: Thu, 7 May 2015 09:02:55 -0500 Message-ID: References: <87y4l034ok.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1431007393 10712 80.91.229.3 (7 May 2015 14:03:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 14:03:13 +0000 (UTC) Cc: Emacs Help To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 07 16:03:13 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 1YqMOO-0001hn-MD for geh-help-gnu-emacs@m.gmane.org; Thu, 07 May 2015 16:03:12 +0200 Original-Received: from localhost ([::1]:51349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqMOO-00063v-1U for geh-help-gnu-emacs@m.gmane.org; Thu, 07 May 2015 10:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqMO9-00063c-EJ for help-gnu-emacs@gnu.org; Thu, 07 May 2015 10:02:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqMO8-0005UI-Cr for help-gnu-emacs@gnu.org; Thu, 07 May 2015 10:02:57 -0400 Original-Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:35223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqMO8-0005UB-7U for help-gnu-emacs@gnu.org; Thu, 07 May 2015 10:02:56 -0400 Original-Received: by obcus9 with SMTP id us9so2482689obc.2 for ; Thu, 07 May 2015 07:02:55 -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=QcXtE+8wdsuuWl3O/g8OfE+edtZ8PI6WrnCJvh8SPx8=; b=Q4CFI6cuFccQh+n65X4zZ5megfCNowbUWOp+hDBb7Qsf8T+IuKpgeXvkg+ZDErmnT7 XP5jS1djRQJR1poWX/IfAMMhvPcrc/ExTYPhxoNboUUs+E+JHAcVLrETpT+Y/GVjJccV vX10eCQSVs4E7F65sRUyYhUsAEAYYYPXFKSY3Hu2kpjXcpcVHLGGURJtF9gCoHvqUUgX 25OVU/Hru8lzuq5RppTOO3OgZRZR7WKOGI/eAAlglCgjybmS/oj3LrijCOxWWRtlPOpS qnYZSLzZE0X3uOjkE9dKJP8HJ3S/khHw9cn0wMwn+WKdXb3e/nRRrtPpoKgREOPEqzO8 9biw== X-Received: by 10.182.171.67 with SMTP id as3mr3424654obc.16.1431007375777; Thu, 07 May 2015 07:02:55 -0700 (PDT) Original-Received: by 10.76.125.169 with HTTP; Thu, 7 May 2015 07:02:55 -0700 (PDT) In-Reply-To: <87y4l034ok.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:104270 Archived-At: yafolding seems to fix this problem for both JSON and XML files. On Thu, May 7, 2015 at 8:20 AM, Michael Heerdegen wrote: > Andrew Pennebaker writes: > > > This problem only happens in certain major modes; python-mode with > > hs-minor-mode works as expected, whereas json-mode with hs-minor-mode > > features this problem. > > AFAIK hideshow does not work out of the box with every mode. It's > possible that it needs configuration to make it work (see > `hs-special-modes-alist'). Are you sure that the affected modes are > supported? > > > HTH, > > Michael. > > > -- Cheers, Andrew