aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-22Show preceding comments and autoload cookies in source0.10Wilfred Hughes
2018-05-22Silence warning about undefined imenu variableWilfred Hughes
2018-05-10Don't highlight very large code snippetsWilfred Hughes
This stops big code excerpts hanging Emacs when using helpful. Fixes #107.
2018-04-29When navigating to a reference, scroll to put it at the topWilfred Hughes
For big functions, the part of the code that actually has the reference might be later. By putting the function at the top, we maximise the chance that it's visible.
2018-04-28Updated screenshot with more features shownWilfred Hughes
2018-04-28Ignore widget-global-mapWilfred Hughes
2018-04-28When visiting a reference, temporarily highlight the symbolWilfred Hughes
2018-04-28Smoke test for helpful-visit-referenceWilfred Hughes
2018-04-28Ensure we don't linkify escaped backticksWilfred Hughes
Fixes #93
2018-04-28Restoring undercoverWilfred Hughes
This was removed in 4c229bed9d0944f.
2018-04-28Add unit tests for helpful--bound-pWilfred Hughes
2018-04-28Load signature from functions that (declare ...) the signatureWilfred Hughes
Fixes #104.
2018-04-28It is now 2018Wilfred Hughes
2018-04-07Merge branch 'linkify'Wilfred Hughes
Closes #91.
2018-04-07Also linkify bare URLsWilfred Hughes
2018-04-07Add unit test for linkifying URLsWilfred Hughes
2018-04-07Linkify URLs in documentation stringsSean Allred
URLs written as URL `some-url' is transformed into a button URL some-url with `some-url' being the button. The URL "some-url" is passed to `browse-url' as the action (i.e., `(browse-url "some-url")'). The positioning of `helpful--propertize-links' inside `helpful--format-docstring' is of some importance; the call to `helpful--propertize-quoted' presently catches `some-url' as a symbol and deals with it as such. We need to look for URLs before symbols.
2018-03-31Roll versionWilfred Hughes
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