Hi,
Here comes yet another status report from the project of converting to
GPLv3 or later.
There are two lists of files below. The first list contains all files
that are in an undecided state. Please inspect: Do we need to do anything
with them. If so what?
The second list contains all files that we can leave untouched and the
reason for that. Please inspect: Are all reasons OK and correct?
Are we getting close to the were an inspection of the xemacs-gplv3
repository could be performed? With the intent that it that is OK we
could merge back to trunk and go GPLv3 or later?
----------------------------------------------------------------------
"CHANGES-beta"
"ChangeLog"
"PROBLEMS"
"README"
"README.GPLv3"
"etc/ChangeLog"
"etc/Emacs.ad"
"etc/InstallGuide"
"etc/NEWS"
"etc/ONEWS"
"etc/OONEWS"
"etc/README"
"etc/editclient.sh"
"etc/emacskeys.sco"
"etc/emacsstrs.sco"
"etc/gtkrc"
"etc/package-index.LATEST.gpg"
"etc/sample.Xresources"
"etc/xemacs.1"
"lib-src/ChangeLog"
"lib-src/README"
"lisp/ChangeLog"
"lisp/README"
"lisp/mule/mule-locale.txt"
"man/ChangeLog"
"man/README"
"modules/ChangeLog"
"modules/base64/Makefile"
"modules/common/configure-post.ac"
"modules/common/configure-pre.ac"
"modules/zlib/Makefile"
"nt/ChangeLog"
"nt/Emacs.ad.h"
"nt/Installation.el"
"nt/README"
"nt/Win32.cf"
"nt/lisp.ico"
"nt/site.def"
"nt/xemacs.dsp"
"nt/xemacs.dsw"
"src/ChangeLog"
"src/README"
"src/README.kkcc"
"src/m/README"
"src/s/README"
"src/s/freebsd.h"
"src/s/irix6-0.h"
"src/s/netbsd.h"
"src/s/sol2.h"
"tests/ChangeLog"
"tests/Dnd/README"
"tests/automated/README"
"version.sh.in"
----------------------------------------------------------------------
These files below are the files that we might be able to leave as
they are. The reason for why they need not to be changed is listed
after each file: (Some reasons are taken verbatim from private
communication or the "GPL version 3 source survey")
----------------------------------------------------------------------
"INSTALL" -> old FSF Documentation license
"config.guess" -> Part of config which is still GPLv2 or later. See "http://savannah.gnu.org/projects/config"
"config.sub" -> Part of config which is still GPLv2 or later. See "http://savannah.gnu.org/projects/config"
"etc/ETAGS.ChangeLog" -> BSD and GPL v2 or later
"etc/VEGETABLES" -> Not copyrightable.
"etc/XKeysymDB" -> MIT
"etc/ctags.1" -> Part of the etags distribution, which is not part of XEmacs.
"etc/custom/example-themes/ex-custom-file" -> Generated(!?) or GPL V2 or later?
"etc/etags.1" -> Part of the etags distribution, which is not part of XEmacs.
"etc/gnuattach.1" -> simple man link to gnuserv.1
"etc/gnuclient.1" -> simple man link to gnuserv.1
"etc/gnudoit.1" -> simple man link to gnuserv.1
"etc/refcard.ps.gz" -> Generated from refcard..tex
"etc/sample.Xdefaults" -> It is deprecated, so it can be removed but is only a three line reference to .Xresources
"etc/xemacs-X.ico" -> GPLv2 or later but there is not meta data for the file where this can be documented.
"info/dir" -> Generated(?)
"install-sh" -> MIT-style "no advertising" license
"lib-src/b2m.c" -> This is the version from GNU Emacs, so should be OK.
"lib-src/config.values.in" -> Generated.
"lib-src/emacs.csh" -> I don't think this even works with XEmacs ("emacsclient"), so I believe we can just delete it.
"lib-src/insert-data-in-exec.c" -> Compatible license.
"lib-src/mmencode.c" -> Compatible license.
"lisp/dump-paths.el" -> Empty file. Not copyrightable.
"lisp/term/bobcat.el" -> Emacs version has no explicit license declaration
"lisp/term/vt102.el" -> Emacs version has no explicit license declaration
"lisp/term/vt125.el" -> Emacs version has no explicit license declaration
"lisp/term/vt200.el" -> Emacs version has no explicit license declaration
"lisp/term/vt201.el" -> Emacs version has no explicit license declaration
"lisp/term/vt220.el" -> Emacs version has no explicit license declaration
"lisp/term/vt240.el" -> Emacs version has no explicit license declaration
"lisp/term/vt300.el" -> Emacs version has no explicit license declaration
"lisp/term/vt320.el" -> Emacs version has no explicit license declaration
"lisp/term/vt400.el" -> Emacs version has no explicit license declaration
"lisp/term/vt420.el" -> Emacs version has no explicit license declaration
"lock/.precious" -> Not copyrightable.
"modules/canna/install-sh" -> MIT
"modules/ldap/install-sh" -> MIT
"modules/postgresql/install-sh" -> MIT
"modules/sample/external/install-sh" -> MIT
"modules/sample/internal/install-sh" -> MIT
"move-if-change" -> Identical to GPLv3 or later Emacs version
"nt/Xmd.patch" -> GPLv2 or later but only a few lines
"nt/file.ico" -> MIT
"nt/minitar.c" -> Public domain
"nt/paths.h" -> Generated
"nt/xemacs.ico" -> GPLv2 or later but there is not meta data for the file where this can be documented.
"src/alloca.c" -> Public domain.
"src/depend" -> Generated
"src/emacs-marshals.c" -> Generated.
"src/emacs-widget-accessors.c" -> Generated.
"src/intl-auto-encap-win32.c" -> Generated.
"src/intl-auto-encap-win32.h" -> Generated.
"src/libsst.c" -> Compatible license.
"src/libsst.h" -> Compatible license.
"src/libst.h" -> Compatible copyright.
"src/linuxplay.c" -> Compatible license. (MIT-like)
"src/miscplay.c" -> Compatible license. (MIT-like)
"src/miscplay.h" -> Compatible license. (MIT-like)
"src/nas.c" -> Compatible license. (MIT-like)
"src/paths.h.in" -> Generated.
"src/s/openbsd.h" -> Too short. (< 10 lines)
"src/s/usg5-4-2.h" -> Too short. (< 10 lines)
"src/sunplay.c" -> Compatible copyright.
"tests/gtk/UNIMPLEMENTED" -> Does notes need a license?
"tests/tooltalk/beeps.el" -> Too short. (< 10 lines)
----------------------------------------------------------------------
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
I've been working on TLS support for a little while, and now have what
seems to be working nss, openssl, and gnutls lstream implementations.
The next challenge is making those available via the Emacs interface,
since that is what consuming packages expect. I thought I'd give you
a snapshot of what I've done so far (attached), just in case I get
abducted by aliens who need some operating system work done.
If you see anything that seems wrong or wrong-headed, let me know.
It's still early enough to change direction if I'm doing something
gratuitously stupid.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
New machine, trying 64-bit cygwin, but no joy so far in compiling from
latest sources.
Too soon to say if I've just not got my environment right yet - so at
this point just checking -- has anyone made this work yet?
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht(a)inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hi all,
The Fedora project is attempting to move from 32x32 or smaller icons up to
at least 64x64, and preferably 256x256. They say that today's
high-pixel-density displays make the old icons look either (a) really tiny
or (b) fuzzy. Does anybody have, or have the capability to produce, a good
looking XEmacs icon at 64x64 or (better) 256x256? Thank you.
Non-artistically yours,
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Hello
When I closed xemacs in my last session I had a file open in a directory
which does not exist anymore, however I now obtain on start up
the directory foo does not exist, Create?
And independent what I answer next time I start this message still pops
up, this is annoying, which package could cause such a behaviour?
Thanks
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
I just updated my Ubunut 12 system to Ubuntu 14 and xemacs is now
crashing consistently. I tried updating xemacs to the latest code and
the crash is still happening.
Here is the recipe, running src/xemacs -vanilla. In the *scratch*
buffer enter
(let ((face 'default)
(default-font "Courier-10:lang=en"))
(set-specifier
(face-font face)
(cons '(x)
(fc-name-unparse
(fc-font-match (selected-device)
(fc-name-parse default-font))))))
This crashes immediately. Here is the backtrace:
#0 0x00007ffff756c040 in ?? ()
from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#1 0x00007ffff756c799 in ?? ()
from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#2 0x00007ffff756bb96 in ?? ()
from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#3 0x00000000006acd5c in xft_find_charset_font (font=18594264,
charset=13908456, stage=STAGE_INITIAL)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/fontcolor-xlike-inc.c:473
#4 0x00000000006ae822 in x_find_charset_font (device=23188912,
font=18594264, charset=13908456, stage=STAGE_INITIAL)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/fontcolor-xlike-inc.c:715
#5 0x00000000005c3c62 in font_instantiate (unused_specifier=14322200,
matchspec=19597904, domain=23634096, instantiator=18594264, depth=3,
no_fallback=-20952)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/fontcolor.c:962
#6 0x00000000004c712d in va_call_trapping_problems_1 (
ai_mi_madre=0x7fffffffafc0)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:6173
#7 0x00000000004c6816 in call_trapping_problems_2 (opaque=21031456)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:5821
---Type <return> to continue, or q <return> to quit---
#8 0x00000000004bdc28 in call_with_condition_handler (
handler=0x4c6733 <flagged_a_squirmer>, handler_arg=21031456,
fun=0x4c67d7 <call_trapping_problems_2>, arg=21031456)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:2389
#9 0x00000000004c6841 in call_trapping_problems_1 (opaque=21031456)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:5827
#10 0x00000000004bcce5 in internal_catch (tag=14232008,
func=0x4c6818 <call_trapping_problems_1>, arg=21031456,
threw=0x7fffffffae10, thrown_tag=0x7fffffffae20,
backtrace_before_throw=0x7fffffffae28)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:1756
#11 0x00000000004c6d2b in call_trapping_problems (warning_class=10651336,
warning_string=0x0, flags=98315, problem=0x0,
fun=0x4c6ffc <va_call_trapping_problems_1>, arg=0x7fffffffafc0)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:6100
#12 0x00000000004c7993 in call_with_suspended_errors (
fun=0x5c38d5 <font_instantiate>, retval=10070952, class_=10651336,
errb=..., nargs=5)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:6265
#13 0x00000000006595aa in specifier_instance_from_inst_list (
specifier=14322200, matchspec=19597904, domain=23634096,
inst_list=19596944, errb=..., no_quit=1, depth=3, instantiator=0x0,
no_fallback=0)
---Type <return> to continue, or q <return> to quit---
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/specifier.c:2875
#14 0x0000000000659c0b in specifier_instance_1 (specifier=14322200,
matchspec=19597904, domain=23634096, errb=..., no_quit=1, no_fallback=0,
depth=3, instantiator=0x0)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/specifier.c:2998
#15 0x0000000000659dc4 in specifier_instance_no_quit (specifier=14322200,
matchspec=19597904, domain=23634096, errb=..., no_fallback=0, depth=1)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/specifier.c:3040
#16 0x000000000050626c in face_property_matching_instance (face=14329880,
property=10629640, charset=13908456, domain=23634096, errb=...,
no_fallback=0, depth=1, stage=STAGE_INITIAL)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/faces.c:628
#17 0x00000000006a1c14 in x_update_frame_external_traits (frm=0x168a0b0,
name=10629640)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/frame-x.c:2701
#18 0x000000000050b50f in update_EmacsFrame (frame=23634096, name=10629640)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/faces.c:1926
#19 0x000000000050b6ae in update_EmacsFrames (locale=10571752, name=10629640)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/faces.c:1948
#20 0x000000000050b810 in face_property_was_changed (face=14329880,
property=10629640, locale=10571752)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/faces.c:1974
#21 0x00000000005c3fb8 in font_after_change (specifier=14322200,
---Type <return> to continue, or q <return> to quit---
locale=10571752)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/fontcolor.c:1039
#22 0x0000000000657a5c in specifier_add_spec (specifier=14322200,
locale=10571752, inst_list=19601160, add_meth=SPEC_PREPEND)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/specifier.c:2068
#23 0x00000000006582f8 in Fadd_spec_list_to_specifier (specifier=14322200,
spec_list=19596464, how_to_add=10652968)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/specifier.c:2309
#24 0x00000000004c2834 in Ffuncall (nargs=4, args=0x7fffffffb8b8)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:4165
#25 0x00000000004702ad in execute_optimized_program (
program=0xd96420 <dumped_data+4197888> "\n\254\n\v\306s\253\005\v\022\307\023\310\b\311\t!\"\b\035\211\036\021\254\022\312\r!\253\r\313\r\t\v\f\307\n&\006\210\252\064\f\253\037\f<\254\004\fC\024\314\f!\024\016\021\254\f\r:\253\b\315\316\r\"\025\252\005\f\rB\025\v\253\005\v\rB\025\317\t\320\r\311\t!\"\n#\210*\b\207\031\200\005", program_length=96, stack_depth=8,
constants_data=0xc136e0 <dumped_data+2613440>)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/bytecode.c:972
#26 0x00000000004c0cc8 in funcall_compiled_function (fun=13816408, nargs=2,
args=0x7fffffffbcb0)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:3746
#27 0x00000000004c1f1b in Feval (form=19620944)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:3972
---Type <return> to continue, or q <return> to quit---
#28 0x00000000004bb113 in Fprogn (args=19617448)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:1024
#29 0x00000000004bbc17 in Flet (args=19621976)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:1202
#30 0x00000000004c1564 in Feval (form=19625424)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:3882
#31 0x00000000004c27c3 in Ffuncall (nargs=2, args=0x7fffffffc350)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:4165
#32 0x00000000004702ad in execute_optimized_program (
program=0x137a968 "\n\242\303a\253#\nG\304V\253\035\305\t\262\306\307\nAB!\263\022\b\253\r\310\311!\210\312\313!\210\310\314!\210\n\207\n\242\315a\253\070\nG\304V\253\062\316\nA@!\253+\317\n\320\"\256\002\321\nA@\306\304\n8!\"\210\305\t\262\306\n!\263\022\b\253\r\310\322!\210\312\313!\210\310\314!\210\n\207\305\t\262\306\n!\263\207", program_length=109, stack_depth=6,
constants_data=0xc03390 <dumped_data+2547056>)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/bytecode.c:972
#33 0x00000000004c0cc8 in funcall_compiled_function (fun=13779448, nargs=1,
args=0x7fffffffc838)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:3746
#34 0x00000000004c2c82 in Ffuncall (nargs=2, args=0x7fffffffc830)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:4214
#35 0x00000000004702ad in execute_optimized_program (
program=0x16e23b8 "\n\253\004p\252\002\306`\307\035\033\031\310\311\312 \0---Type <return> to continue, or q <return> to quit---
30ˎ\314\016\027!\210\212\307f\315a\256\006`Sf\315a\025\316\317!\210\r\253\n\307f\320a\253\004\307u\210\214e\v}\210\321p!\211\034\242\322a\253\f\323\324\325\f\326BBBD\252\002\f-!!+\207", program_length=85, stack_depth=8,
constants_data=0xbee4f8 <dumped_data+2461400>)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/bytecode.c:972
#36 0x00000000004c0cc8 in funcall_compiled_function (fun=13725608, nargs=1,
args=0x7fffffffcd30)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:3746
#37 0x00000000004c2c82 in Ffuncall (nargs=2, args=0x7fffffffcd28)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:4214
#38 0x00000000004702ad in execute_optimized_program (
program=0x15d3eb8 "p\030\301 \210\302\303!\210\301 )\207",
program_length=13, stack_depth=2,
constants_data=0xbedad0 <dumped_data+2458800>)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/bytecode.c:972
#39 0x00000000004c0cc8 in funcall_compiled_function (fun=13724968, nargs=0,
args=0x7fffffffd200)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:3746
#40 0x00000000004c2c82 in Ffuncall (nargs=1, args=0x7fffffffd1f8)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:4214
#41 0x00000000004c5981 in apply1 (fn=13724968, arg=10652968)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:5402
#42 0x000000000047c331 in Fcall_interactively (function=10410088,
---Type <return> to continue, or q <return> to quit---
record_flag=10652968, keys=10652968)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/callint.c:438
#43 0x00000000004bfc49 in Fcommand_execute (cmd=10410088,
record_flag=10652968, keys=10652968)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:3369
#44 0x00000000004de567 in execute_command_event (command_builder=0x161a530,
event=24534208)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/event-stream.c:4283
#45 0x00000000004df126 in Fdispatch_event (event=24534208)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/event-stream.c:4619
#46 0x00000000004868d9 in Fcommand_loop_1 ()
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/cmdloop.c:623
#47 0x0000000000486695 in command_loop_1 (unused_dummy=10652968)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/cmdloop.c:528
#48 0x00000000004bd468 in condition_case_1 (handlers=10650952,
bfun=0x486660 <command_loop_1>, barg=10652968,
hfun=0x48623b <cmd_error>, harg=10652968)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:2176
#49 0x0000000000486369 in command_loop_3 ()
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/cmdloop.c:285
#50 0x0000000000486390 in command_loop_2 (unused_dummy=10652968)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/cmdloop.c:298
#51 0x00000000004bcce5 in internal_catch (tag=10122952,
---Type <return> to continue, or q <return> to quit---
func=0x48637f <command_loop_2>, arg=10652968, threw=0x0, thrown_tag=0x0,
backtrace_before_throw=0x0)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/eval.c:1756
#52 0x00000000004864a6 in initial_command_loop (load_me=10652968)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/cmdloop.c:336
#53 0x00000000004b58a9 in xemacs_21_5_b34_x86_64_unknown_linux (argc=2,
argv=0x7fffffffdc48, unused_envp=0x0, restart=0)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/emacs.c:2742
#54 0x00000000004b6359 in main (argc=2, argv=0x7fffffffdc48,
unused_envp=0x7fffffffdc60)
at /usr/local/google/home/rtoy/src/XEmacs/xemacs/src/emacs.c:3190
(gdb)
>From #3, I can see that p is 0, which means FcNameParse returned 0.
I don't know what this all means, but I can help debug this with some
guidance.
Because this crashes, my selected fonts are all kind of messed up now.
--
Ray
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
I use cc-mode's electric behavior, which is great, except that whenever I
type a '}' as the last character in a buffer, I get something like this:
(1) (change/warning) Error in `after-change-functions': (args-out-of-range
(foo.c 99 100))
Backtrace follows:
# bind (inhibit-quit)
put-text-property(99 100 font-lock-pending t)
# bind (old-len end beg)
ad-Orig-font-lock-after-change-function(99 100 1)
(setq ad-return-value (ad-Orig-font-lock-after-change-function beg end
old-len))
# bind (ad-return-value)
(let (ad-return-value) (when c-buffer-is-cc-mode (save-excursion (setq
end c-new-END) (setq beg c-new-BEG))) (setq ad-return-value
(ad-Orig-font-lock-after-change-function beg end old-len)) ad-return-value)
# bind (old-len end beg)
font-lock-after-change-function(99 99 1)
# (unwind-protect ...)
# bind (old-len end beg)
lazy-lock-after-change(99 99 1)
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x0> ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
delete-char(-1)
byte-code("..." [start delete-char -1] 2)
# bind (c-syntactic-context c-macro-start c-fix-backslashes has-backslash
insert-backslash start col newline-arg)
c-newline-and-indent()
# bind (c-echo-syntactic-information-p newlines ln-syntax br-syntax
syntax old-blink-paren safepos literal blink-paren-function
case-fold-search arg)
c-electric-brace(nil)
# bind (command-debug-status)
call-interactively(c-electric-brace)
# (condition-case ... . error)
# (catch top-level ...)
The immediate problem is that the original font-lock-after-change-function
is called with begin and end arguments equal to 99 and 100, even though 99
is the last valid position in the buffer. We can see that the adviced
font-lock-after-change-function got called with 99 and 99, which is
correct, so the problem is that the adviced function is screwing up the end
argument somehow. The adviced function looks like this:
(defadvice font-lock-after-change-function (before get-awk-region activate)
;; Make sure that any string/regexp is completely font-locked.
(when c-buffer-is-cc-mode
(save-excursion
(ad-set-arg 1 c-new-END) ; end
(ad-set-arg 0 c-new-BEG))))) ; beg
Therefore, c-new-END is wrong. Why? The value of after-change-functions
is (lazy-lock-after-change c-after-change t) in the C buffer. There's the
problem. We need c-after-change to run first, to update the caches, then
lazy-lock-after-change can run on the updated region.
So the bug is in, I think, xemacs-packages/edit-utils/lazy-lock.el, which
does this:
(add-hook 'after-change-functions 'lazy-lock-after-change nil t)
when I think it should be doing this:
(add-hook 'after-change-functions 'lazy-lock-after-change t t)
Opinions?
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
ACTIVITY SUMMARY (2014-09-23 - 2014-09-30)
XEmacs Issue Tracking System at http://tracker.xemacs.org/XEmacs/its/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
560 open ( +0) / 312 closed ( +1) / 872 total ( +1)
Open issues with patches: 13
Average duration of open issues: 1891 days.
Median duration of open issues: 2034 days.
Open Issues Breakdown
new 249 ( +0)
deferred 6 ( +0)
napping 3 ( +0)
verified 58 ( +0)
assigned 147 ( +0)
committed 19 ( +0)
documented 3 ( +0)
done/needs work 16 ( +0)
Issues Created Or Reopened (1)
______________________________
crash in png code 2014-09-25
CLOSED http://tracker.xemacs.org/XEmacs/its/issue874 created greg
Issues Now Closed (1)
_____________________
crash in png code 0 days
http://tracker.xemacs.org/XEmacs/its/issue874 acs
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
SUPERCEDES packages
On Fri, Aug 15, 2014 at 10:50 AM, Jerry James <james(a)xemacs.org> wrote:
> I think that lazy-lock-after-change, which does not alter the region,
> should definitely come at the end of the after-change-functions list, after
> any hook functions which may change the region, not just c-after-change.
> Here is a patch to accomplish that.
>
See the further discussion on xemacs-beta. This new patch changes a few
more font-lock-related manipulations of after-change-functions to ensure
that they always add functions at the end of the list, rather than the
beginning.
diff -r e24f8c81c991 xemacs-packages/edit-utils/ChangeLog
--- a/xemacs-packages/edit-utils/ChangeLog Fri May 30 14:33:15 2014 +0200
+++ b/xemacs-packages/edit-utils/ChangeLog Mon Sep 29 14:16:29 2014 -0600
@@ -1,3 +1,12 @@
+2014-09-23 Jerry James <james(a)xemacs.org>
+
+ * lazy-lock.el (lazy-lock-install-hooks): Append, rather than
+ prepend, lazy-lock-after-change to after-change-functions.
+ (lazy-lock-unstall): Ditto for font-lock-after-change-function.
+ * lazy-shot.el (lazy-shot-install): Ditto for
+ lazy-shot-after-change-function.
+ (lazy-shot-unstall): Ditto for font-lock-after-change-functions.
+
2014-05-26 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 2.55 released.
diff -r e24f8c81c991 xemacs-packages/edit-utils/lazy-lock.el
--- a/xemacs-packages/edit-utils/lazy-lock.el Fri May 30 14:33:15 2014 +0200
+++ b/xemacs-packages/edit-utils/lazy-lock.el Mon Sep 29 14:16:29 2014 -0600
@@ -571,7 +571,7 @@
;; Replace Font Lock mode hook.
(make-local-hook 'after-change-functions)
(remove-hook 'after-change-functions 'font-lock-after-change-function t)
- (add-hook 'after-change-functions 'lazy-lock-after-change nil t)
+ (add-hook 'after-change-functions 'lazy-lock-after-change t t)
;; FSF 21.2: Lots and lots of hooks here. Hooks for `outline', hooks for
;; `hideshow', hooks for redisplay-end-triggers, window-size-changed, and
@@ -616,7 +616,7 @@
(save-restriction
(widen)
(lazy-lock-fontify-region (point-min) (point-max))))))
- (add-hook 'after-change-functions 'font-lock-after-change-function nil
t))
+ (add-hook 'after-change-functions 'font-lock-after-change-function t
t))
;;
;; Remove the text properties.
(lazy-lock-after-unfontify-buffer)
diff -r e24f8c81c991 xemacs-packages/edit-utils/lazy-shot.el
--- a/xemacs-packages/edit-utils/lazy-shot.el Fri May 30 14:33:15 2014 +0200
+++ b/xemacs-packages/edit-utils/lazy-shot.el Mon Sep 29 14:16:29 2014 -0600
@@ -298,7 +298,7 @@
;; entire changed area.
(remove-hook 'after-change-functions 'font-lock-after-change-function t)
(make-local-hook 'after-change-functions)
- (add-hook 'after-change-functions 'lazy-shot-after-change-function nil
t))
+ (add-hook 'after-change-functions 'lazy-shot-after-change-function t t))
;; Kludge needed untill lazy-lock-fontify-region is more intelligent
(defun lazy-shot-unstall-after-fontify ()
@@ -319,8 +319,7 @@
(lazy-shot-fontify-region (point-min) (point-max))))
(remove-hook 'after-change-functions 'lazy-shot-after-change-function t)
(if font-lock-mode
- (add-hook 'after-change-functions 'font-lock-after-change-function
- nil t)))
+ (add-hook 'after-change-functions 'font-lock-after-change-function t
t)))
(provide 'lazy-shot)
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta