From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master a1a435b3f6: Respect test function when performing local drag-and-drop Date: Mon, 13 Jun 2022 16:51:05 +0300 Message-ID: <83tu8ou0xi.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27745"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 13 16:02:18 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0kdz-0006u9-QY for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Jun 2022 16:02:16 +0200 Original-Received: from localhost ([::1]:46396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0kdy-0000FA-Qm for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Jun 2022 10:02:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0kTQ-00040S-8s for emacs-devel@gnu.org; Mon, 13 Jun 2022 09:51:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0kTP-0000hu-Qe; Mon, 13 Jun 2022 09:51:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=skpOcZpdUJxiuKNDXB9PDLkOX1Nev/Akn/lnsiP7SAo=; b=VzaVPLyGaVOG54 4VKPCrJONyklgwua2A1uYj+sUfNYEE06udj554wikfjHYe+zbBvvsX8pgBc5uYrnJklV/6Ui4R+fC AdRo87cuPnGopLjG8ecVydZCK7deUmwN5+diNXHQGCBXaybudRQBnAPfsSuwHq78ATE5EzTwMAHyE cfzudsy87UnNkSIaR0AsRFJiZBer55MCfThg8G/W+/AVBjboLDBfE+Y8lvL8gt6N6I5/1mameZPIb JfIZNELi/XNPZTmxDgqvTChJgYT3IcKqQ5mfG5IZFbys1ueAkcNBdWNudfwoIiIKwHMawPfRzOy7J N7ks17rrq73GNa2FsKnw==; Original-Received: from [87.69.77.57] (port=4014 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0kTP-0002y3-8m; Mon, 13 Jun 2022 09:51:19 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291145 Archived-At: > + DEFVAR_LISP ("x-dnd-native-test-function", Vx_dnd_native_test_function, > + doc: /* Function called to determine return when dropping on Emacs itself. What does it mean "to determine return"? Did you mean "return value"? or "what to return"? > +It should accept two arguments POS and ACTION, and return a symbol > +describing what to return from `x-begin-drag'. POS is a mouse > +position list detailing the location of the drop, and ACTION is the > +action specified by the caller of `x-begin-drag'. This alludes to `x-begin-drag', but it isn't clear how the variable itself is related to that function.