* [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
@ 2024-05-16 11:15 Punit Arya
2024-05-17 11:50 ` Ihor Radchenko
0 siblings, 1 reply; 18+ messages in thread
From: Punit Arya @ 2024-05-16 11:15 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 9179 bytes --]
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 "<f5>") '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/
//
[-- Attachment #2: Type: text/html, Size: 11768 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-05-16 11:15 [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)] Punit Arya
@ 2024-05-17 11:50 ` Ihor Radchenko
2024-05-21 13:01 ` Punit Arya
2024-05-21 13:10 ` Punit Arya
0 siblings, 2 replies; 18+ messages in thread
From: Ihor Radchenko @ 2024-05-17 11:50 UTC (permalink / raw)
To: Punit Arya; +Cc: emacs-orgmode
Punit Arya <arya.punit@gmail.com> writes:
> 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.
Thanks for reporting!
Unfortunately, I am unable to reproduce this on my side because C-u M-!
printf ... command does not work with my shell:
/bin/bash: line 1: printf: warning: `': invalid time format specification
/bin/bash: line 1: printf: `T': invalid format character
%(0.000000
May you try to use the development version of Org mode and let me know
if you keep seeing the warning?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-05-17 11:50 ` Ihor Radchenko
@ 2024-05-21 13:01 ` Punit Arya
2024-05-21 13:10 ` Punit Arya
1 sibling, 0 replies; 18+ messages in thread
From: Punit Arya @ 2024-05-21 13:01 UTC (permalink / raw)
To: emacs-orgmode
On 2024-05-17 17:20, Ihor Radchenko wrote:
> Punit Arya <arya.punit@gmail.com> writes:
>
>> 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.
>
> Thanks for reporting!
> Unfortunately, I am unable to reproduce this on my side because C-u M-!
> printf ... command does not work with my shell:
>
> /bin/bash: line 1: printf: warning: `': invalid time format specification
> /bin/bash: line 1: printf: `T': invalid format character
> %(0.000000
>
> May you try to use the development version of Org mode and let me know
> if you keep seeing the warning?
>
Sorry, I missed the "T" there in the command. The whole command is:
printf "%(%F %T)T"
I'm working on setting up the Org mode dev environment. Will try to
reproduce in that environment and update.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-05-17 11:50 ` Ihor Radchenko
2024-05-21 13:01 ` Punit Arya
@ 2024-05-21 13:10 ` Punit Arya
2024-06-18 12:39 ` Ihor Radchenko
1 sibling, 1 reply; 18+ messages in thread
From: Punit Arya @ 2024-05-21 13:10 UTC (permalink / raw)
To: emacs-orgmode; +Cc: emacs-orgmode
On 2024-05-17 17:20, Ihor Radchenko wrote:
> Punit Arya <arya.punit@gmail.com> writes:
>
>> 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.
>
> Thanks for reporting!
> Unfortunately, I am unable to reproduce this on my side because C-u M-!
> printf ... command does not work with my shell:
>
> /bin/bash: line 1: printf: warning: `': invalid time format specification
> /bin/bash: line 1: printf: `T': invalid format character
> %(0.000000
>
> May you try to use the development version of Org mode and let me know
> if you keep seeing the warning?
>
Sorry, I missed the "T" there in the command. The whole command is:
printf "%(%F %T)T"
I'm working on setting up the Org mode dev environment. Will try to
reproduce in that environment and update.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-05-21 13:10 ` Punit Arya
@ 2024-06-18 12:39 ` Ihor Radchenko
2024-06-18 17:17 ` Punit Arya
0 siblings, 1 reply; 18+ messages in thread
From: Ihor Radchenko @ 2024-06-18 12:39 UTC (permalink / raw)
To: Punit Arya; +Cc: emacs-orgmode
Punit Arya <arya.punit@gmail.com> writes:
> Sorry, I missed the "T" there in the command. The whole command is:
>
> printf "%(%F %T)T"
>
> I'm working on setting up the Org mode dev environment. Will try to
> reproduce in that environment and update.
I tried with this command using the latest Org release.
I am unable to reproduce.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-06-18 12:39 ` Ihor Radchenko
@ 2024-06-18 17:17 ` Punit Arya
2024-07-22 11:53 ` Ihor Radchenko
0 siblings, 1 reply; 18+ messages in thread
From: Punit Arya @ 2024-06-18 17:17 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 535 bytes --]
Alright, I'll check it out when I upgrade to the latest version 9.7 from
the ELPA repo.
*Punit Arya*
/Sent From Mozilla Thunderbird/
//
On 2024-06-18 18:09, Ihor Radchenko wrote:
> Punit Arya<arya.punit@gmail.com> writes:
>
>> Sorry, I missed the "T" there in the command. The whole command is:
>>
>> printf "%(%F %T)T"
>>
>> I'm working on setting up the Org mode dev environment. Will try to
>> reproduce in that environment and update.
> I tried with this command using the latest Org release.
> I am unable to reproduce.
>
[-- Attachment #2: Type: text/html, Size: 1226 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-06-18 17:17 ` Punit Arya
@ 2024-07-22 11:53 ` Ihor Radchenko
2024-07-22 12:30 ` Punit Arya
0 siblings, 1 reply; 18+ messages in thread
From: Ihor Radchenko @ 2024-07-22 11:53 UTC (permalink / raw)
To: Punit Arya; +Cc: emacs-orgmode
Punit Arya <arya.punit@gmail.com> writes:
> Alright, I'll check it out when I upgrade to the latest version 9.7 from
> the ELPA repo.
It has been over a month. Have you had a chance to try the latest Org mode?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-07-22 11:53 ` Ihor Radchenko
@ 2024-07-22 12:30 ` Punit Arya
2024-07-22 12:43 ` Ihor Radchenko
0 siblings, 1 reply; 18+ messages in thread
From: Punit Arya @ 2024-07-22 12:30 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 980 bytes --]
Hi Ihor
Yes, I've installed org-9.7.7 from ELPA and the issue persists. I get
this error text now when running the shell command:
---
Warning (org-element): org-element--cache: Org parser error in
_Misc/Scratch.org::13112. Resetting.
The error was: (error "Invalid search bound (wrong side of point)")
Backtrace:
nil
Please report this to Org mode mailing list (M-x org-submit-bug-report).
---
I ran the command: org-element-cache-reset but it didn't have an effect.
The shell command still runs though, as in previous Org versions, I just
get the above error text in the *Warnings* buffer.
Please let me know if I can do anything else.
Regards!
*Punit Arya*
/Sent From Mozilla Thunderbird/
//
On 2024-07-22 17:23, Ihor Radchenko wrote:
> Punit Arya<arya.punit@gmail.com> writes:
>
>> Alright, I'll check it out when I upgrade to the latest version 9.7 from
>> the ELPA repo.
> It has been over a month. Have you had a chance to try the latest Org mode?
>
[-- Attachment #2: Type: text/html, Size: 1835 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-07-22 12:30 ` Punit Arya
@ 2024-07-22 12:43 ` Ihor Radchenko
2024-08-22 6:24 ` Ihor Radchenko
0 siblings, 1 reply; 18+ messages in thread
From: Ihor Radchenko @ 2024-07-22 12:43 UTC (permalink / raw)
To: Punit Arya; +Cc: emacs-orgmode
Punit Arya <arya.punit@gmail.com> writes:
> Yes, I've installed org-9.7.7 from ELPA and the issue persists. I get
> this error text now when running the shell command:
Please try to provide a detailed reproducer using Org git repository,
starting from make repro. See https://orgmode.org/manual/Feedback.html#Feedback
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-07-22 12:43 ` Ihor Radchenko
@ 2024-08-22 6:24 ` Ihor Radchenko
2024-08-27 5:58 ` Punit Arya
0 siblings, 1 reply; 18+ messages in thread
From: Ihor Radchenko @ 2024-08-22 6:24 UTC (permalink / raw)
To: Punit Arya; +Cc: emacs-orgmode
Ihor Radchenko <yantar92@posteo.net> writes:
> Punit Arya <arya.punit@gmail.com> writes:
>
>> Yes, I've installed org-9.7.7 from ELPA and the issue persists. I get
>> this error text now when running the shell command:
>
> Please try to provide a detailed reproducer using Org git repository,
> starting from make repro. See https://orgmode.org/manual/Feedback.html#Feedback
It has been a month. Have you had a chance to look into providing more details?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-08-22 6:24 ` Ihor Radchenko
@ 2024-08-27 5:58 ` Punit Arya
2024-08-27 6:21 ` Dov Grobgeld
2024-08-31 14:38 ` Ihor Radchenko
0 siblings, 2 replies; 18+ messages in thread
From: Punit Arya @ 2024-08-27 5:58 UTC (permalink / raw)
To: emacs-orgmode; +Cc: emacs-orgmode
On 2024-08-22 11:54, Ihor Radchenko wrote:
> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> Punit Arya <arya.punit@gmail.com> writes:
>>
>>> Yes, I've installed org-9.7.7 from ELPA and the issue persists. I get
>>> this error text now when running the shell command:
>>
>> Please try to provide a detailed reproducer using Org git repository,
>> starting from make repro. See https://orgmode.org/manual/Feedback.html#Feedback
>
> It has been a month. Have you had a chance to look into providing more details?
>
Dear Igor
I did not get the warning while using the latest Org (9.7.11) from the
repo and minimal config as suggested in the page.
I guess I need to bisect and troubleshoot my config. Do you've any
hints where the warning is coming from ?
Thanks!
--
Punit
Sent From Mozilla Thunderbird
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-08-27 5:58 ` Punit Arya
@ 2024-08-27 6:21 ` Dov Grobgeld
2024-08-27 12:46 ` Punit Arya
2024-08-31 14:38 ` Ihor Radchenko
1 sibling, 1 reply; 18+ messages in thread
From: Dov Grobgeld @ 2024-08-27 6:21 UTC (permalink / raw)
To: Punit Arya; +Cc: Ihor Radchenko, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]
Any particular reason you use a macro instead of just binding to a function
like this?
(defun insert-current-datetime ()
"Insert the current date and time in the format 'YYYY-MM-DD HH:MM:SS' at
point."
(interactive)
(insert (format-time-string "%Y-%m-%d %H:%M:%S")))
On Tue, Aug 27, 2024 at 8:59 AM Punit Arya <arya.punit@gmail.com> wrote:
> On 2024-08-22 11:54, Ihor Radchenko wrote:
> > Ihor Radchenko <yantar92@posteo.net> writes:
> >
> >> Punit Arya <arya.punit@gmail.com> writes:
> >>
> >>> Yes, I've installed org-9.7.7 from ELPA and the issue persists. I get
> >>> this error text now when running the shell command:
> >>
> >> Please try to provide a detailed reproducer using Org git repository,
> >> starting from make repro. See
> https://orgmode.org/manual/Feedback.html#Feedback
> >
> > It has been a month. Have you had a chance to look into providing more
> details?
> >
>
> Dear Igor
>
> I did not get the warning while using the latest Org (9.7.11) from the
> repo and minimal config as suggested in the page.
>
> I guess I need to bisect and troubleshoot my config. Do you've any
> hints where the warning is coming from ?
>
> Thanks!
> --
> Punit
>
> Sent From Mozilla Thunderbird
>
>
>
[-- Attachment #2: Type: text/html, Size: 2261 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-08-27 6:21 ` Dov Grobgeld
@ 2024-08-27 12:46 ` Punit Arya
0 siblings, 0 replies; 18+ messages in thread
From: Punit Arya @ 2024-08-27 12:46 UTC (permalink / raw)
To: emacs-orgmode; +Cc: dov.grobgeld
On 2024-08-27 11:51, Dov Grobgeld wrote:
> Any particular reason you use a macro instead of just binding to a
> function like this?
>
> (defun insert-current-datetime ()
> "Insert the current date and time in the format 'YYYY-MM-DD HH:MM:SS'
> at point."
> (interactive)
> (insert (format-time-string "%Y-%m-%d %H:%M:%S")))
>
> On Tue, Aug 27, 2024 at 8:59 AM Punit Arya <arya.punit@gmail.com
> <mailto:arya.punit@gmail.com>> wrote:
>
> On 2024-08-22 11:54, Ihor Radchenko wrote:
> > Ihor Radchenko <yantar92@posteo.net <mailto:yantar92@posteo.net>>
> writes:
> >
> >> Punit Arya <arya.punit@gmail.com <mailto:arya.punit@gmail.com>>
> writes:
> >>
> >>> Yes, I've installed org-9.7.7 from ELPA and the issue
> persists. I get
> >>> this error text now when running the shell command:
> >>
> >> Please try to provide a detailed reproducer using Org git
> repository,
> >> starting from make repro. See
> https://orgmode.org/manual/Feedback.html#Feedback
> <https://orgmode.org/manual/Feedback.html#Feedback>
> >
> > It has been a month. Have you had a chance to look into providing
> more details?
> >
>
> Dear Igor
>
> I did not get the warning while using the latest Org (9.7.11) from the
> repo and minimal config as suggested in the page.
>
> I guess I need to bisect and troubleshoot my config. Do you've any
> hints where the warning is coming from ?
>
> Thanks!
> --
> Punit
>
> Sent From Mozilla Thunderbird
>
>
Dear Dov
Thank you. The function works just as fine and doesn't trigger a
warning, unlike the macro version.
--
Punit Arya
Sent From Mozilla Thunderbird
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-08-27 5:58 ` Punit Arya
2024-08-27 6:21 ` Dov Grobgeld
@ 2024-08-31 14:38 ` Ihor Radchenko
2024-09-01 6:25 ` Punit Arya
1 sibling, 1 reply; 18+ messages in thread
From: Ihor Radchenko @ 2024-08-31 14:38 UTC (permalink / raw)
To: Punit Arya; +Cc: emacs-orgmode
Punit Arya <arya.punit@gmail.com> writes:
>> It has been a month. Have you had a chance to look into providing more details?
>>
>
> I did not get the warning while using the latest Org (9.7.11) from the
> repo and minimal config as suggested in the page.
>
> I guess I need to bisect and troubleshoot my config. Do you've any
> hints where the warning is coming from ?
No idea. But this warning may appear for multiple reasons.
You may try to add
(setq org-element--cache-self-verify 'backtrace)
(setq org-element--cache-self-verify-frequency 1.0)
to your config, so that Org mode tries hard to catch any issues in the
cache. If what you see is related to the cache, you should be able to
see parser logs.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-08-31 14:38 ` Ihor Radchenko
@ 2024-09-01 6:25 ` Punit Arya
2024-10-02 16:35 ` Ihor Radchenko
0 siblings, 1 reply; 18+ messages in thread
From: Punit Arya @ 2024-09-01 6:25 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 933 bytes --]
Thank you Ihor. I'll try troubleshooting my config. Will let you know
if I find something helpful.
*Punit Arya*
/Sent From Mozilla Thunderbird/
//
On 2024-08-31 20:08, Ihor Radchenko wrote:
> Punit Arya<arya.punit@gmail.com> writes:
>
>>> It has been a month. Have you had a chance to look into providing more details?
>>>
>> I did not get the warning while using the latest Org (9.7.11) from the
>> repo and minimal config as suggested in the page.
>>
>> I guess I need to bisect and troubleshoot my config. Do you've any
>> hints where the warning is coming from ?
> No idea. But this warning may appear for multiple reasons.
> You may try to add
> (setq org-element--cache-self-verify 'backtrace)
> (setq org-element--cache-self-verify-frequency 1.0)
>
> to your config, so that Org mode tries hard to catch any issues in the
> cache. If what you see is related to the cache, you should be able to
> see parser logs.
>
[-- Attachment #2: Type: text/html, Size: 1717 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-09-01 6:25 ` Punit Arya
@ 2024-10-02 16:35 ` Ihor Radchenko
2024-10-08 5:48 ` Punit Arya
0 siblings, 1 reply; 18+ messages in thread
From: Ihor Radchenko @ 2024-10-02 16:35 UTC (permalink / raw)
To: Punit Arya; +Cc: emacs-orgmode
Punit Arya <arya.punit@gmail.com> writes:
> Thank you Ihor. I'll try troubleshooting my config. Will let you know
> if I find something helpful.
Did you manage to find anything?
For now, as long as I cannot reproduce the problem, there is nothing
I can do on Org side.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-10-02 16:35 ` Ihor Radchenko
@ 2024-10-08 5:48 ` Punit Arya
2024-10-19 13:04 ` Ihor Radchenko
0 siblings, 1 reply; 18+ messages in thread
From: Punit Arya @ 2024-10-08 5:48 UTC (permalink / raw)
To: emacs-orgmode; +Cc: emacs-orgmode
On 2024-10-02 22:05, Ihor Radchenko wrote:
>> Thank you Ihor. I'll try troubleshooting my config. Will let you know
>> if I find something helpful.
>
> Did you manage to find anything?
>
> For now, as long as I cannot reproduce the problem, there is nothing
> I can do on Org side.
No, Ihor. I'll update the thread if I ever get around to work on this,
though it is unlikely given the other time-consuming tasks I've on hand
and file. We can consider this issue closed, if it suits the project.
Thank you very much for your contributions to Org mode and open-source
in general.
--
Punit
Sent From Mozilla Thunderbird
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
2024-10-08 5:48 ` Punit Arya
@ 2024-10-19 13:04 ` Ihor Radchenko
0 siblings, 0 replies; 18+ messages in thread
From: Ihor Radchenko @ 2024-10-19 13:04 UTC (permalink / raw)
To: Punit Arya; +Cc: emacs-orgmode
Punit Arya <arya.punit@gmail.com> writes:
> ... I'll update the thread if I ever get around to work on this,
> though it is unlikely given the other time-consuming tasks I've on hand
> and file. We can consider this issue closed, if it suits the project.
Ok. Closing.
Canceled.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-10-19 13:03 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 11:15 [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)] Punit Arya
2024-05-17 11:50 ` Ihor Radchenko
2024-05-21 13:01 ` Punit Arya
2024-05-21 13:10 ` Punit Arya
2024-06-18 12:39 ` Ihor Radchenko
2024-06-18 17:17 ` Punit Arya
2024-07-22 11:53 ` Ihor Radchenko
2024-07-22 12:30 ` Punit Arya
2024-07-22 12:43 ` Ihor Radchenko
2024-08-22 6:24 ` Ihor Radchenko
2024-08-27 5:58 ` Punit Arya
2024-08-27 6:21 ` Dov Grobgeld
2024-08-27 12:46 ` Punit Arya
2024-08-31 14:38 ` Ihor Radchenko
2024-09-01 6:25 ` Punit Arya
2024-10-02 16:35 ` Ihor Radchenko
2024-10-08 5:48 ` Punit Arya
2024-10-19 13:04 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).