From: "Karl Hasselström" <kha@treskal.com>
To: Catalin Marinas <catalin.marinas@gmail.com>
Cc: git@vger.kernel.org, "David Kågedal" <davidk@lysator.liu.se>
Subject: [StGit PATCH] Homogenize buffer names
Date: Thu, 24 Jan 2008 08:55:59 +0100 [thread overview]
Message-ID: <20080124075530.25461.20753.stgit@yoghurt> (raw)
It was driving me crazy that I couldn't tab-complete "*stg" to
"*stgit*" because there was always a "*stgit edit*" buffer lying
around.
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
David, do you agree with this fix?
contrib/stgit.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/stgit.el b/contrib/stgit.el
index 4d0faca..e8bbb2c 100644
--- a/contrib/stgit.el
+++ b/contrib/stgit.el
@@ -293,7 +293,7 @@ Commands:
(let ((patch (if (stgit-applied-at-point)
(stgit-patch-at-point)
(error "This patch is not applied")))
- (edit-buf (get-buffer-create "*stgit edit*"))
+ (edit-buf (get-buffer-create "*StGit edit*"))
(dir default-directory))
(log-edit 'stgit-confirm-edit t nil edit-buf)
(set (make-local-variable 'stgit-edit-patch) patch)
@@ -313,7 +313,7 @@ Commands:
(defun stgit-new ()
"Create a new patch"
(interactive)
- (let ((edit-buf (get-buffer-create "*stgit edit*")))
+ (let ((edit-buf (get-buffer-create "*StGit edit*")))
(log-edit 'stgit-confirm-new t nil edit-buf)))
(defun stgit-confirm-new ()
@@ -352,7 +352,7 @@ Commands:
(defun stgit-coalesce (patch-names)
"Run stg coalesce on the named patches"
(interactive (list (stgit-marked-patches)))
- (let ((edit-buf (get-buffer-create "*stgit edit*"))
+ (let ((edit-buf (get-buffer-create "*StGit edit*"))
(dir default-directory))
(log-edit 'stgit-confirm-coalesce t nil edit-buf)
(set (make-local-variable 'stgit-patches) patch-names)
next reply other threads:[~2008-01-24 7:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 7:55 Karl Hasselström [this message]
2008-01-24 8:51 ` [StGit PATCH] Homogenize buffer names David Kågedal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080124075530.25461.20753.stgit@yoghurt \
--to=kha@treskal.com \
--cc=catalin.marinas@gmail.com \
--cc=davidk@lysator.liu.se \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).