emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ivan Vilata i Balaguer <ivan@selidor.net>
To: emacs-orgmode@gnu.org
Subject: Re: calfw, get rid of file names
Date: Tue, 12 Jun 2012 12:30:16 +0200	[thread overview]
Message-ID: <87ipew4ybr.fsf@edgar.terramar.selidor.net> (raw)
In-Reply-To: 0sbja9xkjk.ln2@news.c0t0d0s0.de

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

> Ivan Vilata i Balaguer <ivan@selidor.net> 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/

  parent reply	other threads:[~2012-06-12 10:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a54ea9xa8e.ln2@news.c0t0d0s0.de>
2012-06-12  1:47 ` calfw, get rid of file names Kyle Machulis
2012-06-12  7:56   ` Ivan Vilata i Balaguer
     [not found]     ` <0sbja9xkjk.ln2@news.c0t0d0s0.de>
2012-06-12 10:30       ` Ivan Vilata i Balaguer [this message]
2012-06-12 19:14       ` Kyle Machulis
2012-06-13  2:35         ` SAKURAI Masashi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipew4ybr.fsf@edgar.terramar.selidor.net \
    --to=ivan@selidor.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).