aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-12Tweak comments for readabilityWilfred Hughes
2018-08-12Update changelogWilfred Hughes
2018-08-12Clearly separate library names from absolute pathsWilfred Hughes
We need an absolute path for opening the file, but `find-function-search-for-symbol` expects a relative path for primitive functions. Using the library name allows us to avoid `find-function-C-source`, which doesn't support Rust primitives. This should fix Remacs support. See discussion in https://github.com/Wilfred/remacs/pull/800
2018-08-12Make tests less verboseWilfred Hughes
Don't bother reporting about file decompression, and use proper ERT test skipping.
2018-08-12Roll versionWilfred Hughes
2018-08-12Rename file to avoid confusion with other projects' unit tests0.13Wilfred Hughes
2018-08-06Show the default value in the minibuffer promptWilfred Hughes
Closes #139
2018-08-02Correct the license version numberWilfred Hughes
2018-08-02Extract source code for advised primitivesWilfred Hughes
Resolves #141
2018-08-02Add failing helpful--primitive-p testNick Drozd
The summary given by (helpful-callable 'rename-buffer) is rename-buffer is an interactive function without a source file. Needless to say, this is not correct. The problem stems from helpful--primitive-p's inability to handle advised primitive functions.
2018-08-02Fix hard-coded symbol in helpful--keymaps-containing-aliasesWilfred Hughes
2018-08-02Clarify commentWilfred Hughes
2018-08-02Use normal let where we don't have destructuringWilfred Hughes
2018-08-02Add legal disclaimerWilfred Hughes
2018-07-28Fix an issue with detecting autoloaded core Emacs functionsWilfred Hughes
2018-07-28Show keybindings for command aliases tooWilfred Hughes
Fixes #143
2018-07-28Merge pull request #137 from nickdrozd/key-sequencesWilfred Hughes
Improve helpful--key-sequence performance
2018-07-25Simplify headingsWilfred Hughes
Just say 'Documentation' rather than 'Function Documentation' and so on. Now that we have a summary sentence that says 'foo is a function' we don't need the verbose headings. Fixes #142
2018-07-24Syntax-highlight variable valueNick Drozd
This makes it a little easier to read, especially in weird cases like Value ((((3) 4) 5 (6)) 7 8 9 nil nil nil)
2018-07-24Merge pull request #145 from nickdrozd/lambda-calleesWilfred Hughes
helpful--show-callees choked on anonymous functions
2018-07-23Don't describe special forms as functionsWilfred Hughes
Fixes #142
2018-07-23Fix helpful--show-callees to handle anonymous functionsNick Drozd
Using `symbol-name` in a format string is unnecessary, since `format` will already convert symbols to strings. Cutting it allows for handling other types.
2018-07-23Add callees button smoke testsNick Drozd
Currently helpful--show-callees chokes on anonymous functions (I don't understand the finer points of button operation, so I couldn't figure out a more elegant way to write these tests.)
2018-07-23Add helpful--make-callees-buttonNick Drozd
2018-07-22Allow users to view all the buffer-local valuesWilfred Hughes
Fixes #49
2018-07-22Another TODOWilfred Hughes
2018-07-22Say when variables are buffer-localWilfred Hughes
Fixes #120
2018-07-22Show the variable value before the docstringWilfred Hughes
For variables with long docstrings (e.g. company-backends) it's a pain to scroll down to see the current value. Whilst I think this makes the buffer ordering seem less logical, it feels more useful. We might want to consider tweaking heading text in future. Fixes #138
2018-07-16Add ido remapping test caseNick Drozd
2018-07-16Look up global-keycodes just onceNick Drozd
Looking up the global keycodes is expensive, so don't do it in a loop.
2018-07-16Check against global-keycodes before parent-keycodesNick Drozd
The former is usually a subset of the latter, so check it first.
2018-07-08Roll versionWilfred Hughes
2018-07-08Add n and p as movement keybindings0.12Wilfred Hughes
We might want to use TAB in future for other things, perhaps expanding/collapsing headings.
2018-07-08Adding todoWilfred Hughes
2018-07-07Consider mapconcat tooWilfred Hughes
2018-07-07Detect more forms of function callsWilfred Hughes
2018-07-07Skip running find-file-hook (#135)Jonathan Hayase
2018-07-06Mention perf in changelogWilfred Hughes
2018-07-06Merge pull request #134 from Wilfred/fix_repeated_callsWilfred Hughes
Fix repeated calls
2018-07-06Don't try to find definitions for primitives if we don't have a source pathWilfred Hughes
Add an assertion to enforce this.
2018-07-06Only kill the buffer once, at the endWilfred Hughes
This saves us having to pass through 'opened'.
2018-07-06Cut repeated calls to helpful--definitionNick Drozd
helpful--definition is slow, so call it just once up front and pass the results around to the functions that need them. This is not very elegant, but the performance increase is worth it. This also reduces helpful's sometimes-noisy output by calling certain noisy file-opening functions less often. Fixes #127
2018-07-06Minor refactor in -can-edebug-pNick Drozd
callable-p comes before the let binding in the conjunction, so it's guaranteed to be true when the let binding occurs. This minor, unimportant change will make a more important change easier to follow.
2018-07-06Handle anonymous functions in keymapsWilfred Hughes
In future, we could explore showing the source code rather than just saying it's a function. For now, just fix the crash. Fixes #133.
2018-07-06Allow viewing callees from a function tooWilfred Hughes
2018-06-30Fix helpful--keymap-keys to handle smerge-mode-map (#131)Nick Drozd
According to the Elisp manual, a keymap can contain a binding of the form (TYPE ITEM-NAME . BINDING). helpful wasn't checking for that form, so it crashed for maps like smerge-mode which contain it. The manual also mentions a few other forms, including (TYPE ITEM-NAME HELP-STRING . BINDING). I haven't come across that, and this fix wouldn't handle it. Personally, I'd prefer to deal with the weird cases as they arise, as having a concrete instance gives me more confidence that the code handles it correctly.
2018-06-29Support pretty view of hook values tooWilfred Hughes
Fixes #129
2018-06-29Offer a prettier view for strings and keymapsWilfred Hughes
We show the literal view by default, but provide a toggle button to switch to the pretty view. Fixes #122
2018-06-27Improve the helpful group definitionWilfred Hughes
Don't make the helpful its own parent, and add a link to the homepage. Fixes #125
2018-06-19Roll versionWilfred Hughes