emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 9/9] Detect window-system from display name


From: Daniel Colascione
Subject: Re: [PATCH 9/9] Detect window-system from display name
Date: Tue, 07 Aug 2012 13:19:16 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

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 entries.
> 
> But they all need to know about each other to avoid conflicts anyway.

Not really --- different window-systems just need to avoid having the same
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.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]