Fwd: xemacs winclient improvements
14 years, 3 months
Reini Urban
Hi
I'm back in business :)
I switched from native Win32 to cygwin because of the non-matching
Win32 permissions.
Cygwin ACL's are sometimes fucked up by inheritance.
So I have several improvements.
Patches inlined because gmail uploader fails on my proxy
diff -u xemacs-21.5.28/lib-src/winclient.c.orig
xemacs-21.5.28/lib-src/winclient.c
--- xemacs-21.5.28/lib-src/winclient.c.orig 2009-06-24 09:30:22.234375000 +0200
+++ xemacs-21.5.28/lib-src/winclient.c 2009-06-24 10:59:52.437500000 +0200
@@ -209,8 +209,8 @@
CloseHandle (pi.hThread);
CloseHandle (pi.hProcess);
- /* Try to connect */
- for (n = 0; n < 5; n++)
+ /* Try to connect. Process startup and XEmacs init might be slow */
+ for (n = 0; n < 10; n++)
{
Sleep (CONNECT_DELAY);
@@ -408,6 +408,12 @@
/* Retrieve arguments */
while ((arg = getNextArg ((const char**)&lpszCommandLine, &len)) != NULL)
{
+#ifdef __CYGWIN__
+ /* On cygwin args are already space delimited so pass these args
+ verbatim to XEmacs */
+ fullpath = (char *) xmalloc (len);
+ ret = doFile (hConv, fullpath, arg);
+#else
/* First find the canonical path name */
fullpath = filepart = NULL;
pathlen = GetFullPathName (arg, 0, fullpath, &filepart);
@@ -451,7 +457,7 @@
FindClose (hFindFile);
}
-
+#endif
/* Release the path name buffers */
free (fullpath);
free (arg);
diff -u xemacs-21.5.28/lib-src/Makefile.in.in.orig
xemacs-21.5.28/lib-src/Makefile.in.in
--- xemacs-21.5.28/lib-src/Makefile.in.in.orig 2007-05-21
05:50:19.000000000 +0200
+++ xemacs-21.5.28/lib-src/Makefile.in.in 2009-06-24 09:40:30.250000000 +0200
@@ -375,7 +375,7 @@
$(CC) $(cflags) ${srcdir}/../nt/minitar.c $(ldflags) -lz -o $@
winclient: ${srcdir}/winclient.c
- $(CC) $(cflags) ${srcdir}/winclient.c $(ldflags) -o $@
+ $(CC) $(cflags) -mwindows ${srcdir}/winclient.c $(ldflags) -o $@
hexl: ${srcdir}/hexl.c
$(CC) $(cflags) ${srcdir}/hexl.c $(ldflags) -o $@
---------- Forwarded message ----------
From: Reini Urban <rurban(a)x-ray.at>
Date: 2009/6/24
Subject: xemacs winclient improvements
To: The Cygwin Mailing List <cygwin(a)cygwin.com>
Several xemacs ideas:
* I added -mwindows to the winclient linker step which results in a
much improved winclient.
I'll take this patch to xemacs-patches by myself.
* parseCommandLine() does not work on cygwin this way.
It uses the Win32 API to find files, and should be special cased to
use the POSIX API.
I'll discuss this at xemacs-beta
* xemacs-21.5.28-3 uses slow defaults:
Compiling in support for extra debugging code.
Compiling in support for runtime error checking.
WARNING: ---------------------------------------------------------
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
hmm. 21.5.28 is stable for me and upstream. maybe remove this.
* build failure on 1.7:
In file included from
/usr/src/xemacs-21.5.28-3/src/xemacs-21.5.28/src/console-msw.h:41,
from
/usr/src/xemacs-21.5.28-3/src/xemacs-21.5.28/src/cmdloop.c:43:
/usr/src/xemacs-21.5.28-3/src/xemacs-21.5.28/src/syswindows.h:500:
error: conflicting types for 'wcstok'
/usr/include/wchar.h:92: error: previous declaration of 'wcstok' was here
make[1]: *** [cmdloop.o] Error 1
This needs a patch upstream. Maybe I'll take it upstream.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
CEDET build help needed
15 years, 2 months
Eric M. Ludlam
Hi,
I'm trying to build a new distribution for CEDET
(http://cedet.sf.net), and ran into some basic issues running my
testsuite w/ XEmacs, and could use some advice.
I'm using the Ubuntu package of 21.4 (patch 21). This version
includes some very old packages relating to jde, ecb, and friends. JDE
in particular throws an error that my version of semantic (1.0pre7) is
too new. It wants 1.4.4.
Is there a command-line or other setting I can use to disable packages
that are part of an XEmacs install like this so I can effectively run
these tests, or allow users to do an install on top of what is in
XEmacs?
Thanks
Eric
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
[A] External GIF support [Request for Comment]
15 years, 2 months
Stephen J. Turnbull
APPROVE
Redirected discussion to xemacs-beta, this needs checking IMO.
Specifically, people on Windows, and non-Linux non-*BSD Unix which
might not have giflib available, or not have it where Jerry thinks you
should have it. :-) (Note you should wait a bit before updating as
Jerry hasn't committed yet.)
Removing the internal support seems a bit drastic. Why not leave it
in for say six months, but completely #ifndef USE_INTERNAL_GIF'ed out
(and with a comment saying "if nobody reports a need by 2010/03/01,
please remove this obsolete code"? If somebody wants to get running
with GIF in a hurry but doesn't have an immediately accessible giflib,
they can just add a
#define USE_INTERNAL_GIF 1
to src/config.h by hand. No need to autoconfiscate this
"USE_INTERNAL_GIF" hack.
Jerry James writes:
> PATCH 21.5
>
> The GIF patents have expired. There's no reason to avoid using an
> external GIF library anymore. I would like to throw out our internal
> GIF support, because the source files have no license information in
> them. They are part of the GPLv3 blocker list.
>
> As it turns out, the source files we are using were forked from
> giflib, which is commonly used to supply GIF support (Emacs uses it,
> for example). However, we've missed out on further development of
> that library. The library is currently distributed with an MIT
> license, so our internal GIF support is probably okay, but I'd rather
> let someone else maintain the code.
>
> This patch removes the internal GIF support code and attempts to find
> and use giflib for GIF support. Lightly tested, but more feedback is
> welcome.
> --
> Jerry James
> http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
xemacs crashes after click on menu bar
15 years, 2 months
Matthias Scheutz
Clicking anywhere on the menu bar causes xemacs to crash with the
following terminal output:
Fatal error: assertion failed, file menubar-x.c, line 579, ABORT()
Fatal error (6).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Your version of XEmacs was distributed with a PROBLEMS file that may
describe your crash, and with luck a workaround. Please check it first,
but do report the crash anyway.
Please report this bug by invoking M-x report-emacs-bug, or by selecting
`Send Bug Report' from the Help menu. If that won't work, send ordinary
email to `xemacs-beta(a)xemacs.org'. *MAKE SURE* to include this entire
output from this crash, especially including the Lisp backtrace, as well
as the XEmacs configuration from M-x describe-installation (or
equivalently, the file `Installation' in the top of the build
tree).
*Please* try *hard* to obtain a C stack backtrace; without it, we are
unlikely
to be able to analyze the problem. Locate the core file produced as a
result
of this crash (often called `core' or `core.<process-id>', and located
in
the directory in which you started XEmacs or your home directory), and
type
gdb /usr/bin/xemacs core
then type `where' at the debugger prompt. No GDB on your system? You
may
have DBX, or XDB, or SDB. (Ask your system administrator if you need
help.)
If no core file was produced, enable them (often with `ulimit -c
unlimited')
in case of future recurrance of the
crash.
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (condition-case ... . error)
# (catch top-level ...)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
[Bug: 21.5-b29] fatal error:assertion failed in signal.c
15 years, 2 months
Emanuel Ydrefors
================================================================
Dear Bug Team!
XEmacs crashed with the following error
Fatal error: assertion failed, file signal.c, line 730, QUIT called from
within redisplay without being properly wrapped
Fatal error (6).
lisp backtrace:
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x93c9020> ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
("(in redisplay)" "[internal]")
# (unwind-protect ...)
# bind (inhibit-quit)
(next-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux ibmlaptop 2.6.30-gentoo-r4 #1 Fri Aug 7 12:30:42 EEST 2009
i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
./configure '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu'
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share'
'--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-widgets=athena'
'--with-dialogs=athena' '--with-menubars=lucid' '--with-scrollbars=lucid'
'--with-athena=xaw' '--without-tiff' '--with-png' '--with-jpeg'
'--without-xface' '--with-xft=emacs,tabs,menubars,gauges'
'--with-sound=native,alsa' '--with-database=gdbm' '--with-optimization=yes'
'--without-gif' '--with-gpm' '--without-postgresql' '--without-ldap'
'--without-file-coding' '--without-pop' '--prefix=/usr' '--with-ncurses'
'--with-msw=no' '--with-mail-locking=flock' '--with-site-lisp=yes'
'--with-site-modules=yes' '--with-newgc' '--enable-option-checking=no'
'--with-last-packages=/usr/lib/xemacs' 'build_alias=i686-pc-linux-gnu'
'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=pentium3
-I/usr/include/gdbm' 'LDFLAGS=-Wl,-O1'
XEmacs 21.5-b29 "garbanzo" configured for `i686-pc-linux'.
Compilation Environment and Installation Defaults:
Source code location:
/var/tmp/portage/app-editors/xemacs-21.5.29-r2/work/xemacs-21.5.29
Installation prefix: /usr
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler version: i686-pc-linux-gnu-gcc (Gentoo 4.3.4
p1.0, pie-10.1.5) 4.3.4
- GCC specs file: specs.
- Compiler command: i686-pc-linux-gnu-gcc -Wall
-Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked
-Wunused-parameter -g -O3 -O2 -march=pentium3 -I/usr/include/gdbm
libc version: 2.10.1
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
- Using fontconfig to manage fonts.
- Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
- Using Xft to render antialiased fonts in menubars.
WARNING: This feature will be replaced with a face.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
- Using Xft to render antialiased fonts in tab controls.
WARNING: This feature will be replaced with a face.
- Using Xft to render antialiased fonts in progress bars.
WARNING: This feature will be replaced with a face.
WARNING: This feature not yet implemented; setting ignored.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Sound:
Compiling in support for sound (native).
Compiling in support for ALSA (Advanced Linux Sound Architecture).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Internationalization:
Mail:
Compiling in support for "flock" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new GC mark algorithms (KKCC).
WARNING: ---------------------------------------------------------
WARNING: The new algorithms are experimental. They are enabled by
WARNING: default for this release. Use `--disable-kkcc' to
WARNING: turn it off.
WARNING: ---------------------------------------------------------
Using the new incremental garbage collector and the new allocator.
Using POSIX sigaction() to install fault handler.
Using the new portable dumper.
Compiling in support for extra debugging code.
Compiling in support for runtime error checking.
WARNING: ---------------------------------------------------------
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Load-Path Lisp Shadows:
----------------------
(/usr/share/xemacs-21.5-b29/lisp/regexp-opt
/usr/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/share/xemacs-21.5-b29/lisp/easy-mmode
/usr/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode)
Internationalization Settings:
-------------------------
Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.79 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.19 upstream: No-Upstream-Ver)
(w3 ver: 1.35 upstream: 4.0pre47)
(vm ver: 8.07 upstream: 8.0.12-devo)
(vc ver: 1.45 upstream: No-Upstream-Ver)
(tramp ver: 1.4 upstream: 2.0.56)
(tm ver: 1.39 upstream: No-Upstream-Ver)
(text-modes ver: 1.96 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.24 upstream: 2.0f)
(sasl ver: 1.16 upstream: 1.14.4)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(ps-print ver: 1.12 upstream: 6.5.6)
(prog-modes ver: 2.1 upstream: No-Upstream-Ver)
(pgg ver: 1.07 upstream: 0.1)
(pcl-cvs ver: 1.68 upstream: R-2_9_9)
(os-utils ver: 1.41 upstream: No-Upstream-Ver)
(net-utils ver: 1.56 upstream: N/A)
(mh-e ver: 1.31 upstream: 7.4.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.8 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.34 upstream: 5.12.0)
(gnus ver: 1.93 upstream: 5.10.8)
(fsf-compat ver: 1.17 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.13 upstream: 1.0)
(efs ver: 1.34 upstream: 1.24)
(edit-utils ver: 2.4 upstream: No-Upstream-Ver)
(ediff ver: 1.77 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecrypto ver: 0.21 upstream: 2.0)
(dired ver: 1.19 upstream: 7.16)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(bbdb ver: 1.32 upstream: 2.35)
(apel ver: 1.33 upstream: 10.6)
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 cc-mode cc-fonts
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
regexp-opt efs-cu font-lock cus-face xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads vc-autoloads
tramp-autoloads tm-autoloads text-modes-autoloads supercite-autoloads
speedbar-autoloads sieve-autoloads sh-script-autoloads sasl-autoloads
rmail-autoloads ps-print-autoloads prog-modes-autoloads pgg-autoloads
pcl-cvs-autoloads os-utils-autoloads net-utils-autoloads
mh-e-autoloads mailcrypt-autoloads mail-lib-autoloads ispell-autoloads
ilisp-autoloads gnus-autoloads fsf-compat-autoloads
fortran-modes-autoloads eterm-autoloads emerge-autoloads
elib-autoloads efs-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecrypto-autoloads dired-autoloads debug-autoloads
cookie-autoloads cc-mode-autoloads c-support-autoloads bbdb-autoloads
apel-autoloads modules-autoloads auto-autoloads auto-show fontl-hooks
code-cmds gutter-items menubar-items x-menubar mode-motion mouse
behavior itimer auto-save lisp-mode easymenu easy-mmode iso8859-1 page
buff-menu lib-complete loadhist cus-file derived newcomment
rsz-minibuf env text-props fontconfig frame obsolete cus-start custom
widget cl-extra cl cl-19 packages backquote unicode font-mgr
lucid-scrollbars cut-buffer xft-fonts lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar native-sound alsa-sound
scrollbar unix-processes multicast network-streams subprocesses
modules menu-accelerator-support menubar berkeley-db dbm md5 xemacs
gutter png jpeg xpm xbm lisp-float-type file-coding linux dialog
devices window-system base64)
Recent keystrokes:
-----------------
button1 button1up button1 button1up M-x r e p o r t
- e m a c s - b u g RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Loading cc-mode...done
Loading cc-mode...
(New file)
Loading efs-cu...done
Loading efs-cu...
Loading cus-face...done
Loading cus-face...
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
[Bug: 21.4.22] Lonely crash of XEmacs_21_4_22_powerpc_ibm_aix5_3 after hundreds of hours of use with no problem whatsoever
15 years, 2 months
Laurent Langlois
Dear XEmacs maintainer,
I have had only one crash of XEmacs after hundreds hours of flawless
use.
I am not the least concerned about this crash. However, I was able to
get a stack backtrace. I had to trick 'dbx' just a bit to get it to
provide the backtrace. Please find below an initial attempt at
using 'dbx', then some shell commands and then the successfull
attempt with the backtrace.
Many thanks indeed.
--
Laurent Langlois
(Happy happy user of XEmacs and Emacs.)
________________________________________________________________________________
-> dbx /usr/local/bin/xemacs core
Type 'help' for help.
Core file "core" program "xemacs-21.4.22" does not match current program (ignored)
reading symbolic information ...warning: no source compiled with -g
(dbx) where
__start() at 0x10000150
(dbx) quit
sybase@atmdev01:/sybase>
-> ln -s /usr/local/bin/xemacs xemacs-21.4.22
sybase@atmdev01:/sybase>
sybase@atmdev01:/sybase>
--------------------------------------------------------------------------------
-> dbx xemacs-21.4.22 core
Type 'help' for help.
warning: The core file is not a fullcore. Some info may
not be available.
[using memory image in core]
reading symbolic information ...warning: no source compiled with -g
Segmentation fault in fatal_error_signal at 0x10003bc0
0x10003bc0 (fatal_error_signal+0x120) 80410014 lwz r2,0x14(r1)
(dbx) where
fatal_error_signal() at 0x10003bc0
sweep_conses() at 0x10018b54
gc_sweep() at 0x10017868
garbage_collect_1() at 0x1001ccf0
Ffuncall() at 0x1000ff78
execute_optimized_program() at 0x10150ea0
funcall_compiled_function() at 0x10152ea8
Ffuncall() at 0x1000fc90
execute_optimized_program() at 0x10150ea0
funcall_compiled_function() at 0x10152ea8
Ffuncall() at 0x1000fc90
call1() at 0x100142e0
execute_internal_event() at 0x100d69b4
Fdispatch_event() at 0x100dbba0
Fcommand_loop_1() at 0x101798d4
condition_case_1() at 0x100127a4
command_loop_3() at 0x1017937c
command_loop_2() at 0x101792ec
internal_catch() at 0x1001290c
initial_command_loop() at 0x10179c28
xemacs_21_4_22_powerpc_ibm_aix5_3() at 0x10001c70
main() at 0x10000b1c
(dbx)
________________________________________________________________________________
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Too much life, too little emacs time.
15 years, 3 months
Aidan Kehoe
I apologise for my delay in some work and responses over the last few days;
I have a friend visiting right now, an exam on the 28th, and I’m moving that
weekend. The first week of September I’m entirely free, though, and I intend
to do nothing but XEmacs and SXEmacs work then.
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghe, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Extending the font-lock region?
15 years, 3 months
Raymond Toy
Another part of getting slime to work with xeamcs...
Slime will highlight Lisp code so that reader conditionals are
highlighted differently if they are enabled are not. From what I can
tell (I use lazy-shot), font-lock runs over a portion of the file.
Sometimes this portion stops in the middle of a form that is
conditionalized by some reader conditional:
#-foo
(defun bar ()
<long function>
<font-lock region end here>
<more function>
)
For emacs, slime has a hook to extend the font-lock region.
Is it possible to do something similar with xemacs?
Ray
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Bug in add-local-hook/add-hook?
15 years, 3 months
Raymond Toy
Not sure this is a bug or not, but it seems not right to me. However,
I rarely play with hooks in this way, so perhaps I'm totally wrong.
Create a new buffer *junk*. In that buffer, C-h v post-command-hook.
The value is nil.
In *scratch* create the dummy function:
(defun dummy ())
Now in *junk* do M-: and eval
(add-local-hook 'post-command-hook 'dummy t)
What I see is that post-command-hook now has the value
(t dummy)
That doesn't seem right. Shouldn't it be just '(dummy)? And the
value of t wouldn't work very well since it's not a function.
Without append, add-local-hook just creates (dummy), which looks right
to me.
Is this right?
Ray
P.S. This is xemacs 21.5.29 on solaris.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta