From: James Harkins <jamshark70@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-mode breaks buffer indexing in sclang-mode
Date: Sun, 12 Sep 2010 20:33:08 +0800 [thread overview]
Message-ID: <4C8CC884.5050000@dewdrop-world.net> (raw)
As I said before, I'm really enjoying org-mode. I love that I can keep
all my semester's teaching data in one text file and zoom in right to
where I want quickly. But, today I found a not-good interaction between
it and the main programming mode that I use in Emacs (sclang-mode, an
interactive front end for the supercollider* audio programming language).
Supercollider keeps objects internally for code documents. These are
connected to Emacs buffers. The sclang-mode lisp code assigns an integer
index to buffers that supercollider is supposed to know about, and
passes those indices into the sc interpreter. When I run sclang-mode on
its own, this is all totally stable. It's also stable if I have an
org-mode buffer open and I'm editing only.
As soon as org-mode opens a calendar buffer, the sclang interpreter no
longer knows about its Document buffers -- i.e., when in a buffer that's
been loaded from disk, the sc code "Document.current.path" should return
the full path to the file, but after opening the calendar,
Document.current returns 'nil' and .path fails with an error. This could
happen if Emacs tells sclang that the buffer closed (but the buffer is
still open).
This is consistent behavior that I can reproduce on-demand, both in
Aquamacs 1.9 (OSX) and Emacs 23 on Ubuntu. Opening an agenda view does
not trigger the problem. It seems to be just the calendar.
Why would opening a calendar buffer to choose a date mess around with
other modes' buffers?
Not a major, major problem for me but it seems something fishy is going
on and I thought I would report it.
James
* http://supercollider.sourceforge.net
--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks
next reply other threads:[~2010-09-12 12:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-12 12:33 James Harkins [this message]
2010-10-04 8:42 ` org-mode breaks buffer indexing in sclang-mode Carsten Dominik
2010-10-04 10:07 ` James Harkins
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C8CC884.5050000@dewdrop-world.net \
--to=jamshark70@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jamshark70@dewdrop-world.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).