[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 3993d13 020/215: Respect shortkey mode setting
From: |
Rocky Bernstein |
Subject: |
[elpa] master 3993d13 020/215: Respect shortkey mode setting |
Date: |
Sat, 30 Jul 2016 14:48:49 +0000 (UTC) |
branch: master
commit 3993d136ec480545abd59fb84cf8d8fcb6707142
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Respect shortkey mode setting
Add FSF copyright
---
realgud/common/buffer/command.el | 16 +++++++++++++++-
realgud/common/track.el | 18 +++++++++++++-----
2 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/realgud/common/buffer/command.el b/realgud/common/buffer/command.el
index b49019f..67eca06 100644
--- a/realgud/common/buffer/command.el
+++ b/realgud/common/buffer/command.el
@@ -1,5 +1,19 @@
+;; Copyright (C) 2015 Free Software Foundation, Inc
+;; Author: Rocky Bernstein <address@hidden>
+
+;; 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/>.
;;; process-command buffer things
-;;; Copyright (C) 2010-2012, 2014-2015 Rocky Bernstein <address@hidden>
(require 'load-relative)
(require 'json)
diff --git a/realgud/common/track.el b/realgud/common/track.el
index 24a531d..a087615 100644
--- a/realgud/common/track.el
+++ b/realgud/common/track.el
@@ -97,6 +97,9 @@ marks set in buffer-local variables to extract text"
(if (and realgud-track-mode (realgud-cmdbuf? (current-buffer)))
(let* ((cmd-buff (current-buffer))
(cmd-mark (point-marker))
+ (shortkey
+ (realgud-cmdbuf-info-src-shortkey?
+ realgud-cmdbuf-info))
(curr-proc (get-buffer-process cmd-buff))
(cmdbuf-last-output-end
(realgud-cmdbuf-info-last-input-end realgud-cmdbuf-info))
@@ -115,7 +118,7 @@ marks set in buffer-local variables to extract text"
(realgud-cmdbuf-info-last-input-end= last-output-start)
(realgud:track-from-region last-output-start
last-output-end cmd-mark cmd-buff
- 't 't))
+ shortkey 't))
)
)
)
@@ -129,10 +132,15 @@ marks set in buffer-local variables to extract text"
(if realgud-track-mode
(lexical-let* ((cmd-buff (current-buffer))
(cmd-mark (point-marker))
- (loc (realgud:track-from-region eshell-last-output-start
- eshell-last-output-end
cmd-mark)))
- (realgud-track-loc-action loc cmd-buff 't)))
- )
+ (shortkey
+ (realgud-cmdbuf-info-src-shortkey?
+ realgud-cmdbuf-info))
+ (loc (realgud:track-from-region
+ eshell-last-output-start
+ eshell-last-output-end cmd-mark cmd-buff
+ shortkey)))
+ (realgud-track-loc-action loc cmd-buff 't shortkey))
+ ))
(defun realgud-track-term-output-filter-hook(text)
"An output-filter hook custom for ansi-term shells. Find
- [elpa] master 2f66cb0 007/215: Make realugd:process-filter-save buffer local, (continued)
- [elpa] master 2f66cb0 007/215: Make realugd:process-filter-save buffer local, Rocky Bernstein, 2016/07/30
- [elpa] master 3e9e1ac 005/215: Work on filtering eval output, Rocky Bernstein, 2016/07/30
- [elpa] master b7adbc0 019/215: DRY Comment no longer relvant, Rocky Bernstein, 2016/07/30
- [elpa] master 1924ded 012/215: Try to fix travis #3, Rocky Bernstein, 2016/07/30
- [elpa] master 67ccb9c 009/215: Reassign copyright to FSF in recently change files, Rocky Bernstein, 2016/07/30
- [elpa] master 6e2a612 017/215: Need more stringent cmdbuf setup, Rocky Bernstein, 2016/07/30
- [elpa] master a02f3cd 006/215: Bind RET in shortkey to repeat-last; add FSF (C), Rocky Bernstein, 2016/07/30
- [elpa] master 345c67c 014/215: eval.el: issue #40, Rocky Bernstein, 2016/07/30
- [elpa] master 9e2656a 029/215: Correct nodejs/init.el bugs - sync with master, Rocky Bernstein, 2016/07/30
- [elpa] master 9cf5e4d 028/215: Add breakpoint set to nodejs, Rocky Bernstein, 2016/07/30
- [elpa] master 3993d13 020/215: Respect shortkey mode setting,
Rocky Bernstein <=
- [elpa] master 3a0b837 022/215: Update README.md to note that we can use in eshell, Rocky Bernstein, 2016/07/30
- [elpa] master 886f741 024/215: Make sure we go into realgud-track mode when we have custom mode, Rocky Bernstein, 2016/07/30
- [elpa] master dc0b45b 034/215: Revert "Squelch one of the many compiler warnings", Rocky Bernstein, 2016/07/30
- [elpa] master b8d8686 032/215: Squelch one of the many compiler warnings, Rocky Bernstein, 2016/07/30
- [elpa] master 266e5df 021/215: Small error message grammar correction, Rocky Bernstein, 2016/07/30
- [elpa] master e2c3271 015/215: Minimal support for running under eshell, Rocky Bernstein, 2016/07/30
- [elpa] master 33bfa6f 033/215: Squelch one of the many compiler warnings, Rocky Bernstein, 2016/07/30
- [elpa] master 395db6d 016/215: Simplify eshell/comint/shell mode testing., Rocky Bernstein, 2016/07/30
- [elpa] master 2acb30c 031/215: Start js lang. add js backtrace regexp, Rocky Bernstein, 2016/07/30
- [elpa] master 1868152 025/215: core.el: remove duplicate command buffer creation, Rocky Bernstein, 2016/07/30