emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeremy Hankins <nowan@nowan.org>
To: emacs-orgmode@gnu.org
Subject: fixmee / syntax-ppss
Date: Tue, 01 Dec 2015 08:06:06 -0600	[thread overview]
Message-ID: <87y4de9sc1.fsf@jasper.nowan.org> (raw)

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.

So position point inside a comment in an org file and eval:

(nth 4 (syntax-ppss))

It should (?) report t, but it's giving me nil.

-- 
Jeremy Hankins <nowan@nowan.org>

             reply	other threads:[~2015-12-01 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 14:06 Jeremy Hankins [this message]
2015-12-03 18:43 ` fixmee / syntax-ppss Aaron Ecay
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=87y4de9sc1.fsf@jasper.nowan.org \
    --to=nowan@nowan.org \
    --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).