* [BUG - low] capture with region selected in read only erc buffer
@ 2010-09-01 23:18 Richard Riley
2010-09-02 9:35 ` Carsten Dominik
0 siblings, 1 reply; 4+ messages in thread
From: Richard Riley @ 2010-09-01 23:18 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG - low] capture with region selected in read only erc buffer
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
0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2010-09-02 9:35 UTC (permalink / raw)
To: Richard Riley; +Cc: emacs-orgmode
Fixed, thanks.
- Carsten
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
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG - low] capture with region selected in read only erc buffer
2010-09-02 9:35 ` Carsten Dominik
@ 2010-09-02 18:52 ` Matt Lundin
2010-09-03 5:11 ` Carsten Dominik
0 siblings, 1 reply; 4+ messages in thread
From: Matt Lundin @ 2010-09-02 18:52 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode, Richard Riley
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:
--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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG - low] capture with region selected in read only erc buffer
2010-09-02 18:52 ` Matt Lundin
@ 2010-09-03 5:11 ` Carsten Dominik
0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-09-03 5:11 UTC (permalink / raw)
To: Matt Lundin; +Cc: emacs-orgmode, Richard Riley
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-03 5:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.