Subject: bug#3896: 23.1.50; hs-minor-mode shows only dots when function is folded

From: Otto Diesenbacher <[email-masked]>
Date: Tue, 21 Jul 2009 14:38:51 +0200 (CEST)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Dear Emacs-team,

in hs-minor-mode, f.e. used in conjunction with elisp-mode or common
lisp mode, a folded function shows only three dots without the
function name as usual.

(defun foo () 
  (foo-bar))

becames to

"..."

instead of

"(defun foo () ... "

The problem seem to be introduced with a change on
'hs-hide-block-at-point in hideshow.el. Replacing that function with a
older version (before June 09) produces a folding as expected.

Thanks to the emacs-team for their great efforts!

   okflo

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Emacs23.app/Contents/Resources/etc/DEBUG for instructions.

In GNU Emacs 23.1.50.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
 of 2009-07-21 on naomi.lan
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  eldoc-mode: t
  erc-ring-mode: t
  erc-netsplit-mode: t
  erc-menu-mode: t
  erc-pcomplete-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-autojoin-mode: t
  erc-smiley-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  icomplete-mode: t
  paredit-mode: t
  show-paren-mode: t
  iswitchb-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  hs-minor-mode: t

Recent input:
<backspace> <backspace> <backspace> <backspace> <backspace> 
u s r / l o c a l / l <backspace> s h a r e / e m <return> 
s i t e <return> <backspace> 2 3 . 1 <return> l i s 
p <return> p r o C-s <return> h i d e C-s <return> 
C-x o C-x C-b C-n C-n C-p C-p C-p RET C-p C-n C-x C-b 
C-n RET C-s h s - s h o w - b l o c k - C-g C-g C-x 
C-b C-p RET C-p C-n C-x C-b C-n RET C-s h s - h i d 
e - b l o c k - a t <return> C-x o C-s h s - h i d 
e - b l o c k - a t <return> C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-x o C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n <down> <down> <down> <down> 
<wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up> 
<wheel-down> <wheel-down> <wheel-down> <wheel-down> 
<wheel-down> <double-wheel-down> <down-mouse-1> <mouse-1> 
<down> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <down> <down> <down> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <f1> <up> 
<down> <f1> M-x h s - m i n o r - m a d <backspace> 
<backspace> o d e <return> <f1> <f1> C-x o C-n C-p 
C-p C-p C-e C-x C-e C-x o <f1> <f1> C-x o C-x o <C-tab> 
<C-tab> C-x 5 2 M-x r e p o r t <tab> <return>

Recent messages: