Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expanding modified files doesn't show content properly #3504

Closed
nayefc opened this issue Jul 2, 2018 · 11 comments
Closed

Expanding modified files doesn't show content properly #3504

nayefc opened this issue Jul 2, 2018 · 11 comments
Labels
bug needinfo Maybe a bug, but need more information

Comments

@nayefc
Copy link

nayefc commented Jul 2, 2018

This has been happening to me over a long period of time, on different computers on Emacs 25.x and now also in Emacs 26.1.

In magit, when I see a list of all files collapsed, and try to expand a file changes by pressing tab, on it many times it doesn't expand properly. Usually, it shows half of the content of the file above content instead of the current file's content.

Is this a known issue?

@tarsius
Copy link
Member

tarsius commented Jul 2, 2018

Nope, first time I hear about something like that. Are there any weird characters in your files? Can you reproduce with emacs -Q?

@tarsius tarsius added the bug needinfo Maybe a bug, but need more information label Jul 2, 2018
@nayefc
Copy link
Author

nayefc commented Jul 3, 2018

No weird characters.

When I try to run it with -Q, I can never seem to get magit-status. I see a bunch of magit-popup- and a few other commands available only.

I ran (where N is the version) from the melpa magit directory:

emacs -Q --debug-init --eval '(setq debug-on-error t)' -L ../dash-N -L ../git-commit-N -L ../magit-popup-N -L ../with-editor-N -L ../ghub-N -L . -l magit

@tarsius
Copy link
Member

tarsius commented Jul 8, 2018

When I try to run it with -Q, I can never seem to get magit-status.

Are you saying you cannot invoke magit-status? That might be because your usual key binding is not available when not using your configuration. Try M-x magit-status RET.

@tarsius
Copy link
Member

tarsius commented Jul 12, 2018

Did you follow the instructions at https://magit.vc/manual/magit/Debugging-Tools.html?

@tarsius tarsius closed this as completed Jul 25, 2018
@bittopaz
Copy link

bittopaz commented Nov 2, 2018

@nayefc Hi, do you still have the problem? I think I am having the same symptom as you did.

@nayefc
Copy link
Author

nayefc commented Nov 2, 2018

I am, on multiple machines. Been having it for a long time now its really annoying.

@bittopaz
Copy link

bittopaz commented Nov 2, 2018

@nayefc I just got a workaround a few minutes ago, maybe you can try.

I was using j k to move up and down in the section, and seeing the problem.

Now I tried [ ] to move the cursor in the section, and things start work again.

@nayefc
Copy link
Author

nayefc commented Nov 2, 2018

Hmm I'll try that and let you know

@smcallis
Copy link

smcallis commented Oct 6, 2020

I was having this problem too. For future travellers: my issue was that I had fci-mode enabled semi-globally, and I think it was interfering with the section selection. Not the first time it's caused me problems, so I've turned it off.

@tarsius
Copy link
Member

tarsius commented Oct 6, 2020

Since Emacs 27.1 there's display-fill-column-indicator, which works much better than fci-mode.

@smcallis
Copy link

smcallis commented Oct 6, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needinfo Maybe a bug, but need more information
Development

No branches or pull requests

4 participants