Menu

#316 emacs auto header won't cycle to current header level

closed-rejected
emacs mode (15)
5
2020-03-03
2017-04-18
Sean Dague
No

After a recent upgrade to Ubuntu 17.04 I found an interesting bug with the auto header code in rst-mode.

Given the following RST doc:

============
 Header One
============

Header Two
==========

Some stuff.

More stuff

Some more stuff

Some other stuff
----------------

If you got to "More stuff" and do Ctrl-=, you'll get a cycling of double =, =, and ~, but not "-". So you can never auto cycle to the current level of indent. This

This appears to be the behavior of the SVN trunk right now.

If I revert to r7931 then it cycles all of double '=', '=', '~', '-'.

r7963 doesn't work at all, and r8011 and r8015 are definitely broken.

Discussion

  • Stefan Merten

    Stefan Merten - 2017-04-18
    • assigned_to: Stefan Merten
     
  • Stefan Merten

    Stefan Merten - 2017-04-18

    Could you please give the following information:

    Emacs version: M-x emacs-version
    rst-mode version: in rst-mode C-h v rst-version

     
  • Sean Dague

    Sean Dague - 2017-04-18

    GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.7) of 2017-02-10 on lcy01-09, modified by Debian [2 times]

     
  • Sean Dague

    Sean Dague - 2017-04-18

    At this point I patched my whole environment so that I'm running the version from svn that works for me, it's going to take a bit of unwind to get back to the system version to figure out what's getting picked up there.

     
  • Stefan Merten

    Stefan Merten - 2017-10-01
    • status: open --> closed-rejected
     
  • Stefan Merten

    Stefan Merten - 2017-10-01

    After four months there are no similar reports. I guess the problem had something to do with Sean's local configuration and not with the vanilla installation. Thus I'll close the bug.

     

Log in to post a comment.