unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: When is a syntax-propertize-function called when parse-sexp-lookup-properties is t for a current buffer?
Date: Tue, 05 Oct 2021 19:29:38 +0200	[thread overview]
Message-ID: <874k9vz8fx.fsf@zoho.eu> (raw)
In-Reply-To: CALTqLiZ+nquinwfCUHWQZ=dDH5T4MdTwn7LeS9KYeFEyFqHNsA@mail.gmail.com

Pierre Rouleau wrote:

>> `setq-local` at the toplevel makes no sense. Is it really
>> the code you're using, or are you paraphrasing?
>>
>> Sorry. I did not provide enough context.
>
> That code is not at top-level; it is being called by the
> erlang-mode function. At the moment I placed it right inside
> my local copy of the erlang.el function
> `erlang-electric-init' which gets called by what is defined
> by a (define-derived-mode erlang-mode) form.
>
> I won't leave that code there once I understand the behaviour.
> I'm just modifying my local copy of erlang.el to
> 1) understand that code better
> 2) eliminate as many external sources of disruption while
> I investigate.
>
> BTW, I'm trying to get it working on Emacs >= 26.1 if
> this matters.

Well, it never hurts to get the latest Emacs! I'm on GNU Emacs
29.0.50 so that's quite a difference ... (Here are some
commands that may help you, I made them work on Debian 11 at
least but should be a no-op, almost:
https://dataswamp.org/~incal/conf/.zsh/install-emacs ) It is,
or they have made it I should say, _very easy_ to get/compile
the latest version!

As for your problem, relax, you/we will solve it ... j'ai
confiance
<https://www.youtube.com/watch?v=J43T8rEOg-I>

But ... I don't understand 100% what it is you'd like to
happen? Can you describe it in human terms rather? "When I do
... I'd like this to happen ... and not this ..." ?

-- 
underground experts united
https://dataswamp.org/~incal




  reply	other threads:[~2021-10-05 17:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05  3:54 When is a syntax-propertize-function called when parse-sexp-lookup-properties is t for a current buffer? Pierre Rouleau
2021-10-05  4:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-05 12:00   ` Pierre Rouleau
2021-10-05 12:54 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-10-05 13:48   ` Pierre Rouleau
2021-10-05 14:57     ` Stefan Monnier
2021-10-05 15:36       ` Pierre Rouleau
2021-10-05 17:29         ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-10-05 18:45           ` Pierre Rouleau
2021-10-05 19:08             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-05 19:42               ` Pierre Rouleau
2021-10-05 19:41         ` Stefan Monnier
     [not found]           ` <CALTqLiab4AZx=fn1wX1ovckxFtie9C20O=qZFYTLyQNKWfWZGg@mail.gmail.com>
2021-10-05 20:05             ` Fwd: " Pierre Rouleau
2021-10-05 20:17           ` Pierre Rouleau
2021-10-06  1:55             ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-10-06  2:46               ` Pierre Rouleau

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=874k9vz8fx.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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.
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).