emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hideshow and cursor movement problem


From: Miguel Frasson
Subject: Hideshow and cursor movement problem
Date: Tue, 1 Jun 2004 22:36:20 +0200
User-agent: Mutt/1.4.1i

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
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 address@hidden
mailing list.

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

Hi.

I am using hs-minor-mode in emacs-lisp-mode. When one hide a defun,
the body is shown as an ellipsis (3 dots). However, I can not move
down from before a hiden defun to after it if the ellipsis is
displayed in two visual lines but one logical line (I mean, 1 or 2
dots are shown in a line, and the 2 or 1 left are shown in next line,
with arrows indicating that line was wrapped). Moving up has no
problem.

How to reproduce:

1) I am supposing that your window has 80 columns.
2) Be in emacs-lisp-mode.
3) Call hs-minor-mode.
4) Write a defun like the one bellow, where the closing parenthesis ")"
   of the parameters list is at position 76 or 77

(defun fajsflds (fdsafsfasf a asdf ds fd sf sd f s af sa fd sd fads fdsaasdf)
  nil)

5) put cursor over "defun" and hide function with M-x
   hs-hide-block. The ellipsis should be splitted in the 2 visual
   lines.
6) put the cursor some lines before this defun and move down with the
   cursor arrows. Here I cannot cross to the next line after de defun.

If the ellipsis is fully in one line, there is no problem of
moving. Moving up is no problem in any case. I use
pc-selection-mode. Disabling it changes nothing.

Regards

Miguel Frasson.

In GNU Emacs 21.3.50.8 (i386-mingw-nt5.1.2600)
 of 2003-12-28 on SERVER
configured using `configure --with-gcc (3.2)'

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: 1033
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  delete-selection-mode: t
  pc-selection-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  line-number-mode: t
  transient-mark-mode: t
  hs-minor-mode: t

Recent input:
<down> <down> <down> <down> <down> <up> <up> <down-mouse-1> 
<mouse-1> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <down> <down> <down> <down> <down> <down> 
<down> <up> <up> <down> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<report-emacs-bug>

Recent messages:
Loading help-fns...done
"Tool-bar installed"
Wrote f:/auctb/etoolbar.el
Loading hideshow...done
Hiding all blocks ...
Hiding ... 32
Hiding all blocks ... done
Showing all blocks ... done
Auto-saving...done
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]