From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Should this package be included into the NS port? Date: Thu, 31 May 2018 21:40:13 +0100 Message-ID: <20180531204013.GB38066@breton.holly.idiocy.org> References: <20180529214223.GA20731@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1527799107 22543 195.159.176.226 (31 May 2018 20:38:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 May 2018 20:38:27 +0000 (UTC) User-Agent: Mutt/1.9.3 (2018-01-21) Cc: 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: George Plymale II Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 31 22:38:22 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 1fOUKz-0005mB-8h for ged-emacs-devel@m.gmane.org; Thu, 31 May 2018 22:38:21 +0200 Original-Received: from localhost ([::1]:46044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOUN6-00011D-3L for ged-emacs-devel@m.gmane.org; Thu, 31 May 2018 16:40:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOUMs-0000yO-Rv for emacs-devel@gnu.org; Thu, 31 May 2018 16:40:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOUMr-0000Co-MR for emacs-devel@gnu.org; Thu, 31 May 2018 16:40:18 -0400 Original-Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:39777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOUMr-0000CO-C2; Thu, 31 May 2018 16:40:17 -0400 Original-Received: by mail-wr0-x22f.google.com with SMTP id w7-v6so22295883wrn.6; Thu, 31 May 2018 13:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=9+Crq+QUp1ET5x8ElcenymVMxPUTBCTGvmYWAb28eUE=; b=bniSk90wA7Yc8Zma3FrZsgRGpi5BtlTxNxQRAcUvuZDiFkKZ6ClQuecSm/RJfb/hIK K/68GcsICpdX2vXh/iFxMYTQNIrC1sm8IJRdoc/La3dgfoN4wvTfPM3bvJHfWFf/xHDy QJp5a06yh8JtZUPMzR2ixxox8RM99K29ofPSv5XFKcCoV3gRMi8VL4chaCrDMcylYaeb h98ZGuS8IzuHG/8zvpCiidr+i0sz/jdyE4EWUyqH+b7CdeAUJsyfrUKDF5C9ST4agS9/ 3kFPH+u8mXWGLnwQFBlJVzTyrt7hlqozYkYCFhe0NnmFujN7HWGzmM5XrrHcAKUNuA8l 3jRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=9+Crq+QUp1ET5x8ElcenymVMxPUTBCTGvmYWAb28eUE=; b=bx3Ay5g1FB6Bzv8swlYRhv8gKS4PEFAE5dfcAZbpum+uSFTXoGzTRbPnwCQRFV9VIB qDehLBGJAgGn2WfObjlarigzR6pgGxLFBPmDfSZdpnabU8ma3C2Kwa6lbvgT6/SRBa2H nHBexWZ4JSreBWpaGAWqBvmD/aeVePPCCWT5tCo7nfS84Z1yb1V2bp563AVZcd3RgEp7 AZw5jzD/JSwMCFeobVlus8OxqOguh1EGmNuP8thv29erF+c6JGMuaEX2vAXTir645pHp JXR3sqGGY93bPbA1nngGN05GFiwgTwpvv459hXF6T+c07EzKYZRTyzveDYLenUJmMwad 6YbQ== X-Gm-Message-State: ALKqPwfwSaKezXxtVp/Hndn7qbwHdIwxkfFRsGWB8Z2L4c4QsOM1yGD8 o5YSgK8OukCCF4TTGj8LlI4= X-Google-Smtp-Source: ADUXVKJOrqL1D7wBsVIElMfqxPUHE0eSZwleqnQRhyO/WuPJPpYksWADphksZ8Lg1wK7xM8eRjh1QA== X-Received: by 2002:adf:8e30:: with SMTP id n45-v6mr6192955wrb.27.1527799216270; Thu, 31 May 2018 13:40:16 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-acd0-c556-d8b1-5ceb.holly.idiocy.org. [2001:8b0:3f8:8129:acd0:c556:d8b1:5ceb]) by smtp.gmail.com with ESMTPSA id o9-v6sm38752831wrn.74.2018.05.31.13.40.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 13:40:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22f 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:225872 Archived-At: On Tue, May 29, 2018 at 07:40:33PM -0400, George Plymale II wrote: > > I’m not sure how to do the last bit. At the moment it’s defined in > > nsterm.h; presumably it needs to be defined somewhere else. > > What are you specifically referring to that is defined in nsterm.h? I'm > not sure I'm following you at this part 100%. Sorry, the event is defined in nsterm.h. Open a GUI session then connect a -nw emacsclient to it. Make sure the terminal frame is the current frame (type something in it), then go to the dock menu and click ‘New Frame’, you’ll see a nonsense keybinding error reported in the terminal frame’s minibuffer. If you then select the GUI frame and do the same thing it works as expected. I believe this means that because the event type is defined in nsterm.h the terminal frame doesn’t understand it. -- Alan Third