--- Begin Message ---
Subject: |
24.3.50; modified syntax table leads to error: "Point before start of properties" |
Date: |
Fri, 28 Mar 2014 19:41:05 +0100 |
Hello,
Using AUCTeX, and doing this~:
$ src/emacs -q -l tex-site -l latex --eval '(modify-syntax-entry ?\\ " p"
LaTeX-mode-syntax-table)' --eval '(progn (insert "\\foo") (goto-char 2)
(latex-mode))'
I get an error: "Point before start of properties" after I run
M-: (backward-prefix-chars).
I don't understand what causes this. Am I not allowed to modify the
syntax table like I do for some reason ? I unfortunately can't repro
without using AUCTeX.
Also note that adding (backward-prefix-chars) in the progn on the
command line invocation does *not* trigger the error. Only the
interactive call, once emacs has started, does.
Thanks for any help,
Here's gdb backtrace when breaking at Fsignal :
(gdb) bt
#0 Fsignal (address@hidden, address@hidden) at eval.c:1474
#1 0x08183ba7 in xsignal (address@hidden, data=144742286) at eval.c:1588
#2 0x08183bef in xsignal1 (error_symbol=138861858, address@hidden) at
eval.c:1603
#3 0x08183cd0 in verror (address@hidden "Point before start of properties",
address@hidden
"\n\\F\bN\346\254\bs\256\034\b\n\\F\b\036\263N\b\365*G\bT\ba\b\377\377\377\377")
at eval.c:1781
#4 0x08183ce7 in error (address@hidden "Point before start of properties") at
eval.c:1793
#5 0x081ca74f in update_interval (i=<optimized out>, address@hidden,
address@hidden) at intervals.c:794
#6 0x081a92d0 in update_syntax_table (charpos=0, address@hidden,
address@hidden, object=138828738) at syntax.c:362
#7 0x081a9b53 in UPDATE_SYNTAX_TABLE_BACKWARD (charpos=0) at syntax.h:186
#8 UPDATE_SYNTAX_TABLE (charpos=0) at syntax.h:194
#9 char_quoted (charpos=<optimized out>, address@hidden, bytepos=<optimized
out>, address@hidden) at syntax.c:497
#10 0x081aac59 in Fbackward_prefix_chars () at syntax.c:3027
#11 0x08182a0d in eval_sub (address@hidden) at eval.c:2182
#12 0x08185d64 in Feval (form=144743062, lexical=138828738) at eval.c:2003
#13 0x08183470 in Ffuncall (nargs=3, args=0xbfffe944) at eval.c:2818
#14 0x081b5fa3 in exec_byte_code (bytestr=138861858, vector=10400, maxdepth=28,
address@hidden, address@hidden, args=0xbfffe940) at bytecode.c:919
#15 0x08182f9e in funcall_lambda (fun=137187245, address@hidden,
address@hidden) at eval.c:2983
#16 0x08183253 in Ffuncall (nargs=3, address@hidden) at eval.c:2876
#17 0x0818465b in Fapply (address@hidden, address@hidden) at eval.c:2354
#18 0x0818488f in apply1 (address@hidden, address@hidden) at eval.c:2588
#19 0x0817f61a in Fcall_interactively (function=140667530,
record_flag=138828738, keys=138837581) at callint.c:378
#20 0x08183459 in Ffuncall (nargs=4, args=0xbfffec9c) at eval.c:2822
#21 0x081b5fa3 in exec_byte_code (bytestr=138861858, vector=10400, maxdepth=52,
address@hidden, address@hidden, args=0xbfffec8c) at bytecode.c:919
#22 0x08182f9e in funcall_lambda (fun=137188901, address@hidden,
address@hidden) at eval.c:2983
#23 0x08183253 in Ffuncall (address@hidden, address@hidden) at eval.c:2876
#24 0x081835e7 in call1 (fn=138855234, arg1=140667530) at eval.c:2614
#25 0x08123347 in command_loop_1 () at keyboard.c:1556
#26 0x08181a13 in internal_condition_case (address@hidden <command_loop_1>,
handlers=138861858, address@hidden <cmd_error>) at eval.c:1354
#27 0x081163d5 in command_loop_2 (ignore=138828738) at keyboard.c:1174
#28 0x08181943 in internal_catch (tag=138859906, address@hidden
<command_loop_2>, arg=138828738) at eval.c:1118
#29 0x0811a5b2 in command_loop () at keyboard.c:1153
#30 recursive_edit_1 () at keyboard.c:777
#31 0x0811a873 in Frecursive_edit () at keyboard.c:845
In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.20)
of 2014-01-30 on LDLC-portable
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description: Ubuntu 13.10
Configured using:
`configure 'CFLAGS=-g3 -O2''
Important settings:
value of $LANG: fr_BE.UTF-8
locale-coding-system: utf-8-unix
--
Nico.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#3552: 23.0.94; backward-prefix-chars: Point before start of properties |
Date: |
Thu, 16 Jun 2016 23:20:58 -0400 |
Version: 25.1
On Thu, Jun 16, 2016 at 11:05 AM, Eli Zaretskii <address@hidden> wrote:
>> From: Noam Postavsky <address@hidden>
>> Date: Wed, 15 Jun 2016 22:07:43 -0400
>> Cc: Eli Zaretskii <address@hidden>, address@hidden
>>
>> Is it okay to install this to emacs-25?
>
> I was sure you already did.
>
> Yes, please.
Now pushed as b49cb0ab
--- End Message ---