Skip to content

evilem-motion-find-char-backward hangs when the char is in a folded subtree #68

Open
@archiif

Description

@archiif

How to reproduce:

  1. Open a new org file and paste this outline:
* x
* a
** a 
* b
  1. Place your cursor at the headline b
  2. Trigger evilem-motion-find-char-backward and enter the a key. The command will run without a problem.
  3. Now fold the top heading a and return to b.
  4. Repeat step 3. This should freeze up Emacs, forcing you to use C-g to stop the command
  5. Trigger evilem-motion-find-char-backward again, this time search for x. Emacs won't freeze in this case.
  6. Now place your cursor at the headline x
  7. Trigger evilem-motion-find-char-forward and search for 'a'. This command will run successfully too.

So it seems that evilem have trouble searching a character backwards, but only if that character is within a folded subtree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions