From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "andy22286\@gmail.com" <andy22286@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs-devel Digest, Vol 148, Issue 12
Date: Tue, 07 Jun 2016 15:07:34 -0400 [thread overview]
Message-ID: <jwv37oobz06.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAHtDYY9BYWN0HYq=KwOHz2ZbR8RsNobUnD5ahPHDzpZ7F1ngUA@mail.gmail.com> (andy's message of "Tue, 7 Jun 2016 15:01:47 -0400")
> Thank you for the answers. You are right about the interaction with
> sml-mode. I just tried reloading the file and then restarting the derived
> minor mode manually (M-x my-sml-mode), and the problem is gone.
I think part of the problem is a name conflict. You defined:
>> > (defun sml-smie-rules (kind token)
but that function is also defined in sml-mode, so you'll get whichever
was loaded last. Same thing for sml-smie-grammar.
Better use names of the form "my-sml-..." to avoid those conflicts.
Stefan
prev parent reply other threads:[~2016-06-07 19:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5130.1465262749.1213.emacs-devel@gnu.org>
2016-06-07 14:27 ` Emacs-devel Digest, Vol 148, Issue 12 andy22286
2016-06-07 18:59 ` Stefan Monnier
2016-06-07 19:01 ` andy22286
2016-06-07 19:07 ` Stefan Monnier [this message]
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=jwv37oobz06.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=andy22286@gmail.com \
--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.