[O] Create a longtable in LaTeX from orgtbl

2014-06-18 Thread Tak Kunihiro
Dear all, Can you show how to create a longtable in LaTeX from orgtbl? When a table in short, I create a LaTeX table in following way, as demonstrated in manual. https://www.gnu.org/software/emacs/manual/html_node/org/A-LaTeX-example.html #+BEGIN_SRC LaTeX \begin{table}[htdp] \begin{center}

[O] Publishing sitemap

2014-06-18 Thread Vikas Rawal
When I publish my web-site using org-mode, with suitable options in my org-publish-projects-alist, I can get org-publish to create a sitemap. Is it possible to just create the sitemap without publishing the whole project? I sometimes update a single file, and just publish it using

[O] formatted index entries

2014-06-18 Thread Nicolas Berthier
Hello, In an org file, I would like to add formatted index entries =word=, !word or similar things, possibly in a hierarchical way as sub entries (I know it's a very peculiar use case, but it turns out that I would appreciate having this feature for writing a technical manual). e.g, something in

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Sebastien Vauban
Hi Aaron, Aaron Ecay wrote: [...] babel needs to fetch 30 properties per source block. Indeed, this is marked “deprecated” in the source, in favor of a system where there is only one header arg. This has been marked deprecated for almost exactly a year in the code (Achim’s commit 90b16870

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Andreas Leha
Hi Grant, Grant Rettke g...@wisdomandwonder.com writes: Good evening, Over the past few months I've been working on the same literate document. It has been a learning experience for me, trial and error has abounded. The key tenet that I've adhered too though is to truly embrace literate

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Thorsten Jolitz
Grant Rettke g...@wisdomandwonder.com writes: The average build takes 15m. Which file do you mean - TC3F.org? Thats some 4400 lines, thus not _that_ big really. I once used a giant init.el copied from the web that had some 8000 lines (now I'm back to 2500 again ...). I converted that file to

[O] Publishing sitemap

2014-06-18 Thread Rawal, Vikas (ESD)
When I publish my web-site using org-mode, with suitable options in my org-publish-projects-alist, I can get org-publish to create a sitemap. Is it possible to just create the sitemap without publishing the whole project? I sometimes update a single file, and just publish it using

Re: [O] BEAMER_act property documented in ox-beamer.el

2014-06-18 Thread Eric S Fraga
On Tuesday, 17 Jun 2014 at 22:01, Sebastien Vauban wrote: Hello, I'm trying to understand the sentence from ox-beamer.el: Headlines also support the BEAMER_act property. [It] is translated as an overlay/action specification (or a default overlay specification when enclosed

Re: [O] BEAMER_act property documented in ox-beamer.el

2014-06-18 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: On Tuesday, 17 Jun 2014 at 22:01, Sebastien Vauban wrote: I'm trying to understand the sentence from ox-beamer.el: Headlines also support the BEAMER_act property. [It] is translated as an overlay/action specification (or a default

[O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Sebastien Vauban
Hello, When I just open an Org file that has a link to a remote file, Tramp tries to open it, leading to errors and timeouts when offline, at least. --8---cut here---start-8--- * References Some files of interest:

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: Grant Rettke g...@wisdomandwonder.com writes: The average build takes 15m. [with-current-buffer TC3F.org] After this is done *once*, you can always switch between emacs-lisp and org-mode with outorg, It takes 0.4 sec to convert the whole file to

Re: [O] formatted index entries

2014-06-18 Thread Nicolas Goaziou
Hello, Nicolas Berthier nbe...@member.fsf.org writes: In an org file, I would like to add formatted index entries =word=, !word or similar things, possibly in a hierarchical way as sub entries (I know it's a very peculiar use case, but it turns out that I would appreciate having this feature

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Hello, When I just open an Org file that has a link to a remote file, Tramp tries to open it, leading to errors and timeouts when offline, at least. It doesn't happen to me. I tried emacs -Q path/to/test.org and the

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Michael Albinus
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Hello, Hi Sebastien, When I just open an Org file that has a link to a remote file, Tramp tries to open it, leading to errors and timeouts when offline, at least. * References Some files of interest:

[O] [bug, beamer] Frame parameters taken from example code block

2014-06-18 Thread Sebastien Vauban
Hello, When having such a code block inside a frame: --8---cut here---start-8--- #+TITLE: Org Beamer examples #+LANGUAGE: en #+OPTIONS: H:2 num:nil ^:{} #+PROPERTY: eval no #+LATEX_HEADER: \lstdefinelanguage{org}{} * ECM ** Allow frame breaks In

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-18 Thread Stefan Monnier
Ask savannah-hack...@gnu.org. Then it's not worth the trouble (since it's a temporary change that will need to be modified yet again when we release 24.4). Stefan

Re: [O] [bug, beamer] Frame parameters taken from example code block

2014-06-18 Thread Sebastien Vauban
Hello, When having such a code block inside a frame, the frame inherits from the property BEAMER_opt which, though, is only present in the example code, not in the Beamer frame itself. Another example which is not compilable in LaTeX (because of that bug): --8---cut

Re: [O] formatted index entries

2014-06-18 Thread Nicolas Berthier
You wrote: Hello, Nicolas Berthier nbe...@member.fsf.org writes: In an org file, I would like to add formatted index entries =word=, !word or similar things, possibly in a hierarchical way as sub entries (I know it's a very peculiar use case, but it turns out that I would appreciate

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Sebastien Vauban
Michael Albinus wrote: Sebastien Vauban writes: When I just open an Org file that has a link to a remote file, Tramp tries to open it, leading to errors and timeouts when offline, at least. * References Some files of interest: [[file:/m...@somewhere.org:papers/current.pdf][paper]] Is

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Sebastien Vauban
Hello Nicolas, Nicolas Richard wrote: Sebastien Vauban writes: When I just open an Org file that has a link to a remote file, Tramp tries to open it, leading to errors and timeouts when offline, at least. It doesn't happen to me. I tried emacs -Q path/to/test.org and the file opened

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Michael Albinus
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Is this supposed to be normal? Why does Tramp open the file? Because Tramp has been instructed so? I suppose, following the above link results in I think we did not understand each other (or did we?) because that's

Re: [O] formatted index entries

2014-06-18 Thread Nicolas Goaziou
Hello, Nicolas Berthier nbe...@member.fsf.org writes: IMHO, the handling of Org markups (at least) by the LaTeX exporter (and maybe others) would suffice to implement this feature (with a few tricks to still allow sorting by makeindex). Am I right? Handling Org markup in the general case is

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: ... lots of contents... org-mode() This means that org-mode calls things which in the end calls tramp-maybe-open-connection. But what something is is in the lots of contents part that you didn't show.

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Michael Albinus
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: ... lots of contents... Well, Tramp is invoked via (expand-file-name /myself@...). The call hierarchy is (if I haven't overseen something) expand-file-name org-element-link-parser org-element-context

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Sebastien Vauban
Nicolas Richard wrote: Sebastien Vauban writes: org-mode() This means that org-mode calls things which in the end calls tramp-maybe-open-connection. But what something is is in the lots of contents part that you didn't show. Unfortunately a video isn't very searchable. Still, I spotted

Re: [O] [Babel] 2 new problems with tangling

2014-06-18 Thread Sebastien Vauban
Thorsten Jolitz wrote: Sebastien Vauban writes: After an update to Org 8.2.7, I have troubles tangling files. It's possible that the error resides on my side, so the first question is: do you see the same as me? No Thanks for confirming that. Though, the problem is more complex than that

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Michael Albinus
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Though, is it normal to try to open a remote PDF file while Emacs is unable of displaying it in the buffer (unlike PNG files, IIUC)? Emacs is also able to open and display a remote PDF file. Maybe that's not a bug

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Sebastien Vauban
Michael Albinus wrote: Sebastien Vauban writes: Though, is it normal to try to open a remote PDF file while Emacs is unable of displaying it in the buffer (unlike PNG files, IIUC)? Emacs is also able to open and display a remote PDF file. IIUC, Emacs can't display real PDF files. It only

Re: [O] Publishing sitemap

2014-06-18 Thread Rick Frankel
On 2014-06-18 03:54, Vikas Rawal wrote: When I publish my web-site using org-mode, with suitable options in my org-publish-projects-alist, I can get org-publish to create a sitemap. Is it possible to just create the sitemap without publishing the whole project? I sometimes update a single file,

Re: [O] formatted index entries

2014-06-18 Thread Nicolas Berthier
You wrote: Hello, Nicolas Berthier nbe...@member.fsf.org writes: IMHO, the handling of Org markups (at least) by the LaTeX exporter (and maybe others) would suffice to implement this feature (with a few tricks to still allow sorting by makeindex). Am I right? Handling Org markup in the

Re: [O] Publishing sitemap

2014-06-18 Thread Rick Frankel
Sorry, hit the wrong key... completed response below. On 2014-06-18 03:54, Vikas Rawal wrote: When I publish my web-site using org-mode, with suitable options in my org-publish-projects-alist, I can get org-publish to create a sitemap. Is it possible to just create the sitemap without

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Michael Albinus
Sebastien Vauban sva-n...@mygooglest.com writes: Michael Albinus wrote: Sebastien Vauban writes: Though, is it normal to try to open a remote PDF file while Emacs is unable of displaying it in the buffer (unlike PNG files, IIUC)? Emacs is also able to open and display a remote PDF file.

Re: [O] Create a longtable in LaTeX from orgtbl

2014-06-18 Thread Oliver Kappel
Hello, I'm just using: #+CAPTION: Table headline shown in \listoftables #+NAME: tab:name_for_ref_to #+ATTR_LATEX: :environment longtable :align |l|l|l| |---+---+---| | Col 1 | Col 2 | Col 3 | |---+---+---| Works fine on org-version 8.2.5h spanning the table via latex

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org With it, the problem occurs; without, it does not. Also note that this is a problem in master only ; maint has an older version of org-display-inline-images which doesn't use org-element. Though, is it normal to try to open a

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Sebastien Vauban
Michael Albinus wrote: Sebastien Vauban sva-n...@mygooglest.com writes: Michael Albinus wrote: Sebastien Vauban writes: Though, is it normal to try to open a remote PDF file while Emacs is unable of displaying it in the buffer (unlike PNG files, IIUC)? Emacs is also able to open and

Re: [O] Create a longtable in LaTeX from orgtbl

2014-06-18 Thread Nick Dokos
Oliver Kappel ngre...@gmx.net writes: Hello, I'm just using: #+CAPTION: Table headline shown in \listoftables #+NAME: tab:name_for_ref_to #+ATTR_LATEX: :environment longtable :align |l|l|l| |---+---+---| | Col 1 | Col 2 | Col 3 | |---+---+---| Works fine on

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-18 Thread Eli Zaretskii
From: Stefan Monnier monn...@iro.umontreal.ca Cc: l...@yun.yagibdah.de, b...@altern.org, 17...@debbugs.gnu.org, g...@gmx.de, theonewiththeevill...@yahoo.fr Date: Wed, 18 Jun 2014 08:04:39 -0400 Ask savannah-hack...@gnu.org. Then it's not worth the trouble (since it's a temporary

Re: [O] 2 Org tests failing

2014-06-18 Thread Sebastien Vauban
Bastien wrote: Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Running org_test, please wait (this can take a while)... FAILED test-org-table/org-table-calc-current-TBLFM FAILED test-org-table/org-table-calc-current-TBLFM-when-stop-because-of-error I

Re: [O] helm and org-refile

2014-06-18 Thread Sylvain Rousseau
Here is the updated patch and config from my .emacs (when (and (boundp 'org-completion-handler) (require 'helm nil t)) (defun org-helm-completion-handler (prompt collection optional predicate require-match initial-input hist def

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Michael Albinus
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: That's what I'm speaking about. And if you have a local DocView installation, it works for either remote or local files (Tramp provides a local copy of the remote file). But DocView won't display a PDF file as an

Re: [O] Create a longtable in LaTeX from orgtbl

2014-06-18 Thread Oliver Kappel
Hello, I'm just using: #+CAPTION: Table Heading shown in listoftables #+NAME: tab:name_for_ref_to #+ATTR_LATEX: :environment longtable :align |l|l|l| |---+---+---| | Col 1 | Col 2 | Col 3 | |---+---+---| Works fine on org-version 8.2.5h spanning the table via latex

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Sebastien Vauban
Michael Albinus wrote: Sebastien Vauban writes: That's what I'm speaking about. And if you have a local DocView installation, it works for either remote or local files (Tramp provides a local copy of the remote file). But DocView won't display a PDF file as an image inside a buffer of

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Nick Dokos
Sebastien Vauban sva-n...@mygooglest.com writes: Michael Albinus wrote: Sebastien Vauban writes: That's what I'm speaking about. And if you have a local DocView installation, it works for either remote or local files (Tramp provides a local copy of the remote file). But DocView won't

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Nicolas Goaziou
Hello, Nicolas Richard theonewiththeevill...@yahoo.fr writes: Org Mode is not trying to display the PDF (at least not at that point). The problems occurs when parsing the buffer : org-element-link-parser uses expand-file-name to normalize the URI. Should it ? IDK. Nicolas G might have an

Re: [O] Create a longtable in LaTeX from orgtbl

2014-06-18 Thread Oliver Kappel
Am 18.06.2014 um 16:33 schrieb Nick Dokos: Oliver Kappel ngre...@gmx.net writes: I'm just using: #+CAPTION: Table headline shown in \listoftables #+NAME: tab:name_for_ref_to #+ATTR_LATEX: :environment longtable :align |l|l|l| |---+---+---| | Col 1 | Col 2 | Col 3 |

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Aaron Ecay
Hi Sebastien, 2014ko ekainak 18an, Sebastien Vauban-ek idatzi zuen: Hi Aaron, Aaron Ecay wrote: [...] babel needs to fetch 30 properties per source block. Indeed, this is marked “deprecated” in the source, in favor of a system where there is only one header arg. This has been marked

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-18 Thread Stefan Monnier
Not sure what you have in mind, but perhaps we should rename the branch to something like 'release-branch', and then its name won't need to change with the Emacs versions. It's not just the name: after the release we won't ask people to track the release-branch. Maybe we could use a branch

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-18 Thread Eli Zaretskii
Date: Wed, 18 Jun 2014 20:52:05 +0200 From: Gregor Zattler g...@gmx.de Cc: 17...@debbugs.gnu.org Hi Stefan, * Stefan Monnier monn...@iro.umontreal.ca [07. Jun. 2014]: BTW, I would also point out that people who do not actively develop Emacs should ideally use the emacs-24 (i.e. 24.3.9x)

Re: [O] navigation broken in recent maint

2014-06-18 Thread Charles Berry
Samuel Wales samologist at gmail.com writes: quick and dirty bug report. recent org maint. 1: jumping from magit (maint) to org using RET always goes to the wrong location now. i don't know that this is org's fault. i have seen it happen once before, which is when i tried

Re: [O] babel python example not reproducible

2014-06-18 Thread Eric Schulte
Shiyuan gshy2...@gmail.com writes: Hi all, I found a solution to fix the echo problem of the emacs python shell: http://stackoverflow.com/questions/8060609/python-interpreter-in-emacs-repeats-lines That is, in the Interior Python buffer, do M-: (setq comint-process-echoes t) ;; or nil

Re: [O] babel python example not reproducible

2014-06-18 Thread Eric Schulte
Hi Guys, please permit a comment after some times - it's just not to create heroes :) IMHO the complexity orb-babel took by creating its own slots for symbols like function names, variables etc. is not to handle reliably across the languages. I don't understand what you mean by the

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-18 Thread lee
Eli Zaretskii e...@gnu.org writes: From: lee l...@yun.yagibdah.de Date: Tue, 17 Jun 2014 19:15:33 +0200 Cc: Bastien b...@altern.org, 17...@debbugs.gnu.org, g...@gmx.de, Nicolas Richard theonewiththeevill...@yahoo.fr Having cloned as described on

Re: [O] 2 Org tests failing

2014-06-18 Thread Achim Gratz
Sebastien Vauban writes: I've solved the reported problem by creating the missing TMPDIR (set to /tmp/org_test) for the invocation from my Zsh (Cygwin) terminal... The first thing the build system does before testing is install -m 755 -d /tmp/tmp-orgtest so you either pick up the wrong

Re: [O] Section of Org manual on images in latex export

2014-06-18 Thread Nicolas Goaziou
Hello, Christopher Witte ch...@witte.net.au writes: After quite a bit of mucking around and finally resorting to checking the source code, I worked out how to wrap an image in a figure environment without a caption. The final solution #+ATTR_LATEX: :float figure Actually, it is

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-18 Thread Gregor Zattler
Hi Stefan, * Stefan Monnier monn...@iro.umontreal.ca [07. Jun. 2014]: BTW, I would also point out that people who do not actively develop Emacs should ideally use the emacs-24 (i.e. 24.3.9x) branch now rather than the trunk (24.4.50), so as to help us fix problems before the 24.4 release. I'd

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-18 Thread Gregor Zattler
Hi Eli, * Eli Zaretskii e...@gnu.org [18. Jun. 2014]: * Stefan Monnier monn...@iro.umontreal.ca [07. Jun. 2014]: BTW, I would also point out that people who do not actively develop Emacs should ideally use the emacs-24 (i.e. 24.3.9x) branch now rather than the trunk (24.4.50), so as to

[O] Loss of Fontification partway through file

2014-06-18 Thread Jacob Gerlach
Hello List, I just converted my init file to an init.org to load with babel. I prefer to view the source blocks with font lock (org-src-fontify-natively). My problem is that certain parts of the file don't show the fontification. I had a lot of trouble narrowing down my init to provide a good

Re: [O] navigation broken in recent maint

2014-06-18 Thread Samuel Wales
thanks charles. i hope that others can repro. ido refile is also broken, but intermittent. often it just goes to some apparently random place in the same file. i am going to revert to an earlier version of org until this can be fixed.

Re: [O] navigation broken in recent maint

2014-06-18 Thread Samuel Wales
your mce reliably reproduces the magit bug for me, although i have not tried with -q yet. in magit place point on headline b.

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Grant Rettke
On Tue, Jun 17, 2014 at 9:41 PM, Aaron Ecay aarone...@gmail.com wrote: Here you mean time to tangle, correct? Yes, thank you for digging in.

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Grant Rettke
On Wed, Jun 18, 2014 at 3:20 AM, Andreas Leha andreas.l...@med.uni-goettingen.de wrote: Just one quick idea: Have you tried [fn:1] (setq org-babel-use-quick-and-dirty-noweb-expansion t) This can lead to dramatic speedups in my experience. I have not because I am utilizing property

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Grant Rettke
On Wed, Jun 18, 2014 at 3:18 AM, Thorsten Jolitz tjol...@gmail.com wrote: Grant Rettke g...@wisdomandwonder.com writes: The average build takes 15m. Which file do you mean - TC3F.org? Thats some 4400 lines, thus not _that_ big really. I once used a giant init.el copied from the web that had

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-18 Thread Grant Rettke
I still want to be using org,, so my plan for now then is to write a pre-processing script for before org-babel-tangle is run that: 1. Checks each headline 2. Checks if there is a source block 3. If that source block doesn't have a noweb-ref name, and there is another source block under that

Re: [O] How do you capture the intent never to tangle or weave a headline or its children?

2014-06-18 Thread Grant Rettke
Understood, and thank you. Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson

Re: [O] A simple org tangle and weave makefile

2014-06-18 Thread Grant Rettke
I see. Thank you. Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson On Thu,

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-18 Thread Eli Zaretskii
From: lee l...@yun.yagibdah.de Cc: monn...@iro.umontreal.ca, b...@altern.org, 17...@debbugs.gnu.org, g...@gmx.de, theonewiththeevill...@yahoo.fr Date: Wed, 18 Jun 2014 13:10:19 +0200 It's git, right? The one that has git checkout BRANCH and stuff? Yes, I pulled from the git repo

Re: [O] babel python example not reproducible

2014-06-18 Thread Andreas Röhler
On 18.06.2014 15:59, Eric Schulte wrote: Shiyuan gshy2...@gmail.com writes: Hi all, I found a solution to fix the echo problem of the emacs python shell: http://stackoverflow.com/questions/8060609/python-interpreter-in-emacs-repeats-lines That is, in the Interior Python buffer, do M-: