From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pietru@caramail.com Newsgroups: gmane.emacs.help Subject: Re: Toggle appointment notification Date: Wed, 2 Dec 2020 16:15:10 +0100 Message-ID: References: <87sg8q86p0.fsf@zoho.eu> <87o8je86dm.fsf@zoho.eu> <20201201195357.GA17507@tuxteam.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="22421"; mail-complaints-to="usenet@ciao.gmane.io" 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 Wed Dec 02 16:18:25 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 1kkTtg-0005id-2U for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Dec 2020 16:18:24 +0100 Original-Received: from localhost ([::1]:39610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkTte-00013b-PJ for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Dec 2020 10:18:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkTqi-00013N-1z for help-gnu-emacs@gnu.org; Wed, 02 Dec 2020 10:15:20 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:52643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkTqg-0002Ca-2v for help-gnu-emacs@gnu.org; Wed, 02 Dec 2020 10:15:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606922110; bh=r1znVTz+KNfIuSpYA7Jx1pywB0Qj9chc+N2zTduqvfM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ZQpW3pdAe3yGqNUTRP1fj1Rg35GcfDGs/Ttbg3ViaIcOBQWtshIYmlxsLyaYG6CuZ md915P4Cs0Ffa+hUpIEPCpIhPbpBA4hJ9IUSlllTvGcwOJH8IQxUAM5z5j1iJxnaRM 7WOiV/pjwqewjik0I0lR+wDaI1x57+OwqcQn5+3E= 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-bs14.server.lan [172.19.170.182]) (via HTTP); Wed, 2 Dec 2020 16:15:10 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:TVosjf2HPOsdP5LAhg4czlKmmkYJCUzPZHsc3oCtzUihVS3B+1spjxxCLQfvfaH3Wn9xx 8rWF3EKPk1kdBhtfkR8MdIbiXl8K5ehJ4hn20CT7GZ2nIOc7PGpUvSqJPV+jHuJx+XZBgs/o0BpJ iEMlfQsjrGl81PKuFHNj1UienrRX5/oCaGXxxkVADjmuuJ26BKzQfTrEBJfFcKdmgMsb5307gUH0 c4txRx0ZFzojMPN+bBcwh5Bj9g/9Quv+LQiJy6GUWBPtRoJPPvo1aaFDPLPPjx5XpyiZCjAwE2jv 8w= X-UI-Out-Filterresults: notjunk:1;V03:K0:VtU0DbU8tig=:GBw0AqgpARbjUbzHnKRsy3 EmuNmmLq0bz/KHJrbdjv+LDuTf2g0Rs8b+fLtnY/CrBa9VIA6a/anojrZ9499mmHNDSzBvU2F AHev5K2SN7nJr6PdZxesfptWeFhUNFl+I94DpQKn3MooE9SeIGqm3+4ZE+Otm6omXFbhhPhYW llNAEb4SotRPmvJlOXOplKO0fjXVynLh3XEM5yMhW4m7p2AfSgVcGhP19+ncblTndmyfdCtlM Rms8mIlwAXyCNlL5NURg9/ft5L2gjNFkwX762ilmTqNXc5e2wVTiizp0OhMK8Xu8RYUFQ2483 uLfGAgddcUxWh9p0pSqcVjjajPz1S5xLhlYhSaMN/huDP4jnsBzoDOt2DYxC8VSKYHX9M74XT WYKralTZbIrb4InxVFVUvPS7FmiIFxzd2YuBIxkRRg9jl4SbKm0eMjtajCKBGT2GfQhHe0EPY E5mjn16N5F6I0AGOytLE5RRKPeA7lNpGmR49EV/56gyONeR/U40Hjpd6m00EEUjyvtMjPF0PD GGeHKZ5IIGVSzmsrbqCe44osdfadVsjJAEhJ9XxqVhPi3qbAz/qMx7SXEnR+Eg//fk2vCOeTU M40RCvx+qHjg4= Received-SPF: pass client-ip=212.227.17.21; envelope-from=pietru@caramail.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:125837 Archived-At: And if I also have notification enabled, the problem gets even worse. Looks like one has to also do the same for every major mode. Seems to be a complicated thing to do. I could simply have an emacs session used only for appointment notification. > Sent: Wednesday, December 02, 2020 at 4:00 PM > From: pietru@caramail.com > To: pietru@caramail.com > Cc: tomas@tuxteam.de, help-gnu-emacs@gnu.org > Subject: Re: Toggle appointment notification > > I want to use (display-time), but is it possible to remove > [(Lisp Interaction AC MS ElDoc)] from the mode line? Because > my screen is not very wide. > > Many Thanks. > > > > Sent: Tuesday, December 01, 2020 at 8:58 PM > > From: pietru@caramail.com > > To: tomas@tuxteam.de > > Cc: help-gnu-emacs@gnu.org > > Subject: Re: Toggle appointment notification > > > > > Sent: Tuesday, December 01, 2020 at 8:53 PM > > > From: tomas@tuxteam.de > > > To: help-gnu-emacs@gnu.org > > > Subject: Re: Toggle appointment notification > > > > > > On Tue, Dec 01, 2020 at 10:23:31PM +0300, Jean Louis wrote: > > > > * pietru@caramail.com [2020-12-01 22:14]: > > > > > > (defun message-any (any) > > > > > > "Message anything to minibuffer" > > > > > > (message "%s" (prin1-to-string any))) > > > > > > > > > > How can one add a heading string before calling prin1-to-string. > > > > > The message would then give me some more clarity. > > > > > > > > (message "%s: %s" heading (prin1-to-string any)) > > > > > > Or, if the heading is a constant, just > > > > > > (message "my heading: %s" (prin1-to-string any)) > > > > Super > > > > > Cheers > > > - t > > > > > > > >