Comments (6)
It's already mentioned in the mode line -- do you think it would be useful in the buffer too? If so, where?
from helpful.
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.
The value is now shown, see #15.
from helpful.
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.
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.
I'm persuaded :). Fixed.
from helpful.
Related Issues (20)
- Wrong-type-argument error on pseudo-function symbols HOT 1
- Request new release HOT 2
- Support for other languages? HOT 1
- Question: using ido with helpful-* HOT 1
- Can `helpful-key` show which key, key combo, or key sequence was pressed? HOT 3
- helpful--docstring-advice failure against GNU Emacs 28.1 HOT 2
- Find all references not working on latest emacs29 build from git HOT 3
- [Help] using helpful with ivy
- Treatment of local/global values
- Can't install using Straight.el: `Wrong type argument: listp, 1` HOT 2
- Suggestion: `helpful--navigate` should respect `display-buffer-alist` HOT 1
- RFE: Duplicate help-mode's `c`, `i` and `s` bindings HOT 1
- Docstrings should not double-escape strings
- helpful-variable not working
- invalid-read-syntax "] in a list" 2 22
- How do you go back? HOT 3
- Handling of left/right single quotation marks
- Case in disambiguation of variable or function definition of a symbol
- New stable release for Emacs 29? HOT 1
- forward-sexp: Scan error: "Unbalanced parentheses", 121867, 1 with Emacs 29 HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helpful.