GNU bug report logs - #10787
23.4; hs-hide-* functions don't honor page break in Emacs-Lisp major mode (and probably others too)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: oitofelix@HIDDEN (Bruno Félix Rezende Ribeiro); dated Sat, 11 Feb 2012 03:58:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Feb 2012 03:57:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 10 22:57:09 2012
Received: from localhost ([127.0.0.1]:35491 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Rw45E-0007zn-67
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2012 22:57:09 -0500
Received: from eggs.gnu.org ([140.186.70.92]:40819)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <oitofelix@HIDDEN>) id 1Rw459-0007zH-4k
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2012 22:57:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <oitofelix@HIDDEN>) id 1Rw43o-00056u-8d
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2012 22:55:41 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([140.186.70.17]:43219)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oitofelix@HIDDEN>) id 1Rw43o-00056P-73
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2012 22:55:40 -0500
Received: from eggs.gnu.org ([140.186.70.92]:54890)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oitofelix@HIDDEN>) id 1Rw43m-0004kG-JD
	for bug-gnu-emacs@HIDDEN; Fri, 10 Feb 2012 22:55:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <oitofelix@HIDDEN>) id 1Rw43k-00056A-Fd
	for bug-gnu-emacs@HIDDEN; Fri, 10 Feb 2012 22:55:38 -0500
Received: from mail-gx0-f169.google.com ([209.85.161.169]:45464)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <oitofelix@HIDDEN>) id 1Rw43k-000564-BE
	for bug-gnu-emacs@HIDDEN; Fri, 10 Feb 2012 22:55:36 -0500
Received: by ggnf1 with SMTP id f1so2213364ggn.0
	for <bug-gnu-emacs@HIDDEN>; Fri, 10 Feb 2012 19:55:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=from:to:subject:date:message-id:user-agent:mime-version
	:content-type:content-transfer-encoding;
	bh=M+zwXBDr2hscO44AdGO6fYn1U3HY/ZdecUKlAMKABUo=;
	b=XrvrDyraEfBFyQLgY/GF7UrkePK2cgFKF3e84+RAcUFOG616eRDy3lAHdUHiPr+ctH
	yKPlBuP2VZVnkarMrqIxQw4/JznI4vTKdi8sRaK1I2NCdI2ANvjGpui3gkzhy7rFmMug
	+ihTMbrw8TGS9Fva6z/+vH02mQ234FKqScbVo=
Received: by 10.236.161.197 with SMTP id w45mr11821774yhk.96.1328932535191;
	Fri, 10 Feb 2012 19:55:35 -0800 (PST)
Received: from felix-laptop.gnung.gnung ([177.48.198.10])
	by mx.google.com with ESMTPS id p63sm12924929yhj.22.2012.02.10.19.55.24
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 10 Feb 2012 19:55:34 -0800 (PST)
From: oitofelix@HIDDEN (Bruno =?utf-8?Q?F=C3=A9lix?= Rezende Ribeiro)
To: bug-gnu-emacs@HIDDEN
Subject: 23.4;
	hs-hide-* functions don't honor page break in Emacs-Lisp major mode
	(and probably others too)
Date: Sat, 11 Feb 2012 01:59:28 -0200
Message-ID: <87vcnem34v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.4 (---)

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.

Thanks for your attention.


In GNU Emacs 23.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-02-08 on felix-laptop
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--with-x-toolkit=3Dathena' '--with-crt-dir=3D=
/usr/lib/i386-linux-gnu' 'CFLAGS=3D-O3''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: pt_BR.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  gpm-mouse-mode: t
  shell-dirtrack-mode: t
  which-function-mode: t
  server-mode: t
  display-time-mode: t
  display-battery-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  hs-minor-mode: t

Recent input:
] C-x ] C-x ] C-x ] C-x ] C-x ] C-x ] C-x ] C-c @ C-M-h=20
C-c @ C-M-s C-n C-x ] C-n C-n C-n C-n C-n C-a C-SPC=20
C-n C-n C-n C-n C-n C-n C-n C-w <backspace> <up> <up>=20
<up> <up> <up> <up> <up> <up> <right> <right> ; <down>=20
<down> <up> <up> <down> C-c @ C-c C-c @ C-c C-c @ C-c=20
C-c @ C-c <down> <down> <down> <down> <down> <down>=20
<up> <down> <up> <up> <up> ( ) <backspace> <backspace>=20
n i l <return> <backspace> <backspace> <backspace>=20
<backspace> <return> <backspace> <up> <up> <down> <down>=20
<down> <down> <down> <down> <down> <down> <up> <up>=20
<up> <up> <up> <up> <up> <up> <up> <down> <down> <down>=20
<down> C-b C-n C-n C-p C-n C-c @ C-g C-p C-p C-p C-p=20
C-n C-c @ C-c C-c @ C-c C-f C-f C-d C-e C-a C-n C-e=20
C-n C-e C-a M-x r e p o r t <tab> b u <tab> e m a c=20
s <tab> <M-backspace> C-k <M-backspace> e m a c s -=20
<tab> <M-backspace> <M-backspace> r e p o r t <tab>=20
C-g C-e M-x r e p o r <tab> <tab> e m a <tab> b u <tab>=20
<return> W <backspace> h s SPC m i n o r SPC C-g C-a=20
C-h c C-c @ C-M-h M-x h s - h o <tab> <backspace> i=20
<tab> <tab> C-g M-x <up> C-k h f - <backspace> <backspace>=20
s - h i <tab> - <backspace> i n i <tab> <return> M->=20
M-> M-< M-< C-c @ C-c M-> M-> C-p C-p C-p C-p C-p C-p=20
C-p M-x h s - <M-backspace> M-x M-x h s - h i d e <tab>=20
<tab> C-g M-x r e p o r t - e m a c s - b u g <ret
urn>

Recent messages:
Making completion list...
Quit
Mark set [6 times]
call-interactively: Command attempted to use minibuffer while in minibuffer
Quit
Making completion list...
Quit
Checking spelling of RESPECT...
RESPECT is correct
call-interactively: End of buffer [2 times]

Load-path shadows:
/usr/local/share/emacs/site-lisp/emms/tq hides /usr/local/share/emacs/23.4/=
lisp/emacs-lisp/tq

Features:
(shadow emacsbug term ehelp make-mode ffap t-mouse re-builder starttls
mailalias smtpmail sendmail spam-stat nnmairix nnml nnir mm-url
gnus-soup gnus-sieve deuglify gnus-uu yenc gnus-eform gnus-dup
gnus-diary nndiary gnus-demon gnus-delay gnus-draft gnus-bookmark
dired-aux shell comint descr-text quail bookmark crm xesam url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-util
url-parse dbus url-vars org org-footnote org-src org-list org-faces
org-compat org-macs metamail etags thumbs image-file image-dired
gnus-audio man assoc locate bib-mode newcomment debug uniquify warnings
spell ses advice advice-preload unsafep rcirc newst-backend xml derived
mpc ispell htmlfontify ring esh-var esh-io esh-cmd esh-ext esh-proc
esh-arg eldoc help-fns esh-groups eshell esh-module esh-mode esh-util
erc-goodies erc erc-backend erc-compat pp cal-menu calendar cal-loaddefs
calc calc-loaddefs calc-macs ebnf2ps ps-print ps-def lpr cus-edit
add-log foldout noutline outline finder finder-inf find-func lisp-mnt
goto-addr tmm electric help-mode view thingatpt w3m-search multi-isearch
w3m-form mule-util w3m-cookie w3m-bookmark w3m-tabmenu w3m-session w3m
doc-view jka-compr image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems
w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util browse-url gnus-fun
flow-fill sort gnus-cite smiley ansi-color mail-extr gnus-async
gnus-bcklg byte-opt bytecomp byte-compile gnus-ml disp-table gnus-topic
parse-time timezone utf-7 utf7 nnimap imap nndraft nnmh auth-source
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 epg-config mm-view smime dig nntp gnus-cache gnus-sum nnoo
gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec
gnus-int gnus-range gnus-win hideshow message ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader
canlock sha1 hex-util hashcash info easymenu w3m-load
espeak-key-bindings espeak-core espeak-customize espeak-elisp-facilities
espeak emms-playing-time emms-player-mpg321-remote emms-cache
emms-info-ogginfo emms-info-mp3info emms-info later-do
emms-player-mplayer emms-player-simple emms-volume easy-mmode
emms-volume-amixer emms-playlist-mode emms-source-playlist
emms-source-file dired regexp-opt emms-setup emms emms-compat edmacro
kmacro preview-latex tex-site auto-loads windmove which-func imenu
server gnus gnus-ems nnheader gnus-util netrc time-date mail-utils
mm-util mail-prsvr wid-edit time battery desktop cus-start cus-load
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting x-toolkit x multi-tty emacs)

--=20
Bruno F=C3=A9lix Rezende Ribeiro (oitofelix)

Ps: Please, let me know my english errors




Acknowledgement sent to oitofelix@HIDDEN (Bruno Félix Rezende Ribeiro):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#10787; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.