From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Vilata i Balaguer Subject: Re: calfw, get rid of file names Date: Tue, 12 Jun 2012 12:30:16 +0200 Message-ID: <87ipew4ybr.fsf@edgar.terramar.selidor.net> References: <87mx493qv5.fsf@edgar.terramar.selidor.net> <0sbja9xkjk.ln2@news.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeOMn-0005nJ-PV for emacs-orgmode@gnu.org; Tue, 12 Jun 2012 06:30:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeOMl-000601-Su for emacs-orgmode@gnu.org; Tue, 12 Jun 2012 06:30:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:58762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeOMl-0005zr-Mn for emacs-orgmode@gnu.org; Tue, 12 Jun 2012 06:30:27 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SeOMh-000217-FY for emacs-orgmode@gnu.org; Tue, 12 Jun 2012 12:30:23 +0200 Received: from 9.67.19.95.dynamic.jazztel.es ([95.19.67.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jun 2012 12:30:23 +0200 Received: from ivan by 9.67.19.95.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jun 2012 12:30:23 +0200 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 Michael Welle (2012-06-12 10:40:00 +0200) wrote: > Ivan Vilata i Balaguer writes: > >> Kyle Machulis (2012-06-12 03:47:40 +0200) wrote: >> >>> (defadvice qdot/cfw:org-extract-summary (after cfw:org-extract-summary) >>> "Remove tags and filenames from item summary" >>> (message item)) >> >> I placed that and `(ad-activate 'qdot/cfw:org-extract-summary)` in my >> `.emacs` but tags and file names are still shown by calfw after >> restarting Emacs. Did I miss something? > I use a function similar to my-open-calendar from the documentation. The > above advice doesn't seem to be called then. It is called if I use > cfw:open-org-calendar instead. I have to look into how advices work I > guess ;). 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. That explains the strange use of the `message` call ;) . It didn't work for me either (buffer `*Messages*` doesn't get anything new), but thanks for the clarification anyway. Cheers, -- Ivan Vilata i Balaguer -- https://elvil.net/