unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Pugnet <simon@polaris64.net>
To: "Daniel Martín" <mardani29@yahoo.es>
Cc: 43589@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <87y2kzx73e.fsf@polaris64.net> (raw)
In-Reply-To: <m1mu1favti.fsf@yahoo.es>

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

Daniel Martín <mardani29@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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

  reply	other threads:[~2020-09-24 20:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 12:51 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 Simon Pugnet
2020-09-24 15:03 ` Eli Zaretskii
2020-09-24 15:35   ` Simon Pugnet
2020-09-24 16:14     ` Eli Zaretskii
2020-09-24 18:11       ` Unknown
2020-09-24 20:17         ` Simon Pugnet [this message]
2020-09-24 22:43           ` Andy Moreton
2020-09-25  8:57             ` Eli Zaretskii
2020-09-25 10:00               ` Simon Pugnet
2020-09-25 11:01                 ` Eli Zaretskii
2020-09-24 15:48   ` Simon Pugnet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2kzx73e.fsf@polaris64.net \
    --to=simon@polaris64.net \
    --cc=43589@debbugs.gnu.org \
    --cc=mardani29@yahoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).