[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improving X selection?

From: David De La Harpe Golden
Subject: Re: Improving X selection?
Date: Mon, 11 Feb 2008 17:46:59 +0000

On 10/02/2008, Richard Stallman <address@hidden> wrote:
>     Something is messed up with cus-dep
>     On my GNU/Linux build cus-load contains
>     (put 'killing 'custom-loads '(w32-vars))
>     while on my Windows build, it contains
>     (put 'killing 'custom-loads '(simple x-win))
> I have some idea why it is doing this.  The idea of cus-dep.el and
> cus-load.el is that if you want to look at the custom group `killing',
> you want to to load all the relevant files that are not loaded anyway.
> I think that on GNU/Linux it concludes you need to load `w32-vars',
> while on Losedows it thinks you need to load `x-win'.
> It puzzles me that it includes `simple', since that's preloaded and
> should therefore be excluded.

I can't presently fully explain that (and I have no w32 to test on anyway), but
note that:

> I also don't know why `mac-win' does
> not get included.

This is probably down to the lisp/Makefile rule custom-deps - it uses
setwins_almost , which (I think) excludes contents of /term from
consideration [1] - but w32-vars is not in term (maybe it should be?)

Re w32: lisp/makefile.w32-in may not be doing the right thing here -
(a) it uses a static  WINS_ALMOST that includes term, and (b) uses
WINS not WINS_ALMOST in its custom-deps anyway.

i.e.  cd lisp ; make custom-deps EMACS=../src/emacs starts out:

wd=/usr/local/src/emacs-HEAD-local/emacs/lisp; subdirs=`(cd $wd; find
. -type d -print)`; for file in $subdirs; do case $file in */Old |
*/RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term )
;; *) wins="$wins $wd/$file" ;; esac; done; \
        echo Directories: $wins; \
EMACSLOADPATH=/usr/local/src/emacs-HEAD-local/emacs/lisp LC_ALL=C
../src/emacs -batch --no-site-file --multibyte -l cus-dep --eval
'(setq generated-custom-dependencies-file "/usr
/local/src/emacs-HEAD-local/emacs/lisp/cus-load.el")' -f
custom-make-dependencies $wins
Directories: /usr/local/src/emacs-HEAD-local/emacs/lisp/.
acs/lisp/./nxml /usr/local/src/emacs-HEAD-local/emacs/lisp/./calendar
/usr/local/src/emacs-HEAD-local/emacs/lisp/./emulation /usr/local/
Directory /usr/local/src/emacs-HEAD-local/emacs/lisp/.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]