From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Machulis Subject: Re: calfw, get rid of file names Date: Tue, 12 Jun 2012 12:14:29 -0700 Message-ID: References: <87mx493qv5.fsf@edgar.terramar.selidor.net> <0sbja9xkjk.ln2@news.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeWXx-0001nW-6p for emacs-orgmode@gnu.org; Tue, 12 Jun 2012 15:14:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeWXv-00076i-Ai for emacs-orgmode@gnu.org; Tue, 12 Jun 2012 15:14:32 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:49797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeWXv-00075S-3t for emacs-orgmode@gnu.org; Tue, 12 Jun 2012 15:14:31 -0400 Received: by lahi5 with SMTP id i5so4864111lah.0 for ; Tue, 12 Jun 2012 12:14:29 -0700 (PDT) In-Reply-To: <0sbja9xkjk.ln2@news.c0t0d0s0.de> 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: Michael Welle Cc: emacs-orgmode@gnu.org On Tue, Jun 12, 2012 at 1:40 AM, Michael Welle wrote: > The thing Kyle wanted to point out is that you can customise > the item in the above advice. (message item) just prints the item to the > status line. > > Since I'm a bit short on time at the moment I cheated a little bit and > manipulated the function cfw:org-summary-format (calfw-org.el). At the > end of this function I excluded the buffer name from the concatenation. Hah, wow, ok, I actually completely was not paying attention when I copy/pasted that, just thought "Oh I remember fixing that" and didn't realize I never actually /finished/ the function, and hadn't used calfw much since. Oops. :) But yeah, that is definitely a way to change the output, but on further inspection it doesn't look like the right one. If you check out calfw-org.el, there's a useful defvar, cfw:org-schedule-summary-transformer. This allows you to write your own summary line transformer without even needing to advise, so you could just copy cfw:org-summary-format, chop it up to your hearts content, then set the variable without modifying the package at all. I'll probably do this myself. Also