From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Marcin Borkowski <mbork@wmi.amu.edu.pl>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: XKCD/541 compliance, anyone?
Date: Fri, 5 Dec 2014 23:41:56 +0000 [thread overview]
Message-ID: <CAAdUY-JOfxianvfnOv5bghx_WQgfd3vKqKdsfbczn4e83FezXQ@mail.gmail.com> (raw)
In-Reply-To: <87fvctafqo.fsf@wmi.amu.edu.pl>
> I decided to try this out manually. I put this into my buffer:
>
> \emph{Hello world! ;-)}
>
> changed the mode to LaTeX-mode (from AUCTeX), put the point at the ")"
> character, and did
>
> M-: (put-text-property (point) (1+ (point)) 'syntax-table '(1))
>
> After inspection by C-u C-x =, it turned out that nothing like a
> "syntax-table" property got its way into the buffer.
>
> Strangeness: if I change the name of the property to, e.g., my-prop,
> putting (and getting) the property value works as expected.
>
Try that again with font-lock-mode disabled.
Major modes can specify other text properties (besides 'face) for
font-lock-mode to set and reset. It's possible AucTex has font-lock-mode
resetting the' syntax-table property.
next prev parent reply other threads:[~2014-12-05 23:41 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 21:16 XKCD/541 compliance, anyone? Marcin Borkowski
2014-12-04 22:34 ` Stefan Monnier
2014-12-04 23:10 ` Marcin Borkowski
2014-12-05 22:33 ` Marcin Borkowski
2014-12-05 23:41 ` Artur Malabarba [this message]
2014-12-05 23:48 ` Marcin Borkowski
2014-12-31 9:19 ` Marcin Borkowski
2015-01-01 17:07 ` Stefan Monnier
2015-01-01 21:41 ` Marcin Borkowski
2015-01-02 4:07 ` Stefan Monnier
2015-01-02 10:09 ` Marcin Borkowski
2015-01-03 1:47 ` Stefan Monnier
2015-01-07 21:55 ` Marcin Borkowski
2015-01-02 14:39 ` Marcin Borkowski
2015-01-03 1:49 ` Stefan Monnier
2015-01-07 22:09 ` Marcin Borkowski
2015-01-07 22:37 ` Stefan Monnier
2015-01-08 1:09 ` Marcin Borkowski
2015-01-08 1:49 ` Stefan Monnier
2015-01-08 2:37 ` Marcin Borkowski
[not found] ` <mailman.17449.1420684651.1147.help-gnu-emacs@gnu.org>
2015-01-08 3:11 ` Stefan Monnier
2015-01-08 14:10 ` Marcin Borkowski
2015-03-15 1:40 ` Marcin Borkowski
2015-03-15 18:39 ` Stefan Monnier
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=CAAdUY-JOfxianvfnOv5bghx_WQgfd3vKqKdsfbczn4e83FezXQ@mail.gmail.com \
--to=bruce.connor.am@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mbork@wmi.amu.edu.pl \
/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).