From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: George Plymale II Newsgroups: gmane.emacs.devel Subject: Re: Should this package be included into the NS port? Date: Sat, 02 Jun 2018 14:56:18 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527965667 29035 195.159.176.226 (2 Jun 2018 18:54:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 2 Jun 2018 18:54:27 +0000 (UTC) Cc: alan@idiocy.org, nick@tenpoint.co.nz, rct+github@thompsonclan.org, emacs-devel@gnu.org, p.stephani2@gmail.com, monnier@iro.umontreal.ca, van@scratch.space, eliz@gnu.org To: Ryan Thompson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 02 20:54:23 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPBfS-0007Rz-PS for ged-emacs-devel@m.gmane.org; Sat, 02 Jun 2018 20:54:23 +0200 Original-Received: from localhost ([::1]:60786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPBhZ-0002ZF-88 for ged-emacs-devel@m.gmane.org; Sat, 02 Jun 2018 14:56:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPBhS-0002Z8-Mg for emacs-devel@gnu.org; Sat, 02 Jun 2018 14:56:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPBhN-0007YC-QT for emacs-devel@gnu.org; Sat, 02 Jun 2018 14:56:26 -0400 Original-Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:45447) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPBhN-0007Y0-M1 for emacs-devel@gnu.org; Sat, 02 Jun 2018 14:56:21 -0400 Original-Received: by mail-qk0-x244.google.com with SMTP id c198-v6so22370048qkg.12 for ; Sat, 02 Jun 2018 11:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orbitalimpact.com; s=google; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=9bt0klDhVJVr4bemc/cq7NBBCVncnDbLY+gVgFuffTw=; b=nDj6hSUJeiUjlLZbx7L3u51Lb+XxTvekx9UFPnDzB5Gg+vtW0dAj4m3lk0Y8tjjHuN dNIwTDLpF6pmuG9s89SdEV0hvhISem+jhBxlHS7M4sA18goI06wSvp1Lp1SSVhGFus3e STHPjneDEyfhgYN9xFaQzYHHVmUTyCJVuFZMA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version; bh=9bt0klDhVJVr4bemc/cq7NBBCVncnDbLY+gVgFuffTw=; b=kucdnl+q5RjYR5bEBvHgbRKmoSrOLKPLVEirgfRdNmRD/I8NGEqdJil9Lbyd+SJdI0 Fg7efHqoSOXDuA50Mm9x25MECIVRmjKbA0ZvCYFuziFnsOyb3PQe9GJvno+AVADXRzlU kivWmp00JB4M1WkE1R0CmDW96q0pv5K4uBg8TtRFLPHkaHXbpWiYAJQGVdK2fmhgxysq cewjf2JgaVkysRbBQ+V3SmGJdifv0xzk+apThDhXROSSM35Iv33KEbonryD3DgyXAhv3 4pF1JpqRSDSzYZybfy1hbQ9Xz6v12ib5xpgt9AF7aR2cebdOosWPtiXMwxQnJFENYD9O PVhw== X-Gm-Message-State: APt69E0/WkZJieVD3v05jMf0FTChXenHadHsL0wrUPWkft7BHO91kRwT 3HesE3dzYZ5zUoK76msAWGOH2A== X-Google-Smtp-Source: ADUXVKJF+JjiWtyjfVTzJRcxJJX83sHdRBHZctGJjrjqBSKInY+S+TF2S2mpui1YYKE677v0o5vycw== X-Received: by 2002:a37:1499:: with SMTP id 25-v6mr14398780qku.39.1527965780957; Sat, 02 Jun 2018 11:56:20 -0700 (PDT) Original-Received: from lehi.dev.orbitalimpact.com (ip-131-202-239-173.east.us.northamericancoax.com. [173.239.202.131]) by smtp.gmail.com with ESMTPSA id y131-v6sm4524873qka.30.2018.06.02.11.56.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 Jun 2018 11:56:20 -0700 (PDT) In-Reply-To: (message from Ryan Thompson on Sat, 2 Jun 2018 09:45:03 -0700) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::244 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:225933 Archived-At: Ryan Thompson writes: > Hello, > > As before, I don't have much to add, as I'm not familiar with the internals > of Emacs responsible for the underlying issue. But as I've said before, I'm > perfectly happy to have my "pseudo-daemon" code incorporated into Emacs > itself, and I have already signed the copyright assignment papers for a few > small prior contributions to Emacs. If there is interest, I can rewrite my > mode as a patch to Emacs rather than advice. Thanks a lot Ryan! I think you're probably the most qualified person to help out with this. Importing your package as a patch is also probably a good idea; an advice seems like more of a 3rd-party thing to do. > One thing we should think about is what happens when my package is > installed and enabled on an Emacs that also includes this behavior as > a core feature. I believe that it shouldn't cause any problems, since > only one or the other will ever activate, not both. If it does cause any problems, perhaps you could add an ad-hoc variable or something and include a check for it in your package. Perhaps it could issue a warning if it detects that it's running on an Emacs which has the fix in the core. E.g., "Warning: Your Emacs already has this fix in the core, so this package is actually not needed" > In practice, the main drawback to using this mode is that when the last > existing frame is closed the new frame that it creates is briefly visible > before being hidden. This isn't a major issue in general, but it could > easily confuse people who don't know what's going on and make them think > that a glitch has occurred. If anyone knows how to create a hidden frame > without ever making it visible, I'd be happy to fix that. It seems that Stefan has mentioned something on how to deal with this in an earlier message. I think I've seen this glitch a few times in the past, but it never bothered me so I didn't really care. I don't know much else about this particular issue so I can't comment further on it.