8000 Huge line breaks · Issue #27 · dengste/minimap · GitHub
[go: up one dir, main page]

Skip to content

Huge line breaks #27

Open
Open

Description

@manueldeljesus

I have installed minimap in Doom Emacs on Fedora 36. However, when I activate the minimap, each line break is like three or four lines high, making the minimap unreadable.

Image

Any idea on how to solve the issue?

Your help will be much appreciated.

Activity

  1. manueldeljesus commented on Nov 30, 2022

    @manueldeljesus
    Author

    It seems that the problem may not be that newline characters are being inserted, but that the minimap buffer is using the same line height that the normal buffer is using. When clicking on the minimap, the size of the cursor is identical to the size of the cursor on the main buffer. Any way to control this behavior?

  2. manueldeljesus commented on Nov 30, 2022

    @manueldeljesus
    Author

    It seems that the problem only affects Org files. It seems to be working correctly with Python files. Is this the expected behavior -not working with Org files-?

  3. jgarvin commented on Dec 31, 2022

    @jgarvin

    @manueldeljesus I am encountering the same issue editing Rust source files, so it's not Org specific. Maybe something in common about our emacs versions? M-x emacs-version:

    GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2021-05-14
    
  4. manueldeljesus commented on Jan 5, 2023

    @manueldeljesus
    Author

    GNU Emacs 28.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-07-15

    Well, same big version, same OS, but not much more. However, it is interesting to know that the bug affects other modes, and not only Org-mode. It may make debugging it easier.

  5. samrjack commented on Jan 11, 2023

    @samrjack

    In one of the other issues, this was brought up and the stated short-term solution is to disable org-indent-mode. I don't know what's going on with your rust file @jgarvin , maybe rust mode has some functionality that's interfering with the line height too?

  6. manueldeljesus commented on Jan 11, 2023

    @manueldeljesus
    Author

    Is it possible to disable org-indent-mode only for the minimap buffer? Or is it necessary to disable it globally?

  7. manueldeljesus commented on Jan 11, 2023

    @manueldeljesus
    Author

    It seems that deactivating org-indent-mode in the minimap buffer also deactivates it in the main buffer. So, no luck in that line of attack.

  8. samrjack commented on Jan 11, 2023

    @samrjack

    I spent a while last night trying to discern exactly what about the indent mode was causing issues. I'll look more later when I have time. One thing I found was that anything not under a headline has the line height you'd expect in the minimap.

  9. forbade commented on May 31, 2023

    @forbade

    Any luck fixing this? This is the only issue I could find on this problem.

  10. nazzacode commented on Jun 27, 2023

    @nazzacode

    I second this. Line breaks make minimap unusable with org mode which is such a shame.

  11. contrapunctus-1 commented on Jun 26, 2024

    @contrapunctus-1

    This seems to happen not just in Org buffers, but also in any source code buffers which have highlight-indent-guides-mode enabled.

    Tested on GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-05-15, modified by Debian

  12. Schievel1 commented on Apr 3, 2026

    @Schievel1

    happens to me in a normal elisp buffer, no org and no highlight-indent-guides enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0