From: Michael Welsh Duggan <md5i@md5i.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 11199@debbugs.gnu.org
Subject: bug#11199: 24.0.95; killing right-to-left text at eob leads to inconsistent state
Date: Sun, 08 Apr 2012 14:28:03 -0400 [thread overview]
Message-ID: <8762dacc3w.fsf@maru.md5i.com> (raw)
In-Reply-To: <83bon2ad9z.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 08 Apr 2012 10:33:28 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sun, 08 Apr 2012 11:26:41 +0900
>> From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
>>
>> Steps to reproduce:
>>
>> 1. emacs -Q
>> 2. type the following text in the *scratch* buffer:
>>
>> (progn
>> (delete-region (point) (point-max))
>> (insert (substring (get-language-info "Hebrew" 'sample-text) 7)))
>>
>> 3. move the cursor to the beginning of the next line of the above text.
>> 4. C-x C-e
>> 5. C-a
>> 6. C-k
>>
>> Result:
>>
>> The Hebrew text is still shown, though it is internally killed.
>> Typing C-p after the last step does not move the cursor.
>
> I cannot reproduce this with today's bzr, neither in the emacs-24
> release branch nor with the trunk version. I cannot run a GUI session
> with a GTK build on GNU/Linux where I'm typing this, but I tried GUI
> and TTY sessions on MS-Windows and a TTY session on GNU/Linux, and
> they all work correctly: the Hebrew text is killed and C-p works as
> expected. (Btw, did you mean C-p or C-n?)
>
> Can you try reproducing this in a clean build, or on another system?
>
> Also, what happens on the system where you see the problem, if you
> switch to another buffer and then back to *scratch*, so that it is
> completely redrawn? does the killed text re-appear or not?
>
> Thanks.
I have assertions turned on and get an assertion failure. My setup is
as follows:
In GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, X toolkit)
of 2012-04-08 on maru
Bzr revision: 107799 eliz@gnu.org-20120408170903-4aew3wl3022qvr3e
Windowing system distributor `The X.Org Foundation', version 11.0.11104000
Configured using:
`configure '--without-gconf' '--without-gsettings'
'--without-toolkit-scroll-bars' '--with-x-toolkit=lucid' 'CFLAGS=-O0
-ggdb' '--enable-asserts' '--with-wide-int''
Build is from today's trunk. Here is the backtrace:
#0 abort () at emacs.c:390
#1 0x080779e7 in init_iterator (it=0xbfffa878, w=0x88e30d0, charpos=308,
bytepos=311, row=0x0, base_face_id=DEFAULT_FACE_ID) at xdisp.c:2507
#2 0x080794bb in init_from_display_pos (it=0xbfffa878, w=0x88e30d0,
pos=0x8dccc58) at xdisp.c:2951
#3 0x08079810 in init_to_row_end (it=0xbfffa878, w=0x88e30d0, row=0x8dccbf0)
at xdisp.c:3054
#4 0x080a82f0 in try_window_id (w=0x88e30d0) at xdisp.c:17140
#5 0x080a11fc in redisplay_window (window=-6917529027497545520,
just_this_one_p=1) at xdisp.c:15463
#6 0x0809a6e8 in redisplay_window_1 (window=-6917529027497545520)
at xdisp.c:13645
#7 0x0828b89f in internal_condition_case_1 (
bfun=0x809a6a2 <redisplay_window_1>, arg=-6917529027497545520,
handlers=-4611686018286052816, hfun=0x809a619 <redisplay_window_error>)
at eval.c:1553
#8 0x080996ee in redisplay_internal () at xdisp.c:13270
#9 0x08096754 in redisplay () at xdisp.c:12417
#10 0x081c9d36 in read_char (commandflag=1, nmaps=2, maps=0xbfffed60,
prev_event=4611686018568752328, used_mouse_menu=0xbfffeeac, end_time=0x0)
at keyboard.c:2448
#11 0x081dad15 in read_key_sequence (keybuf=0xbffff0f8, bufsize=30,
prompt=4611686018568752328, dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9328
#12 0x081c6c32 in command_loop_1 () at keyboard.c:1449
#13 0x0828b710 in internal_condition_case (bfun=0x81c667f <command_loop_1>,
handlers=4611686018568799048, hfun=0x81c5c48 <cmd_error>) at eval.c:1515
#14 0x081c6255 in command_loop_2 (ignore=4611686018568752328)
at keyboard.c:1160
#15 0x0828af33 in internal_catch (tag=4611686018568792336,
func=0x81c621a <command_loop_2>, arg=4611686018568752328) at eval.c:1272
#16 0x081c61e0 in command_loop () at keyboard.c:1139
#17 0x081c56eb in recursive_edit_1 () at keyboard.c:759
#18 0x081c590f in Frecursive_edit () at keyboard.c:823
#19 0x081c34c1 in main (argc=2, argv=0xbffff964) at emacs.c:1711
--
Michael Welsh Duggan
(md5i@md5i.com)
next prev parent reply other threads:[~2012-04-08 18:28 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-08 2:26 bug#11199: 24.0.95; killing right-to-left text at eob leads to inconsistent state YAMAMOTO Mitsuharu
2012-04-08 7:33 ` Eli Zaretskii
2012-04-08 18:28 ` Michael Welsh Duggan [this message]
2012-04-08 18:33 ` Michael Welsh Duggan
2012-04-08 20:03 ` Eli Zaretskii
2012-04-08 20:13 ` Eli Zaretskii
2012-04-08 20:19 ` Michael Welsh Duggan
2012-04-08 20:16 ` Michael Welsh Duggan
2012-04-08 20:20 ` Eli Zaretskii
2012-04-08 20:25 ` Michael Welsh Duggan
2012-04-08 20:37 ` Eli Zaretskii
2012-04-08 20:48 ` Eli Zaretskii
2012-04-08 21:01 ` Michael Welsh Duggan
2012-04-08 21:10 ` Eli Zaretskii
2012-04-08 21:17 ` Michael Welsh Duggan
2012-04-09 6:24 ` Eli Zaretskii
2012-04-08 20:49 ` Michael Welsh Duggan
2012-04-08 21:07 ` Eli Zaretskii
2012-04-09 8:21 ` YAMAMOTO Mitsuharu
2012-04-09 9:32 ` Eli Zaretskii
2012-04-09 9:10 ` Eli Zaretskii
2012-04-09 9:48 ` YAMAMOTO Mitsuharu
2012-04-09 10:17 ` Eli Zaretskii
2012-04-09 11:07 ` Eli Zaretskii
2012-04-09 11:52 ` Eli Zaretskii
2012-04-09 12:18 ` Michael Welsh Duggan
2012-04-09 12:34 ` Eli Zaretskii
2012-04-09 23:50 ` YAMAMOTO Mitsuharu
2012-04-10 6:27 ` Eli Zaretskii
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=8762dacc3w.fsf@maru.md5i.com \
--to=md5i@md5i.com \
--cc=11199@debbugs.gnu.org \
--cc=eliz@gnu.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.