Article View: fj.editor.vi
Article #405Re: 自動で「:set tabstop=4 」を行う方法は有りませんか?
From: Kazuki Yoshioka
Date: Fri, 22 Oct 1999 00:00
Date: Fri, 22 Oct 1999 00:00
29 lines
2259 bytes
2259 bytes
吉岡です。 アドバイスしていただいたみなさん、ありがとうございます。 どうやら私が思っていたような機能はnviには無いようですね。 とりあえずは川戸さんに紹介していただいた「map」を利用して ファイルを開いたときに「q4」とタイプして使ってみようと思います。 確かにみなさんのおっしゃるように「modeline」のオプションは危険ですね。 書き方によってはいきなりファイルを消しちゃう事も出来そうです。 nviのソースを見ると以下のようになっていました。 > * This has been documented in historical systems as both "modeline" > * and as "modelines". Regardless of the name, this option represents > * a security problem of mammoth proportions, not to mention a stunning > * example of what your intro CS professor referred to as the perils of > * mixing code and data. Don't add it, or I will kill you. これからも実装されることは無いようですね。 #NetNewsへの投稿は初めてだったんですが、すぐに #アドバイスが来てすごく有用(うれしかった)に #感じました。 #本来、お礼だけの投稿はルール違反という雑誌記事を #読んだ気がしますが、初めてで且つうれしかったので #送信させていただきます。 -- 吉岡一記@シマセイキ(scifi@mcn.ne.jp)
Technical Details
Message-ID:
<7uoku3$i27$1@nn-os106.ocn.ad.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7ulnm9$oun$1@nn-os106.ocn.ad.jp> <991021145816.M0120156@beast.ib.nis.nec.co.jp> <Pine.LNX.3.96LJ1.1R12.991021154516.469E-100000@elf.rpts.cl.nec.co.jp> <7umfa8$r6u@ns.src.ricoh.co.jp> <Pine.LNX.3.96LJ1.1R12.991021191615.2065C-100000@elf.rpts.cl.nec.co.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: f7c9f,eaa9411fb0ffc80b X-Google-Attributes: gidf7c9f,public From: Kazuki Yoshioka <scifia@mcn.ne.jp> Subject: Re: 自動で「:set tabstop=4 」を行う方法は有りませんか? Date: 1999/10/22 Message-ID: <7uoku3$i27$1@nn-os106.ocn.ad.jp> X-Deja-AN: 539109676 References: <7ulnm9$oun$1@nn-os106.ocn.ad.jp> <991021145816.M0120156@beast.ib.nis.nec.co.jp> <Pine.LNX.3.96LJ1.1R12.991021154516.469E-100000@elf.rpts.cl.nec.co.jp> <7umfa8$r6u@ns.src.ricoh.co.jp> <Pine.LNX.3.96LJ1.1R12.991021191615.2065C-100000@elf.rpts.cl.nec.co.jp> X-Forwarded: by - (DeleGate/5.9.5) Content-Type: text/plain; charset=iso-2022-jp X-Complaints-To: usenet@nn02.news.ocn.ad.jp X-Trace: nn-os106.ocn.ad.jp 940562179 18503 210.160.181.6 (22 Oct 1999 03:16:19 GMT) Organization: SHIMASEIKI Mime-Version: 1.0 NNTP-Posting-Date: 22 Oct 1999 03:16:19 GMT Newsgroups: fj.editor.vi