[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-gauche 98c52e6 023/119: Deal with complex key argum
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-gauche 98c52e6 023/119: Deal with complex key arguments |
Date: |
Sun, 1 Aug 2021 18:27:50 -0400 (EDT) |
branch: elpa/geiser-gauche
commit 98c52e662fcea85e0b7af2ddf5ccd2ee36a2ad0f
Author: András Simonyi <andras.simonyi@gmail.com>
Commit: András Simonyi <andras.simonyi@gmail.com>
Deal with complex key arguments
---
geiser.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/geiser.scm b/geiser.scm
index 031ae4c..a6841e1 100644
--- a/geiser.scm
+++ b/geiser.scm
@@ -112,16 +112,18 @@
("module" user)))
(define (process-normal-arg-info arg-info)
- (let* ((required '("required"))
- (optional '("optional"))
- (key '("key"))
- (section :required))
+ (let ((required '("required"))
+ (optional '("optional"))
+ (key '("key"))
+ (section :required))
(dolist (x arg-info)
(if (memq x '(:optional :key :rest))
(set! section x)
(case section
((:optional) (push! optional x))
- ((:key) (push! key x))
+ ((:key) (push! key
+ (let1 sym (if (pair? x) (car x) x)
+ (symbol-append ': sym))))
((:rest) (push! required "..."))
(else (push! required x)))))
(map (cut reverse <>)
- [nongnu] elpa/geiser-gauche b474b09 014/119: Don't filter completions based on context (for now), (continued)
- [nongnu] elpa/geiser-gauche b474b09 014/119: Don't filter completions based on context (for now), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 9dafd9f 079/119: License-related updates, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 04208f5 075/119: Cleanup Cask file, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 687713c 085/119: Update README.md, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche f1ccc62 086/119: Update README.md, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche f9064d8 003/119: Implement get-module and other Emacs functions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche ca7629e 012/119: geieser-gauche fixes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 4cb8586 007/119: Fix gauche prompt regexp, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 5876bc2 018/119: Deal with dotted signatures in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 3fee273 027/119: Get autodoc info from all modules, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 98c52e6 023/119: Deal with complex key arguments,
Philip Kaludercic <=
- [nongnu] elpa/geiser-gauche c9d367e 024/119: Fix complex key argument autodocs, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 5c18e45 030/119: Finish autodoc and symbol signature lookup, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 752a496 031/119: Add code source reference, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 2ef21b4 044/119: Remove a TODO comment, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 762cd22 035/119: Add guessing functions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche fbcd9a4 050/119: Minor fix, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 2002cc0 056/119: Cleanup, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche e406a0e 051/119: Minor fixes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 8a7dc24 064/119: Semicolon aesthetic changes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 73346c2 066/119: Add unsupported procedures list, Philip Kaludercic, 2021/08/01