From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Toggle appointment notification Date: Thu, 03 Dec 2020 02:50:05 +0100 Message-ID: <875z5jiroy.fsf@web.de> References: <87sg8q86p0.fsf@zoho.eu> <87o8je86dm.fsf@zoho.eu> <20201201195357.GA17507@tuxteam.de> <87h7p4ky4y.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17549"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: pietru@caramail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 03 02:51:08 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 1kkdlz-0004TN-Od for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 02:51:07 +0100 Original-Received: from localhost ([::1]:55538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkdly-0004x2-Mi for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Dec 2020 20:51:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkdl4-0004wh-Kr for help-gnu-emacs@gnu.org; Wed, 02 Dec 2020 20:50:10 -0500 Original-Received: from mout.web.de ([212.227.15.3]:40431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkdl2-0006xy-PZ for help-gnu-emacs@gnu.org; Wed, 02 Dec 2020 20:50:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1606960206; bh=fnkwBcKf43guHO1VhiSWxByMA16Wz9/1uPeZAOZ9fOo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=PcGFysMwyckbF0uNnH0CeaGWIFPHKNAUkU2c+UsWmkJuHI8kDB/qxxu5Lhw3gfJwy keCInS2NMsIa54lA2cOI2KyG+U7Tc+mCBTVpsK8kpL+V9ueB19YwN26/U5FhGA3xjf NGSiS+s4rxzbx6uz7ALc4jmriYy0xOiQs5b70B0g= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.219.247]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MUVvf-1kcdOn2M4Z-00RGI1; Thu, 03 Dec 2020 02:50:06 +0100 In-Reply-To: (pietru@caramail.com's message of "Wed, 2 Dec 2020 16:58:40 +0100") X-Provags-ID: V03:K1:hYc5XkwyxTUJ7KANjIp7M11UyWTaT5Cwg2u9gGuwm9dgatCOgO6 JehSh19bZTE1zYTKyb0jcBx6cd4uB3Wx9PNer1hXwMVlmqk+u48R8u7yE3G4zBV535GdgoU ndTBQxfpXP1yG+ml4XZBQxncBV39FzNbr668aco6NHKAmPoknB/ES+L40K5hyqe3bdVnZlX MCiyP2IGLcTV7IOBXacHg== X-UI-Out-Filterresults: notjunk:1;V03:K0:jhNpKDIC3j8=:cKAZLxcLwkU8RIS2EqAvh+ b2nT9HES1CSkXa9AjHB81zB75rFm8PSr7oyxes7YOjGwyzjMkkJqyR1L1VeMExFY5/SAOPie5 HFi6GzXRQEjULMymCQtfhQaOGQP2YrdQa3yhSLNfB8YjiE/uBiSZvKs/CEph64jRpc7uILXbA NE59FE2TC9RxF9YClJivcEa0t9rZx9qPX++NNFnHopj9dqMzDFJoxDrgtY2dWuYDpvs8M/qOh HoM1F+Zno/DB3vnWO04IYgPyqQXexzle7qYBqNatPnN419EYqu6TYj3welzsxnvjEnpoUxLQq 42ywL0s03919dVnTWtnNv2l0aIvOASGPnGn3wfMkFXggGpexXLjBXGc9AWbK6AFl5bxvy/3rL NysdMp0g8FOrA31ksIe3WYkpzA5+ZM+vy4bo+esh9iWRrlgk4lXfms5ATVbS4RtFOZlxOsx6k W09/JHjygN76zV/1G7ofkpAqPwPEhHGs0Erde2R5dL+oRauHsAhKbB9PrdsQbh0Anzw4alHG1 N3XefQl15Qz2t9igPfQmA8y/bYMXF3WQQYgSikxzP3TW9UGl1YFkhLJ24ClkJeei1dP/sKX/G x34fFKdDAZRBiL+v/NQwjjqiR+1wZOcDDqnt4knYfmctkRlxHeH47KsJPVr0zMKTiyDHgTp4z A8Uacwr0uUuN4/tOXisx/UTG4wudFUASdn1TL50IoVmg6i4HpFrfTeBsQbOWxuFJoqJwYoy3j noNRWF8ns3GWSMqwEyI+pC+3i2SSmQJNLzPw77hYvuTX8CMpynkF1StO15IODnB7BSwFowAk Received-SPF: pass client-ip=212.227.15.3; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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:125859 Archived-At: pietru@caramail.com writes: > But moving the notification to a more prominent (or further ahead) > place in the mode-line is interesting. Unfortunately it's not as easy as I had hoped. Instead of calling `display-time-mode' you would have to duplicate most of its implementation code and modify the part where the `display-time-string' is added to the mode-line. Actually, once the mode runs, such stuff is not tested any more, so you also can first start the mode normally as is and after that remove the added `display-time-string' element from the mode-line and re-add to some other mode-line place. May I ask for what kind of stuff you are going to use diary and appointments? I ask because I am developing enhancements for these things and am curious how much other people's usage would profit from it. Regards, Michael