unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: tpeplt <tpeplt@gmail.com>
To: Maske <maske1foro@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Help with hooks
Date: Mon, 04 Sep 2023 13:58:48 -0400	[thread overview]
Message-ID: <87v8cpes6f.fsf@gmail.com> (raw)
In-Reply-To: <988fce74-dd23-b32f-cf7d-c48ac2783777@gmail.com> (Maske's message of "Sun, 3 Sep 2023 19:05:27 +0200")

The following message is a courtesy copy of an article
that has been posted to gnu.emacs.help as well.

Maske <maske1foro@gmail.com> writes:

>
> I am having constantly troubles with hooks (basically, I don't know
> how them work).
>
> For example, this has no effect, is it possible to know why?
>
> (add-hook 'org-pomodoro-started-hook 'toggle-tool-bar-mode-from-frame)
> (add-hook 'org-pomodoro-started-hook 'toggle-menu-bar-mode-from-frame)
> (add-hook 'org-pomodoro-started-hook 'toggle-tab-bar-mode-from-frame)
>

Some information that might help in diagnosing your problem:

1. Type C-h v org-pomodoro-started-hook

   and then paste that description (from the *Help* buffer) into a
   message to this group.

2. Type C-h f toggle-tool-bar-mode-from-frame

   and then paste that description into the same message.

It is possible, for example, that the Emacs Lisp code that reads the
‘org-pomodoro-started-hook’ variable is not running, for some reason.

Also, if possible, provide whatever other code or documentation about
the package that you are using that specified setting the
‘org-pomodoro-started-hook’ variable.

--



  reply	other threads:[~2023-09-04 17:58 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 [this message]
     [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

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87v8cpes6f.fsf@gmail.com \
    --to=tpeplt@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=maske1foro@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.
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).