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: Tue, 1 Dec 2020 20:01:52 +0100 Message-ID: References: <87sg8q86p0.fsf@zoho.eu> <87o8je86dm.fsf@zoho.eu> 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="23146"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 01 20:04:55 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 1kkAxK-0005u1-Vs for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Dec 2020 20:04:54 +0100 Original-Received: from localhost ([::1]:59950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkAxJ-0001R8-Pt for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Dec 2020 14:04:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkAv1-0000wm-U6 for help-gnu-emacs@gnu.org; Tue, 01 Dec 2020 14:02:33 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:35103) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkAux-00006m-Be for help-gnu-emacs@gnu.org; Tue, 01 Dec 2020 14:02:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606849312; bh=4hDvXZ6f06YjW4o6AJQa2tOvtfKewDSioh9jeIrgBfM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=aEjty+JhLKQmp15gsOHqtblkYAvnxGR6OOJN2TcZ7rR4weNvco8nCJHJ3SkS/emgf 3OqIpAz+Mm6pfDiM3IUA7Wr7uDr17kchD0orbAYc4bt5Jh2Fcm03qIBS+hjc45/KBD H3Ib30NYMBx8/P1bmo5UV4Ngj2uPIbhD7CHJE1b4= 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); Tue, 1 Dec 2020 20:01:52 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:MmoiFaxllwBck2/G/S4eKZz50N1EM3MEPeQOyZKGVaCeLfBN9SUIMxqPFapVEwo1r3PiT 0iSlvn7usqVHNylyOeAxBYqZQZ0AkehHrpcMn4MUMwPxxENGqmiFNYTL8Vb4H5mgo2uwPhQxOjDj KW10es52AKCX9UxL3drra6/8ddFj89wx07FKbspYuM9doacQU2H5oj4k8OBdl7aVgle3VF7Ikorw OCll/Q0Jn8UyW9JsIVn3iW0Ly1u9mrNPXUM2R9iJ57O9HCHmD5AHyFNubx2gasdUidsm3dpWreUY uw= X-UI-Out-Filterresults: notjunk:1;V03:K0:oh/ejuVia9I=:dY7EGsX8aAb8uXdnc82PzO Gfd4+GqWq8ZCCf9rfnDDBaL3txI5AlJCrhXAxdcBlq01uwWnWCnQakvLbRbfLpA9n2Lpep/3M eB3bIzcgXPq0uf9s92j/VXj2YOUZ1LtIv7vzFQE6o2z9Csg5lHtUcDnDIf10PAMdaA8ELWnHj uIfPy/ZrKySsk+p9x/cWNXSScROd0+OdGVaiXUsnBu0ANZjVBUClDdKmOhcDvivw3IdXzv7MD btWMMdrZ/rgTL7gQQGGJg4tCh5GAwDb3JuOXIPWgWg+PSRH7MbQ/Qnugm/2B0n13dKdbcX16Z vidlEDBxLk4syHh0OKrVUYHtQtwTXWz2pS08hM3vYYkrYoILvbgOijn+RgQUPI0HMCY2C87yg 2GxmcNXa0039s3xxxayODn5xgwylSOTyxUxUUr9PM/O+XgxtvcKuAYNQtd17tDHGaxS0nDXwh emE5XR7gVPsZgwy/jqu2pRM5Be8yGL5xcUFjoPWlJUPfczAiBFlWdQzbDtaQ9oag5hTZVBW1J J0ykYwfMmk5HXcQ61tczkyW5Wvz4nWULF0B4lDe8rn+mBHy9t3zolaTY/9tep7ODd38vfFqHn s+tgB5oL5dE9Q= Received-SPF: pass client-ip=212.227.17.20; 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:125798 Archived-At: > Sent: Tuesday, December 01, 2020 at 7:52 PM > From: "Jean Louis" > To: pietru@caramail.com > Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu > Subject: Re: Toggle appointment notification > > * pietru@caramail.com [2020-12-01 21:37]: > > There is one thing that is bugging me while testing my approach. If I= get > > the state of a function, how can I then print the state in the message= s > > buffer? > > > > (get 'appt-ntf-cycle 'state) > > Do you know (message "%s" state) function? I know message but was doing as such and did not show up (message (get 'typh-appt-ntf-cycle 'state)) > If you obtain any value you may put it instead of `state'. > > For long time I used this function: > > (defun message-any (any) > "Message anything to minibuffer" > (message "%s" (prin1-to-string any))) Smart