all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yehudah Rubinsky <edrubins@andisplace.com>
Subject: How make function to run a shell command ON BUFFER??
Date: Tue, 02 Dec 2003 08:57:51 -0500	[thread overview]
Message-ID: <5.1.0.14.0.20031202084746.00ad3a28@localhost> (raw)

 >pychecker is a function that checks Python code.. e.g.
 >pychecker myprogram.py

 >How make an Emacs function to run pychecker on buffer???
 >I guess function will have to run a shell command with the 1 and only
 >argument being the name of buffer.

Pyhton mode's Ctl-c Ctl-c runs the python interpreter against the buffer. 
The good new is this will check the syntax of the python code, including 
the use of C-x` to step to each error in turn. The bad news is that it will 
actually  run the python code, which may have undesirable side effects.

Best,
Yehudah Rubinsky

             reply	other threads:[~2003-12-02 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-02 13:57 Yehudah Rubinsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-01 23:43 How make function to run a shell command ON BUFFER?? Christian Seberino
2003-12-02  0:42 ` Kevin Rodgers
2003-12-02  0:56 ` Dan Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.0.20031202084746.00ad3a28@localhost \
    --to=edrubins@andisplace.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.