Hi This is an EMACS keyboard macro that I've been using since more than 4-5 years now. (global-set-key [24 11 48] 'my-insert-timestamp)  ;; It translates to the key sequence: C-x C-k 0 Its definition is: (fset 'my-insert-timestamp    (kmacro-lambda-form [?* ?\C-u ?\M-! ?p ?r ?i ?n ?t ?f ?  ?\" ?% ?\( ?% ?F ?  ?% ?T ?\) ?T ?\" ?* ?\C-m ?\C-e ?\C-m ?\C-m] 0 "%d")) Which basically means to to execute the key sequence: C-u M-! printf "%(%F %T)".  This in turn executes the command to insert the time-stamp at point's location. This macro does execute and the time-stamp does get printed, but I also get a Warning pop-up in the EMACS frame as a window. Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-08-16, modified by Debian Package: Org mode version 9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-fontify-whole-heading-line t org-link-shell-confirm-function 'yes-or-no-p org-num-format-function 'org-num-default-format org-metadown-hook '(org-babel-pop-to-session-maybe) org-time-stamp-custom-formats '("<%Y-%m-%d>" . "<%Y-%m-%d %T>") org-pretty-entities t org-latex-default-packages-alist '(("AUTO" "inputenc" t ("pdflatex")) ("T1" "fontenc" t ("pdflatex")) ("" "graphicx" t nil) ("" "grffile" t nil) ("" "longtable" nil nil) ("" "wrapfig" nil nil) ("" "rotating" nil nil) ("normalem" "ulem" t nil) ("" "amsmath" t nil) ("" "textcomp" t nil) ("" "amssymb" t nil) ("" "capt-of" nil nil) ("" "hyperref" nil nil)) org-edit-src-content-indentation 0 org-special-ctrl-a/e t org-persist-before-write-hook '(org-element--cache-persist-before-write) org-tag-alist '(("HIG" . 104) ("MED" . 109) ("LOW" . 108)) org-modules '(ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus ol-info ol-irc ol-mhe ol-rmail org-tempo ol-w3m) org-startup-folded nil org-mode-hook '(org-tempo-setup (lambda nil (define-key org-mode-map (kbd "") 'org-export-as-pdf)) org-indent-mode org-fancy-priorities-mode olivetti-mode org-variable-pitch-minor-mode org-sticky-header-mode org-superstar-mode #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes #[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] (lambda nil (font-lock-add-keywords 'org-mode '(("^.*:TT:.*$" . font-lock-warning-face)))) org-pretty-tags-mode prettify-symbols-mode) org-columns-ellipses "" org-fancy-priorities-list '("Ⓐ" "Ⓑ" "Ⓒ" "Ⓓ" "Ⓔ") org-indent-indentation-per-level 4 org-outline-path-complete-in-steps nil org-archive-hook '(org-attach-archive-delete-maybe) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-agenda-restore-windows-after-quit t org-superstar-headline-bullets-list '(8203) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-finalize-hook '(org-pretty-tags-refresh-agenda-lines org-fancy-priorities-create-overlays) org-startup-indented t org-startup-with-inline-images t org-sticky-header-outline-path-reversed-separator "❮" org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-pretty-tags-mode-hook '(org-pretty-tags-mode-set-explicitly) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-startup-with-latex-preview t org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-babel-pre-tangle-hook '(save-buffer) org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . "okular %s")) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-hide-leading-stars t org-variable-pitch-fixed-font "M+ 1mn Light" org-read-date-popup-calendar nil org-babel-load-languages '((emacs-lisp . t) (python . t) (jupyter . t)) org-log-done 'time org-hide-emphasis-markers t org-export-backends '(ascii html latex man md odt org texinfo) org-list-use-circular-motion t org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-pretty-tags-surrogate-strings '(("HIG" . "ℋ") ("MED" . "ℳ") ("LOW" . "ℒ")) org-priority-lowest 69 org-agenda-loop-over-headlines-in-active-region nil org-src-preserve-indentation t org-fontify-quote-and-verse-blocks t org-superstar-remove-leading-stars t org-fold-core-isearch-open-function 'org-fold--isearch-reveal org-occur-hook '(org-first-headline-recenter) org-log-into-drawer t org-export-before-processing-hook '(org-babel-jupyter-setup-export) org-after-tags-change-hook '(org-pretty-tags-refresh-overlays-org-mode) org-sticky-header-heading-star "" org-ctrl-c-ctrl-c-hook '(org-pretty-tags-refresh-overlays-org-mode) org-pretty-tags-surrogate-images '(("@HIG" . "/home/punit/dl/HIG.jpg") ("@MED" . "/home/punit/dl/MED.jpg") ("@LOW" . "/home/punit/dl/LOW.jpg")) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-todo-keywords '((sequence "DOI(d!/@)" "TOD(t!/@)" "VER(v!/@)" "WAI(w!/@)" "|" "FIN(f!/@)" "SCR(s!/@)")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-tags-column 0 org-attach-id-dir "attachments/" org-safe-remote-resources '("\\`https://fniessen\\.github\\.io/org-html-themes/org/theme-readtheorg\\.setup\\'") org-sticky-header-full-path 'reversed org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el") ("elisp" . "el")) org-format-latex-options '(:foreground "#b0b0b0" :background "#232627" :scale 1.5 :html-foreground "#fcfcfc" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")) org-display-remote-inline-images 'cache org-priority-faces '((65 . "#FFC300") (66 . "#FF9733") (67 . "#B73F39") (68 . "#7F1F3F") (69 . "#581845")) org-export-before-parsing-hook '(org-attach-expand-links org-babel-jupyter-strip-ansi-escapes) org-id-locations-file "~/.emacs.d/org-id-locations" org-pretty-tags-mode-lighter " PrettyTags" org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("w3m" :store org-w3m-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description org-info-description-as-command) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("eww" :follow org-eww-open :store org-eww-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--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-tag-faces '(("HIG" . "Brown1") ("MED" . "Cyan1") ("LOW" . "Aquamarine")) org-link-elisp-confirm-function 'yes-or-no-p org-todo-keyword-faces '(("DOI" . "Orange") ("TOD" . "Red") ("VER" . "Yellow") ("WAI" . "White") ("FIN" . "Green") ("SCR" . "AntiqueWhite4")) org-tab-before-tab-emulation-hook '(org-tempo-complete-tag) org-sticky-header-prefix nil org-latex-packages-alist '(("" "listingsutf8" nil) ("" "color" nil) ("" "listings" t) ("margins=3cm,paperwidth=21cm,paperheight=29.7cm" "geometry" t) ("compactitem,compactdesc,compactenum" "paralist" nil)) org-fontify-todo-headline t org-display-custom-times t org-startup-truncated nil org-priority-default 67 org-superstar-item-bullet-alist '((42 . 10057) (43 . 1805) (45 . 10144)) org-pretty-entities-include-sub-superscripts nil org-variable-pitch-fontify-headline-prefix t org-directory "~/doc" org-table-default-size "8x2" org-num-face 'comint-highlight-prompt org-indent-mode-turns-off-org-adapt-indentation nil org-default-notes-file "~/.emacs.d/org-notes" org-list-allow-alphabetical t org-treat-insert-todo-heading-as-state-change t ) -- *Punit Arya* +91 9035 312 634 /Sent From Mozilla Thunderbird/ //