Coder Social home page Coder Social logo

Comments (5)

seagle0128 avatar seagle0128 commented on July 17, 2024

Hello, which style (doom-modeline-buffer-file-name-style) are you using? and which exact version of doom-modeline? I am using 20181202.1053 and truncate-upto-project/truncate-with-project, but didn't reproduce. Actually it's related to the uniquify feature, but the additional buffer names are deleted in these styles.

from doom-modeline.

wedens avatar wedens commented on July 17, 2024

doom-modeline-buffer-file-name-style is set to truncate-with-project

doom-modeline fac54da

I can consistently reproduce it by opening multiple buffers with the same name.

When I set uniquify-buffer-name-style to nil, it no longer reproduces, so it's definitely related to uniquify.

from doom-modeline.

seagle0128 avatar seagle0128 commented on July 17, 2024

Okay. I can confirm it's because of your configuration (setq uniquify-buffer-name-style 'forward). If set to post-forward-angle-brackets or nil, all look fine.

Well, I will see if it can be optimized...

from doom-modeline.

wedens avatar wedens commented on July 17, 2024

I think I can just change it to post-forward-angle-brackets.

You can close the issue if you think handling 'forward specifically doesn't worth it.

from doom-modeline.

seagle0128 avatar seagle0128 commented on July 17, 2024

I made some enhancements for displaying uniquified buffer names. Now only display buffer names on help-echo, unless the file name equals the buffer name, or the style is buffer-name. That makes more sense now.

from doom-modeline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.