summaryrefslogtreecommitdiff
path: root/elisp/geiser-autodoc.el
AgeCommit message (Collapse)Author
2020-03-27Mark the beginning of code part of elisp libraries with Code: headingJonas Bernoulli
It's the convention and by following it we make a big step towards supporting outline navigation. The convention doesn't say much about what parts of the code are supposed to be part of that sections and what parts belong in a subsequent section. Here we put the `require' forms in this section and maybe some setup code, that's a popular approach. In most cases there was " " where we now insert "Code:". They both serve a similar purpose and we keep the former because some users depend on that for navigation. We even add this " " in libraries where it previously was missing. In some cases the permission statement was followed by a commentary, which obviously does not belong in the "Code:" section. In such cases add the conventional "Commentary:" section.
2020-03-27Begin the summary lines of all elisp libraries with three semicolonsJonas Bernoulli
It's the convention and by following it we make a big step towards supporting outline navigation.
2016-08-24Making autodoc failures silentJose Antonio Ortega Ruiz
As requested in github issue #173. Seems it's confusing people, which is exactly the problem it was originally trying to avoid!
2015-03-04Using font-lock-variable-name-face in lieu of bold for autodocJose Antonio Ortega Ruiz
For some X faces, a bold string in the modeline causes emacs to widen it to two lines, which is kind of annoying. The default value of font-lock-variable-name-face on color/X displays doesn't include any boldness, and will probably improve the default experience of new users. Thanks to Mario Domenech Goulart for noticing this and the previous one!
2012-10-11WhitespaceJose Antonio Ortega Ruiz
2011-06-23Irrelevant compilation warning fixjao
Using called-interactively-p instead of interactive-p, if you have to know. The latter is deprecated as of Emacs 23.2, which the lowest version supported by Geiser.
2011-06-23Avoid (read) breakage (fixes #33090)jao
Autodoc was firing while the REPL was waiting for input of a (read) call, causing all kinds of misbehaviour. We now inhibit autodoc on sending a form for evaluation and re-inhibit it once a prompt is read back again.
2011-01-09Autodoc mode (de)activation fix.Jose Antonio Ortega Ruiz
Quoth Mark: When the Geiser minor mode is toggled off using the command `geiser-mode', the message: Toggling eldoc-mode off; better pass an explicit argument. is displayed in the echo area. This is traceable to line 219: (eldoc-mode geiser-autodoc-mode) The function `eldoc-mode' takes numeric arguments, while `geiser-autodoc-mode' returns boolean values. Here is a simple patch: (eldoc-mode (if geiser-autodoc-mode 1 -1))
2010-12-30New command: "manual" autodoc (C-c C-d s)Jose Antonio Ortega Ruiz
2010-12-30Autodoc nitJose Antonio Ortega Ruiz
2010-12-28Leaner autodoc cacheJose Antonio Ortega Ruiz
We cannot consistently maintain a local cache, because of re-evaluations of external symbols will go unnoticed. The new strategy (remembering only the latest signatures) mostly works, although it introduces a bit of extra flickering every now and then. A global cache is perhaps worth considering.
2010-12-28Less noisy autodoc mode activationJose Antonio Ortega Ruiz
Only display an activation message when called interactively.
2010-12-28Finer grained maintenance of autodoc's cacheJose Antonio Ortega Ruiz
2010-12-28Avoiding autodoc interfering with an active minibufferJose Antonio Ortega Ruiz
A piece of eldoc advice shamelessly lifted from slime.
2010-12-28Wee refactoringJose Antonio Ortega Ruiz
2010-12-28First stab at asynchronous autodoc retrievalJose Antonio Ortega Ruiz
2010-11-28Autodoc's argument display fixedJose Antonio Ortega Ruiz
It was relying on symbol equality, and not dealing correctly with keyword arguments in this new external world. In the process, some cleanups to the scheme data display code.
2010-11-27No more interning in the scheme readerJose Antonio Ortega Ruiz
We avoid using elisp's read for symbols, reading uninterned ones instead. And then, we cannot use symbols as keys in responses from scheme: we're using strings instead.
2010-11-26Autodoc not interning symbolsJose Antonio Ortega Ruiz
We avoid calling symbol-at-point, and keep the cached signatures with strings as keys.
2010-11-26Doc browser: better link highlightingJose Antonio Ortega Ruiz
We were adding extra spaces to function signatures.
2010-11-21CLisms removedJose Antonio Ortega Ruiz
2010-11-21Did i mention that getting autodoc right is hard?Jose Antonio Ortega Ruiz
2010-11-21Correct display of "..." in autodocJose Antonio Ortega Ruiz
It'd be interesting to check what percentage of commits are related to autodoc...
2010-11-21Even better, as in 'correct', display of autodoc argsJose Antonio Ortega Ruiz
We're being a bit silly here, first converting the autodoc retort string to an elisp value and then reconverting the arguments again to a string with scheme syntax. We should probably do this at geiser-syntax's parser level, with a special mode producing stringy representations of tokens. Don't tell anyone.
2010-11-19Better argument display in autodocJose Antonio Ortega Ruiz
Simpler (we don't need no square brackets) and more correct (keywords display as keywords and we only include default values when available (Guile, i'm looking at you).
2010-10-30Elisp: more flexible parsing of :eval and :ge formsJose Antonio Ortega Ruiz
This allows the implementation decide the concrete structure of the code sent to the REPL. For instance, it doesn't need to be a single s-expression, and argument order can be re-arranged.
2010-10-06Use cl only at compile timeJose Antonio Ortega Ruiz
2010-09-06Autodoc: clean cache upon evaluationJose Antonio Ortega Ruiz
2010-08-11Fixed bug in autodoc signature recognition.Jose Antonio Ortega Ruiz
2010-08-07geiser-font-lock-autodoc-procedure-name -> geiser-font-lock-autodoc-identifierJose Antonio Ortega Ruiz
2010-08-07geiser-autodoc-procedure-name-format -> geiser-autodoc-identifier-formatJose Antonio Ortega Ruiz
2010-07-28Displaying variable values in autodoc.Jose Antonio Ortega Ruiz
2010-06-06Elisp: better fix for previous bug.Jose Antonio Ortega Ruiz
2010-06-06Elisp: fixes for key args display.Jose Antonio Ortega Ruiz
2010-06-06Avoiding duplicates in autodoc arg listsJose Antonio Ortega Ruiz
2010-06-05Better signature parsing (improper arg lists).Jose Antonio Ortega Ruiz
2010-01-28Generic support for debugging prompts in the REPLJose Antonio Ortega Ruiz
2009-11-13Bug fix: displaying signatures correctly in xref buffers.Jose Antonio Ortega Ruiz
2009-10-15Cosmetics.Jose Antonio Ortega Ruiz
2009-09-26Multiple arity display, used by PLT backend (case-lambda).Jose Antonio Ortega Ruiz
2009-09-11Reload: we now remember user customizations and restore them during ↵Jose Antonio Ortega Ruiz
geiser-reload.
2009-09-11BSD relicensing: elisp code.Jose Antonio Ortega Ruiz
2009-08-30Biting the bullet: a simple, permissive, scheme reader.Jose Antonio Ortega Ruiz
Currently put to (let's hope, good) use for context parsing in autodoc and locals discovery (internal defines are recognised now).
2009-08-26Slightly faster autodoc.Jose Antonio Ortega Ruiz
2009-08-25Slightly better autodoc caching (probably needs an overhaul, though).Jose Antonio Ortega Ruiz
2009-08-25Now this is cool: support for company mode.Jose Antonio Ortega Ruiz
2009-08-23Buglet in autodoc's argument display.Jose Antonio Ortega Ruiz
2009-08-23Fixes for all byte-compilation warnings.Jose Antonio Ortega Ruiz
2009-08-17Well, i said that it was better, not that it was perfect.Jose Antonio Ortega Ruiz
Autodoc buglets and support for displaying module variables too.
2009-08-17Simpler, more correct and efficient autodoc implementation.Jose Antonio Ortega Ruiz
Not that it was difficult: it's replacing an ugly kludge.