[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud 6acb987 50/72: Add comments
From: |
Stefan Monnier |
Subject: |
[elpa] externals/realgud 6acb987 50/72: Add comments |
Date: |
Fri, 26 Mar 2021 22:49:11 -0400 (EDT) |
branch: externals/realgud
commit 6acb9872c5efc7b303658674642d94665b15438a
Author: 813 <813gan@protonmail.com>
Commit: 813 <813gan@protonmail.com>
Add comments
---
realgud/common/buffer/command.el | 1 +
realgud/common/buffer/locals.el | 22 +++++++++++++++++++++-
realgud/common/locals-mode.el | 18 ++++++++++++++++++
3 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/realgud/common/buffer/command.el b/realgud/common/buffer/command.el
index 89baf72..8879708 100644
--- a/realgud/common/buffer/command.el
+++ b/realgud/common/buffer/command.el
@@ -580,6 +580,7 @@ command-process buffer has stored."
)
(defun realgud-get-info (key &optional opt-buffer)
+ "Convinient function for getting data from realgud-cmdbuf-info."
(let* ((buffer (or opt-buffer (current-buffer)))
(cmdbuf (realgud-get-cmdbuf buffer)))
(if cmdbuf
diff --git a/realgud/common/buffer/locals.el b/realgud/common/buffer/locals.el
index 3c5dae5..8f4aa8f 100644
--- a/realgud/common/buffer/locals.el
+++ b/realgud/common/buffer/locals.el
@@ -1,9 +1,29 @@
+;;; Locals buffer
+
+;; Author: 813gan
+
+;; This program is free software: you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
+
(require 'load-relative)
(require-relative-list
'("helper") "realgud-")
(require-relative-list
'("command") "realgud-buffer-")
+;; Local variable for easier buffer identification
+;; "realgud-locals-init" will set it to "'locals"
(make-variable-buffer-local (defvar realgud-buffer-type))
(cl-defstruct realgud-locals-info
@@ -44,7 +64,7 @@ ARGS - arguments for command"
(cdr (split-string realgud-track-divert-string "\n" t)) )) ))
(defun realgud-locals-init ()
- "Create locals buffer."
+ "Create locals buffer and fill it for first time."
(let ((cmdbuf (realgud-get-cmdbuf)))
(with-current-buffer-safe cmdbuf
(let ((locals-buffer (get-buffer-create
diff --git a/realgud/common/locals-mode.el b/realgud/common/locals-mode.el
index b913581..4b3ec81 100644
--- a/realgud/common/locals-mode.el
+++ b/realgud/common/locals-mode.el
@@ -1,3 +1,21 @@
+;;; Locals buffer
+
+;; Author: 813gan
+
+;; This program is free software: you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
+
(require 'load-relative)
(require-relative-list
'("helper" "buffer/locals") "realgud-")
- [elpa] externals/realgud 8064615 12/72: 10th travis try, (continued)
- [elpa] externals/realgud 8064615 12/72: 10th travis try, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 3e11e2a 20/72: Travis has changed - attempted fix #2, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 2cca776 30/72: Merge pull request #259 from JohnC32/master, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 5a5381f 26/72: Travis has changed - attempted fix #8, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 690385d 28/72: gdb: handle ANSI escape codes, relative paths, blacklist, and doc fix, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 74c2780 39/72: Add a missing require-relative in gdb.el, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud f70405f 38/72: Correct some declare-function locations, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 7e940af 40/72: debbugers: Fix void realgud:run-process error in gdb and gub., Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 493a4da 41/72: Merge pull request #270 from Apteryks/fix-unbound-realgud-run-process, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud f23d0c8 49/72: allow displaying multi-line values, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 6acb987 50/72: Add comments,
Stefan Monnier <=
- [elpa] externals/realgud 843885c 52/72: fix function declaration to calm down travis, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud de31e77 55/72: Merge pull request #276 from 813gan/locals-window-v2.1, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 75a6e60 56/72: Fix #275. Add srcbuf-mode to allow cleaning up shortcuts at quit., Stefan Monnier, 2021/03/26
- [elpa] externals/realgud d496bcd 57/72: add test/test-keymap-cleanup.el for #275, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 5b0ed08 58/72: Merge pull request #277 from 813gan/fix_gh275, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 858b902 66/72: Merge pull request #286 from 813gan/fix_locales_reload, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 72cb88d 68/72: fix issue: failed to load file realgud/common/helper., Stefan Monnier, 2021/03/26