emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9


From: Punit Arya
Subject: Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]
Date: Tue, 27 Aug 2024 18:16:39 +0530
User-agent: Mozilla Thunderbird

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]