Giter Club home page Giter Club logo

Comments (6)

Wilfred avatar Wilfred commented on July 21, 2024

It's already mentioned in the mode line -- do you think it would be useful in the buffer too? If so, where?

from helpful.

diamond-lizard avatar diamond-lizard commented on July 21, 2024

Oh, I didn't even notice that. I had gotten too used to seeing it displayed in the buffer when using describe-variable.

I think it would be useful, and the best place for it would be at the top of the buffer, just as describe-variable does it. That's where my eyes most naturally go first, and usually it's the name and value of the variable which I most want to see. The documentation and other info can come later.

By the way, maybe I should open a new issue for this, as this issue is just for the name of the variable, but it would be nice to see the value as well.

from helpful.

Wilfred avatar Wilfred commented on July 21, 2024

The value is now shown, see #15.

from helpful.

diamond-lizard avatar diamond-lizard commented on July 21, 2024

I see. I think I must have had an older version of helpful which didn't show it. Now that I updated to the newest version, I see the value. Thank you.

I still think it would be most helpful at the top of the buffer, though, rather than buried somewhere down below. The name and value are the most important things I look for when getting help on a variable.

from helpful.

diamond-lizard avatar diamond-lizard commented on July 21, 2024

Today I happened to look at the value of auto-mode-alist and saw that it was a gigantic list. In this case, describe-variable prints the top of the help screen:

auto-mode-alist is a variable defined in `files.el'.
Its value is shown below.

I think that's a good approach for when the value of a variable can't be fit in to a line or two. As a user, I'd still be looking at the top of the screen for the value, but then be redirected lower down the screen by what I read in the expected place.

from helpful.

Wilfred avatar Wilfred commented on July 21, 2024

I'm persuaded :). Fixed.

from helpful.

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.