From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#3385: Bug calling patched appt-display-message Date: Tue, 26 May 2009 16:54:12 -0400 Message-ID: References: <1ac52ab1-7717-4e70-b51c-764e60c4d7a8@o5g2000prh.googlegroups.com> Reply-To: Glenn Morris , 3385@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243372205 14998 80.91.229.12 (26 May 2009 21:10:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2009 21:10:05 +0000 (UTC) To: 3385@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 26 23:10:01 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M93uH-0002wu-TE for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 May 2009 23:09:58 +0200 Original-Received: from localhost ([127.0.0.1]:46619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M93uH-0007Ve-0x for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 May 2009 17:09:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M93th-0006oF-C5 for bug-gnu-emacs@gnu.org; Tue, 26 May 2009 17:09:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M93tc-0006nD-Cf for bug-gnu-emacs@gnu.org; Tue, 26 May 2009 17:09:20 -0400 Original-Received: from [199.232.76.173] (port=52594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M93tb-0006my-Sx for bug-gnu-emacs@gnu.org; Tue, 26 May 2009 17:09:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42975) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M93ta-0005DE-Uz for bug-gnu-emacs@gnu.org; Tue, 26 May 2009 17:09:15 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4QL9BRi006491; Tue, 26 May 2009 14:09:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4QL05PB004496; Tue, 26 May 2009 14:00:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 26 May 2009 21:00:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3385 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3385-submit@emacsbugs.donarmstrong.com id=B3385.12433712583732 (code B ref 3385); Tue, 26 May 2009 21:00:05 +0000 Original-Received: (at 3385) by emacsbugs.donarmstrong.com; 26 May 2009 20:54:18 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4QKsDka003725; Tue, 26 May 2009 13:54:14 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1M93f2-0007i4-DO; Tue, 26 May 2009 16:54:12 -0400 X-Spook: Europol analyzer corporate security PGP Reno JUWTF world X-Ran: *!I38cwW6wArW&A)[xrjEUIhD|M\,LVw^7|\Q`?X,IF^h~_Pioi+_65bEy3>b;7aSg~W]_ X-Hue: cyan X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 26 May 2009 17:09:20 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28206 Archived-At: reassign 3385 emacs,calendar tags 3385 moreinfo unreproducible stop With ~/diary consisting of: ------ Tuesday 13:07 apple.wav ------ emacs-22.2 -Q -f appt-activate works as it should for me, displaying the full text of the appointment in the reminder window. Please provide a complete recipe showing the problem starting from emacs -Q (sorry, but I don't know how you do that on Windows). Note there should be no need to patch anything, simply set the variable appt-disp-window-function to a function that plays a sound. As proof of concept, this works fine for me: emacs -Q --eval "(progn \ (setq appt-disp-window-function \ (lambda (mins time string) \ (play-sound (list 'sound :file (substring string 6))))) \ (appt-activate))"