Message from discussion
Can the quickfix window title be set to the command which generated it?
Received: by 10.52.69.241 with SMTP id h17mr29598226vdu.5.1341776012939;
Sun, 08 Jul 2012 12:33:32 -0700 (PDT)
X-BeenThere: eclim-dev@googlegroups.com
Received: by 10.220.223.77 with SMTP id ij13ls5943302vcb.1.gmail; Sun, 08 Jul
2012 12:33:32 -0700 (PDT)
Received: by 10.52.36.52 with SMTP id n20mr775914vdj.4.1341776012603;
Sun, 08 Jul 2012 12:33:32 -0700 (PDT)
Date: Sun, 8 Jul 2012 12:33:32 -0700 (PDT)
From: Ben Fritz <fritzophre...@gmail.com>
To: eclim-dev@googlegroups.com
Message-Id: <8a896342-ba86-44cd-8f6c-02fd290d1a51@googlegroups.com>
In-Reply-To: <CAMaohicUon89x1=TK-hua_uf1g_O=bVQdGPtPqYB3qXvR7U0KA@mail.gmail.com>
References: <CAMaohicUon89x1=TK-hua_uf1g_O=bVQdGPtPqYB3qXvR7U0KA@mail.gmail.com>
Subject: Re: Can the quickfix window title be set to the command which
generated it?
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_497_1298189.1341776012160"
------=_Part_497_1298189.1341776012160
Content-Type: multipart/alternative;
boundary="----=_Part_498_8287510.1341776012160"
------=_Part_498_8287510.1341776012160
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
I cannot get your patch to apply cleanly. I first tried importing it into
my mq patch series, but all hunks were rejected. So then I tried applying
with the basic "patch" utility (with -p1), and the same thing happened.
What might I be doing wrong? It looks like patch isn't even trying
different line offsets.
I think I mostly got it working by also using a really big value in an -F
argument to the patch command (I used 5000 when 500 gave rejects), but I
still had a total of 3 rejected hunks which look trivial to apply in eval.c
and quickfix.c, and I have no idea why patch would fail on those. I'll fix
them by hand and try it out tonight barring a new patch.
ben@LivingRoom:~/Code/vim-src$ hg update default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
ben@LivingRoom:~/Code/vim-src$ hg status
? .cproject
? .project
? .settings/org.eclipse.cdt.codan.core.prefs
? .settings/org.eclipse.cdt.core.prefs
? .settings/org.eclipse.cdt.ui.prefs
? config.out
? make.out
ben@LivingRoom:~/Code/vim-src$ patch -i ../patches/setqftitle.patch -p1
patching file runtime/doc/eval.txt
Hunk #1 FAILED at 1919.
Hunk #2 FAILED at 5123.
Hunk #3 FAILED at 5207.
3 out of 3 hunks FAILED -- saving rejects to file runtime/doc/eval.txt.rej
patching file runtime/doc/quickfix.txt
Hunk #1 FAILED at 313.
1 out of 1 hunk FAILED -- saving rejects to file
runtime/doc/quickfix.txt.rej
patching file runtime/doc/tags
Hunk #1 FAILED at 7469.
1 out of 1 hunk FAILED -- saving rejects to file runtime/doc/tags.rej
patching file src/eval.c
Hunk #1 FAILED at 682.
Hunk #2 FAILED at 8014.
Hunk #3 FAILED at 16189.
Hunk #4 FAILED at 16207.
Hunk #5 FAILED at 16322.
5 out of 5 hunks FAILED -- saving rejects to file src/eval.c.rej
patching file src/quickfix.c
Hunk #1 FAILED at 882.
Hunk #2 FAILED at 913.
Hunk #3 FAILED at 3833.
3 out of 3 hunks FAILED -- saving rejects to file src/quickfix.c.rej
ben@LivingRoom:~/Code/vim-src$ hg summary
parent: 3809:906c91f4fae8
Added tag v7-3-591 for changeset e5b925ae56e3
branch: default
commit: 7 unknown (clean)
update: 26 new changesets, 2 branch heads (merge)
mq: 1 unapplied
------=_Part_498_8287510.1341776012160
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<div>I cannot get your patch to apply cleanly. I first tried importing it i=
nto my mq patch series, but all hunks were rejected. So then I tried applyi=
ng with the basic "patch" utility (with -p1), and the same thing happened. =
What might I be doing wrong? It looks like patch isn't even trying differen=
t line offsets.<br></div><div><br></div><div>I think I mostly got it workin=
g by also using a really big value in an -F argument to the patch command (=
I used 5000 when 500 gave rejects), but I still had a total of 3 rejected h=
unks which look trivial to apply in eval.c and quickfix.c, and I have no id=
ea why patch would fail on those. I'll fix them by hand and try it out toni=
ght barring a new patch.</div><div><br></div><div>ben@LivingRoom:~/Code/vim=
-src$ hg update default<br>0 files updated, 0 files merged, 0 files removed=
, 0 files unresolved<br>ben@LivingRoom:~/Code/vim-src$ hg status<br>? .cpro=
ject<br>? .project<br>? .settings/org.eclipse.cdt.codan.core.prefs<br>? .se=
ttings/org.eclipse.cdt.core.prefs<br>? .settings/org.eclipse.cdt.ui.prefs<b=
r>? config.out<br>? make.out<br>ben@LivingRoom:~/Code/vim-src$ patch -i ../=
patches/setqftitle.patch -p1<br>patching file runtime/doc/eval.txt<br>Hunk =
#1 FAILED at 1919.<br>Hunk #2 FAILED at 5123.<br>Hunk #3 FAILED at 5207.<br=
>3 out of 3 hunks FAILED -- saving rejects to file runtime/doc/eval.txt.rej=
<br>patching file runtime/doc/quickfix.txt<br>Hunk #1 FAILED at 313.<br>1 o=
ut of 1 hunk FAILED -- saving rejects to file runtime/doc/quickfix.txt.rej<=
br>patching file runtime/doc/tags<br>Hunk #1 FAILED at 7469.<br>1 out of 1 =
hunk FAILED -- saving rejects to file runtime/doc/tags.rej<br>patching file=
src/eval.c<br>Hunk #1 FAILED at 682.<br>Hunk #2 FAILED at 8014.<br>Hunk #3=
FAILED at 16189.<br>Hunk #4 FAILED at 16207.<br>Hunk #5 FAILED at 16322.<b=
r>5 out of 5 hunks FAILED -- saving rejects to file src/eval.c.rej<br>patch=
ing file src/quickfix.c<br>Hunk #1 FAILED at 882.<br>Hunk #2 FAILED at 913.=
<br>Hunk #3 FAILED at 3833.<br>3 out of 3 hunks FAILED -- saving rejects to=
file src/quickfix.c.rej <br></div><div>ben@LivingRoom:~/Code/vim-src$=
hg summary<br>parent: 3809:906c91f4fae8 <br> Added tag v7-3-591 for change=
set e5b925ae56e3<br>branch: default<br>commit: 7 unknown (clean)<br>update:=
26 new changesets, 2 branch heads (merge)<br>mq: 1 unapplied<br></div>
------=_Part_498_8287510.1341776012160--
------=_Part_497_1298189.1341776012160--