aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-31Use the default Emacs pretty-printer0.9Wilfred Hughes
This is generally more robust, faster, with more attractive results. Also gracefully handle the user quitting during pretty-printing (common for large lists like load-history).
2018-03-31Ensure we can find the definitions of interactively defined functionsWilfred Hughes
2018-03-29Handle 'info anchor' references tooWilfred Hughes
2018-03-29Better wording of references when dealing with primitivesWilfred Hughes
2018-03-16Fix keymap rendering with prefix keysWilfred Hughes
See projectile-mode for an example.
2018-03-16Handle aliases separatelyWilfred Hughes
If a symbol is a variable or function alias, say so, and provide a link to the underlying symbol. Ensure the source code is the alias definition, not the definition of the underlying function/variable. Fixes #98
2018-03-12Mark new variable buffers as openedWilfred Hughes
Fixes #101
2018-03-12Split helpful--definition test into two distinct testsWilfred Hughes
2018-03-03Roll versionWilfred Hughes
2018-03-02Allow users to specify the function used to display the buffer0.8Wilfred Hughes
Fixes #90 Closes #92
2018-03-02Fix references to top-level formsWilfred Hughes
Previoiusly helpful--outer-sexp assumed point was inside a form, so returned the wrong sexp for top-level forms.
2018-02-20Don't show a version if no version has been specifiedWilfred Hughes
If a symbol is obsolete but we don't know when, just say obsolete.
2018-02-20Update changelogWilfred Hughes
2018-02-20Improve wordingWilfred Hughes
"without source code" is confusing when we have the raw function object. We show that, so users do see some source code. However, we don't have the source file, so we don't have the source code with the original macros and comments. Clarify that we're just showing the function object itself. Fixes #97.
2018-02-20Navigate to the position tooWilfred Hughes
2018-02-20Support functions defined in non-file buffersWilfred Hughes
2018-02-18Ensure we still show the source code of the functionWilfred Hughes
This was broken for symbol in the previous commit.
2018-02-17Handle unnamed functions bound to keysWilfred Hughes
Fixes #96.
2018-02-17Fix broken testWilfred Hughes
2018-02-15Only call indirect-function for functionsWilfred Hughes
Otherwise, if SYM is both a function and a variable, we show the function definition if we can't find the variable definition.
2018-02-14Fix a crash for functions whose body ends with a symbolWilfred Hughes
2018-02-10Mention aliases tooWilfred Hughes
2018-02-10Roll versionWilfred Hughes
2018-02-10Update screenshots0.7Wilfred Hughes
2018-02-10Display keymap references in docstringsWilfred Hughes
2018-02-04Require f.el (#95)Sean Allred
2018-01-20Show a summary of the function/macro or variableWilfred Hughes
This solves a number of problems: 1. It gives a link to the source code at the top of the buffer, for users who want to jump to that quickly. See discussion in #67. 2. It favours giving the filename of the source code in the beginning of the buffer, as discussed in #69. However, we still show the full path in the source code section. This avoids confusion when users have upgraded built-in libraries (e.g. org-mode in ~/.emacs.d/elpa). 3. It ensures that buttons to source code files always jump to the definition location wherever possible. 4. It highlights functions that are interactive or autoloaded, and links to the relevant parts of the manual to clarify what that means.
2018-01-20Ensure we handle edebug info correctlyWilfred Hughes
edebug info may be a marker or a list, ensure we handle both.
2018-01-20Be defensive against missing primitive source codeWilfred Hughes
If find-function-C-source-directory isn't set, or if it's set to a directory that contains source to a different Emacs version, just return nil from helpful--definition.
2018-01-20More robust `foo' handling in docstring highlightingWilfred Hughes
This fixes a number of issues spotted in the docstring of vhdl-mode.
2018-01-15Don't error if a symbol is only defined in a .elc fileWilfred Hughes
Fixes #88
2018-01-11Roll versionWilfred Hughes
2018-01-11Don't prompt the user about unsafe buffer-local variables0.6Wilfred Hughes
When we are opening a buffer for source code, we're essentially in batch mode.
2018-01-11Ensure we link command references in variable docstrings tooWilfred Hughes
Previously the variable docstring had already been passed through substitute-command-keys and it was too late for our button conversion.
2018-01-07Allow running ERT tests found in property listsWilfred Hughes
2018-01-07Fix buffer cleanupWilfred Hughes
The refactoring in 53dd618 checked that 'created' was t before we actually set 'created'.
2018-01-07Error on unbound symbolsWilfred Hughes
2018-01-07Fix unused argumentWilfred Hughes
2018-01-07Stricter regexps for highlighting `foo' in docstringsWilfred Hughes
Previously, the regexp was greedy, so we would erroneously highlight: `foo `bar' as a single symbol. Fixes #87.
2018-01-02Kill old buffers according to recency of useWilfred Hughes
2018-01-02Silence byte-compiler warningWilfred Hughes
2018-01-01Add make-button functionsNick Drozd
2018-01-01Use sym-type in advice stringNick Drozd
2018-01-01Consolidate whitespaceNick Drozd
2018-01-01Add helpful--calculate-referencesNick Drozd
2018-01-01Handle keymap references in docstringsWilfred Hughes
Fixes #83.
2018-01-01Better handling of keybindingsWilfred Hughes
Look at all keymaps in global variables, so we don't miss keymaps like `minibuffer-local-map`. Ignore inherited keybindings. Ignore menu bar items (I don't find them useful at least). Refactor global keybinding logic, as the global-map variable means we don't need to treat global keybindings as a special case.
2017-12-31Minor refactoringWilfred Hughes
2017-12-31Remove side-effect-free statement (#81)Johann Klähn
2017-12-31Add imenu supportWilfred Hughes
Fixes #24. This is much inspired by the sample code given by @xenodium in issue #36. Thanks! :)