From: Jean Louis <bugs@gnu.support>
To: Christopher Dimech <dimech@gmx.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Emacs Calendar - Removing holidays
Date: Thu, 19 Nov 2020 17:09:35 +0300 [thread overview]
Message-ID: <X7Z8n4Ff1GWfNtIr@protected.rcdrun.com> (raw)
In-Reply-To: <trinity-7c1cce42-c926-4afe-a431-b49da7c0a28d-1605794201685@3c-app-mailcom-bs05>
* Christopher Dimech <dimech@gmx.com> [2020-11-19 16:58]:
> Am trying to remove these holidays but the plan is not working.
>
> (general-holidays nil)
As in that above case `general-holidays' is supposed to be function as
it comes first in the list.
Maybe you wish to inspect if such function exists by doing:
{C-h f general-holidays RET}
And if it does not exist, it will not work.
I can see that variable `holiday-general-holidays' exists.
To nullify the variable you can do:
(setq holiday-general-holidays nil)
You may also use the {M-:} to open up prompt for evaluations.
For example:
{M-: holiday-general-holidays RET}
And you may see there are some values under that variable. In the next
step you may evaluate nullify it:
{M-: (setq holiday-general-holidays nil) RET}
and then verify again what is the value of variable:
{M-: holiday-general-holidays RET}
Any time you wish to find out if variable exists I suggest that you
use {C-h v}
> (local-holidays nil)
> (christian-holidays nil)
> (hebrew-holidays nil)
> (islamic-holidays nil)
^
I do suggest using completion package ivy, you may install it with:
{M-x package-install RET ivy RET}
as it is more visual when searching for variables.
If I have ivy installed and I bring cursor to above `islamic-holidays'
then I can just press {C-h v} and `ivy' will show me completion and
locate the highlighted line on the variable if such variable
exists. If it does not exists I will get first item highlighted.
Otherwise if you use the built-in Emacs completion and you press
{C-h v} to search for variable then I recommend using `*' joker
character to search for variables.
Let us say you search for something containing "islamic", you would
do:
{C-h v *islamic TAB TAB}
Then you get the list such as:
Possible completions are:
calendar-islamic-all-holidays-flag
diary-islamic-entry-symbol
holiday-islamic-holidays
and you can find out which variable exist related to "islamic" and
inspect such variables.
next prev parent reply other threads:[~2020-11-19 14:09 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 13:56 Emacs Calendar - Removing holidays Christopher Dimech
2020-11-19 14:02 ` Christopher Dimech
2020-11-19 14:09 ` Jean Louis [this message]
2020-11-19 15:21 ` Christopher Dimech
2020-11-19 15:32 ` Jean Louis
2020-11-19 15:37 ` Christopher Dimech
2020-11-19 15:43 ` Christopher Dimech
2020-11-19 16:05 ` Jean Louis
2020-11-19 16:38 ` Christopher Dimech
2020-11-19 16:26 ` Michael Heerdegen
2020-11-19 16:46 ` Christopher Dimech
2020-11-19 17:21 ` Christopher Dimech
2020-11-19 18:58 ` Michael Heerdegen
2020-11-19 19:06 ` Jean Louis
2020-11-19 19:40 ` Michael Heerdegen
2020-11-19 19:52 ` Jean Louis
2020-11-19 20:17 ` Christopher Dimech
2020-11-19 20:50 ` Michael Heerdegen
2020-11-19 20:59 ` Christopher Dimech
2020-11-19 21:11 ` Christopher Dimech
2020-11-21 19:47 ` Michael Heerdegen
2020-11-21 20:16 ` Christopher Dimech
2020-11-19 20:24 ` Michael Heerdegen
2020-11-19 20:36 ` Christopher Dimech
2020-11-19 19:52 ` Christopher Dimech
2020-11-19 20:09 ` Jean Louis
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=X7Z8n4Ff1GWfNtIr@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=dimech@gmx.com \
--cc=help-gnu-emacs@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.
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).