From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: yank-media: allow users to limit image types that can be inserted Date: Mon, 04 Nov 2024 09:34:30 +0530 Message-ID: <87cyjbwsoh.fsf@gmail.com> References: <79fc91f3-c2c3-44db-9817-595808917f26@cas.cat> <877cb2fj0c.fsf@gmail.com> <86cykufhw7.fsf@gnu.org> <3a015d0f-549a-401f-be1c-651c9dbd5d9a@cas.cat> <8634lqfcaf.fsf@gnu.org> <87ikulwsd6.fsf@gmail.com> <86o74ddzxp.fsf@gnu.org> <87msiqvkph.fsf@localhost> <86ed42bs03.fsf@gnu.org> <874j4yot7x.fsf@localhost> <861q01c3h9.fsf@gnu.org> <87wmht3n17.fsf@gmail.com> <86v7xdamck.fsf@gnu.org> <87sesh37ya.fsf@gmail.com> <86iktd8o9h.fsf@gnu.org> <87iktb171d.fsf@gmail.com> <861pzw4r3j.fsf@gnu.org> <87v7x8y81c.fsf@gmail.com> <86ttcs38a8.fsf@gnu.org> <87jzdny1g4.fsf@gmail.com> <87plncgrq9.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7743"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , pinmacs@cas.cat, rpluim@gmail.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 04 05:05:42 2024 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 1t7oLV-0001vU-N3 for ged-emacs-devel@m.gmane-mx.org; Mon, 04 Nov 2024 05:05:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7oKY-0006aW-AD; Sun, 03 Nov 2024 23:04:42 -0500 Original-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 1t7oKU-0006aJ-V6 for emacs-devel@gnu.org; Sun, 03 Nov 2024 23:04:38 -0500 Original-Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7oKS-0008Vl-Sr; Sun, 03 Nov 2024 23:04:38 -0500 Original-Received: by mail-pf1-x441.google.com with SMTP id d2e1a72fcca58-720d14c8dbfso2443900b3a.0; Sun, 03 Nov 2024 20:04:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730693074; x=1731297874; 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=EfmrHC1dYMLd7UW+UWVU2edxGctFEXFG/XXKSXwpsQY=; b=iqeY8Y4zvJJJOqsaJ3wjnk5LEE7juAuVxSxAEyvADm8byUfqx3kmBAOCuiPZ2fUMR8 ww3R3FxeI/TWY9bByTiHsiTGGhvQV5xQV2AAGKej9MXEAjakwebwtMnluzUh1kpk08dz roPdlQMaKU1Dx2xy0QjMMoQTYGkvGtAIGQOqQnlxy98DWmKbrVJPGctmJjnMaH6oQwzZ xytiJ9xqucjovTdQ20adDf1gkJWZvPVIkgJ81MR7n8aTszNVXi1usg/wO7enCKnYXcEv A7Mr1PcvwrdFctH6wlQx0tiCiQK7Jf7PxafjyQ9jIncQ13yP+2vLRTpWGMQll8JIId8q WOTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730693074; x=1731297874; 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=EfmrHC1dYMLd7UW+UWVU2edxGctFEXFG/XXKSXwpsQY=; b=D5NUTN9scWD6/nFRAAE74t3ogTwZt1mGvRPSfRy37EoHC4wsoo2aGfHADrQ4VYmOxq tlSjHXECqSTkRWreqSPqDUO9v3RuFM5wrM2vr4VX6/UDieKyc4XtCy93EAacJRvf3C0v IxSgQcYw61YEA83YOcK67T/Q8AizsXtUVQRFJUr5mrYh8pubTanyzxCydg1P987gEij9 yJpBxpiJH4x+uDFjoC4bkL/x8yhbP+FJXTyX4fmOP/ZAaizHKOik0gyec542F4Dy6P2r 9ZND2MB31GeuOgVV37CjJiMT3WUmHCAoUp+qlgGdmoi6ikV5tD6DlCYlp2qYCUGTJOGv nHhw== X-Forwarded-Encrypted: i=1; AJvYcCXCL/oO+yndRR2SGq2Je2iJGNvU7iP2+DeChir6pSSX1n/aSGbePcqbtfLU8Bv6/XRtVUzQbH/waO0tKw==@gnu.org X-Gm-Message-State: AOJu0YzYU64+I3MvKNXaKV5dobDNmODwLPvr4Dmv+jMdYnMVFri8dVSe LwUsPAIAIVq7OmsgrnWr5R1xuX66HMUUvhYhWmbcOpiZuX8RwDl3eRj2qb3/k48= X-Google-Smtp-Source: AGHT+IH0BWcOaU2UIGoBrWfM1HMUbqXWds1E1WkBibpYvFzLeP/YiLsaN6CiyzDgfTZma1CJcVsEcA== X-Received: by 2002:a05:6a00:3d56:b0:71e:5d1d:1aaf with SMTP id d2e1a72fcca58-720b9de1421mr22659053b3a.23.1730693074236; Sun, 03 Nov 2024 20:04:34 -0800 (PST) Original-Received: from localhost ([1.7.159.70]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-720bc1e582esm6410736b3a.52.2024.11.03.20.04.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Nov 2024 20:04:33 -0800 (PST) In-Reply-To: <87plncgrq9.fsf@localhost> (Ihor Radchenko's message of "Sun, 03 Nov 2024 17:19:26 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::441; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x441.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_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325075 Archived-At: [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=A8=E0=AE=B5= =E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 03, 2024] Ihor Radchenko wrot= e: > Visuwesh writes: > >>> And I'm saying that I don't understand why users would need such >>> control, in addition to being able to select a format in each case. >> >> OK, I think I finally understand your stance: we let yank-media pick the >> best format out of all in the clipboard based on rules that a major-mode >> can tweak. Apart from this, we also have C-u or somesuch that asks the >> user to select the data type instead of auto-selecting it. Since the >> C-u is good enough to override a case-by-case basis, you do not see >> value in having a defcustom to let the user customise the selection >> rules for the best data type, correct? > > So, what will be the plan here? A patch? I just want to inform that I probably won't be able to get to writing a patch until mid December since I hardly have time with my semester end nearing.