From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Hopps Subject: Re: bi-monthly steps. Date: Thu, 26 Mar 2020 07:33:56 -0400 Message-ID: References: <87y2s5xwwn.fsf@alphaville.usersys.redhat.com> <4432555C-93F5-48F5-84CD-48C7DA9FEBE1@chopps.org> <20200313080143.GA17847@meep.pl> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_4B2421C8-DF24-4D2D-B34C-BA9F8556A50F" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35245) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHQlt-0006xx-4u for emacs-orgmode@gnu.org; Thu, 26 Mar 2020 07:34:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHQlq-0001FK-A7 for emacs-orgmode@gnu.org; Thu, 26 Mar 2020 07:33:59 -0400 Received: from smtp.chopps.org ([54.88.81.56]:36928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jHQlq-0001Ez-4V for emacs-orgmode@gnu.org; Thu, 26 Mar 2020 07:33:58 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Cc: Christian Hopps --Apple-Mail=_4B2421C8-DF24-4D2D-B34C-BA9F8556A50F Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii I've attached an updated patch using "semimonth". Thanks, Chris. --Apple-Mail=_4B2421C8-DF24-4D2D-B34C-BA9F8556A50F Content-Disposition: attachment; filename=0001-org-clock.el-add-semimonth-step-for-clocktables.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-org-clock.el-add-semimonth-step-for-clocktables.patch" Content-Transfer-Encoding: quoted-printable =46rom=20479646d44e11c923b8f64be417e785a175133d13=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Christian=20Hopps=20=0ADate:=20= Fri,=2020=20Mar=202020=2006:58:29=20-0400=0ASubject:=20[PATCH]=20= org-clock.el:=20add=20semimonth=20step=20for=20clocktables=0A=0A*=20= lisp/org-clock.el=20(org-clocktable-steps):=20add=20a=20semimonth=20step=20= for=0Aproducing=20clock=20tables.=0A=0AOriginally=20proposed=20"bimonth"=20= as=20name;=20however,=20bimonthly=20is=0Aambiguous,=20as=20it=20can=20= mean=202=20different=20things,=20semimonthly=20or=20every=202=0Amonths.=0A= ---=0A=20lisp/org-clock.el=20|=204=20++++=0A=201=20file=20changed,=204=20= insertions(+)=0A=0Adiff=20--git=20a/lisp/org-clock.el=20= b/lisp/org-clock.el=0Aindex=20345fd9b5a..c902635f9=20100644=0A---=20= a/lisp/org-clock.el=0A+++=20b/lisp/org-clock.el=0A@@=20-2784,6=20+2784,7=20= @@=20a=20number=20of=20clock=20tables."=0A=20=20=20=20=20=20=20=20=20=20=20= (pcase=20step=0A=20=20=20=20=20=20=20=20=20=20=20=20=20(`day=20"Daily=20= report:=20")=0A=20=20=20=20=20=20=20=20=20=20=20=20=20(`week=20"Weekly=20= report=20starting=20on:=20")=0A+=20=20=20=20=20=20=20=20=20=20=20=20= (`semimonth=20"Semimonthly=20report=20starting=20on:=20")=0A=20=20=20=20=20= =20=20=20=20=20=20=20=20(`month=20"Monthly=20report=20starting=20on:=20= ")=0A=20=20=20=20=20=20=20=20=20=20=20=20=20(`year=20"Annual=20report=20= starting=20on:=20")=0A=20=20=20=20=20=20=20=20=20=20=20=20=20(_=20= (user-error=20"Unknown=20`:step'=20specification:=20%S"=20step))))=0A@@=20= -2833,6=20+2834,9=20@@=20a=20number=20of=20clock=20tables."=0A=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (let=20((offset=20(if=20(=3D=20dow=20week-start)=207=0A=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(mod=20(-=20week-start=20dow)=20= 7))))=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(list=200=200=20org-extend-today-until=20(+=20d=20= offset)=20m=20y)))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(`semimonth=20(list=200=200=200=0A+=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20(if=20(<=20d=2016)=2016=201)=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(if=20(<=20d=2016)=20= m=20(1+=20m))=20y))=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20(`month=20(list=200=200=200=20month-start=20= (1+=20m)=20y))=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(`year=20(list=200=200=20org-extend-today-until=201=20= 1=20(1+=20y)))))))=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (table-begin=20(line-beginning-position=200))=0A--=20=0A2.25.0=0A=0A= --Apple-Mail=_4B2421C8-DF24-4D2D-B34C-BA9F8556A50F--