[Top][All Lists]

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

Re: [AUCTeX-devel] Re: Spaces in file names on Windows

From: Ralf Angeli
Subject: Re: [AUCTeX-devel] Re: Spaces in file names on Windows
Date: Sat, 13 Aug 2005 17:07:27 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

* David Kastrup (2005-08-13) writes:

> [[ is bash-only.  Don't use it.

Note that this is not an extended bash test command
([[ <condition> ]]) but a quoted simple test command
([ <condition> ]).  Is [ <condition> ] a bashism as well?

> And iteration seems like overkill.

That's just fallout of my limited knowledge. (c:

> [
>    case :$1: in $quotified_vars) ;;
>    *) AC_SHELL_QUOTIFY([$1])
>       export quotified_vars=$quotified_vars:$1:
>    esac
> ]

Hm, slightly nicer than my version. (c;

> Perhaps we should make something like
> which will export and protect the variable?  AC_SHELL_QUOTIFY would
> then always check whether there is a protection active.
> I mean, we don't have to protect against multiple quotification except
> in the export case, right?

Yes.  With my proposal you would have used AC_SHELL_QUOTIFY_ONCE only
on the exported variables as well.  Your suggestion is a bit more
specialized and it makes the intention clearer, which is good.


reply via email to

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