GNU bug report logs -
#3552
23.0.94; backward-prefix-chars: Point before start of properties
Previous Next
Reported by: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)
Date: Sat, 13 Jun 2009 10:45:03 UTC
Severity: important
Tags: confirmed, patch
Merged with 17132,
19379
Found in versions 24.3.50, 24.5, 25.0.50, 25.0.94
Fixed in version 25.1
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#3552: 24.3.50; modified syntax table leads to error: "Point before start of properties"
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 17132 <at> debbugs.gnu.org.
--
3552: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3552
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Version: 25.1
On Thu, Jun 16, 2016 at 11:05 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Noam Postavsky <npostavs <at> users.sourceforge.net>
>> Date: Wed, 15 Jun 2016 22:07:43 -0400
>> Cc: Eli Zaretskii <eliz <at> gnu.org>, 3552 <at> debbugs.gnu.org
>>
>> Is it okay to install this to emacs-25?
>
> I was sure you already did.
>
> Yes, please.
Now pushed as b49cb0ab
[Message part 3 (message/rfc822, inline)]
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 (error_symbol=error_symbol <at> entry=138861858, data=data <at> entry=144742286) at eval.c:1474
#1 0x08183ba7 in xsignal (error_symbol=error_symbol <at> entry=138861858, data=144742286) at eval.c:1588
#2 0x08183bef in xsignal1 (error_symbol=138861858, arg=arg <at> entry=145245257) at eval.c:1603
#3 0x08183cd0 in verror (m=m <at> entry=0x8222110 "Point before start of properties", ap=ap <at> entry=0xbfffe724 "\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 (m=m <at> entry=0x8222110 "Point before start of properties") at eval.c:1793
#5 0x081ca74f in update_interval (i=<optimized out>, i <at> entry=0x8610854, pos=pos <at> entry=0) at intervals.c:794
#6 0x081a92d0 in update_syntax_table (charpos=0, count=count <at> entry=-1, init=init <at> entry=false, 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>, charpos <at> entry=0, bytepos=<optimized out>, bytepos <at> entry=0) at syntax.c:497
#10 0x081aac59 in Fbackward_prefix_chars () at syntax.c:3027
#11 0x08182a0d in eval_sub (form=form <at> entry=144743062) 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, args_template=args_template <at> entry=2052, nargs=nargs <at> entry=2, args=0xbfffe940) at bytecode.c:919
#15 0x08182f9e in funcall_lambda (fun=137187245, nargs=nargs <at> entry=2, arg_vector=arg_vector <at> entry=0xbfffead4) at eval.c:2983
#16 0x08183253 in Ffuncall (nargs=3, args=args <at> entry=0xbfffead0) at eval.c:2876
#17 0x0818465b in Fapply (nargs=nargs <at> entry=2, args=args <at> entry=0xbfffeb58) at eval.c:2354
#18 0x0818488f in apply1 (fn=fn <at> entry=140667530, arg=arg <at> entry=144742342) 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, args_template=args_template <at> entry=4100, nargs=nargs <at> entry=1, args=0xbfffec8c) at bytecode.c:919
#22 0x08182f9e in funcall_lambda (fun=137188901, nargs=nargs <at> entry=1, arg_vector=arg_vector <at> entry=0xbfffee4c) at eval.c:2983
#23 0x08183253 in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0xbfffee48) 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 (bfun=bfun <at> entry=0x8123020 <command_loop_1>, handlers=138861858, hfun=hfun <at> entry=0x811a960 <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, func=func <at> entry=0x81163b0 <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.
This bug report was last modified 8 years and 345 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.