From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mCs0F/JOIWWfhAAA9RJhRA:P1 (envelope-from ) for ; Sat, 07 Oct 2023 14:28:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mCs0F/JOIWWfhAAA9RJhRA (envelope-from ) for ; Sat, 07 Oct 2023 14:28:34 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AEB346174F for ; Sat, 7 Oct 2023 14:28:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="UGl/Ipuc"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696681714; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ECX8WWMH+/MQYKbjhobGu6b8vaD4KFj8EjgppL3+MBU=; b=LsDAE3d5MNR3O4/+V4ZwFgufntGL9wNs5HGy9bhcM3PLtP6bv+ZTtOrPajtgKVBfXG3oiv GBexe4Y6SsmYfFJ2oM6G/QXxe1SnZFRLN4PCHqDFU+g9Fg1SnWCw7mhL5c5DrgLxoPTGXq IRqpXfeoICv0Bv/lGBYV4cBt+D96u6LTv8pwuTiU70pQKJ9PkId0fYom9cHSNcJSbEd9HG wsn0ZuuZKmTadBSq1+thB0s46erzDHLNohNR6mBUw0CSa8NNn8rgqQk1gvhPTJGgJyyYn5 YK/WZF205hs6N9xPSaJmnpSw6jbbgExfA/nsHfUf+3q2vZEG7rQAVLGqqSUeig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696681714; a=rsa-sha256; cv=none; b=m11uSRs+HBt7UJRSFl12Sdrbwnm7i0ZaKL7+efsAImFdWgwlyvl9iRdu4dY0zY7XKuiWRb 7M/xgTPBUox16jMmE1BnxaR8H2gjKQpF+faG631l0UgG4YfX1EcngzJtOXMvoiUSmxed50 hEZA5q2+4txooxmtL9Y/OTvOR2t/wtCEi9EH//eck9ZuPjRSOyoexhrNx84sCe59pnFAZG ucEwdklT4xAhtd9QQwqaUQ2iOYADfIZvZrrI07kgzMRKAYP7hC/8eb6j1fhOWBsx2go4Vn j0cRCHffl0Fwp/2MfaqZV7n2kZwEXBYYm4a/jvICqyUSqLH6Q5EmwadbbdQxaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="UGl/Ipuc"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qp6PE-0002m4-Mv; Sat, 07 Oct 2023 08:27:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qp6PD-0002lw-MK for emacs-orgmode@gnu.org; Sat, 07 Oct 2023 08:27:39 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qp6P7-0000Se-Tw for emacs-orgmode@gnu.org; Sat, 07 Oct 2023 08:27:39 -0400 Received: by mail-pf1-x442.google.com with SMTP id d2e1a72fcca58-690ba63891dso2460351b3a.2 for ; Sat, 07 Oct 2023 05:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696681652; x=1697286452; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ECX8WWMH+/MQYKbjhobGu6b8vaD4KFj8EjgppL3+MBU=; b=UGl/IpuclVBgMzmGCEtFLmjmM1EN9JcDLmC++q9yrqcWTmGxTdJEjFmvc6Iyqz7adk 4k+Uf1gCZ+cCx5/kCCzHQrjeROadohg60uhII+MsQ9Vpqb2ybZHEY84k6zTOUUyAeQWG sX31A12Af6lj+VT6zZBDpnryJCq/zDY1yXbdvgwGLkqwt/DgR5cY7ISeaoBPDyUCvMVE cbudDI5XfJC3KNwjWcizIuTl61799SmdFLY323wG20xjy+iXHii6Ves17wMGTgCbAVQp EBqoMfqbyz/7llEUJsg5n+cTzKWoJUT94tIEC4Lpr+jb+3Ja9LkBHOke/ZSx4+4Rq7Vw 4bcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696681652; x=1697286452; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ECX8WWMH+/MQYKbjhobGu6b8vaD4KFj8EjgppL3+MBU=; b=gDoYg9eqTLYokSCrGHnB/H0X2pDIPhQGKZpOFrCudlt6jN1qMhJZOq2fAOhiVwzZTh wyitFFgBhME4tbjzFODV2752LjlJ6YsBgLrfXHNPQ6MFNIxb7d//DawB0+j5Z42ROhiO xKSBudhjWvv0iguga+yGBwhl2+RwA34JQh2GMnRD1ZeAk1JD/yhSb++lM+IwredKSbS4 P2LbiuHoPoSs9G52/217/eLLGTg8sgpzXh1F9SzNQpBI8qduxyWPW4b6+gqxdCL/jpHQ wrLHgCrtxaqki1GrpE9w+suKqgzxEC+zedwXWe4qTttYEXNgOrttVFF4TCqKX2lWC2fH BTLg== X-Gm-Message-State: AOJu0YzOB0lcKIQikCZaTXBLuBxdkhbaNBIQQvzDdJ/p/nnplZ8ZYPYl EKp7yqXju5JtQFfLmRbA1L4Y0NkVj7sN/g== X-Google-Smtp-Source: AGHT+IEE8FPUfNR/pLB5aMwRh5okRCRMLSVqLwNBSJFvYL/NAOYlLJSAPuTZth1jFo4YypLPVvRatQ== X-Received: by 2002:a05:6a20:f3a3:b0:16b:7ab1:cf74 with SMTP id qr35-20020a056a20f3a300b0016b7ab1cf74mr4170289pzb.33.1696681651925; Sat, 07 Oct 2023 05:27:31 -0700 (PDT) Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id e19-20020aa78c53000000b00666e649ca46sm3080750pfd.101.2023.10.07.05.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 05:27:31 -0700 (PDT) From: Visuwesh To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)] In-Reply-To: <877cnyzlda.fsf@localhost> (Ihor Radchenko's message of "Sat, 07 Oct 2023 12:07:45 +0000") References: <87jzsintv0.fsf@gmail.com> <87lecx2nff.fsf@localhost> <87bkdsomm2.fsf@gmail.com> <87a5tamm3j.fsf@gmail.com> <877cnyzlda.fsf@localhost> Date: Sat, 07 Oct 2023 17:57:28 +0530 Message-ID: <87a5sur51r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::442; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x442.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.55 X-Spam-Score: -6.55 X-Migadu-Queue-Id: AEB346174F X-TUID: UM30Owwbb+My [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=8B= =E0=AE=AA=E0=AE=B0=E0=AF=8D 07, 2023] Ihor Radchenko wrote: > Visuwesh writes: > >> Attached patch considers your review and also another defcustom to tell >> how to generate the filename which by default autogenerates a filename >> based on current time. > > Thanks! > I still disagree about :safe, but I can change it myself to something > more restrictive like :safe (lambda (x) (eq x 'attach))) OK, I will change it on my end then. I can always override the :safe function on my end. > Also, it looks like we also need to define `x-dnd-direct-save-function', > as Po Lu pointed in https://list.orgmode.org/orgmode/87bkdccihf.fsf@yahoo= .com/=20 I will get to it, hopefully by Sunday. What do you think about adding a defcustom as requested by Liu Hui in https://yhetil.org/orgmode/CAOQTW-P6_w3HeepjFtKCFey2RPfGJFOUhWMSEOE2AjNPoi+= N+Q@mail.gmail.com/