summaryrefslogtreecommitdiff
path: root/elisp/geiser-edit.el
AgeCommit message (Collapse)Author
2022-10-22debugging commands up to the specific scheme implementationjao
the half backed attempt at standardising guile's model won't work well with other schemes, and it's not really well thought-out anyway: let's guile do its thing, and we'll see what we can do in chez.
2022-10-21fix: long standing bug in regexp recognising columns in error linksjao
2022-10-21more tweaks to regexp signature findingjao
and its use in autodoc (for instance, skip it when in the REPL).
2022-10-16fix: don't signal an error when we find module as an alternativejao
2022-10-16better error when we fail in edit symbol at pointjao
2022-10-16fun with regular expressions for definitions fallbackjao
2022-10-16fix: restore looking for module if symbol's not therejao
2022-10-16little tweak to regexp definitionsjao
it's a bit of a mess and should be using the syntax reader instead, but not sure if it's worth it.
2022-10-16fallback autodoc inferred via cheap regexpsjao
same code that finds putative definitions, with all its caveats
2022-10-15local definition discovery sans imenujao
we already had our own lighter mechanism, just needed to use it better. it will also allow guessing local signatures, quite useful in chezzy (or more generally r6rs-librarish) schemes.
2022-10-14fix: marker stack for jump to modulejao
2022-10-13fixes for the imenu jumping fallbackjao
2022-10-12imenu as a last resort for jumping to definitionjao
... as well as a way of telling imenu to look for nested define forms, as the ones one finds for instance inside (library ...) or (module ...) sexps, or simply nested defines in function bodies. it's a crappy way of finding definitions, but it's better than nothing when it's all we have (e.g., R6RS libraries don't seem to provide an environment/namespace including their privates, which is a killjoy).
2022-10-10jump to location specified as a char posjao
Chez likes to do that, which is fine now.
2022-04-09A bit more tramp-friendlinessjao
Fixes #45. Thanks to Brian Cully.
2021-11-27Fix for file location identification (column number might be missing)jao
2021-04-10Simpler error reporting for symbol lookup failuresjao
2020-04-26Fix typosJonas Bernoulli
2020-03-27Fix indentationJonas Bernoulli
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-01-28C-c \ and C-c [ in geiser-repl tooJose Antonio Ortega Ruiz
With a hat tip to Mikhail Kryshen, who was wondering in guile-user why oh why, and rightly so.
2019-08-14Pushing the correct marker (fixes #279)Jose Antonio Ortega Ruiz
2019-08-07Add error reporting about missing symbols to geiser-edit.elLockywolf
Add (chibi filesystem) import to geiser.sld
2019-08-06Add scheme subroutine to find files implementing modules to chibi.Lockywolf
Add a helper function make-location to chibi interface.
2019-02-10xref-push-marker-stack <- find-tag-marker-ringRyan Desfosses
2013-08-25Let's make it *any* submoduleJose Antonio Ortega Ruiz
So the new functions are named geiser-racket-*-submodules, and by default all submodule forms are hidden. Now that we have the helpers in geiser-edit, we could have a generic command in geiser-mode to change the visibility of form at point.
2013-08-25Racket: new commands to show and hide test submodulesJose Antonio Ortega Ruiz
The new commands, being racket-specific, are called geiser-racket-{show,hide,toggle}-tests, and have no default binding in geiser-mode (since they don't have any meaning in Guile). The implementation is based on more generic functions in geiser-edit that allow hiding of any top-level form, given its name, so we will probably find new forms to hide in the future. Hiding is limited to top-level forms, which i think is fine for the only use case we have in mind right now.
2013-02-03Little cleanups, and C-u variant for the lambda thingJose Antonio Ortega Ruiz
2013-02-03More robust lambda and keybinding to C-c \Jose Antonio Ortega Ruiz
Since C-\ is a standard Emacs binding, and people know how to change it anyway. I've also put the command in the menu for Geiser mode, for discoverability. A pleasant surprise: greek lambdas are understood by both Racket and Guile.
2013-02-03Insert Greek letter lambda.Ray Racine
2012-10-11WhitespaceJose Antonio Ortega Ruiz
2012-07-01Correctly buttonizing paths with leading spaces in DBG buffersJose Antonio Ortega Ruiz
Just adjusting a regexp.
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-26Remove unnecessary calls to symbol-at-pointJose Antonio Ortega Ruiz
... which interns the symbol in the global obarray: rather unfriendly. We still need to remove a few calls to that beast, and avoid intern in the scheme reader.
2010-11-01Better error message for edit-symbol-at-pointJose Antonio Ortega Ruiz
2010-10-31Always fallback to edit-module in M-.Jose Antonio Ortega Ruiz
2010-10-31Fix for geiser-edit-moduleJose Antonio Ortega Ruiz
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-15WhitespaceJose Antonio Ortega Ruiz
2010-09-12Couple nitsJose Antonio Ortega Ruiz
2010-09-07Reuse soruce window when navigating errorsJose Antonio Ortega Ruiz
2010-09-07Make next-error (C-x `) work on debug buffersJose Antonio Ortega Ruiz
2010-09-07Support for evaluation warningsJose Antonio Ortega Ruiz
2010-08-30More docs and a function renamed.Jose Antonio Ortega Ruiz
2010-07-05Racket: following error links in separate window.Jose Antonio Ortega Ruiz
2010-06-12New buttons (source, forward/backward) in document browser.Jose Antonio Ortega Ruiz
2010-06-06Adding define-syntax-rule to heuristics for locating definitions.Jose Antonio Ortega Ruiz
2010-03-15Whitespace.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