From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Emacs Development" <emacs-devel@gnu.org>,
"Kenichi Handa" <handa@m17n.org>
Subject: Args out of range with new auto-composition implementation
Date: Tue, 2 Sep 2008 01:39:13 +0200 [thread overview]
Message-ID: <f7ccd24b0809011639n7e92101ey22dd80c600dce97@mail.gmail.com> (raw)
An error I'm getting since the auto-composition changes of a few days ago:
;;; testbug.el ;;;
(column-number-mode 1)
(defun testbug ()
(interactive)
(split-window)
(other-window 1)
(pop-to-buffer (get-buffer-create "testbug")))
;;;;;;;;;;;;;;;;;
emacs -Q -l testbug.el
C-h H
M-: (goto-char 276) <RET> ;; or move the cursor to any auto-composed char
M-x testbug <RET>
=> "Args out of range: 274, 274"
(and the windows are not correctly painted.)
Setting a breakpoint at data.c:args_out_of_range, you get this backtrace:
Breakpoint 3, args_out_of_range (a1=2192, a2=2192) at data.c:124
124 xsignal2 (Qargs_out_of_range, a1, a2);
(gdb) bt
#0 args_out_of_range (a1=2192, a2=2192) at data.c:124
#1 0x0119556b in validate_interval_range (object=51728900,
begin=0x82dd90, end=0x82dd90, force=0) at textprop.c:154
#2 0x01197467 in Ftext_properties_at (position=2192, object=51728896)
at textprop.c:588
#3 0x01197537 in Fget_text_property (position=2192, prop=47716689,
object=51728900) at textprop.c:609
#4 0x011ed5fc in face_at_buffer_position (w=0x351fe00, pos=274,
region_beg=0, region_end=0, endptr=0x82dec8, limit=276,
mouse=0) at xfaces.c:6278
#5 0x011a48d1 in font_range (pos=274, limit=0x82df38, w=0x351fe00,
face=0x0, string=47716353) at font.c:3678
#6 0x0119b7e4 in autocmp_chars (cft_element=<value optimized out>,
charpos=274, bytepos=346, limit=276, win=0x351fe00,
face=0x0, string=47716353) at composite.c:944
#7 0x011a00ca in composition_reseat_it (cmp_it=0x82e014, charpos=274,
bytepos=346, endpos=276, w=0x351fe00, face=0x0,
string=47716353) at composite.c:1081
#8 0x011705a9 in scan_for_column (endpos=0x82e0c4, goalcol=0x82e0c8,
prevcol=0x0) at indent.c:597
#9 0x01170d85 in current_column () at indent.c:725
#10 0x01053467 in redisplay_window (window=62406148,
just_this_one_p=0) at xdisp.c:13315
#11 0x010566cc in redisplay_window_0 (window=62406148) at xdisp.c:12206
#12 0x01018e71 in internal_condition_case_1 (bfun=0x10566a9
<redisplay_window_0>, arg=62406148, handlers=47699205,
hfun=0x1023dd2 <redisplay_window_error>) at eval.c:1559
#13 0x0102e0d4 in redisplay_windows (window=274) at xdisp.c:12185
#14 0x0102e046 in redisplay_windows (window=274) at xdisp.c:12179
#15 0x010477cd in redisplay_internal (preserve_echo_area=<value
optimized out>) at xdisp.c:11761
#16 0x0108b159 in read_char (commandflag=1, nmaps=2, maps=0x82fb70,
prev_event=47716353, used_mouse_menu=0x82fc34, end_time=0x0)
at keyboard.c:2648
#17 0x0108f7aa in read_key_sequence (keybuf=0x82fcd4, bufsize=30,
prompt=47716353, dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9345
#18 0x0109291d in command_loop_1 () at keyboard.c:1620
#19 0x010190f6 in internal_condition_case (bfun=0x109268f
<command_loop_1>, handlers=47780105, hfun=0x10898f6 <cmd_error>)
at eval.c:1511
#20 0x01088d9b in command_loop_2 () at keyboard.c:1338
#21 0x010191a0 in internal_catch (tag=47776177, func=0x1088d78
<command_loop_2>, arg=47716353) at eval.c:1247
#22 0x0108973b in command_loop () at keyboard.c:1317
#23 0x01089a8f in recursive_edit_1 () at keyboard.c:942
#24 0x01089bfa in Frecursive_edit () at keyboard.c:1004
#25 0x01002c41 in main (argc=4, argv=0xa927a8) at emacs.c:1693
This is on Windows, MinGW 4.3.0, optimized build.
Juanma
next reply other threads:[~2008-09-01 23:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-01 23:39 Juanma Barranquero [this message]
2008-09-11 2:07 ` Args out of range with new auto-composition implementation Kenichi Handa
2008-09-11 2:17 ` Juanma Barranquero
2008-09-11 2:21 ` Juanma Barranquero
2008-09-12 6:32 ` Kenichi Handa
2008-09-12 8:56 ` Juanma Barranquero
2008-09-03 16:21 ` bug#874: " Juanma Barranquero
2008-09-04 15:25 ` Juanma Barranquero
2008-09-12 9:05 ` bug#874: marked as done (Args out of range with new auto-composition implementation) Emacs bug Tracking System
2008-09-11 14:46 ` Args out of range with new auto-composition implementation Ted Zlatanov
2008-09-24 6:07 ` Kenichi Handa
2008-10-08 16:58 ` Ted Zlatanov
2008-10-10 1:49 ` Kenichi Handa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0809011639n7e92101ey22dd80c600dce97@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.