[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 6324b94 231/284: Configurable keyword case se
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 6324b94 231/284: Configurable keyword case sensitivity |
Date: |
Sun, 1 Aug 2021 18:29:50 -0400 (EDT) |
branch: elpa/geiser-guile
commit 6324b94c9984bb3dc017e8b0119e270c69532688
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Configurable keyword case sensitivity
By default, keywords are now not fontified in Scheme buffers unless
they have the correct (lower) case. This behaviour can be altered by
new, per-implementation customization variables.
Thanks to Diogo F. S. Ramos for pointing this out.
---
elisp/geiser-guile.el | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index 00c44d5..f8c76b7 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -1,6 +1,6 @@
;; geiser-guile.el -- guile's implementation of the geiser protocols
-;; Copyright (C) 2009, 2010, 2011, 2012 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011, 2012, 2013 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -104,6 +104,11 @@ effect on new REPLs. For existing ones, use the command
:type '(repeat string)
:group 'geiser-guile)
+(geiser-custom--defcustom geiser-guile-case-sensitive-p t
+ "Non-nil means keyword highlighting is case-sensitive."
+ :type 'boolean
+ :group 'geiser-guile)
+
(geiser-custom--defcustom geiser-guile-manual-lookup-other-window-p nil
"Non-nil means pop up the Info buffer in another window."
:type 'boolean
@@ -323,11 +328,13 @@ it spawn a server thread."
(defun geiser-guile--info-spec (&optional nodes)
(let* ((nrx "^[ ]+-+ [^:]+:[ ]*")
(drx "\\b")
- (res (when (Info-find-file "r5rs" t) `(("(r5rs)Index" nil ,nrx
,drx)))))
+ (res (when (Info-find-file "r5rs" t)
+ `(("(r5rs)Index" nil ,nrx ,drx)))))
(dolist (node (or nodes geiser-guile-manual-lookup-nodes) res)
(when (Info-find-file node t)
(mapc (lambda (idx)
- (add-to-list 'res (list (format "(%s)%s" node idx) nil nrx
drx)))
+ (add-to-list 'res
+ (list (format "(%s)%s" node idx) nil nrx drx)))
'("Variable Index" "Procedure Index" "R5RS Index"))))))
@@ -364,7 +371,8 @@ it spawn a server thread."
(display-error geiser-guile--display-error)
(external-help guile--manual-look-up)
(check-buffer geiser-guile--guess)
- (keywords geiser-guile--keywords))
+ (keywords geiser-guile--keywords)
+ (case-sensitive geiser-guile-case-sensitive-p))
(geiser-impl--add-to-alist 'regexp "\\.scm$" 'guile t)
- [nongnu] elpa/geiser-guile 0505bde 158/284: REPL: (optionally) forget old errors on new expressions, (continued)
- [nongnu] elpa/geiser-guile 0505bde 158/284: REPL: (optionally) forget old errors on new expressions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4766cbc 163/284: Support for evaluation warnings, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile b1db6b4 168/284: Better REPL exit command, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 7004a73 170/284: Guile: remote REPLs (connect-to-guile), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 0513d1c 177/284: Guile: using meta-commands to talk with Guile, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 7082042 195/284: Elisp support for inferior schemes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 2798902 207/284: Better module help, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 36e105f 215/284: Revert "Bug fix: don't intern symbols read by scheme reader", Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile a6dccbe 223/284: Guile: new option for loading ~/.guile (see issue #32681), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile b81b23c 228/284: Support for user-defined Guile info nodes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 6324b94 231/284: Configurable keyword case sensitivity,
Philip Kaludercic <=
- [nongnu] elpa/geiser-guile 48e2b00 239/284: Scheme version checks, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 6cef62b 250/284: Follow suit and complete quoted symbols in all schemes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile b57f4bb 258/284: Make guile's load-file happier with ~ abrevs, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 8dda28f 284/284: Version bump, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile e1e77ab 067/284: Guile: use the compiler by default to perform evaluations., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4afe5ff 098/284: Guile: bug fix: evaluation works again (1.9.3 or better required)., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile c8d63ff 073/284: Guile: bug fix (missing module import)., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 936a20e 074/284: Fixing the mess during initialization., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4bc26f8 086/284: kludgy fix for opt/key/rest markers in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile d5840a0 093/284: BSD relicensing: elisp code., Philip Kaludercic, 2021/08/01