From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Emacs Calendar - Removing holidays Date: Sat, 21 Nov 2020 21:16:14 +0100 Message-ID: References: <878sax1feb.fsf@web.de> <87361518cw.fsf@web.de> <87y2ixyw1p.fsf@web.de> <87o8jtyst9.fsf@web.de> <87wnye1ohl.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38875"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, Jean Louis To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 21 21:20:06 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgZMa-000A0u-OM for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Nov 2020 21:20:04 +0100 Original-Received: from localhost ([::1]:41948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgZMZ-0003Ue-HJ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Nov 2020 15:20:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgZJT-0002tB-J5 for help-gnu-emacs@gnu.org; Sat, 21 Nov 2020 15:16:51 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:39283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgZJP-0007JG-Bb for help-gnu-emacs@gnu.org; Sat, 21 Nov 2020 15:16:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605989774; bh=wWhEgcUDh8BX6JeFcNeMGkfcM6hNHM2gfGAJT/L3j1o=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=AoFV8GiiW9Y54J2SAnU6BDyWBoAMOFPhEFazDuXy7+dhZ+bntHZPrJRS6/CiNlWVh yz1aTwA/5JYJy3o2SI+oZNShg++QHJDTHfwt4SonCsWMyTt5gLkx2CCGU4ojfbDGfy Nbhs1u5PeN3ACB0xuOO0PPbiP3ZoskTqHOqKU7NY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Sat, 21 Nov 2020 21:16:14 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87wnye1ohl.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:kyOFiVfv9qS/Ma2qlzAmTinQs+m/1He5p4rwIcTVsCLQoM1GrmlxONBIgaxLTgpyIMj/+ aEgpnqRYUa4IlUi8NyEwH8kMbGZoCbpn7W+JkK1vc/706+PMXyBFM2PKxmOsVZNf1ejyxKsMHM/U jYPMqiVJyA6KpruWhoGIU/sne0/J1tNs9HULxrxg3VoZ837JbnntkxOaqACmDtVmcVHmvG9R/Zf/ 46EKTr6KT/0VnDWHxOFtTTAO9KBoeyKL2mpgkY+aGSQAJssscD9GYYIw0NVNcAD6+R2/ldypm939 aw= X-UI-Out-Filterresults: notjunk:1;V03:K0:CQ8ePur7390=:O92KXwYo5rdQUVFoR1kIbi CBABpLGc9aAh1JHjX6+ekY99gYj60Pag2mo+1NDVy5zFYv44Dq1hcukktS+9mrm6UThQvWfL4 YbLBXOJ2Fy47y6D1Qm4GKx6qA54AA3hyHVJmppJoOM9lH2RiJdJp6QH3eWI8iqAP3YnTi+g3+ m/6KBJzf0dA5ZauzxRUlOpk9kuZRh8+touKjLRE69QXawu+bzusmoJYUAy9eK1VGaXrUetUQl z2aSLk7ADODuVbgxeI5j6xlG3K2cAQUkYdZSl/coP66bBLnkMNehGC6ITo4WjEZNdtTUMTaQS 71cCNtdAmRuiiBZKbkc1sAZdEOlaYLGp1i4W3foI4lywl66299+JeYZ1Ln0cXuHFgXpWu69Tn PXpteEGjudqxp9s15eqTvp9tMi0ifyp4sH3n/NtcvVnMjFBCyZDC0LISohRhrjuNJ2ZxhUTZV 3cnkVq1w6Ok4f4v6NG2hDy2iSj++u+AqbupjFRlm/GppUuaMFHQE4QAiI7guqa9IOGJW0OgEi mYsKYIon0Kbxt5T+Qx4hAqEV7D5WhU68jWa8YxPPO0RjOZSFI9jtRGXS4AE1JCSasYEdKw8n2 Y2wjlNQpwZNZ4= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125454 Archived-At: =2D-------------------- Christopher Dimech General Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy > Sent: Saturday, November 21, 2020 at 8:47 PM > From: "Michael Heerdegen" > To: "Christopher Dimech" > Cc: help-gnu-emacs@gnu.org, "Jean Louis" > Subject: Re: Emacs Calendar - Removing holidays > > Christopher Dimech writes: > > > Could you give some examples of "diary symbolic expressions" and how > > they would be useful for setting work dates. > > The Emacs diary supports symbolic expressions that return a boolean > value depending on the free variable `date'. Functions that can be used > in such expressions are described in the manual. As a special non-nil > value a string describing the event, and a cons (mark . string) > including a mark type for the calendar are allowed. See > `diary-lunar-phases' for an example. > > The good thing is that anything Elisp supports is allowed to be used in > such expressions. The bad thing is that not so super many are > predefined. > > > I am particularly interested in marking dates that are available for > > deadlines, meetings. And another for those already set with > > deadlines, meetings, etc. > > For org? For that you would need to have a predicate that would tell > whether a given `date' is available or not. I guess someone on the > org-mode user list might have an idea how to implement that. Maybe > reusing some of the agenda code. Depending on how your meetings > etc. are specified. Yes, for org. > Regards, > > Michael. > >