From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.help Subject: Re: XKCD/541 compliance, anyone? Date: Fri, 5 Dec 2014 23:41:56 +0000 Message-ID: References: <8761drazec.fsf@wmi.amu.edu.pl> <87fvctafqo.fsf@wmi.amu.edu.pl> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1417822965 9084 80.91.229.3 (5 Dec 2014 23:42:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2014 23:42:45 +0000 (UTC) Cc: help-gnu-emacs To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 06 00:42:39 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xx2WE-00040y-Ta for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Dec 2014 00:42:39 +0100 Original-Received: from localhost ([::1]:52915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx2WE-0001Mg-IG for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 18:42:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx2Vb-0000tG-LI for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 18:42:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xx2Va-0007th-09 for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 18:41:59 -0500 Original-Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:50924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx2VZ-0007tE-Nd for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 18:41:57 -0500 Original-Received: by mail-la0-f46.google.com with SMTP id q1so1535385lam.33 for ; Fri, 05 Dec 2014 15:41:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=d2S1TSBQXod3cwF+rMfQzlnH77guFo8BmVwdYQ/9BfM=; b=Ima/qvPmsXYW5Hn9J/Ydbs2m5/RgGmvkijT+myA58CP+TAoJZO4IfR2i1NL+ipzxwN mk/NtM6CVCSe8Dnc9sRuPe0Uv2+ZMDl/zF+o058uFE5nGcenksjUpwpe2i5BNo57KUpP S4gBqfi6LVL0u7FAboQUBzRnStUQzft4NvOOFv6VCPCCxmg8KTomr39YSFEEf40YXCy9 OlQ4TwJZlpvYypyjq+HUBHePDzv9dkAyX3WbyRnP2rpLLeR5ukjrNdbgFbCFze9/fMz8 2t9qXNRsatfHWndKBfBJiB862c2SCGI1Je4qZVK9jRqDkkTGT7TOBnYSaZOcRJv0+Dz5 xl8Q== X-Received: by 10.112.136.38 with SMTP id px6mr5326223lbb.88.1417822916715; Fri, 05 Dec 2014 15:41:56 -0800 (PST) Original-Received: by 10.112.53.137 with HTTP; Fri, 5 Dec 2014 15:41:56 -0800 (PST) Original-Received: by 10.112.53.137 with HTTP; Fri, 5 Dec 2014 15:41:56 -0800 (PST) In-Reply-To: <87fvctafqo.fsf@wmi.amu.edu.pl> X-Google-Sender-Auth: QdFUgGEDUH_Gg5JcBP-LBFg01io X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22e X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101439 Archived-At: > 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.