emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org, Richard Riley <rileyrg@gmail.com>
Subject: Re: [BUG - low] capture with region selected in read only erc buffer
Date: Fri, 3 Sep 2010 07:11:38 +0200	[thread overview]
Message-ID: <343B7F27-D0FE-4C4F-BDDA-DD5F917F0C40@gmail.com> (raw)
In-Reply-To: <87occggeq7.fsf@fastmail.fm>


On Sep 2, 2010, at 8:52 PM, Matt Lundin wrote:

> Hi Carsten,
>
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Sep 2, 2010, at 1:18 AM, Richard Riley wrote:
>>>
>>> If I select a region in, in this case, an erc (emacs irc client)
>>> buffer
>>> in the read only section and then use my global keys to create a new
>>> item using the following "j" template while the text is still  
>>> selected
>>>
>>> ("j" "Journal" entry
>>> (file+datetree "journal.org")
>>> "* %T %?\n  %i\n  %a")
>>>
>>> then I get the following backtrace :-
>>>
>>> Debugger entered--Lisp error: (error "Capture abort: (text-read-
>>> only)")
>>> signal(error ("Capture abort: (text-read-only)"))
>>> error("Capture abort: %s" (text-read-only))
>>> byte-code("\301\302!\203\n
>
>> Fixed, thanks.
>>
>
> This update caused the following error when invoking org-capture on a
> Gnus article:

Fixed, thanks.

- Carsten

>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (args-out-of-range 0 401)
>  remove-text-properties(0 401 (read-only t) "[[gnus:gmane.emacs.orgmode#87aao21i92.fsf@gmx.de 
> ][Sebastian Rose: Re: Org-protocol / Chrome on Linux]]")
>  (progn (remove-text-properties 0 (length initial) (quote ...)  
> annotation))
>  (if annotation (progn (remove-text-properties 0 ... ... annotation)))
>  (when annotation (remove-text-properties 0 (length initial)  
> (quote ...) annotation))
>  (let* ((orig-buf ...) (annotation ...) (initial ...) (entry ...))  
> (when initial (remove-text-properties 0 ... ... initial)) (when  
> annotation (remove-text-properties 0 ... ... annotation)) (cond  
> (... ...) (... ...) (t ... ... ... ... ... ... ...)))
>  (cond ((equal goto ...) (org-capture-goto-target)) ((equal  
> goto ...) (org-capture-goto-last-stored)) (t (let* ... ... ... ...)))
>  org-capture(nil)
>  call-interactively(org-capture nil nil)
>  recursive-edit()
>  byte-code("\306\x10	@\307=\203!  debug(error (args-out-of-range 0 401))
>  remove-text-properties(0 401 (read-only t) "[[gnus:gmane.emacs.orgmode#87aao21i92.fsf@gmx.de 
> ][Sebastian Rose: Re: Org-protocol / Chrome on Linux]]")
>  org-capture(nil)
>  call-interactively(org-capture nil nil)
>  recursive-edit()
>  byte-code("\306\x10	@\307=\203!  debug(error (args-out-of-range 0 401))
>  remove-text-properties(0 401 (read-only t) "[[gnus:gmane.emacs.orgmode#87aao21i92.fsf@gmx.de 
> ][Sebastian Rose: Re: Org-protocol / Chrome on Linux]]")
>  org-capture(nil)
>  call-interactively(org-capture nil nil)
> --8<---------------cut here---------------end--------------->8---
>
> Reverting commit d8498a40e815d8604311e9844e6c75bbf074d026 fixed the
> issue.
>
> Thanks,
> Matt
>

- Carsten

      reply	other threads:[~2010-09-03  5:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 23:18 [BUG - low] capture with region selected in read only erc buffer Richard Riley
2010-09-02  9:35 ` Carsten Dominik
2010-09-02 18:52   ` Matt Lundin
2010-09-03  5:11     ` Carsten Dominik [this message]

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=343B7F27-D0FE-4C4F-BDDA-DD5F917F0C40@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    --cc=rileyrg@gmail.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 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).