Hi python-mode folks,
form below should speed up writing print-statements in Python a
little bit.
(defun druck (&optional arg)
"Inserts a print statement out of current `(car kill-ring)' by default,
inserts ARG instead if delivered. "
(interactive "*")
(lexical-let* ((name (or arg (car kil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 12.03.2010 10:51, schrieb Andreas Roehler:
> Hi python-mode folks,
>
> form below should speed up writing print-statements in Python a
> little bit.
>
> (defun druck (&optional arg)
> "Inserts a print statement out of current `(car kill-ring)' b
On Mar 12, 2010, at 11:21 AM, Georg Brandl wrote:
>Wouldn't that be the job of one of the numerous snippet packages that are
>floating around? I'm using yasnippet myself, and it works very well.
>(I know that python.el has some definitions for skeleton mode, but
>python-mode.el doesn't, and I'm n
Georg Brandl wrote:
> Am 12.03.2010 10:51, schrieb Andreas Roehler:
>> Hi python-mode folks,
>
>> form below should speed up writing print-statements in Python a
>> little bit.
>
>> (defun druck (&optional arg)
>> "Inserts a print statement out of current `(car kill-ring)' by default,
>> inser