all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problem loading site-start after changing to emacs-22.1
@ 2007-12-07 14:21 gw
  2007-12-08 11:03 ` Eli Zaretskii
       [not found] ` <mailman.4755.1197111813.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: gw @ 2007-12-07 14:21 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I've been using emacs 21.3 for a long time under Win NT and now I have
emacs-22.1 under Win XP.

Changing the OS from NT to XP caused Emacs 21.3 to start and load site-
start.el correctly,
but a message from Windows about blocked functions appears.

Changing Emacs from 21.3 to 22.1 caused site-start.el not to work.
I've minimized site-start.el so that only printer-name is set up.
Still no
success and no error message, even when started with -debug-init.

Emacs is located on a network path, which is mapped as a DOS drive.

Currently I've copied site-start.el to my local computer, but this is
not satisfying.

Quite pobably it is some restriction from the network. Can anyone help
with this?

regards
Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem loading site-start after changing to emacs-22.1
  2007-12-07 14:21 problem loading site-start after changing to emacs-22.1 gw
@ 2007-12-08 11:03 ` Eli Zaretskii
       [not found] ` <mailman.4755.1197111813.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2007-12-08 11:03 UTC (permalink / raw)
  To: help-gnu-emacs

> From: gw <guenter.wolpert@orsys.de>
> Date: Fri, 7 Dec 2007 06:21:17 -0800 (PST)
> 
> I've been using emacs 21.3 for a long time under Win NT and now I have
> emacs-22.1 under Win XP.
> 
> Changing the OS from NT to XP caused Emacs 21.3 to start and load site-
> start.el correctly,
> but a message from Windows about blocked functions appears.
> 
> Changing Emacs from 21.3 to 22.1 caused site-start.el not to work.
> I've minimized site-start.el so that only printer-name is set up.
> Still no
> success and no error message, even when started with -debug-init.
> 
> Emacs is located on a network path, which is mapped as a DOS drive.
> 
> Currently I've copied site-start.el to my local computer, but this is
> not satisfying.
> 
> Quite pobably it is some restriction from the network. Can anyone help
> with this?

Sorry, but you've left too much information out of your message, so
it's quite difficult to help you.  First, what is in your
site-start.el file?  Second, what did you expect to happen when
site-start.el is loaded, and what happened instead that makes you tell
``no success''?  Finally, what ``message from Windows about blocked
functions'' was displayed when you used Emacs 21.3?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem loading site-start after changing to emacs-22.1
       [not found] ` <mailman.4755.1197111813.18990.help-gnu-emacs@gnu.org>
@ 2007-12-10  7:52   ` gw
  2007-12-10  9:40     ` Jason Rumney
  2007-12-18  7:51     ` gw
  0 siblings, 2 replies; 6+ messages in thread
From: gw @ 2007-12-10  7:52 UTC (permalink / raw)
  To: help-gnu-emacs

On 8 Dez., 12:03, Eli Zaretskii <e...@gnu.org> wrote:
> > From: gw <guenter.wolp...@orsys.de>
> > Date: Fri, 7 Dec 2007 06:21:17 -0800 (PST)
>
> > I've been using emacs 21.3 for a long time under Win NT and now I have
> > emacs-22.1 under Win XP.
>
> > Changing the OS from NT to XP caused Emacs 21.3 to start and load site-
> > start.el correctly,
> > but a message from Windows about blocked functions appears.
>
> > Changing Emacs from 21.3 to 22.1 caused site-start.el not to work.
> > I've minimized site-start.el so that only printer-name is set up.
> > Still no
> > success and no error message, even when started with -debug-init.
>
> > Emacs is located on a network path, which is mapped as a DOS drive.
>
> > Currently I've copied site-start.el to my local computer, but this is
> > not satisfying.
>
> > Quite pobably it is some restriction from the network. Can anyone help
> > with this?
>
> Sorry, but you've left too much information out of your message, so
> it's quite difficult to help you. �First, what is in your
> site-start.el file? �Second, what did you expect to happen when
> site-start.el is loaded, and what happened instead that makes you tell
> ``no success''? �Finally, what ``message from Windows about blocked
> functions'' was displayed when you used Emacs 21.3?- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Hello,

here some more details:

Emacs version:
This is GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE

Emacs is installed on a remote server:
\\some_server\some_directory\tools\emacs-22.1
This path is mapped to DOS drive letter Q:

emacs is started with the shortcut:
q:\tools\emacs-22.1\bin\runemacs.exe
with working directory set to
q:\tools\emacs-22.1\bin

To have a correct and minimal customization file I customized the
printer name
and saved this as local customization file:
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(printer-name "test2"))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )

Re-starting emacs with the local customization file is ok:
C-h v printer-name gives:
printer-name is a variable defined in `lpr.el'.
Its value is "test2"

Moving ~/.emacs to q:\tools\emacs\site-lisp\site-start.el doesn't
work.
Re-starting emacs and typing C-h v printer-name gives:
printer-name is a variable defined in `lpr.el'.
Its value is "PRN"

Then I tried to start emacs with the \\some-server\some-directory
shortcut
instead of Q:, but doesnt't change anything.

Copying the emacs directory tree to local disk (C:\) and executing
addpm.exe doesn't help either.

Maybe there's something wrong with the pre-compiled emacs version I
use?

Or are there any XP security features that block access to site-
start.el?

Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem loading site-start after changing to emacs-22.1
  2007-12-10  7:52   ` gw
@ 2007-12-10  9:40     ` Jason Rumney
  2007-12-11 16:32       ` gw
  2007-12-18  7:51     ` gw
  1 sibling, 1 reply; 6+ messages in thread
From: Jason Rumney @ 2007-12-10  9:40 UTC (permalink / raw)
  To: help-gnu-emacs

On 10 Dec, 07:52, gw <guenter.wolp...@orsys.de> wrote:

> Emacs is installed on a remote server:
> \\some_server\some_directory\tools\emacs-22.1

> Moving ~/.emacs to q:\tools\emacs\site-lisp\site-start.el doesn't
> work.

Emacs will look for its site-lisp directory in q:\tools\emacs-22.1 and
q:\tools (the parent directory of q:\tools\emacs-22.1)
It will not look in q:\tools\emacs unless you explicitly tell it to by
setting EMACSLOADPATH.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem loading site-start after changing to emacs-22.1
  2007-12-10  9:40     ` Jason Rumney
@ 2007-12-11 16:32       ` gw
  0 siblings, 0 replies; 6+ messages in thread
From: gw @ 2007-12-11 16:32 UTC (permalink / raw)
  To: help-gnu-emacs

On 10 Dez., 10:40, Jason Rumney <jasonrum...@gmail.com> wrote:
> On 10 Dec, 07:52, gw <guenter.wolp...@orsys.de> wrote:
>
> > Emacs is installed on a remote server:
> > \\some_server\some_directory\tools\emacs-22.1
> > Moving ~/.emacs to q:\tools\emacs\site-lisp\site-start.el doesn't
> > work.
>
> Emacs will look for its site-lisp directory in q:\tools\emacs-22.1 and
> q:\tools (the parent directory of q:\tools\emacs-22.1)
> It will not look in q:\tools\emacs unless you explicitly tell it to by
> setting EMACSLOADPATH.

Sorry, this was a typo.
Of course emacs and its site-start directory are in q:\tools
\emacs-22.1.

currently I use a .emacs that contains
(load-library "q:/tools/emacs-22.1/site-lisp/site-start.el")
which works.

Starting a command prompt (M-! start cmd) and entering SET
EMACSLOADPATH gives:
EMACSLOADPATH=Q:/TOOLS/emacs-22.1/site-lisp;Q:/TOOLS/emacs-22.1/../
site-lisp;Q:/TOOLS/emacs-22.1/lisp;Q:/TOOLS/emacs-22.1/leim

Copying and pasting Q:/TOOLS/emacs-22.1/site-lisp behind a C-x C-f
command goes to the correct location and I can choose site-lisp.el.

same with a locally installed emacs: M-! start CMD SET EMACSLOADPATH
gives
c:\emacs-22.1>set EMACSLOADPATH
EMACSLOADPATH=C:/emacs-22.1/site-lisp;C:/emacs-22.1/../site-lisp;C:/
emacs-22.1/l
isp;C:/emacs-22.1/leim

c:\emacs-22.1>dir C:\emacs-22.1\site-lisp
 Volume in Laufwerk C: hat keine Bezeichnung.
 Volumeseriennummer: D49D-5134

 Verzeichnis von C:\emacs-22.1\site-lisp

10.12.2007  08:29    <DIR>          .
10.12.2007  08:29    <DIR>          ..
10.12.2007  08:29               531 site_start.el

To be sure I also renamed site_start.el to site-start.el, but no
success.

So it is still unclear why it doesn't work.
Is there a problem with '/' vs. '\' ??
Must emacs be installed (by addpm.exe) with administrator privileges?

Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem loading site-start after changing to emacs-22.1
  2007-12-10  7:52   ` gw
  2007-12-10  9:40     ` Jason Rumney
@ 2007-12-18  7:51     ` gw
  1 sibling, 0 replies; 6+ messages in thread
From: gw @ 2007-12-18  7:51 UTC (permalink / raw)
  To: help-gnu-emacs

For all who come across this:

The problem went away after replacing the contens of emac-22.1\bin
with a newer version of emacs-22.1-barebin-i386.zip.

regards
Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-18  7:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07 14:21 problem loading site-start after changing to emacs-22.1 gw
2007-12-08 11:03 ` Eli Zaretskii
     [not found] ` <mailman.4755.1197111813.18990.help-gnu-emacs@gnu.org>
2007-12-10  7:52   ` gw
2007-12-10  9:40     ` Jason Rumney
2007-12-11 16:32       ` gw
2007-12-18  7:51     ` gw

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.