New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:help! で E478 が発生する #49
Comments
動作を変える場合 diff -r 9304e67c02f8 src/ex_cmds.c
--- a/src/ex_cmds.c Wed Feb 09 11:00:26 2011 +0900
+++ b/src/ex_cmds.c Tue Sep 27 16:16:44 2011 +0900
@@ -5527,12 +5527,6 @@
}
arg = eap->arg;
- if (eap->forceit && *arg == NUL)
- {
- EMSG(_("E478: Don't panic!"));
- return;
- }
-
if (eap->skip) /* not executing commands */
return;
} ドキュメントを変える場合 diff -r 9304e67c02f8 runtime/doc/helphelp.txt
--- a/runtime/doc/helphelp.txt Wed Feb 09 11:00:26 2011 +0900
+++ b/runtime/doc/helphelp.txt Tue Sep 27 16:18:10 2011 +0900
@@ -92,7 +92,7 @@
:help so<C-V><CR>only
< {not in Vi}
-:h[elp]! [subject] Like ":help", but in non-English help files prefer to
+:h[elp]! {subject} Like ":help", but in non-English help files prefer to
find a tag in a file with the same language as the
current file. See |help-translated|. |
もしくは現在のバッファがhelpかどうかを見て動作を変えるとか...ってのも考えられるけど、僕的には後者。 |
Don't panic! は消したくないんですね。わかります。 |
両方提出して Bram さんに選ばせるって手もありますね。 |
練習がてら現在バッファがhelpか見るバージョンも作ってみた。 diff -r 9304e67c02f8 src/ex_cmds.c
--- a/src/ex_cmds.c Wed Feb 09 11:00:26 2011 +0900
+++ b/src/ex_cmds.c Tue Sep 27 16:54:40 2011 +0900
@@ -5527,7 +5527,7 @@
}
arg = eap->arg;
- if (eap->forceit && *arg == NUL)
+ if (eap->forceit && *arg == NUL && !curbuf->b_help)
{
EMSG(_("E478: Don't panic!"));
return; |
Bramにぐうの音も言わさないつもりか... |
面白いので両方でやってみてw |
了解です。3つ目はどうしますかね? ある意味一番妥当な気もする。 |
私も |
了解です。 |
@thinca さん、これ出してないみたいですが何か問題あり? |
強いて言うなら、私の英語力に問題があります。 |
! 外国人の @ujihisa を召還すればいいの!? |
ぼちぼちやろうとは思っていますが、ぶっちゃけいつになるかわかったもんじゃないので、 |
召還されました |
まず、ujihisaさんには次の翻訳をお願いします。
|
え、何の話!? |
次にこうです。
@ujihisa さん。お願いします。 |
Oh... my Excalibur.. |
訳がウマすぎて朝から辛いwww |
やっとこさ出しました。 |
Bram さんから早速返事来てた。最後のが一番いいとのことで概ね予想通りだけど、 |
おつです! |
ありがとうございます! |
おめでとう |
ヽ(゚∀゚)メ(゚∀゚)メ(゚∀゚)ノ |
あざっす! |
AzaaS! |
どんだけ気に入ってるんだ>オレ |
おつです。 |
このスレはまだまだのびる・・・! |
次スレは @ujihisa さんが立てると聞いて。 |
終わった issue なのにどんどん書きつづけちゃうんだぜ? ワイルドだろぉ? |
終わったからこそな! |
ぼくも混ぜて! |
終わりがないのが「終わり」・・これがパッチだ! |
もうエエっす! |
まっつんが面白いこと言ったら終わりそう |
明日起きたらどこまでスレが伸びてるか楽しみにしながら寝ます。 |
:help! |
あわわわわてないでたくさい |
:help! 英語: (ちょっと古すぎかw 誰が分かんねんwww) |
はい 高度すぎてついていけない・・どうしよう・・ |
ping |
pong |
|
|
|
age |
sage |
hage |
詳細: http://d.hatena.ne.jp/thinca/20100428/1272382745
ドキュメントの記述と実際の動作が異なります。動作を変えるか、ドキュメントを
:h[elp]! {subject}
にするべき。The text was updated successfully, but these errors were encountered: