aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-14Pretty-print primitive values0.15Wilfred Hughes
As of 1d2954b we pretty-print keymaps and hooks by default, but this broke display of variables of other types. Fix that.
2018-10-14Roll versionWilfred Hughes
2018-10-14Add a note in the changelog for 0de7c150.14Wilfred Hughes
2018-10-14Show values as rendered ('pretty') by defaultWilfred Hughes
This is often more useful, especially for hooks. See #160
2018-10-01Add .rs file extension to helpful--primitive-pNick Drozd
This makes it possible to show variables defined in Rust in Remacs. In general I don't like the idea of modifying Elisp to accomodate Remacs, but in this case it seems to be necessary because the "c" is hardcoded. An alternative approach would be to check whether the file is an Elisp file, but that would require exhaustively enumerating possibilities: .el, .el.gz, .elc, and maybe more that I don't know about. This way seems easier, if less elegant.
2018-10-01Fix function aliases of primitive functionsWilfred Hughes
Fixes #159
2018-10-01Enable movement in helpful callee buffersWilfred Hughes
Previously TAB just did nothing, which was less useful.
2018-09-23Merge pull request #157 from nickdrozd/kbdWilfred Hughes
Add support for named keyboard macros
2018-09-23Ensure helpful-mode-map is a keymap (oops!)Wilfred Hughes
2018-09-23Only set the keybindings inside a defvar formWilfred Hughes
Otherwise, users can't run eval-buffer without clobbering their personal keybindings. See discussion in https://github.com/Wilfred/elisp-refs/pull/20 .
2018-09-22Ensure we can go to definitions when the buffer is narrowedWilfred Hughes
Fixes #158
2018-09-21Ensure we don't quote keywords or nil in variable assignment promptWilfred Hughes
2018-09-13Add support for named keyboard macrosNick Drozd
2018-09-13Update changelogNick Drozd
I forgot to do this for the callee-sorting.
2018-09-13Improve button wording based on feedback in #49Wilfred Hughes
2018-09-13More accurate extraction of DEFVAR source codeWilfred Hughes
2018-08-16Merge pull request #153 from nickdrozd/sort-calleesWilfred Hughes
Sort callees
2018-08-16Add helpful--display-callee-groupNick Drozd
Move helpful--sort-symbols into this function because it is faster to sort sublists separately than to sort the whole list at once (right?).
2018-08-16Sort callees into (compound) functions and primitivesNick Drozd
Addresses #150 (at least partially)
2018-08-16Add helpful--sort-symbolsNick Drozd
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.