[email protected]
[Top] [All Lists]

Bug#418529: marked as forwarded (jed: evalfile() no longer supporting ~

Subject: Bug#418529: marked as forwarded jed: evalfile() no longer supporting ~ in path name
From: Debian Bug Tracking System
Date: Wed, 11 Apr 2007 23:00:03 +0000
Your message dated Thu, 12 Apr 2007 00:29:52 +0200
with message-id <[email protected]>
has caused the Debian Bug report #418529,
regarding jed: evalfile() no longer supporting ~ in path name
to be marked as having been forwarded to the upstream software
author(s) .

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: Re: Bug#418529: jed: evalfile() no longer supporting ~ in path name
From: Jörg Sommer
Date: Thu, 12 Apr 2007 00:29:52 +0200
Hi Rafael, Hi John,

Rafael Laboissiere schrieb am Wed 11. Apr, 20:38 (+0200):
> * JÃrg Sommer <[email protected]> [2007-04-11 10:32]:
> 
> > % xjed -batch -f '()=evalfile("~/.jed/latex.sl")'
> > loading /usr/share/jed/jed-extra/~/.jed/latex.sl
> > Unable to load /usr/share/jed/jed-extra/~/.jed/latex.sl
> > Traceback: evalfile
> > ***string***:1:<top-level>:Open failed
> > Traceback: called from eval: ()=evalfile("~/.jed/latex.sl")
> > Traceback: eval
> > /usr/share/jed/lib/site.slc:3206:command_line_hook:Open failed
> >   Local variables for command_line_hook:
> >         Integer_Type command_line_hook = 1
> >         Integer_Type command_line_hook = 3
> >         String_Type command_line_hook = "-f"
> >         Integer_Type command_line_hook = 0
> >         String_Type command_line_hook = "()=evalfile("~/.jed/latex.sl")"
> >         Undefined_Type command_line_hook = Undefined_Type
> >         String_Type command_line_hook = "/home/joerg/.jed/jed.rc"
> >         String_Type command_line_hook = "()=evalfile("~/.jed/latex.sl")"
> >         Undefined_Type command_line_hook = Undefined_Type
> > Error encountered while executing command_line_hook
> 
> Is this a bug in JED?

I don't know.

@John: Can you explain, why the handling of ~ in path names changed
between 0.99.16 and now? Is this intended or a bug?

<4,1002>(ppc214):~% jed -batch -f '()=evalfile("~/foo")'          
loading /usr/share/jed/lib/site.slc
loading /usr/share/jed/lib/os.sl
loading /usr/share/jed/lib/menus.slc
loading /etc/jed.conf
loading /etc/jed-init.d/00debian.sl
loading /home/stud/md01/joergs/.jedrc
loading /usr/share/jed/lib/colors/black3.slc
loading /usr/share/jed/lib/keydefs.slc
loading /usr/share/jed/lib/compress.slc
loading /home/stud/md01/joergs/foo.slc
S-Lang Error: Object not opened: Unable to load /home/stud/md01/joergs/foo.slc
S-Lang Error: Object not opened: called from line 2, file: ***string***
S-Lang Error: Object not opened: called from eval: ()=evalfile("~/foo")
S-Lang Error: Object not opened: Error while executing command_line_hook
zsh: exit 4     jed -batch -f '()=evalfile("~/foo")'
<4,1003>(ppc214):~% jed --version
jed version: 0.99.16/Unix
 Compiled with GNU C 3.3
S-Lang version: 1.4.9

jed compile-time options:
 +LINE_ATTRIBUTES +BUFFER_LOCAL_VARS +SAVE_NARROW +TTY_MENUS
 +EMACS_LOCKING +MULTICLICK +SUBPROCESSES +DFA_SYNTAX +ABBREVS
 +COLOR_COLUMNS +LINE_MARKS +GPM_MOUSE

Using JED_ROOT=/usr/share/jed

The version above is a 0.99.19-40.

Bye, JÃrg.

PS: Please keep the [email protected] and [email protected]
  addresses in the recipient list.
-- 
âUnfortunately, the current generation of mail programs do not have
 checkers to see if the sender knows what he is talking aboutâ
            (Andrew S. Tanenbaum)

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>