はやみずです > Please note: the CL functions are not standard parts of the > Emacs Lisp name space, so it is legitimate for users to define > them with other, conflicting meanings. To avoid conflicting with > those user activities, we have a policy that packages installed > in Emacs must not load CL at run time. (It is ok for them to > load CL at compile time only, with eval-when-compile, and use > the macros it provides.) If you are writing packages that you > plan to distribute and invite widespread use for, you might want > to observe the same rule.
clパッケージは非推奨だとかいう話をIMAKADOさんから聞いたことがあったので すが、このことだったんですね。この書き方だと (require 'cl) を (eval-when-compile (require 'cl)) にすればよいということですね。標準添付の minibuffer.el を見てみたらこう なっていたので間違いないでしょう。マクロ展開時のみclパッケージが使われ るようにするべき、ということでしょう。 さくっと変更しておきます。 # ところで体調のほうは大丈夫ですか? ---- Yuto Hayamizu Master's degree student at Kitsuregawa Laboratory Department of Information and Communication Engineering Graduate School of Information Science and Technology University of Tokyo From: yata_git...@y.haun.org Subject: Re: [twmode-users] string抽出部の改善 Date: Tue, 29 Dec 2009 01:49:29 +0900 (JST) >> これは知らなかったです。プログラムから呼び出すことが非推奨な関数の使用 >> は、掘り返せばまだ出てきそうな気がしますね。 > > ちょっと違うかもしれませんが、個人的にはこれも気になります。 > > http://www.gnu.org/software/emacs/manual/html_node/cl/Overview.html > > 以下引用。 > > Please note: the CL functions are not standard parts of the > Emacs Lisp name space, so it is legitimate for users to define > them with other, conflicting meanings. To avoid conflicting with > those user activities, we have a policy that packages installed > in Emacs must not load CL at run time. (It is ok for them to > load CL at compile time only, with eval-when-compile, and use > the macros it provides.) If you are writing packages that you > plan to distribute and invite widespread use for, you might want > to observe the same rule. > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > twmode-users mailing list > twmode-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/twmode-users ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ twmode-users mailing list twmode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/twmode-users