From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 9/9] Detect window-system from display name Date: Tue, 07 Aug 2012 13:19:16 -0700 Message-ID: <50217844.9050703@dancol.org> References: <94f53f9a4d2d8ebe852360652eeee429520f3d9f.1344326992.git.dancol@dancol.org> <50214BE1.3070602@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig130ECDAF195B08D65EA03D6A" X-Trace: dough.gmane.org 1344370786 12242 80.91.229.3 (7 Aug 2012 20:19:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 20:19:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 22:19:47 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SyqFi-00064V-D2 for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 22:19:42 +0200 Original-Received: from localhost ([::1]:43674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyqFh-0005FV-LW for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 16:19:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyqFe-0005Ey-S1 for emacs-devel@gnu.org; Tue, 07 Aug 2012 16:19:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyqFd-0008Up-Jb for emacs-devel@gnu.org; Tue, 07 Aug 2012 16:19:38 -0400 Original-Received: from dancol.org ([96.126.100.184]:38711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyqFd-0008Ul-D8 for emacs-devel@gnu.org; Tue, 07 Aug 2012 16:19:37 -0400 Original-Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[0.0.0.0]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1SyqFc-0007r6-W6; Tue, 07 Aug 2012 13:19:37 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: X-Enigmail-Version: 1.4.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 96.126.100.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152290 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig130ECDAF195B08D65EA03D6A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 8/7/2012 1:01 PM, Stefan Monnier wrote: >> But then the code that defvars the variable needs to know about all >> the window systems we might use. It seems cleaner to have the >> window-system-specific code add the window-system-specific alist entri= es. >=20 > But they all need to know about each other to avoid conflicts anyway. Not really --- different window-systems just need to avoid having the sam= e display-string prefix. This approach works well enough in other pieces of= code: org-mode doesn't need to know about cc-mode specifically in order not to = trample on cc-mode's namespace. --------------enig130ECDAF195B08D65EA03D6A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAheEQACgkQ17c2LVA10VtoCwCgnahculOvdNaq909Dy7KwFXm2 tsIAoKuz2G4jt2kA5vgfiRN0tRQnhFsP =0DjP -----END PGP SIGNATURE----- --------------enig130ECDAF195B08D65EA03D6A--