From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: bug#4004: filename completion Date: Mon, 17 Aug 2009 09:50:13 -0700 Message-ID: <6E6DF23201AF4F6BB560EB75DFA2A291@us.oracle.com> References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com><877hxlbndl.fsf@gmx.de><87ocqwenwl.fsf@gmx.de><87my607th6.fsf@gmx.de> <87ab1y8k9r.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250527887 31744 80.91.229.12 (17 Aug 2009 16:51:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Aug 2009 16:51:27 +0000 (UTC) Cc: 'Colin Williams' , 'Stefan Monnier' , emacs-devel@gnu.org To: "'Chong Yidong'" , "'Michael Albinus'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 17 18:51:19 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Md5QR-0005qK-BX for ged-emacs-devel@m.gmane.org; Mon, 17 Aug 2009 18:51:15 +0200 Original-Received: from localhost ([127.0.0.1]:39760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md5QQ-0004ZD-Rr for ged-emacs-devel@m.gmane.org; Mon, 17 Aug 2009 12:51:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md5Pg-0004CP-1n for emacs-devel@gnu.org; Mon, 17 Aug 2009 12:50:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md5Pb-0004A6-4e for emacs-devel@gnu.org; Mon, 17 Aug 2009 12:50:27 -0400 Original-Received: from [199.232.76.173] (port=37141 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md5Pa-00049s-Vc for emacs-devel@gnu.org; Mon, 17 Aug 2009 12:50:23 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:64005) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Md5Pa-0001Du-EL for emacs-devel@gnu.org; Mon, 17 Aug 2009 12:50:22 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7HGosr7001056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 17 Aug 2009 16:50:56 GMT Original-Received: from abhmt014.oracle.com (abhmt014.oracle.com [141.146.116.23]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7HGoGd9017019; Mon, 17 Aug 2009 16:50:16 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 17 Aug 2009 09:50:12 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87ab1y8k9r.fsf@stupidchicken.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcofWgXm9YEHrUeHS/epcaljHAGFlwAAI5rQ X-Source-IP: abhmt014.oracle.com [141.146.116.23] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4A898A46.0040:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114346 Archived-At: > > Yes, I mean that. My version avoids compiler warnings for unknown > > symbol completion-styles, when Tramp runs outside GNU Emacs 23. > > The byte-compiler is smart enough to recognize this situation > and avoid warning about it. I think Michael was speaking about byte-compiling using other that GNU Emacs 23. Here's what GNU Emacs 20 says, for instance: (defun foo () (and (boundp 'completion-styles) (member 'partial-completion completion-styles))) (byte-compile 'foo) ** reference to free variable completion-styles