From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#10787: 23.4; hs-hide-* functions don't honor page break in Emacs-Lisp major mode (and probably others too) Date: Sat, 2 Nov 2019 06:02:30 +0100 Message-ID: References: <87vcnem34v.fsf@felix-laptop.gnung> <87mudfw70a.fsf@marxist.se> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="50742"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 10787@debbugs.gnu.org To: Bruno =?UTF-8?Q?F=C3=A9lix?= Rezende Ribeiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 02 06:03:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQlZF-000D5d-UG for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Nov 2019 06:03:18 +0100 Original-Received: from localhost ([::1]:45204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQlZE-0006jE-ES for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Nov 2019 01:03:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53089) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQlZ2-0006j7-Qq for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2019 01:03:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQlZ0-0007jl-NY for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2019 01:03:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49122) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQlZ0-0007jD-Je for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2019 01:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQlZ0-00076A-Eh for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2019 01:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Nov 2019 05:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10787 X-GNU-PR-Package: emacs Original-Received: via spool by 10787-submit@debbugs.gnu.org id=B10787.157267096827255 (code B ref 10787); Sat, 02 Nov 2019 05:03:02 +0000 Original-Received: (at 10787) by debbugs.gnu.org; 2 Nov 2019 05:02:48 +0000 Original-Received: from localhost ([127.0.0.1]:57943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQlYm-00075X-H3 for submit@debbugs.gnu.org; Sat, 02 Nov 2019 01:02:48 -0400 Original-Received: from mail-pg1-f195.google.com ([209.85.215.195]:38971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQlYl-00075I-FX for 10787@debbugs.gnu.org; Sat, 02 Nov 2019 01:02:48 -0400 Original-Received: by mail-pg1-f195.google.com with SMTP id p12so7707186pgn.6 for <10787@debbugs.gnu.org>; Fri, 01 Nov 2019 22:02:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PX2ZfKFXJR3uu0XiarY8WNZSSA9Fc9zXJ7siQdbPuhw=; b=RwhvyGNkI9tzz7LmLTYDI4GNbF+ObtkltCcd2ARpC5tdLtKwCFKix/pmI3uEV4vvJ7 pHbDttAcG1BDpVZvlIDyeOcFdA50Ebk6bbL9nkEZ6cYRuaEoxnfpwYnQkmzPyaP87PtP Ox/LluA5ad4o2hvq8qzH+jXpiaP53PGzbbNAr0TTOco8Tap7oqqX3eO6mBO8O4083snw RLjhS/bsHVdusMREiYFhy20c29Vvy+ToOhqjvTteefnfxOHhvEjb9HkG4YJacND89nlD YZ886BdKdKb80VasBFlQaaKu88Brn3SbUtU3D3LWmq0TLKQQLf/ZkLV7edTk8k7N8nF1 +FvA== X-Gm-Message-State: APjAAAXsLkZ8ttBBf1WJGSIVOFk0+M07U32ONEwZvGrR9XNnhE+RDrw0 XTGuG74ngL8Xzv5SXSeDU5jLipj7oUbNhTbOtZQ= X-Google-Smtp-Source: APXvYqz8iMdtvJOJX+vptKaVtJUKsxfgF85uYLzQq7UXLqUMe8yRURUKgSnj5XhLWpzYQ+30wQY2a0BJuX5gaeaLn4Q= X-Received: by 2002:aa7:97b3:: with SMTP id d19mr13634406pfq.50.1572670961637; Fri, 01 Nov 2019 22:02:41 -0700 (PDT) In-Reply-To: <87mudfw70a.fsf@marxist.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170748 Archived-At: Hi Bruno F=C3=A9lix, The below email bounced when trying to send it to oitofelix@gmail.com. I'm therefore resending this to what I guess is your new email address. Best regards, Stefan Kangas Stefan Kangas writes: > oitofelix@gmail.com (Bruno F=C3=A9lix Rezende Ribeiro) writes: > > > Suppose that you have a buffer with Emacs-Lisp major mode and hs minor > > mode enabled and into it a piece of code like this: (where ^L indicates > > page break) > > > > -- > > > > ;; here is only a foo comment for a commented bar function > > ;; (defun my-bar-function () nil) > > > > ^L > > ;; here is another foo comment for another commented bar function > > ;; (defun my-second-bar-function () nil) > > > > -- > > > > Now, if you run hs-hide-all command the text appears like this: > > > > -- > > > > ;; here is only a foo comment for a commented bar function... > > > > -- > > > > It's very annoying. I often comment consecutive functions and > > hs-hide-all don't honor sequential newlines. So, I was breaked page > > hoping that my functions were kept separated. But that didn't happen. > > This bug report is to suggest developers to make hs-hide-* functions > > respect page breaks for this and others major modes too. > > This was reported 7 years ago, but never got a reply at the time. > > I can't reproduce this on current master. Are you still seeing this > on a modern version of Emacs? > > If I don't hear back from you within a couple of weeks, Ill just close > this bug as unreproducible. > > Best regards, > Stefan Kangas