From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: fixmee / syntax-ppss Date: Thu, 03 Dec 2015 18:43:54 +0000 Message-ID: <87egf3bcet.fsf@gmail.com> References: <87y4de9sc1.fsf@jasper.nowan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4YrI-0006sW-9s for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 13:44:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4YrF-00025F-31 for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 13:44:00 -0500 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:34635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4YrE-00024w-Sg for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 13:43:57 -0500 Received: by wmvv187 with SMTP id v187so41424770wmv.1 for ; Thu, 03 Dec 2015 10:43:56 -0800 (PST) In-Reply-To: <87y4de9sc1.fsf@jasper.nowan.org> 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: Jeremy Hankins , emacs-orgmode@gnu.org Hi Jeremy, 2015ko abenudak 1an, Jeremy Hankins-ek idatzi zuen: >=20 > 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=E2=80=99t 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=E2=80=99m not sure. Org mode provides built-in functionality to create =E2=80=9CTODO=E2=80=9D a= nnotations (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.) --=20 Aaron Ecay