[Zope] Re: code completion for ZPT

2005-05-20 Thread Derrick Hudson
On Wed, May 18, 2005 at 11:55:20AM +0200, Milos Prudek wrote:
| Hi,
| 
| is there an editor that would support code completion for Page Templates 
| and maybe even code completion for Zope3 new technologies?
| 
| Currently I use ViM on Linux - but a lot of typing is required, like 
| "tal:attributes" - 14 keystrokes.

Use ^N.  The following excerpt is from vim's ':help'

---
Completing keywords from different sources  *compl-generic*

*i_CTRL-N*
CTRL-N  Find next match for words that start with the
keyword in front of the cursor, looking in places
specified with the 'complete' option.  The found
keyword is inserted in front of the cursor.

*i_CTRL-P*
CTRL-P  Find previous match for words that start with the
keyword in front of the cursor, looking in places
specified with the 'complete' option.  The found
keyword is inserted in front of the cursor.

CTRL-N  Search forward for next matching keyword.  This
keyword replaces the previous matching keyword.

CTRL-P  Search backwards for next matching keyword.  This
keyword replaces the previous matching keyword.
---

-D

-- 
\begin{humor}
Disclaimer:
If I receive a message from you, you are agreeing that:
   1. I am by definition, "the intended recipient"
   2. All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends
itself to. In particular, I may quote it on USENET or the WWW.
   3. I may take the contents as representing the views of your company.
   4. This overrides any disclaimer or statement of confidentiality that may
be included on your message
\end{humor}
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Code

2005-04-28 Thread Jean
Hello,
   Ok, I will use ExternalMethods. Thanks for your help.
   Best regards.
   Jean Tinguely.


Selon Tres Seaver <[EMAIL PROTECTED]>:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Andre Meyer wrote:
>
> > There are better experts than myself on this list, but I have never
> > had a need to bother with this file for a file-system based product.
> > You can just use the standard Python libraries. Probably, the Guard.py
> > file protects users of ExternalMethods, but that is just a guess.
>
> Nope.  ExternalMethods are free to use whatever Python libraries they
> want.  The OP seemed to be asking how to turn off the access / import
> checking for "untrusted" code, which is the only case where the Guard /
> RestrictedPython stuff matters.
>
> Nobody here is too willing to help him shoot himself in that foot,
> offering instead pointers to the approved mechanisms (filesystem-based
> Products / External Methods).
>
> Tres.
> - --
> ===
> Tres Seaver[EMAIL PROTECTED]
> Zope Corporation  "Zope Dealers"   http://www.zope.com
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCcNcvGqWXf00rNCgRAuKYAJ9obFgV3KOBg2Sa/H2g2dQakBLHRQCfZT0l
> ZgkvzT/+a+VVPl9Y6pBEIiY=
> =XE7M
> -END PGP SIGNATURE-
> ___
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>





This message was sent using IMP, the Internet Messaging Program.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Code

2005-04-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andre Meyer wrote:

> There are better experts than myself on this list, but I have never
> had a need to bother with this file for a file-system based product.
> You can just use the standard Python libraries. Probably, the Guard.py
> file protects users of ExternalMethods, but that is just a guess.

Nope.  ExternalMethods are free to use whatever Python libraries they
want.  The OP seemed to be asking how to turn off the access / import
checking for "untrusted" code, which is the only case where the Guard /
RestrictedPython stuff matters.

Nobody here is too willing to help him shoot himself in that foot,
offering instead pointers to the approved mechanisms (filesystem-based
Products / External Methods).

Tres.
- --
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  "Zope Dealers"   http://www.zope.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCcNcvGqWXf00rNCgRAuKYAJ9obFgV3KOBg2Sa/H2g2dQakBLHRQCfZT0l
ZgkvzT/+a+VVPl9Y6pBEIiY=
=XE7M
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )