From mboxrd@z Thu Jan 1 00:00:00 1970 From: Devin Homan Subject: org-timer-set-timer org-notify message and sound arguments Date: Mon, 02 Sep 2013 23:10:06 -0800 Message-ID: <52258B4E.1060509@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGknC-0006Xt-PD for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 03:12:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGkn4-0002im-Cn for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 03:12:50 -0400 Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]:43841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGkn4-0002ie-4j for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 03:12:42 -0400 Received: by mail-pb0-f48.google.com with SMTP id ma3so5591870pbc.35 for ; Tue, 03 Sep 2013 00:12:38 -0700 (PDT) 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org The current implementation of org-timer-set-timer calls org-notify with the PLAY-SOUND argument set to 't', which gets passed to org-clock-play-sound that then in turn calls the beep function. The value of this argument should be defined in a defvar so as to allow the user to modify or dynamically set its value. Additionally, a similar behaviour should be allowed for the message by having the first cond case, in the cond that sets hl, return the value of a defvar should that defvar be a string type. Sincerely, Devin