pkgsrc-Bugs archive

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

Re: pkg/46804: Emacs Load Path issues when using emacs-nox11 w/ other packages such as flim, semi, and skk



The following reply was made to PR pkg/46804; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/46804: Emacs Load Path issues when using emacs-nox11 w/
 other packages such as flim, semi, and skk
Date: Wed, 22 Aug 2012 08:13:48 +0000

 On Fri, Aug 17, 2012 at 12:50:08PM +0000, Makoto Fujiwara wrote:
  >  +_EMACS_VERSION_DIR!=   \
  >  +  emacs -q -batch -f eval '(print load-path)' --no-site-lisp 2>&1 | \
  >  +  ${TR} ' ' '\012' | \
  >  +  ${SED} -e 's|.*/share|/share|'  -e 's/(//' | \
  >  +  rev | ${CUT} -d '/' -f 2- | rev | ${SORT} -u | \
  >  +  ${GREP} lisp | ${SED} -e 's|share/emacs/||' -e 's|/lisp||'
  >  +
  >  +ALL_ENV+=      
EMACSLOADPATH=${_EMACS_DIR}/${_EMACS_VERSION_DIR}/lisp:${_EMACS_DIR}/site-lisp
  >  +
 
 That doesn't work with emacs20 :(
 
 % emacs -q -batch -f eval '(print load-path)' --no-site-lisp
 Wrong number of arguments: #<subr eval>, 0
 % 
 
 Wouldn't a better solution to be to define EMACSLOADPATH when building
 emacs, add it to BUILD_DEFS so it's in +BUILD_INFO, and fetch it back
 with pkg_info -B?
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index