From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Christopher M. Miles" Newsgroups: gmane.emacs.help Subject: command `yank-meida` raise error (wrong-type-argument sequencep TARGETS) Date: Wed, 05 Jun 2024 13:14:37 +0800 Message-ID: <665ff443.170a0220.381ba.16cd@mx.google.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15746"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs Help List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 05 07:15:37 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1sEizp-0003vT-0O for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jun 2024 07:15:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEiz7-0004SP-2n; Wed, 05 Jun 2024 01:14:53 -0400 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 1sEiz5-0004Rd-8M for help-gnu-emacs@gnu.org; Wed, 05 Jun 2024 01:14:51 -0400 Original-Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEiz2-0002Lm-0K for help-gnu-emacs@gnu.org; Wed, 05 Jun 2024 01:14:50 -0400 Original-Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2c1def9b4b3so3714616a91.0 for ; Tue, 04 Jun 2024 22:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717564485; x=1718169285; darn=gnu.org; h=mime-version:date:subject:to:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=ACIs8Mwq6kOaXu8/BMjF6Gv6rwsjweuZDgXfDUTdBsw=; b=hxsDS51oSdPx9geE0mWSxrmxGAEvFQj8NiUrlQjpxa9VyYxTTcCZV4Gt7kjF7nlzFc 1ZdH9rfaUye7vPANNSM4QEQgh11bxa6sTmcfBm0oKDuMESEn+aswIEG+kcc8/VrujM4c AeIbyLludIrYQqL7Kmy0hNNGYECZ29XrsXLjWiCX/+uyUy6JKibUJMnxpIBfHb4xmAn2 VS91aR6P9ax7U56rKjC6VUwA+R5SH9/UEDtX98ouuXzoOfEL9Dmc9MIZrpX0jKGoWdEO 0YG0fWrohg6piewsnolYGJQqszeAFqfBVxmq59Y1dizrFOvol1VvGhGbLAo3HlqNd4Ug E8ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717564485; x=1718169285; h=mime-version:date:subject:to:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ACIs8Mwq6kOaXu8/BMjF6Gv6rwsjweuZDgXfDUTdBsw=; b=Bb7E/CxrWtDJadsyolMuHlC5OrBDDrNE0umorZrV2savKRjw/G/QMWGvdasm4xbRCL vco0QZawoNHNCVPJ1cbeJWYOgEz86dZzLL/NhqEVHouZOojA5xMDkuxWopW6Oi19Pqci +5r6rG69ILGlgj0/qJHADUS6jqQWH2Uifh22n4R5rYP74TY6OGo+iwnrjoQD3nGzBViU XsBcg+F0Y6astDwE9mqqq0XSvkBVNS6LmRDmC1MAhNdXXOs3sHB/rJpsXMdo9SVnY3A8 Ch41JrdGEDdwQbbI2i8U95PSKiD0Mt0Bbw0R8IDJwwXdhmcEkuqTuvUYQO3fCTm0daDl 1qFw== X-Gm-Message-State: AOJu0Yz20lDIZJBx6drO9LOlugDPBcOBiQ+kmHRYNjgd31KVsRutl3ik PD6e8+OD5LdOgNCcAXn+qwVZq1Ab1ViRiBtcof+2Z6TO55S4sfySpMQbM60= X-Google-Smtp-Source: AGHT+IHOms4zySqs6BKC/D9O3pwBdlng8wHTAJKv0cpq7NaLWp0fOXGBzQiM4nXzxF/72g0Ty56efw== X-Received: by 2002:a17:90a:ea87:b0:2bd:69a4:b886 with SMTP id 98e67ed59e1d1-2c27db19f5cmr2017557a91.26.1717564484381; Tue, 04 Jun 2024 22:14:44 -0700 (PDT) Original-Received: from Mac-mini.local ([2409:8a28:60c1:e3b0:52d2:f5ff:fe16:c591]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c280698403sm491250a91.33.2024.06.04.22.14.41 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 04 Jun 2024 22:14:43 -0700 (PDT) X-Google-Original-Message-ID: Original-Received: by Mac-mini.local (Postfix, from userid 501) id 81D63D8A32E7; Wed, 5 Jun 2024 13:14:37 +0800 (CST) Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=numbchild@gmail.com; helo=mail-pj1-x102c.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146854 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable When I execute command `yank-media` in Org-mode buffer to paste the copied image from web browser. I meet the bellowing error (I got it through `toggle-debug-on-error`): #+begin_example Debugger entered--Lisp error: (wrong-type-argument sequencep TARGETS) mapc(#f(compiled-function (elt) #) TARGETS) seq-do(#f(compiled-function (elt) #) TARGETS) #f(compiled-function #'sequence #)(#f(compil= ed-function (elt) #) TARGETS) apply(#f(compiled-function #'sequence #) #f(= compiled-function (elt) #) TARGETS nil) seq-map(#f(compiled-function (elt) #) TARGET= S) seq-filter(#f(compiled-function (type) #) TAR= GETS) yank-media--find-matching-media("x/special-\\(?:gnome|KDE|mate\\)-files") #f(compiled-function () (interactive nil) #)() apply(#f(compiled-function () (interactive nil) #) nil) yank-media() funcall-interactively(yank-media) call-interactively(yank-media nil nil) command-execute(yank-media) #+end_example For a test, I copy an image in Arc web browser: source image URL: https://img1.doubanio.com/view/photo/raw/public/p28952450= 09.jpg My environment: =2D GNU Emacs 30.0.50 (build 2, aarch64-apple-darwin23.4.0, NS appkit-2487.= 50 Version 14.4.1 (Build 23E224)) of 2024-05-14 =2D Org mode: 9.7-pre =2D macOS: appkit-2487.50 Version 14.4.1 (Build 23E224) I got this error randomly, can't reproduce it in a specific situation. But I noticed one thing, when I got this error, then I move the point next line one or three times in buffer. Then the `yank-meida` command can yank the original image normally. This is weird. =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmZf9D0ACgkQG13xyVro msMQ8AgAqz/QpwJp/FpQ69sJo9SKdzav/WjkqDQx/sNejxIqzILXwp4oyodfzWIf zQ4RDH4MW/FA6YV/eX7UKbLvb4YpZ8krK94s1ce2vt+uygdC11h+i+RVpDQfcLKT oW5rFl+ItMTkOpDZLjXTg00UuCGvryjW7cL0ZIx8V9VeDd8Unt0zUd6NE3aTITd8 hw7RFyOt9Uws2tiBHEocNCcHcXHe8BIXqbxurloJFopjQS+gAqYCHQ6gOlvYr6mA Ng2Zchkgfp2Rwvt7d9RgKFpjJ7+OT5lz366KpX41/U8BHKpqQ1Eqy0SH3xyRTp6/ qrWlTYrUCKWFNPSGuIVfs/v5vsq+tw== =Uu3G -----END PGP SIGNATURE----- --=-=-=--