From: Punit Arya <arya.punit@gmail.com>
To: emacs-orgmode@gnu.org
Cc: dov.grobgeld@gmail.com
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 [thread overview]
Message-ID: <55e53e87-a4bf-47c1-bf29-fdfdd24238eb@gmail.com> (raw)
In-Reply-To: <CA++fsGFFtc88FXXoXVsFf2S1hngdt8067=dL924i-8+s0hxLGA@mail.gmail.com>
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
next prev parent reply other threads:[~2024-08-27 12:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2024-08-31 14:38 ` Ihor Radchenko
2024-09-01 6:25 ` Punit Arya
2024-10-02 16:35 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55e53e87-a4bf-47c1-bf29-fdfdd24238eb@gmail.com \
--to=arya.punit@gmail.com \
--cc=dov.grobgeld@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).