emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Micah Anderson <micah@riseup.net>
To: emacs-orgmode@gnu.org
Subject: bad text pointer cursor: BadValue (integer parameter out of range for operation)
Date: Mon, 17 Dec 2012 11:22:25 -0500	[thread overview]
Message-ID: <87wqwg643i.fsf@minnow.riseup.net> (raw)


Hi,

I'm trying to make an org-capture frame so I can call it conveniently
with a keystroke and emacsclient will launch and bring up
org-capture. This works, and it is very convenient for my
workflow. Basically I do the following in my awesome window manager
configuration:

    awful.key({ modkey }, "q", function () awful.util.spawn("emacsclient --eval '(make-capture-frame)'") end),

That allows me to hit Super-q and then it will spawn:

     emacsclient --eval '(make-capture-frame)'

which I have defined in my .emacs.d/my-org.el as follows:

(defun make-capture-frame ()
  "Create a new frame and run org-capture."
  (interactive)
  (make-frame '((name . "capture") (width . 80 ) (height . 10)))
  (select-frame-by-name "capture")
  (org-capture)
  (delete-other-windows)
  )

Everything works great, except... at some point, something happens and I
can no longer open a capture frame. When I hit the key nothing happens,
so I execute the emacsclient line in a shell and what I get is:

*ERROR*: bad text pointer cursor: BadValue (integer parameter out of range for operation)

I have no idea what this means, or how to debug it. I can still run M-x
org-capture, so that seems to still work, but otherwise I'm puzzled...So
I turn to you wizards for some help and guidance!

thanks for any ideas or suggestions for improvement,
micah

-- 

             reply	other threads:[~2012-12-17 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-17 16:22 Micah Anderson [this message]
2012-12-24  0:37 ` bad text pointer cursor: BadValue (integer parameter out of range for operation) Bastien

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=87wqwg643i.fsf@minnow.riseup.net \
    --to=micah@riseup.net \
    --cc=emacs-orgmode@gnu.org \
    /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).