From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65884 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Avoiding compiler warnings (was: Changes committed gnus/lisp (6 files)) Date: Wed, 05 Dec 2007 21:10:45 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196887477 28749 80.91.229.12 (5 Dec 2007 20:44:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 20:44:37 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14379@lists.math.uh.edu Wed Dec 05 21:44:47 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1J016s-0002TJ-3r for ding-account@gmane.org; Wed, 05 Dec 2007 21:44:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1J016N-000770-BZ; Wed, 05 Dec 2007 14:44:15 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1J016L-00076h-S5 for ding@lists.math.uh.edu; Wed, 05 Dec 2007 14:44:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1J016F-0004nU-Gl for ding@lists.math.uh.edu; Wed, 05 Dec 2007 14:44:13 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1J016C-0002St-00 for ; Wed, 05 Dec 2007 21:44:04 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J00tY-0004LW-7A for ding@gnus.org; Wed, 05 Dec 2007 20:31:00 +0000 Original-Received: from p54a967dc.dip.t-dialin.net ([84.169.103.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Dec 2007 20:31:00 +0000 Original-Received: from Reiner.Steib by p54a967dc.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Dec 2007 20:31:00 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54a967dc.dip.t-dialin.net X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:G2plhbWFWBzUNnmbM4m0jXUB/9E= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65884 Archived-At: On Wed, Dec 05 2007, Katsumi Yamaoka wrote on ding-patches: > * gnus-art.el (gnus-use-idna): Don't directly refer to the value of > idna-program in order to suppress byte compile warning issued by XEmacs that > came to byte compile the default value section of defcustom forms recently. > * gnus-start.el (gnus-site-init-file): Don't directly refer to the value of > installation-directory. > * message.el (message-use-idna): Don't directly refer to the value of > idna-program. > * mm-uu.el (mm-uu-hide-markers): Don't directly call defined-colors. > * smiley.el (smiley-style): Don't directly call face-attribute. [...] > - (executable-find idna-program)) > + (executable-find (symbol-value 'idna-program))) > - (directory-file-name installation-directory)) > + (directory-file-name (symbol-value 'installation-directory))) > - (executable-find idna-program) > + (executable-find (symbol-value 'idna-program)) > - (length (defined-colors))) > + (length (eval '(defined-colors)))) > - (>= (face-attribute 'default :height) 160)) > + (>= (eval '(face-attribute 'default :height)) 160)) Hm, IIRC last time we discussed this on emacs-devel, we decided not to obscurify the code for the sake of calming the byte compiler. Additionally... ,----[ (info "(gnus)Emacs/XEmacs Code") ] | This means that Gnus will byte-compile under Emacs with nary a | warning, while XEmacs will pump out gigabytes of warnings while | byte-compiling. [...] `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/