emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Jeremy Hankins <nowan@nowan.org>, emacs-orgmode@gnu.org
Subject: Re: fixmee / syntax-ppss
Date: Thu, 03 Dec 2015 18:43:54 +0000	[thread overview]
Message-ID: <87egf3bcet.fsf@gmail.com> (raw)
In-Reply-To: <87y4de9sc1.fsf@jasper.nowan.org>

Hi Jeremy,

2015ko abenudak 1an, Jeremy Hankins-ek idatzi zuen:
> 
> I recently started using org-mode, so forgive me if this is covered
> somewhere that I missed.  But I'm trying to use fixmee.el with org-mode;
> it works by finding "fixme" tags in comments, but it's not finding
> anything in my orgmode files.  I've traced the problem to the fact that
> syntax-ppss fails to accurately report that it's in a comment.

I would not expect this to work: because of the way that org-mode
comments work, I don’t see a way for them to be fit into the syntax
table machinery.  Something with syntaxtic fontification
(info "(elisp) Syntactic Font Lock") might be able to be put together,
but to what end I’m not sure.

Org mode provides built-in functionality to create “TODO” annotations
(called inline tasks).  These might server your purpose better than what
you are trying to do with fixmee.  You need to put the following line in
your emacs init file:

(require 'org-inlinetask)

You may also want:

(setq org-inlinetask-default-state "TODO")

Then C-c C-x t in an org file will insert an inline task.  You can get a
view of the TODO headlines in a buffer (including but not limited to
inlinetasks) by pressing C-c / t.  (This is just the tip of the iceberg
wrt listing/sorting/filtering org headlines.)

-- 
Aaron Ecay

  reply	other threads:[~2015-12-03 18:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 14:06 fixmee / syntax-ppss Jeremy Hankins
2015-12-03 18:43 ` Aaron Ecay [this message]
2015-12-06  0:41   ` Jeremy Hankins
2015-12-06  9:30     ` Nicolas Goaziou
2015-12-25 10:20       ` Sebastien Vauban

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=87egf3bcet.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nowan@nowan.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).