aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-21Add missing newline for consistent formattingWilfred Hughes
2017-12-21Convert command keys references to buttonsWilfred Hughes
2017-12-21Remove completed todoWilfred Hughes
2017-12-21Ensure we copy strings before creating buttonsWilfred Hughes
This should fix #74 and #68, as well as abo-abo/swiper#1380. make-text-button calls add-text-properties, which mutates the string we passed in. If we also use this string with find-file, we end up calling find-file with propertized strings. Perhaps recentf should be more robust against propertized strings, but fixing it in helpful is reasonable and clean.
2017-12-18Tweak button wordingWilfred Hughes
2017-12-18Show symbol properties last, as they're the least usefulWilfred Hughes
2017-12-18Show aliasesWilfred Hughes
Closes #27
2017-12-18Fix incorrect echo text due to copy-pastingWilfred Hughes
2017-12-18Support newlines in Info node referencesWilfred Hughes
See indirect-function for an example
2017-12-18Allow users to specify the path to Emacs C source codeWilfred Hughes
2017-12-18Future performance workWilfred Hughes
2017-12-18Fix debugging section when we can only traceWilfred Hughes
2017-12-17Add missing requireWilfred Hughes
2017-12-16Enable function tracing from Helpful buffersWilfred Hughes
2017-12-16Tweak wording following feedback in #67Wilfred Hughes
'References' is ambiguous: we're talking about references excluding the definition itself. Clarify the wording when we don't find any other references.
2017-12-16Make tests quieterWilfred Hughes
2017-12-16Don't crash when the underlying buffer has been killedWilfred Hughes
2017-12-16Make it easier to download emacs source codeWilfred Hughes
2017-12-16Improve docstringWilfred Hughes
2017-12-16Add unit tests for helpful--pretty-printWilfred Hughes
Ensure #54 stays fixed.
2017-12-16Fix crash on variables containing keyword plistsWilfred Hughes
cl-prettyprint calls lisp-indent-line. This function uses calculate-lisp-indent, which relies on forward-sexp. If we're not in lisp-mode, forward-sexp does not move by the right amount. Closes #54
2017-12-16Propertize references to Info nodesWilfred Hughes
Closes #32
2017-12-16Don't roll our own properties removalWilfred Hughes
2017-12-16Factoring out a helpful--propertize-symbols worker functionWilfred Hughes
2017-12-16Ensure that we use the buffer-local value of varsWilfred Hughes
2017-12-14Next version will be 0.5Wilfred Hughes
2017-12-14Ensure that we don't call find-file with propertized strings0.4Wilfred Hughes
This breaks recentf, as it serialises the propertized string to a file ~/.recentf and then Emacs can't read the file on startup. Fixes #68.
2017-12-14Emulate eval-expression more closely when reading new valuesWilfred Hughes
Put point at the beginning of the new value, and run eval-expression-minibuffer-setup-hook so things like paredit get enabled.
2017-12-14Ensure enabling and disabling edebug works as expectedWilfred Hughes
Edebug requires the source buffer to exist, so ensure we preserve the source buffer when edebugging. Ensure helpful--can-edebug-p returns the correct value, even if the source buffer was not freshly created.
2017-12-13Don't offer Forget for primitivesWilfred Hughes
2017-12-13Fix crash on definition of primitive variablesWilfred Hughes
2017-12-13Ensure that we cleanup freshly created buffersWilfred Hughes
This fixes the failing tests. It also ensures that we show the correct source code for primitive functions/special forms. We also use (-let ((foo nil)) ...) rather than (-let ((foo)) ...) or (-let (foo) ...) to work around an edebug issue: https://github.com/magnars/dash.el/issues/256
2017-12-13Allow enabling edebug from helpful buffersWilfred Hughes
2017-12-13Calculate C paths relative to find-function-C-source-directoryWilfred Hughes
Fixes #65
2017-12-12Add unit test for helpful on macrosWilfred Hughes
2017-12-12Add TODOWilfred Hughes
2017-12-11Handle edebug properties being a single markerWilfred Hughes
2017-12-11Add a cleanup command helpful-kill-buffersWilfred Hughes
2017-12-10Don't crash on edebugged functionsWilfred Hughes
2017-12-10Require emacs 25.1+Wilfred Hughes
find-function-library is not defined in earlier versions.
2017-12-10Use the library name, not the raw pathWilfred Hughes
Otherwise, we end up opening the .elc file, which is pointless and leaves leftover buffers.
2017-12-10Update changelogWilfred Hughes
2017-12-10Only try to kill the buffer we've createdWilfred Hughes
If buf (the buffer containing the symbol definition) is nil, we end up killing the current buffer. The current buffer is the buffer that we're trying to write into. Fixes #58
2017-12-10Only prepend whitespace if there was a previous buttonWilfred Hughes
2017-12-10Ensure that we handle interactively defined functionsWilfred Hughes
Also add a test
2017-12-10Ensure we can find the definition of functions even in narrowed buffersWilfred Hughes
2017-12-10Remove completed todoWilfred Hughes
2017-12-10Fix whitespaceWilfred Hughes
2017-12-10Minor tidyingWilfred Hughes
2017-12-10Better handling of special formsWilfred Hughes
Ensure the buffer name is correct, and update the helpful-callable docstrings to mention special forms too. Don't offer to forget special forms -- this will probably break your Emacs instance.