[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud 6d521e9 080/140: Customize compilation-find-fil
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud 6d521e9 080/140: Customize compilation-find-file... |
Date: |
Sat, 25 May 2019 19:35:38 -0400 (EDT) |
branch: externals/realgud
commit 6d521e9d96a500e410cb10ea38f2334d1ee6ca34
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Customize compilation-find-file...
to say this is a source-code file, not a file with an error in it.
---
realgud/common/file.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/realgud/common/file.el b/realgud/common/file.el
index 1758188..64a85ad 100644
--- a/realgud/common/file.el
+++ b/realgud/common/file.el
@@ -26,16 +26,17 @@
(declare-function compilation-find-file 'compile)
(declare-function realgud-cmdbuf-info-ignore-re-file-list=
'realgud-buffer-command)
-;; (defcustom realgud-file-find-function 'realgud:find-file
-(defcustom realgud-file-find-function 'compilation-find-file
+(defcustom realgud-file-find-function 'realgud:find-file
+;;(defcustom realgud-file-find-function 'compilation-find-file
"Function to call when we can't easily find file"
:type 'function
:group 'realgud)
-;; (defun realgud:find-file (marker filename directory &rest formats)
-;; "A wrapper around compilation find-file."
-;; (let ((compilation-error "source-code file"))
-;; (compilation-find-file marker filename directory formats)))
+(defun realgud:find-file (marker filename directory)
+ "A wrapper around compilation find-file. We set the prompt
+ to indicate we are looking for a source-code file."
+ (let ((compilation-error "source-code file"))
+ (compilation-find-file marker filename directory "%s")))
(defun realgud:file-line-count(filename)
"Return the number of lines in file FILENAME, or nil FILENAME can't be
- [elpa] externals/realgud b4ff2c3 092/140: Check major mode with derived-mode-p, (continued)
- [elpa] externals/realgud b4ff2c3 092/140: Check major mode with derived-mode-p, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud b78f3b9 091/140: Merge pull request #214 from xuchunyang/master, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud d25fd0e 090/140: Remove pdb alias, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 0a3befb 079/140: File remap is session specific..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud da2a74b 101/140: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ad64b70 081/140: Correct testing for API change..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud dc349f8 075/140: Make calls consistent in light of changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f966711 093/140: Merge pull request #217 from muffinmad/patch-1, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 251eb8c 070/140: Small changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 09431a4 076/140: Commit stable version before a minor upheaval, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 6d521e9 080/140: Customize compilation-find-file...,
Rocky Bernstein <=
- [elpa] externals/realgud d24996a 082/140: Administrivia Add seq to el-get..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 388a650 077/140: Sync with savanah ELPA, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f851166 089/140: Bug in kshdb initialization, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 0ea8a13 094/140: Track breakpoing deletion, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud bb967ed 096/140: Add tbreak as per break, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 555282f 084/140: TravisCI 3rd try, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 542e51c 097/140: Merge pull request #220 from MaskRay/tbreak, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 51979d2 099/140: Merge pull request #221 from MaskRay/ex, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 4bcbb89 095/140: Last commit introduced a couple of bugs, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ba85207 103/140: Add realgud:js-file-line-loc-pat, Rocky Bernstein, 2019/05/25