emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Georges <gekoc@laposte.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Checkbox cookies not shown anymore when refiling
Date: Mon, 07 Mar 2016 12:23:10 +0100	[thread overview]
Message-ID: <87wppey1k1.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <loom.20160304T100311-282@post.gmane.org> (Georges's message of "Fri, 4 Mar 2016 09:10:44 +0000 (UTC)")

Hello,

Georges <gekoc@laposte.net> writes:

> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
>
> gekoc <gekoc <at> laposte.net> writes:
>
>>> With Org-mode version 8.3.4 (8.3.4-5-gdc68d2-elpa), it seems the
>>> checkbox cookies are not shown in the possible refile locations
>>> anymore when calling org-agenda-refile.
>
>> Actually, that was the intent since commit
>> 0c67513e7dbc260ba24552ae71d4cac40e5cec2a (Sep 2010), but the regexp was
>> buggy. This was fixed recently.
>
> Which regexp are refering to?

Did you look at the commit? This is a one-line change introducing
a single regexp.

> I would very much like the checkbox cookies "[2/5]" be shown at all
> times.

The problem is that it could clutter the display, and statistics cookie
are, for most use-cases, I assume, not an interesting information when
it comes to refiling.

> Is there an easy way I can tweak this regexp to do so?

No, there isn't. At the moment, your option is to write an advice, as
suggested earlier. 

I guess we could introduce a variable, e.g.,
`org-refile-displayed-headline-function' which could contain a function
called with no argument and returning a string to use as the displayed
value for the entry in the completion menu. It would default to the
current behaviour.

I have the feeling it would be over-engineering, tho. What do you, and
others think?


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-03-07 11:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03 21:46 Checkbox cookies not shown anymore when refiling --
2016-03-04  0:39 ` Nicolas Goaziou
2016-03-04  9:10   ` Georges
2016-03-07 11:23     ` Nicolas Goaziou [this message]
2016-03-07 19:53       ` Georges
2016-03-07 21:44         ` Nicolas Goaziou

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=87wppey1k1.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=gekoc@laposte.net \
    /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).