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.pu...@gmail.com <mailto:arya.pu...@gmail.com>> wrote:

    On 2024-08-22 11:54, Ihor Radchenko wrote:
     > Ihor Radchenko <yanta...@posteo.net <mailto:yanta...@posteo.net>>
    writes:
     >
     >> Punit Arya <arya.pu...@gmail.com <mailto:arya.pu...@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