tried filing a bug through the emacs submit , but that was the last I ever heard of it. Here is the output:

I get crashes on the same line again and again:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220520272 (LWP 8874)]
0xb7a3e92d in XRenderFindDisplay () from /usr/lib/libXrender.so.1
(gdb) bt
#0  0xb7a3e92d in XRenderFindDisplay () from /usr/lib/libXrender.so.1
#1  0xb7a3ca55 in XRenderFreePicture () from /usr/lib/libXrender.so.1
#2  0xb7664b80 in XftDrawDestroy () from /usr/lib/libXft.so.2
#3  0x080c0bd0 in clear_face_cache (clear_fonts_p=0) at xfaces.c:5444
#4  0x0808799f in redisplay_internal (preserve_echo_area=<value optimized out>) at xdisp.c:11144
#5  0x08087e6c in redispl ay_preserve_echo_area (from_where=2) at xdisp.c:11194
#6  0x080557c0 in sit_for (sec=0, usec=500000, reading=0, display=1, initial_display=1) at dispnew.c:6407
#7  0x080558c5 in Fsit_for (seconds=137500870, milliseconds=137509881, nodisp=<value optimized out>) at dispnew.c:6470
#8  0x08158646 in Ffuncall (nargs=2, args=0xbff88860) at eval.c:2885
#9  0x08183aa7 in Fbyte_code (bytestr=136845459, vector=136845764, maxdepth=6) at bytecode.c:694
#10 0x08157b69 in Feval (form=136845445) at eval.c:2225
#11 0x0815a11f in internal_lisp_condition_case (var=137509881, bodyform=136845445, handlers=136846141) at eval.c:1412
#12 0x08182d58 in Fbyte_code (bytestr=136845339, vector=136845388, maxdepth=4) at bytecode.c:884
#13 0x08158138 in funcall_lambda (fun=136845308, nargs=0, arg_vector=0xbff88c48) at eval.c:3066
#14 0x0815856e in Ffuncall (nargs=1, args=0xbff88c44) at eval.c:2934
#15 0x08159d5c in Fapply (nargs=2, args=0x bff88c44) at eval.c:2315
#16 0x081587b0 in Ffuncall (nargs=3, args=0xbff88c40) at eval.c:2860
#17 0x08183aa7 in Fbyte_code (bytestr=136891059, vector=136891100, maxdepth=4) at bytecode.c:694
#18 0x08157b69 in Feval (form=136891045) at eval.c:2225
#19 0x0815a11f in internal_lisp_condition_case (var=137509881, bodyform=136891045, handlers=136891133) at eval.c:1412
#20 0x08182d58 in Fbyte_code (bytestr=136890779, vector=136890932, maxdepth=5) at bytecode.c:884
#21 0x08158138 in funcall_lambda (fun=136890740, nargs=1, arg_vector=0xbff88f74) at eval.c:3066
#22 0x0815856e in Ffuncall (nargs=2, args=0xbff88f70) at eval.c:2934
#23 0x08159909 in call1 (fn=137544473, arg1=143319756) at eval.c:2668
#24 0x080f9396 in timer_check (do_it_now=1) at keyboard.c:4473
#25 0x080f95a9 in readable_events (flags=1) at keyboard.c:3512
#26 0x080f9617 in get_input_pending (addr=0x8311194, flags=1) at keyboard.c:6593
#27 0x080f96f0 in detect_input_pending_ru n_timers (do_display=1) at keyboard.c:9945
#28 0x0818a349 in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1,
    wait_for_cell=137509881, wait_proc=0x0, just_wait_proc=0) at process.c:4593
#29 0x08055808 in sit_for (sec=30, usec=0, reading=1, display=1, initial_display=0) at dispnew.c:6416
#30 0x080fd0de in read_char (commandflag=1, nmaps=5, maps=0xbff89620, prev_event=137509881, used_mouse_menu=0xbff896d4)
    at keyboard.c:2770
#31 0x080fefed in read_key_sequence (keybuf=0xbff89784, bufsize=30, prompt=137509881, dont_downcase_last=0,
    can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8855
#32 0x08100b17 in command_loop_1 () at keyboard.c:1529
---Type <return> to continue, or q <return> to quit---
#33 0x0815711b in internal_condition_case (bfun=0x8100990 <command_loop_1>, handlers=137553665, hfun=0x80fb720 <c md_error>)
    at eval.c:1465
#34 0x080fa9c3 in command_loop_2 () at keyboard.c:1321
#35 0x081571da in internal_catch (tag=137549921, func=0x80fa9a0 <command_loop_2>, arg=137509881) at eval.c:1211
#36 0x080fb3dc in command_loop () at keyboard.c:1300
#37 0x080fb48a in recursive_edit_1 () at keyboard.c:993
#38 0x080fb587 in Frecursive_edit () at keyboard.c:1054
#39 0x080f1955 in main (argc=6, argv=0xbff89e84) at emacs.c:1789
(gdb) l *0x080c0bd0
0x80c0bd0 is in clear_face_cache (xfaces.c:5445).
5440    #ifdef HAVE_XFT
5441              if (face && face->xft_draw)
5442                {
5443                  BLOCK_INPUT;
5444                   XftDrawDestroy (face->xft_draw);
5445                  UNBLOCK_INPUT;
5446                  face->xft_draw = 0;
5447                }
5448    #endif
5449              if (face && face->gc)
(gdb)


Stefan Kamphausen <skampi@gmx.net> wrote:
"Ye ilho" writes:

> Hi everyone,
>< br>> I am sorry for my ignorance but I was trying to find out how to move
> the cursor to the bottom/middle/top of the screen?
> In other words, when I edit something, I sometimes want to go to the
> top of the screen I see with one key stroke.

There are two functions I've been using for years which allow me to
use the home and end keys as follows:

press once goto beginning/end of line
press twice goto beginning/end of window
press thrice goto beginning/end of buffer

Those functions are:

(defun chb-home ()
(interactive)
(if (not (bolp))
(beginning-of-line)
(if (eq this-command last-command)
(cond
((not (= (point) (window-start)))
(move-to-window-line 0)
(beginning-of-line))
(t
(goto-char (point-min)))))))

(defun chb-end ()
(interactive)
(if (not (eolp))
(end-of-line)
(if (eq this -command last-command)
(cond
((not (= (point) (save-excursion
(move-to-window-line -1)
(end-of-line)
(point))))
(move-to-window-line -1)
(end-of-line))
(t
(goto-char (point-max)))))))

I bind them like this:
(global-set-key '[(home)] 'chb-home)
(global-set-key '[(end)] 'chb-end)

Very convenient.

Regards,
Stefan
--
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs


Never miss a thing. Make Yahoo your homepage.