From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4BcQOV4ycGbyggAAqHPOHw:P1 (envelope-from ) for ; Mon, 17 Jun 2024 12:55:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4BcQOV4ycGbyggAAqHPOHw (envelope-from ) for ; Mon, 17 Jun 2024 14:55:59 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=qq.com header.s=s201512 header.b=OrNp3IWq; 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"; dmarc=pass (policy=quarantine) header.from=qq.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718628958; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kff2xq+42JxP25klHN1M6DriUGBpM54iZyprRIPNdyU=; b=ADnJHA/mbUuXPcPlMvguRxQnhA9tJSgmDBdCvJcLoelseQimkW0zuSFeX3IbpY4D4B3O2z lVEcor/BWP4dWW0OBxGJQRtxiliGmO+Y4VhPZ7ZSqaJObjYKmY2EmUoUsre9BeRTEVz1/o xvtu801cbiXIjR/kNTPRmFTns3Vgt+gOQwecDEPeVfGeQ+mH3Xn5HcHgTC86LO9Vfd9x8f AYlLyDM7XmnEcQgmcnbJHJtl/Y5/V9SNW7I5FswNWp+Hrasav9jNXKxIG4ILOFtQZIG38O eXYG6PNeaqq5G5sM1RpNfS485if7F8GuU3rynsgUVY53tQ/FweRKCwDEvfhEEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=qq.com header.s=s201512 header.b=OrNp3IWq; 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"; dmarc=pass (policy=quarantine) header.from=qq.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718628958; a=rsa-sha256; cv=none; b=rspd2bXqC8DOYBNqaHWhrLawbUz1OygHR+bD7wWI4baysPSocUw9B1QMHkQg7uwymvwFqe Y9YZxYug2aD8J4Mjf3Z5jvWZm/swri6BtvG/S/TgpEEcWdJcKFjOeNKWl/44n+EaG1VhdW AvFjN0kpWS3YcmHXbnLWlxIpiBjHwOxqPLDPYc5Jr37j42lORay2TIqgQrm4/WmErBI9JQ 7kiToftaBVk5EMHARpFusxhvnGDv++U+yDDNXKGmPwsjEDSSrBRN0k1s2oqQta6l4GwskK K68Y0ThRtRDWekPeRIkEROyYqc7084jV05H41qWXbZ0bUehDqeQXu16nqAkaew== 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 0BD7FCBEF for ; Mon, 17 Jun 2024 14:55:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJBsu-0003iH-O6; Mon, 17 Jun 2024 08:54:56 -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 1sJBsp-0003hw-I0 for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 08:54:52 -0400 Received: from out203-205-251-73.mail.qq.com ([203.205.251.73]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJBsk-0002bz-E7 for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 08:54:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1718628876; bh=kff2xq+42JxP25klHN1M6DriUGBpM54iZyprRIPNdyU=; h=From:To:Subject:Date; b=OrNp3IWqYU3shqdrht+mBPTxt8MZkflUVrINJYimcTaTkB9JSKgPN/53Kg/UC0khw CFwm+QHyo9cWVwtdOLqnvII565eFYHgs6H0sjjr7/AXfam9a/ggFVyI1md7Aot3mHo 53ZZMpDqHfD2yPAs03ykss43dDOUbEIaZnQTf2io= Received: from DESKTOP-LM2GC14 ([223.73.235.169]) by newxmesmtplogicsvrsza15-1.qq.com (NewEsmtp) with SMTP id D5A936A7; Mon, 17 Jun 2024 20:53:26 +0800 X-QQ-mid: xmsmtpt1718628806t3mfvjuo2 Message-ID: X-QQ-XMAILINFO: MZ7OTbK+3aE5vv+whq7t9uv9BHsUfH+ZfKY7/y88lomPNi/kxCLLOgx2tTIZl7 sTv5TRSQTd0Z5bZQsCQTWw7f2MpnIgAPF9nghy81iYYDdHrXgIemvcIfnDOUGJge6OgzL7XqDYIw FQjQKGUMfBFvmbWRUQFhk9K7xu3hkSYNxQkBD+FIkx+kvKEX8p9ibSasr3QJ4IYdZBH8b5GnLH07 rFRUIhOfV2ihTzIrduijhifdhWARXyTCle2WkWuxOUmjTDoiVuRp/zgHvEjxyaPM/QiKzicImbZv 9fkvUM5CfS55gLO6YlUayPW8X99v7beDHSGblt6lqKtAcubdhfkcfKYCuDejzfJV/WC0Zm6K4+o9 KRGqCX9XHvJu0dkLCDAzObwxIgSblFEQYMLXil71txRPBxz3c9y3pEsKUy/EQumMMQp95j04Z+Iu dE11kUDy9xTkvTE+jVujicYu9lT7T+UuIQ3zLexHcQNaJ3h8dd3F8FPkAzDL8ejHjiEI4oeDnv4v auKCOvnhiVmNeoxsJTMvX66S9550PP401WX/4x8wBMOcLVzyXgkudqTAOP5OvoPQYu3II0sD6QTI 0KmR3vUcjBpbyaTLs+YMXRNppI5BVNhoTgvelvxgF+DGzWye7qwSJmSw4ybBWRobqZP5dKnPEBhS mJohVuGmUvvP3OnlEHEmv9ZuDQfXQ8mzCCMsYXy76/QsVI9UfRXmXmNrastL59jdrkrSbzXlnxJ/ 1FmDKvIHViSdQMe9L4Po2cMpMZ0SdETXmaea9AXgo62z1FJ5AXVJVuKIpXfy2KqpKeiLpajyPPEI nnlX95kEOehThmQ+hJqLWlynq7MjwBYlwglk/EMLDIiKIVxlNsa0px/isQNaJRayWRsTl1uauupD KAUrXKWZ1v1rO5NWGQsNOdbwt1OkoqDTOsCSmz3ZY9m/9vTRZVD/u8Tl+/lIsJgOPnDY6gpQyM2T MzotuPSsPl3EnIrkENtG9W5B3Dg4fsFi2PcIhiC2E= X-QQ-XMRINFO: Nq+8W0+stu50PRdwbJxPCL0= From: ISouthRain To: emacs-orgmode@gnu.org Subject: [BUG] Set `org-yank-image-save-method` setting affects org-capture errors on Windows systems [9.7.4 (release_9.7.4-7-g165319 @ f:/App/emacs/share/emacs/30.0.50/lisp/org/)] Date: Mon, 17 Jun 2024 20:53:26 +0800 Message-ID: <86zfrjzq61.fsf@qq.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=203.205.251.73; envelope-from=isouthrain@qq.com; helo=out203-205-251-73.mail.qq.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 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, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.04 X-Migadu-Queue-Id: 0BD7FCBEF X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.04 X-TUID: 04aRLs5xB3CS Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Example: test.el: ;; All code (add-hook 'org-mode-hook '(lambda () (setq-local org-yank-image-save-method (format = "./attach/%s/" (file-name-nondirectory buffer-file-name))))) ;; End Start test emacs: emacs -q -l test.el M-x org-capture RET t Message out: Capture abort: Wrong type argument: stringp, nil But My friend tested it on a Linux system with no problems. Emacs : GNU Emacs 30.0.50 (build 1, x86_64-w64-mingw32) Package: Org mode version 9.7.4 (release_9.7.4-7-g165319 @ f:/App/emacs/sha= re/emacs/30.0.50/lisp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-agenda-skip-scheduled-if-done t org-yank-image-file-name-function 'org-yank-image-autogen-filename org-export-headline-levels 6 org-persist-before-write-hook '(org-element--cache-persist-before-write) org-pandoc-epub-rights "Copyright 2024 " org-html-format-headline-function 'org-html-format-headline-default-functi= on org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-pretty-entities t org-log-into-drawer t org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-babel-tangle-lang-exts '(("latex" . "tex") ("python" . "py") ("D" . "d= ") ("C++" . "cpp") ("emacs-lisp" . "el") ("elisp" . "el")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-comman= d-activate) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-finalize-hook '(org-agenda-to-appt) org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-yank-image-save-method "./attach/" org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-mode-hook '(page-break-lines-mode flyspell-mode #[nil ((if (display-graphic-p) (org-dynamic-bullets-mode))= ) nil] org-indent-mode (lambda nil (add-hook 'before-save-hook #'my/org-yank-path= -replace nil 'local)) whitespace-mode org-auto-tangle-mode #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-fold-show-all appen= d local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-a= ll append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-hide-emphasis-markers t org-hide-leading-stars t org-confirm-shell-link-function 'yes-or-no-p org-dynamic-bullets-mode-hook '(org-visual-indent-mode) org-odt-format-headline-function 'org-odt-format-headline-default-function org-archive-hook '(org-attach-archive-delete-maybe) org-metaup-hook '(org-babel-load-in-session-maybe) org-occur-hook '(org-first-headline-recenter) org-ellipsis " =E2=AD=8D" org-edit-src-content-indentation 0 org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-emphasis-alist '(("*" freedom-org-emphasis-bold) ("/" freedom-org-emph= asis-italic) ("_" freedom-org-emphasis-underline) ("=3D" org-verba= tim verbatim) ("~" org-code verbatim) ("+" (freedom-org-emphasis-strike-through :strike-thr= ough t))) org-confirm-babel-evaluate nil org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS = WIDTH)"] org-link-from-user-regexp "\\" org-priority-faces '((65 . error) (66 . warning) (67 . success)) org-bibtex-headline-format-function 'org-bibtex-headline-format-default org-link-parameters '(("attachment" :follow org-attach-follow :complete or= g-attach-complete-link) ("id" :follow org-id-open :store org-id-store-link-m= aybe) ("eww" :follow org-eww-open :store org-eww-store-lin= k) ("rmail" :follow org-rmail-open :store org-rmail-sto= re-link) ("mhe" :follow org-mhe-open :store org-mhe-store-lin= k) ("irc" :follow org-irc-visit :store org-irc-store-li= nk :export org-irc-export) ("info" :follow org-info-open :export org-info-expor= t :store org-info-store-link :insert-description org-info-de= scription-as-command) ("gnus" :follow org-gnus-open :store org-gnus-store-= link) ("docview" :follow org-docview-open :export org-docv= iew-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-= store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-expor= t :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-do= i-export) ("elfeed" :follow elfeed-link-open :store elfeed-lin= k-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-lin= k--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"]= 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":= "] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"= ] 6 "\n\n(fn URL ARG)"] ) ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"]= 6 "\n\n(fn URL ARG)"] ) ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("help" :follow org-link--open-help :store org-link-= -store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("DOING" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("HANGUP" :foreground "magenta" :weight bold) ("CANCEL" :foreground "forest green" :weight bold= )) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-he= ader-arg-expand) org-imenu-depth 6 org-todo-keywords '((sequence "TODO(t)" "DOING(i)" "HANGUP(h)" "WAITING" "= |" "DONE(d)" "CANCEL(c)") ) org-yank-dnd-method 'attach org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metadown-hook '(org-babel-pop-to-session-maybe) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-a= rg-expand) org-sort-function 'string-collate-lessp org--warnings nil org-startup-folded t org-babel-pre-tangle-hook '(save-buffer) org-agenda-current-time-string "=E2=8F=B0 =E2=94=88=E2=94=88=E2=94=88=E2= =94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88 now" org-agenda-prefix-format '((agenda . "%i %-12:c%?-12t%b% s") (todo . " %i = %-12:c") (tags . " %i %-12:c") (search . " %i %-12:c")) org-export-before-parsing-hook '(org-attach-expand-links) org-image-actual-width '(500) org-link-shell-confirm-function 'yes-or-no-p org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal org-cycle-include-plain-lists 'integrate org-agenda-time-grid '((weekly today require-timed) (800 1000 1200 1400 16= 00 1800 2000) "---" "=E2=94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88=E2= =94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88=E2=94=88") outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-protocol-protocol-alist '(("capture-html" :protocol "capture-html" :fu= nction org-protocol-capture-html--with-pandoc :kil= l-client t) ) org-babel-load-languages '((C \.t) (emacs-lisp \.t) (python . t) (latex . = t)) org-capture-after-finalize-hook '(org-agenda-to-appt) org-startup-with-inline-images t org-agenda-loop-over-headlines-in-active-region nil org-agenda-files '("F:\\MyFile\\Org\\Agenda.org" "F:\\MyFile\\Org\\Work.or= g") org-link-elisp-confirm-function 'yes-or-no-p org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lin= es org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-use-sub-superscripts nil org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-agenda-format-date #[(date) ((concat "\n" (make-string (window-width) = 9472) (org-agenda-format-date-aligned date))) nil] )