[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/graphql-mode 26a5d8a665 043/122: make graphql-current-* fu
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/graphql-mode 26a5d8a665 043/122: make graphql-current-* function, not command. also graphql-begining-of-variables |
Date: |
Sat, 29 Jan 2022 08:03:31 -0500 (EST) |
branch: elpa/graphql-mode
commit 26a5d8a665c16f5daac8506b0d44a6684d963d4d
Author: Tim Shiu <punshiu@fb.com>
Commit: Tim Shiu <punshiu@fb.com>
make graphql-current-* function, not command. also
graphql-begining-of-variables
---
graphql-mode.el | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/graphql-mode.el b/graphql-mode.el
index 5e91075f4f..aa2dcb7afe 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -53,12 +53,14 @@
"Number of spaces for each indentation step in `graphql-mode'."
:tag "GraphQL"
:type 'integer
- :safe 'integerp)
+ :safe 'integerp
+ :group 'graphql)
(defcustom graphql-url "http://localhost:8000/graphql"
"URL address of the graphql server endpoint."
:tag "GraphQL"
- :type 'string)
+ :type 'string
+ :group 'graphql)
(defun graphql--query (query operation variables)
"Send QUERY to the server at `graphql-url' and return the
@@ -93,7 +95,6 @@ response from the server."
(defun graphql-current-query ()
"find out the current query/mutation/subscription"
- (interactive)
(let ((start
(save-excursion
(graphql-beginning-of-query)
@@ -106,7 +107,6 @@ response from the server."
(defun graphql-current-operation ()
"get the name of the query operation"
- (interactive)
(let* ((query
(save-excursion
(replace-regexp-in-string "^[ \t\n]*" "" (graphql-current-query))))
@@ -120,7 +120,6 @@ response from the server."
(defun graphql-current-variables ()
"get the content of graphql variables"
- (interactive)
(let ((variables
(save-excursion
(goto-char (point-max))
@@ -133,7 +132,6 @@ response from the server."
(defun graphql-beginning-of-variables ()
"get the beginning point of graphql variables"
- (interactive)
(save-excursion
(goto-char (point-max))
(search-backward-regexp "^variables" (point-min) t)
- [nongnu] elpa/graphql-mode 22361631a1 111/122: Add documentation, (continued)
- [nongnu] elpa/graphql-mode 22361631a1 111/122: Add documentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 99850e1012 110/122: Don't clobber contents of existing buffer, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 0e723b962e 107/122: Factor in quitting function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 18f749c1bc 106/122: Simplify buffer naming, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 1b78d07aee 092/122: declare request-response--raw-header function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 9740e4027b 122/122: Merge pull request #45 from LaurenceWarne/parameter-fontlock-fix, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode d9fa01b446 004/122: Improve highlight of definitions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 347431ce18 007/122: Fontify fragments, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 836373c72e 010/122: Basic support for imenu, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 497529dd4d 008/122: Fontify query, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 26a5d8a665 043/122: make graphql-current-* function, not command. also graphql-begining-of-variables,
ELPA Syncer <=
- [nongnu] elpa/graphql-mode 6e1f5335fa 030/122: Mention json-mode in the README.md, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 8a4a5fae69 015/122: Fontify field arguments as variable names, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 7798aef2a8 029/122: Fix typo, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 052491e05f 048/122: update variable encoding in post body, ask operation Name if needed, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 83cba48fd8 014/122: Remove unnecessary syntax, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 6017afac92 017/122: Rename graphql.el to graphql-mode.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 7482c1b100 025/122: Add basic commentary, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 36b1a4ed9f 070/122: Merge pull request #16 from emacsjanitors/no-request, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 4b0134a19a 050/122: forget docstring, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 5f2ee4b3b3 024/122: Add melpa badge, ELPA Syncer, 2022/01/29