all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Removal of syntax-ppss-last
Date: Mon, 02 Oct 2017 20:48:54 -0400	[thread overview]
Message-ID: <jwvinfx3vp3.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: m2r2ul9v37.fsf@newartisans.com

> Unfortunate, but easily solved. And I don't believe we guarantee .elc
> compatibility between major releases.

We try to preserve backward compatibility of .elc files.
But I wonder why your code:

    (defun haskell-indentation-find-indentations ()
      (let ((ppss (syntax-ppss)))
        (cond
         ((nth 3 ppss)
          (haskell-indentation-first-indentation))
         ((nth 4 ppss)
          (if (save-excursion
                (and (skip-syntax-forward "-")
                     (eolp)
                     (not (> (forward-line 1) 0))
                     (not (nth 4 (syntax-ppss)))))
              (haskell-indentation-parse-to-indentations)
            (haskell-indentation-first-indentation)))
         (t
          (haskell-indentation-parse-to-indentations)))))

would contain syntax-ppss-last in the .elc since syntax-ppss is not
defined as defsubst or other such inlinable code.

Can you try to look more closely at where this syntax-ppss-last comes
from (maybe by disassembling the function)?


        Stefan




  reply	other threads:[~2017-10-03  0:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02 15:02 Removal of syntax-ppss-last John Wiegley
2017-10-02 17:04 ` Alan Mackenzie
2017-10-02 20:02   ` John Wiegley
2017-10-03  0:48     ` Stefan Monnier [this message]
2017-10-03 21:19       ` John Wiegley

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

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

  git send-email \
    --in-reply-to=jwvinfx3vp3.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.