GNU bug report logs - #43589
27.1.50; Crash in Org mode buffer when moving point after using outline-hide-other when visual-line-mode and visual line numbers are enabled

Previous Next

Package: emacs;

Reported by: Simon Pugnet <simon <at> polaris64.net>

Date: Thu, 24 Sep 2020 12:53:01 UTC

Severity: normal

Found in version 27.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 43589 <at> debbugs.gnu.org (full text, mbox):

From: Simon Pugnet <simon <at> polaris64.net>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 43589 <at> debbugs.gnu.org
Subject: Re: bug#43589: 27.1.50; Crash in Org mode buffer when moving point
 after using outline-hide-other when visual-line-mode and visual line
 numbers are enabled
Date: Thu, 24 Sep 2020 22:17:26 +0200
[Message part 1 (text/plain, inline)]
Daniel Martín <mardani29 <at> yahoo.es> writes:

> Simon, if you can reproduce the problem consistently, could you 
> describe
> in more detail the position of point at each step? Are you 
> copying and
> pasting the sample Org document? Perhaps those implicit 
> assumptions are
> making the problem harder to reproduce. Thanks.

Hello Daniel and Eli,

Here's a more detailed explanation of exactly what I'm dong to 
cause this issue.

1. Execute: emacs -Q
2. In the scratch buffer that opens by default, activate Org mode: 
M-x org-mode
3. Type the following directly into the buffer (3 lines): -

* Heading 1
** Heading 1a
** Heading 1b

4. The point should now be after the "b" in "Heading 1b"
5. Evaluate (M-:) the following: (setq display-line-numbers-type 
'visual)
6. Activate display-line-numbers-mode: M-x 
display-line-numbers-mode
7. Activate visual-line-mode: M-x visual-line-mode
8. Hide other outline headings: M-x outline-hide-other
9. Try to move the point to the previous line: C-p or 
previous-line

If I perform these steps on Emacs 27.1 (GUI or text frame), and 
also the packaged version of Emacs 26.3 on Android (via the Termux 
app), I always get a segmentation fault.

This happens in other Org mode buffers too, including those loaded 
directly from the file system.

I hope that helps!
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 295 days ago.

Previous Next


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