summaryrefslogtreecommitdiff
path: root/elisp
AgeCommit message (Collapse)Author
2011-01-25Company fixes (module name completion)Jose Antonio Ortega Ruiz
We were not handling properly mixing id and module names completion. In Guile, it's a lost cause, because module names are not identifiers and, therefore, don't share prefixes. In Racket, things are nicer in that respect: there we can offer both at once. In Guile, one at least has (thanks to this patch, too) M-`.
2011-01-24company-mode fixes (an attempt to fix #32231)Jose Antonio Ortega Ruiz
i hope the anonymous reporter will check this...
2011-01-23Fix for bug in module name completion (affecting Guile)Jose Antonio Ortega Ruiz
2011-01-23geiser-repl--tab -> geiser-repl-tab-dwimJose Antonio Ortega Ruiz
Following a suggestion by M. Harig, and following the policy that it's better for command names to not be doubly hyphenated.
2011-01-11C-c C-Z -> C-c C-aJose Antonio Ortega Ruiz
Since C-c C-z/Z apparently conflict with each other, and the new keybinding is more friendly anyway.
2011-01-09Docstring typosJose Antonio Ortega Ruiz
Mark, 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))
2011-01-07REPL: M-TAB bound to completion-at-pointJose Antonio Ortega Ruiz
TAB already does all the other stuff.
2011-01-07REPL: fix for history navigationJose Antonio Ortega Ruiz
We were using a comint-get-old-input function that was including the prompt in its returned value. This was no problem most of the time because we don't use comint-send-input before the process mark, but there's another circumstance under which comint-get-old-input is called, namely, when reaching the end of the input history. When history is exhausted, the "old input" is inserted (go figure), and we were inserting a prompt, wreaking havoc with its read-only-ness.
2011-01-03Really avoiding *spurious* buffersJose Antonio Ortega Ruiz
My previous attempt was bogus! Also, i'm taking advantage of our sending queries serially to simplify transaction queue processing, and to clean after ourserlves on error.
2011-01-02More robust symbol reading (instead of specializing for quack)Jose Antonio Ortega Ruiz
Let's use the scheme reader instead of half-assed regular expressions and special-casing.
2011-01-02More quackismsJose Antonio Ortega Ruiz
2011-01-02Fix for quack usersJose Antonio Ortega Ruiz
Apparently, quack makes (thing-at-point 'symbol) to return "#" when point is looking at a hash symbol, causing havoc to geiser. This patch defends us about this behaviour.
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-28Bug fix for postfix error message display in debug bufferJose Antonio Ortega Ruiz
The message and the evaluated expression where getting mixed for Guile.
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-12-28Bug fix: autodoc was skipping some identifiersJose Antonio Ortega Ruiz
Namely, those with non-letters in their name, because we were using "%S" instead of "%s" to stringify uninterned symbols.
2010-12-28Bug fix: properly enqueue requestsJose Antonio Ortega Ruiz
I've observed that autodoc requests in connections to tekuti processes often miss their deadline. This was causing serialization problems, fixed (i think) by this patch; but we still have the problem of too many misses, which could be fixed by making autodoc asynchronous (and we probably need this for really remote connections anyway).
2010-12-18Missing autoload for connect-to-racketJose Antonio Ortega Ruiz
Maybe i should bite the bullet and use ##autoload cookies, but then geiser.el would need to be a generated file, breaking out-of-the-boxness (unless i update it by hand). Sticking to manual maintenance for now.
2010-12-15A quack compatibility bitJose Antonio Ortega Ruiz
If quack-mode is active, we leave additional font locking to it.
2010-12-14Debugging aidsJose Antonio Ortega Ruiz
A couple functions to manage logs, and a fix to the definition of geiser-messages-mode: do not ever kill all local variables in a derived mode definition!
2010-12-14No more vicious error circle on tq errorsJose Antonio Ortega Ruiz
I've eliminated the annoying *spurious* popup produced by tq, so that Geiser can recover from error conditions arising from unexpected input to a transaction queue that has no active transaction. We now log the offending input and keep going. Greg, over at racket's list, reported such a happening when leaving the REPL after C-u C-c C-z; but i've been unable to reproduce the problem. Probably, we have a bug lurking somewhere that this patch doesn't fix, but at least it should work as a palliative.
2010-12-11Make the position of long expressions in debug buffer customizableJose Antonio Ortega Ruiz
This is Emacs, after all.
2010-12-11Print long expressions after errors in debug buffer.Jose Antonio Ortega Ruiz
You won't believe it, but people write procedures spanning several pages, even in Scheme. Where's the art and the poetry of programming?
2010-11-30Locals scanning: support for let-values and let*-valuesJose Antonio Ortega Ruiz
... and i haven't yet refactored `geiser-syntax--scan-locals', oh my.
2010-11-29Fixes for locals scanningJose Antonio Ortega Ruiz
... using the new non-interning reader. Plus scanning for case-lambda and syntax-rules. `geiser-syntax--scan-locals' is in danger of refactoring, specially if we add support for let-values.
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-28Avoiding keyword internalisationJose Antonio Ortega Ruiz
We were still internalizing scheme _keywords_ in the elisp reader.
2010-11-28Doc browser nitJose Antonio Ortega Ruiz
2010-11-27Fix for xref sorting by moduleJose Antonio Ortega Ruiz
Since, you know, module names are now uninterned symbols.
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-26A couple of uses of intern replaced by make-symbolJose Antonio Ortega Ruiz
These ones seem safe: the resulting symbol is not compared for equality anywhere.
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-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-26Doc browser: better link highlightingJose Antonio Ortega Ruiz
We were adding extra spaces to function signatures.
2010-11-26NitJose Antonio Ortega Ruiz
2010-11-26Revert "Bug fix: don't intern symbols read by scheme reader"Jose Antonio Ortega Ruiz
This reverts commit 801422d1558f488059ede4f9abab5163ca610900. We cannot blindly substitute make-symbol for intern in the scheme reader, because we rely on symbol equality elsewhere, often. The fix will have to be much more careful.
2010-11-26Bug fix: don't intern symbols read by scheme readerJose Antonio Ortega Ruiz
We were calling `intern' instead of `make-symbol', polluting emacs' obarray.
2010-11-26Racket: more information in symbol documentationJose Antonio Ortega Ruiz
When the symbol is imported and re-exported by a second module, we display its definition name and original module, besides the name of the module re-exporting it.
2010-11-25Bug fix: unbreaking the doc browserJose Antonio Ortega Ruiz
2010-11-25Link to symbol's module in doc browserJose Antonio Ortega Ruiz
But i should really refactor this: module and value are (or can be) already available in the response coming from Scheme.
2010-11-25Tidier titles for doc browserJose Antonio Ortega Ruiz
Just justifying and indenting them.
2010-11-25Completion: respecting tab-always-indentJose Antonio Ortega Ruiz
... and actually using it to implement geiser-smart-tab-mode. Always nice to un-reinvent-the-wheel.
2010-11-25First stab at using Emacs' standard completion mechanismJose Antonio Ortega Ruiz
Besides removing code i didn't understand that well, we bring in goodies such as partial completion. Jolly.