emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] calfw, get rid of file names


From: Ivan Vilata i Balaguer
Subject: Re: [O] calfw, get rid of file names
Date: Tue, 12 Jun 2012 12:30:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Michael Welle (2012-06-12 10:40:00 +0200) wrote:

> Ivan Vilata i Balaguer <address@hidden> 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]