all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tpeplt <tpeplt@gmail.com>
To: Maske <kediez@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Help with hooks
Date: Fri, 15 Sep 2023 23:09:14 -0400	[thread overview]
Message-ID: <87o7i2ervp.fsf@gmail.com> (raw)
In-Reply-To: <9e56b755-2540-d31b-68aa-c2500cb9fce1@gmail.com> (Maske's message of "Fri, 15 Sep 2023 15:46:29 +0200")

Maske <kediez@gmail.com> writes:

>
> I think version 20220318.1618 is newer than  2.1.0. It's from MELPA.
> Do you think I should go for the older version?
>

It doesn’t hurt to try the other version since you can always revert.

> I can hear the sounds related to org-pomodoro start and finishing.
>

Something simple to try:

1. Remove (comment out) the three forms that add values to
‘org-pomodoro-started-hook’.

2. Add the following:

(defun my-simple-proc ()
  "A procedure to add to a hook variable."
  (message "running my hook..."))

(add-hook 'org-pomodoro-started-hook 'my-simple-proc)

3. Test the pomodoro feature.  After you hear the sounds, you should
view your *Messages* buffer (type C-h e).  It should contain the message
"running my hook...".

If it does, then you are using ‘org-pomodoro’ properly, and you will
need to investigate how to use the toggle functions that you want to
activate.

--



      reply	other threads:[~2023-09-16  3:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-03 17:05 Help with hooks Maske
2023-09-04 17:58 ` tpeplt
     [not found]   ` <87cyyxpzhp.fsf@dataswamp.org>
2023-09-09 10:41     ` Maske
2023-09-10 20:43       ` Emanuel Berg
2023-09-12 13:02         ` Mailing lists help [it was: Help with hooks] Maske
2023-09-12 13:16           ` Po Lu
2023-09-12 13:28             ` Maske
2023-09-12 13:39               ` Po Lu
2023-09-12 15:10           ` Eric S Fraga
2023-09-12 16:04             ` Emanuel Berg
2023-09-12 17:27             ` Maske
2023-09-10 12:03   ` Help with hooks Maske
2023-09-10 23:36     ` tpeplt
2023-09-11 13:00       ` tpeplt
2023-09-15 13:46       ` Maske
2023-09-16  3:09         ` tpeplt [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7i2ervp.fsf@gmail.com \
    --to=tpeplt@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kediez@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.