emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bad text pointer cursor: BadValue (integer parameter out of range for operation)
@ 2012-12-17 16:22 Micah Anderson
  2012-12-24  0:37 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Micah Anderson @ 2012-12-17 16:22 UTC (permalink / raw)
  To: emacs-orgmode


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

-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bad text pointer cursor: BadValue (integer parameter out of range for operation)
  2012-12-17 16:22 bad text pointer cursor: BadValue (integer parameter out of range for operation) Micah Anderson
@ 2012-12-24  0:37 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-12-24  0:37 UTC (permalink / raw)
  To: Micah Anderson; +Cc: emacs-orgmode

Hi Micah,

Micah Anderson <micah@riseup.net> writes:

> 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)

Please report this with M-x report-emacs-bug RET

Maybe Org is somehow involved, but I'll follow the thread anyway.

Thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-24  0:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-17 16:22 bad text pointer cursor: BadValue (integer parameter out of range for operation) Micah Anderson
2012-12-24  0:37 ` Bastien

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).