Eli Zaretskii <[EMAIL PROTECTED]> writes:
>> > At this late stage in the pretest, won't it be safer to bind
>> > default-directory only if the original value doesn't exist?
>>
>> I don't think so, because it's possible for the original value to
>> exist and yet not be accessible to us.
>
> Okay,
Thanks.
___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Richard Stallman <[EMAIL PROTECTED]> writes:
> We need to fix all the file handlers that use call-process, I agree.
> Fortunately there are not too many.
>
> I agree it would be easier if we could fix this in call-process. That
> was the first direction I looked in. However, someone pointed out
> Cc: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org
> From: Chris Moore <[EMAIL PROTECTED]>
> Date: Sat, 27 Jan 2007 10:53:24 +0100
>
> Eli Zaretskii <[EMAIL PROTECTED]> writes:
>
> > At this late stage in the pretest, won't it be safer to bind
> > default-directory only if the original value doe
Eli Zaretskii <[EMAIL PROTECTED]> writes:
> At this late stage in the pretest, won't it be safer to bind
> default-directory only if the original value doesn't exist?
I don't think so, because it's possible for the original value to
exist and yet not be accessible to us. For example, if the orig
At this late stage in the pretest, won't it be safer to bind
default-directory only if the original value doesn't exist?
I am not sure whether it is safer, but it can't really hurt, and it
avoids the issue of installing more code by Chris Moore before his
papers come.
Would you please ins
BTW, I think the comments in jka-compr.el and some doctrings
(notoriously those of `jka-compr-shell' and
`ja-compr-compression-info-list') do lie about the use of a shell and
the following patch should be applied.
Please install your patch.
___
> Cc: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org
> From: Chris Moore <[EMAIL PROTECTED]>
> Date: Fri, 26 Jan 2007 15:52:36 +0100
>
> *** lisp/jka-compr.el 21 Jan 2007 03:53:11 - 1.92
> --- lisp/jka-compr.el 26 Jan 2007 14:46:48 -
> ***
> *** 166,171
> --- 166,1
Richard Stallman <[EMAIL PROTECTED]> writes:
> To see jka-compr failing, evaluate this:
>
> (let ((default-directory "/a/b/c"))
> (insert-file-contents "/usr/share/man/man1/ls.1.gz"))
>
> Can someone please fix jka-compr?
My post which started this thread contained a fix for jka-c
On 1/26/07, Richard Stallman <[EMAIL PROTECTED]> wrote:
Let's not go around in circles. We've already seen why this can't be
"fixed" in a natural way.
Yes, sorry. I missed the start of the thread.
BTW, I think the comments in jka-compr.el and some doctrings
(notoriously those of `jka-compr-s
I guess all I mean is that we need to fix Tramp (and other file
handlers) as well as jka-compr, because this also causes an error:
We need to fix all the file handlers that use call-process, I agree.
Fortunately there are not too many.
I agree it would be easier if we could fix this in ca
It's at a lower level than jka-compr:
(let ((default-directory "a/b/c"))
(call-process "gzip" "c:/emacs/otros/quack.el.gz" t nil "-d"))
Let's not go around in circles. We've already seen why this can't be
"fixed" in a natural way. So jka-compr needs to be fixed to avoid
doing t
On 1/25/07, Eli Zaretskii <[EMAIL PROTECTED]> wrote:
What do you mean by ``take into account''? File primitives already do
take that into account, in a way, so I'm unsure what you meant here.
I'm sorry.
I guess all I mean is that we need to fix Tramp (and other file
handlers) as well as jka-
On 1/25/07, Richard Stallman <[EMAIL PROTECTED]> wrote:
To see jka-compr failing, evaluate this:
(let ((default-directory "/a/b/c"))
(insert-file-contents "/usr/share/man/man1/ls.1.gz"))
Can someone please fix jka-compr?
It's at a lower level than jka-compr:
(let ((default
To see jka-compr failing, evaluate this:
(let ((default-directory "/a/b/c"))
(insert-file-contents "/usr/share/man/man1/ls.1.gz"))
Can someone please fix jka-compr?
___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://
Chris Moore wrote:
Kevin Rodgers <[EMAIL PROTECTED]> writes:
It should signal an error, that the directory doesn't exist. How
does one create a buffer whose default-directory doesn't exist?
One finds a file or creates a buffer which isn't associated with a
file, but has default-directory set
> From: Chris Moore <[EMAIL PROTECTED]>
> Date: Wed, 24 Jan 2007 22:58:37 +0100
> Cc: emacs-pretest-bug@gnu.org
>
> Note that when checking for the existance of default-directory, we
> need to take the filename handlers into account.
What do you mean by ``take into account''? File primitives alr
Richard Stallman <[EMAIL PROTECTED]> writes:
> There's no ``best way'', it depends on what code calls call-process.
> In some cases, you could bind default-directory to something sensible
> (e.g., invocation-directory), in others you _must_ fail, because the
> command arguments cou
Kevin Rodgers <[EMAIL PROTECTED]> writes:
> It should signal an error, that the directory doesn't exist. How
> does one create a buffer whose default-directory doesn't exist?
One finds a file or creates a buffer which isn't associated with a
file, but has default-directory set anyway, and then h
There's no ``best way'', it depends on what code calls call-process.
In some cases, you could bind default-directory to something sensible
(e.g., invocation-directory), in others you _must_ fail, because the
command arguments could use something like "./foo/bar" which precludes
> From: Richard Stallman <[EMAIL PROTECTED]>
> Date: Mon, 22 Jan 2007 21:07:03 -0500
> Cc: emacs-pretest-bug@gnu.org
> Reply-To: [EMAIL PROTECTED]
>
> This should probably be fixed in call-process (I can't use
> shell-command-on-region to pipe a region of a buffer through a shell
> com
Richard Stallman wrote:
This should probably be fixed in call-process (I can't use
shell-command-on-region to pipe a region of a buffer through a shell
command if default-directory doesn't exist, for example, and I'd like
to be able to). Perhaps default-directory could default to
This should probably be fixed in call-process (I can't use
shell-command-on-region to pipe a region of a buffer through a shell
command if default-directory doesn't exist, for example, and I'd like
to be able to). Perhaps default-directory could default to the value
of temporar
In GNU Emacs 22.0.92.24 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2007-01-21 on trpaslik
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--with-gtk' '--prefix' '/usr/local' '--with-xpm'
'--with-jpeg' '--with-png' '--with-gif''
$ mkdir /tmp/foo
24 matches
Mail list logo