[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trunk emacs infelicity with linum mode
From: |
Manoj Srivastava |
Subject: |
Re: Trunk emacs infelicity with linum mode |
Date: |
Wed, 03 Sep 2014 09:28:20 -0700 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) (x86_64-unknown-linux-gnu) |
On Wed, Sep 03 2014, Eli Zaretskii wrote:
F>> From: Manoj Srivastava <address@hidden>
>> Date: Wed, 03 Sep 2014 00:06:11 -0700
>> > Also, after you load it, do you see the 'linum' face in the buffer
>> > popped up by "M-x list-faces-display"?
>> Yes, the face does exist. I can also see the same face in the
>> line numbers on the left. In previous sessions, I had tried
>> customizing the face, to no avail (I have since removed the
>> customization).
> I don't understand how is this possible. I can only suggest to run
> Emacs under GDB, put a breakpoint on the line in xfaces.c marked below:
> and then post the backtrace when the breakpoint breaks.
> (Please make sure GDB reads the .gdbinit file when you start it, so
> that the backtrace includes the Lisp level.)
--8<---------------cut here---------------start------------->8---
(gdb) list lface_from_face_name_no_resolve
1951 signal an error if FACE_NAME is not a valid face name. If SIGNAL_P
1952 is zero, value is nil if FACE_NAME is not a valid face name. */
1953 static Lisp_Object
1954 lface_from_face_name_no_resolve (struct frame *f, Lisp_Object face_name,
1955 int signal_p)
1956 {
1957 Lisp_Object lface;
1958
1959 if (f)
1960 lface = assq_no_quit (face_name, f->face_alist);
(gdb) list
1961 else
1962 lface = assq_no_quit (face_name, Vface_new_frame_defaults);
1963
1964 if (CONSP (lface))
1965 lface = XCDR (lface);
1966 else if (signal_p)
1967 signal_error ("Invalid face", face_name);
1968
1969 check_lface (lface);
1970
(gdb) break 1967
Breakpoint 3 at 0x4b0429: file xfaces.c, line 1967.
(gdb) run -Q
Starting program: /usr/local/src/emacs/src/emacs -Q
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe794b700 (LWP 2199)]
[New Thread 0x7fffe6d32700 (LWP 2200)]
[New Thread 0x7fffe6531700 (LWP 2201)]
Breakpoint 3, lface_from_face_name_no_resolve (address@hidden, address@hidden,
address@hidden)
at xfaces.c:1967
1967 signal_error ("Invalid face", face_name);
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
#0 lface_from_face_name_no_resolve (address@hidden, address@hidden,
address@hidden)
at xfaces.c:1967
#1 0x00000000004b047b in get_lface_attributes_no_remap (address@hidden,
address@hidden,
address@hidden, address@hidden) at xfaces.c:2003
#2 0x00000000004b160f in get_lface_attributes (address@hidden,
face_name=17204162, address@hidden, signal_p=1,
address@hidden) at xfaces.c:2050
#3 0x00000000004b7569 in lookup_named_face (address@hidden, address@hidden,
address@hidden)
at xfaces.c:4503
#4 0x00000000004b760e in Fface_font (face=17204162, frame=<optimized out>,
character=12672242) at xfaces.c:3844
#5 0x0000000000554fd2 in Ffuncall (nargs=<optimized out>, address@hidden) at
eval.c:2815
#6 0x0000000000589bf3 in exec_byte_code (bytestr=<optimized out>,
vector=16288805, maxdepth=<optimized out>,
args_template=<optimized out>, address@hidden, args=<optimized out>,
address@hidden) at bytecode.c:920
#7 0x0000000000554b47 in funcall_lambda (fun=22295153, address@hidden,
arg_vector=0x7fffffffc438,
address@hidden) at eval.c:2976
#8 0x0000000000554e0b in Ffuncall (nargs=2, address@hidden) at eval.c:2869
#9 0x0000000000589bf3 in exec_byte_code (bytestr=<optimized out>,
vector=19151957, maxdepth=<optimized out>,
args_template=<optimized out>, address@hidden, args=<optimized out>,
address@hidden) at bytecode.c:920
#10 0x0000000000554b47 in funcall_lambda (fun=22294961, address@hidden,
arg_vector=0x7fffffffc5a0,
address@hidden) at eval.c:2976
#11 0x0000000000554e0b in Ffuncall (address@hidden, address@hidden) at
eval.c:2869
#12 0x00000000005551ca in call1 (address@hidden, arg1=<optimized out>) at
eval.c:2607
#13 0x000000000055c7f2 in mapcar1 (leni=1, address@hidden, address@hidden,
address@hidden) at fns.c:2591
#14 0x000000000055ca32 in Fmapc (function=22953634, sequence=17119974) at
fns.c:2680
#15 0x0000000000554fe2 in Ffuncall (nargs=<optimized out>, address@hidden) at
eval.c:2811
#16 0x0000000000589bf3 in exec_byte_code (bytestr=<optimized out>,
vector=16288725, maxdepth=<optimized out>,
args_template=<optimized out>, address@hidden, args=<optimized out>,
address@hidden) at bytecode.c:920
#17 0x0000000000554b47 in funcall_lambda (fun=22295569, address@hidden,
arg_vector=0x7fffffffc7d0,
address@hidden) at eval.c:2976
#18 0x0000000000554e0b in Ffuncall (nargs=2, address@hidden) at eval.c:2869
#19 0x0000000000589bf3 in exec_byte_code (bytestr=<optimized out>,
vector=16289461, maxdepth=<optimized out>,
args_template=<optimized out>, address@hidden, args=<optimized out>,
address@hidden) at bytecode.c:920
#20 0x0000000000554b47 in funcall_lambda (fun=22296849, address@hidden,
arg_vector=0x7fffffffc908,
address@hidden) at eval.c:2976
#21 0x0000000000554e0b in Ffuncall (address@hidden, address@hidden) at
eval.c:2869
#22 0x00000000005551e8 in call0 (fn=22958818) at eval.c:2592
#23 0x000000000046bda6 in run_funs (funs=17204162) at window.c:3315
#24 0x000000000047188d in run_window_configuration_change_hook (address@hidden)
at window.c:3369
#25 0x0000000000420db1 in adjust_frame_size (f=0x120f6d0, new_width=<optimized
out>, new_height=<optimized out>,
inhibit=<optimized out>, pretend=<optimized out>) at frame.c:582
#26 0x000000000041e4ce in change_frame_size (pixelwise=<optimized out>,
safe=<optimized out>, delay=<optimized out>,
pretend=<optimized out>, new_height=<optimized out>, new_width=<optimized
out>, f=<optimized out>) at dispnew.c:5560
#27 do_pending_window_change (safe=false) at dispnew.c:5487
#28 0x0000000000420e27 in adjust_frame_size (f=0x120f6d0, new_width=<optimized
out>, new_height=<optimized out>, inhibit=0,
pretend=<optimized out>) at frame.c:484
#29 0x00000000004cfd62 in Fx_create_frame (parms=17204162) at xfns.c:3244
#30 0x0000000000554fee in Ffuncall (nargs=<optimized out>, address@hidden) at
eval.c:2808
#31 0x0000000000589bf3 in exec_byte_code (bytestr=<optimized out>,
vector=9233173, maxdepth=<optimized out>,
args_template=<optimized out>, address@hidden, args=<optimized out>,
address@hidden) at bytecode.c:920
#32 0x0000000000554aaf in funcall_lambda (fun=9233077, address@hidden,
address@hidden) at eval.c:3042
#33 0x0000000000554e0b in Ffuncall (nargs=2, address@hidden) at eval.c:2869
#34 0x0000000000589bf3 in exec_byte_code (bytestr=<optimized out>,
vector=9882037, maxdepth=<optimized out>,
args_template=<optimized out>, address@hidden, args=<optimized out>,
address@hidden) at bytecode.c:920
#35 0x0000000000554aaf in funcall_lambda (fun=9881949, address@hidden,
address@hidden) at eval.c:3042
#36 0x0000000000554e0b in Ffuncall (nargs=1, address@hidden) at eval.c:2869
#37 0x0000000000589bf3 in exec_byte_code (bytestr=<optimized out>,
vector=9881709, maxdepth=<optimized out>,
args_template=<optimized out>, address@hidden, args=<optimized out>,
address@hidden) at bytecode.c:920
#38 0x0000000000554aaf in funcall_lambda (fun=9881621, address@hidden,
address@hidden) at eval.c:3042
#39 0x0000000000554e0b in Ffuncall (address@hidden, address@hidden) at
eval.c:2869
#40 0x000000000055078a in Ffuncall_interactively (nargs=1, args=0x7fffffffd348)
at callint.c:270
#41 0x0000000000554ee1 in Ffuncall (address@hidden, address@hidden) at
eval.c:2789
#42 0x0000000000555c4c in Fapply (address@hidden, address@hidden) at eval.c:2290
#43 0x0000000000550d5c in Fcall_interactively (function=20495666,
record_flag=12672242, keys=12707029) at callint.c:419
#44 0x0000000000554fd2 in Ffuncall (nargs=<optimized out>, address@hidden) at
eval.c:2815
#45 0x0000000000589bf3 in exec_byte_code (bytestr=<optimized out>,
vector=9622181, maxdepth=<optimized out>,
args_template=<optimized out>, address@hidden, args=<optimized out>,
address@hidden) at bytecode.c:920
#46 0x0000000000554b47 in funcall_lambda (fun=9622145, address@hidden,
arg_vector=0x7fffffffd428, address@hidden)
at eval.c:2976
#47 0x0000000000554e0b in Ffuncall (address@hidden, address@hidden) at
eval.c:2869
#48 0x00000000005551ca in call1 (fn=<optimized out>, arg1=<optimized out>) at
eval.c:2607
#49 0x00000000004eff4d in command_loop_1 () at keyboard.c:1569
#50 0x0000000000553367 in internal_condition_case (address@hidden
<command_loop_1>, handlers=<optimized out>,
address@hidden <cmd_error>) at eval.c:1347
#51 0x00000000004e256e in command_loop_2 (address@hidden) at keyboard.c:1193
#52 0x000000000055324b in internal_catch (tag=12720194, address@hidden
<command_loop_2>, arg=12672242) at eval.c:1111
#53 0x00000000004e252b in command_loop () at keyboard.c:1172
#54 0x00000000004e69ef in recursive_edit_1 () at keyboard.c:782
#55 0x00000000004e6d30 in Frecursive_edit () at keyboard.c:853
#56 0x0000000000414791 in main (argc=0, argv=0x7fffffffd908) at emacs.c:1642
Lisp Backtrace:
"face-font" (0xffffc440)
"linum--face-height" (0xffffc5a8)
"linum-update-window" (0xffffc6e8)
"mapc" (0xffffc7d8)
"linum-update" (0xffffc910)
"linum-update-current" (0xffffca30)
"x-create-frame" (0xffffcd00)
"x-create-frame-with-faces" (0xffffcea0)
"make-frame" (0xffffd040)
"make-frame-command" (0xffffd350)
"funcall-interactively" (0xffffd348)
"call-interactively" (0xffffd430)
"command-execute" (0xffffd568)
--8<---------------cut here---------------end--------------->8---
Thanks for looking into this
manoj
--
You have a tendency to feel you are superior to most computers.
Manoj Srivastava <address@hidden> <http://www.golden-gryphon.com/>
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C
- Trunk emacs infelicity with linum mode, Manoj Srivastava, 2014/09/02
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/02
- Re: Trunk emacs infelicity with linum mode, Manoj Srivastava, 2014/09/02
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/02
- Re: Trunk emacs infelicity with linum mode, Manoj Srivastava, 2014/09/03
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/03
- Re: Trunk emacs infelicity with linum mode,
Manoj Srivastava <=
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/04
- Re: Trunk emacs infelicity with linum mode, Stefan Monnier, 2014/09/04
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/04
- Re: Trunk emacs infelicity with linum mode, Stefan Monnier, 2014/09/04
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/05
- Re: Trunk emacs infelicity with linum mode, Stefan Monnier, 2014/09/05
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/05
- Re: Trunk emacs infelicity with linum mode, Stefan Monnier, 2014/09/05
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/05
- Re: Trunk emacs infelicity with linum mode, Manoj Srivastava, 2014/09/05