emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Export to iCal raises (error "Selecting deleted buffer")
@ 2008-04-29 21:48 Paul R
  2008-04-29 22:32 ` Adam Spiers
  2008-05-02  7:11 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Paul R @ 2008-04-29 21:48 UTC (permalink / raw)
  To: emacs-orgmode

iCal export crashes when :
 - from dirary, C-x C-w file.ics
 - from org buffer C-c C-e I or C-c C-e c

It works when exporting with C-c C-e i.

Emacs 22.1, org version 6.02 on Ubuntu.

When crashing, the stack trace is :

Debugger entered--Lisp error: (error "Selecting deleted buffer")
  byte-code("(...)" [b sexp sexp-buffer org-agenda-skip 0 forward-sexp 1 "\n" princ org-diary-to-ical-string] 3)
  org-print-icalendar-entries(combine)
  byte-code("(...)" [file combine dir buffer-file-name ical-file ical-buffer org-check-agenda-file org-get-agenda-file-buffer file-name-as-directory file-name-sans-extension file-name-nondirectory ".ics" erase-buffer symbol-name t org-start-icalendar-file org-print-icalendar-entries org-finish-icalendar-file save-buffer run-hooks org-after-save-iCalendar-file-hook boundp org-wait sit-for org-category category standard-output started org-icalendar-combined-name files] 5)
  org-export-icalendar(combine "~/emacs/data/org/perso.org" "~/emacs/data/org/boulot.org")
  apply(org-export-icalendar combine ("~/emacs/data/org/perso.org" "~/emacs/data/org/boulot.org"))
  (let ((org-agenda-marker-table ...) (org-icalendar-verify-function ...) (org-combined-agenda-icalendar-file file)) (apply (quote org-export-icalendar) (quote combine) (org-agenda-files)))
  (cond ((string-match "\\.html?\\'" file) (set-buffer ...) (when ... ... ... ...) (write-file file) (kill-buffer ...) (message "HTML written to %s" file)) ((string-match "\\.ps\\'" file) (ps-print-buffer-with-faces file) (message "Postscript written to %s" file)) ((string-match "\\.ics\\'" file) (let ... ...)) (t (let ... ... ... ... ... ...)))
  (save-window-excursion (cond (... ... ... ... ... ...) (... ... ...) (... ...) (t ...)))
  (save-excursion (save-window-excursion (cond ... ... ... ...)))
  (let nil (save-excursion (save-window-excursion ...)) #<buffer *Org Agenda*>)
  eval((let nil (save-excursion (save-window-excursion ...)) #<buffer *Org Agenda*>))
  org-let(nil (save-excursion (save-window-excursion (cond ... ... ... ...))) #<buffer *Org Agenda*>)
  org-write-agenda("~/cleanMe/lalilo.ics")
-- 
      Paul

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

* Re: Export to iCal raises (error "Selecting deleted buffer")
  2008-04-29 21:48 Export to iCal raises (error "Selecting deleted buffer") Paul R
@ 2008-04-29 22:32 ` Adam Spiers
  2008-04-30  8:09   ` Paul R
  2008-05-02  7:11 ` Carsten Dominik
  1 sibling, 1 reply; 5+ messages in thread
From: Adam Spiers @ 2008-04-29 22:32 UTC (permalink / raw)
  To: emacs-orgmode

Paul R (paul.r.ml@gmail.com) wrote:
> iCal export crashes when :
>  - from dirary, C-x C-w file.ics
>  - from org buffer C-c C-e I or C-c C-e c
> 
> It works when exporting with C-c C-e i.
> 
> Emacs 22.1, org version 6.02 on Ubuntu.
> 
> When crashing, the stack trace is :
> 
> Debugger entered--Lisp error: (error "Selecting deleted buffer")

[snipped]

I've no idea if this is related, but that error has plagued me in
other circumstances, and I'm 95% certain the cause in my case is the
uniquify buffer name code.  Are you using uniquify?

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

* Re: Export to iCal raises (error "Selecting deleted buffer")
  2008-04-29 22:32 ` Adam Spiers
@ 2008-04-30  8:09   ` Paul R
  0 siblings, 0 replies; 5+ messages in thread
From: Paul R @ 2008-04-30  8:09 UTC (permalink / raw)
  To: emacs-orgmode

Adam Spiers <orgmode@adamspiers.org> writes:

> [snipped]
>
> I've no idea if this is related, but that error has plagued me in
> other circumstances, and I'm 95% certain the cause in my case is the
> uniquify buffer name code.  Are you using uniquify?
>

Thanks. I have no custom setting on uniquify-buffer-name-style.
This variable is unbound in my instance.

> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

-- 
      Paul

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

* Re: Export to iCal raises (error "Selecting deleted buffer")
  2008-04-29 21:48 Export to iCal raises (error "Selecting deleted buffer") Paul R
  2008-04-29 22:32 ` Adam Spiers
@ 2008-05-02  7:11 ` Carsten Dominik
  2008-05-20 21:30   ` Paul R
  1 sibling, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2008-05-02  7:11 UTC (permalink / raw)
  To: Paul R; +Cc: emacs-orgmode

Hi,

I cannot reproduce this bug.  So you need to figure out what in your  
setup is causing this problem, or come up with an example where I can  
reproduce the problem.

Thanks.

- Carsten

- Carsten
On Apr 29, 2008, at 11:48 PM, Paul R wrote:

> iCal export crashes when :
> - from dirary, C-x C-w file.ics
> - from org buffer C-c C-e I or C-c C-e c
>
> It works when exporting with C-c C-e i.
>
> Emacs 22.1, org version 6.02 on Ubuntu.
>
> When crashing, the stack trace is :
>
> Debugger entered--Lisp error: (error "Selecting deleted buffer")
>  byte-code("(...)" [b sexp sexp-buffer org-agenda-skip 0 forward- 
> sexp 1 "\n" princ org-diary-to-ical-string] 3)
>  org-print-icalendar-entries(combine)
>  byte-code("(...)" [file combine dir buffer-file-name ical-file ical- 
> buffer org-check-agenda-file org-get-agenda-file-buffer file-name-as- 
> directory file-name-sans-extension file-name-nondirectory ".ics"  
> erase-buffer symbol-name t org-start-icalendar-file org-print- 
> icalendar-entries org-finish-icalendar-file save-buffer run-hooks  
> org-after-save-iCalendar-file-hook boundp org-wait sit-for org- 
> category category standard-output started org-icalendar-combined- 
> name files] 5)
>  org-export-icalendar(combine "~/emacs/data/org/perso.org" "~/emacs/ 
> data/org/boulot.org")
>  apply(org-export-icalendar combine ("~/emacs/data/org/perso.org" "~/ 
> emacs/data/org/boulot.org"))
>  (let ((org-agenda-marker-table ...) (org-icalendar-verify- 
> function ...) (org-combined-agenda-icalendar-file file)) (apply  
> (quote org-export-icalendar) (quote combine) (org-agenda-files)))
>  (cond ((string-match "\\.html?\\'" file) (set-buffer ...)  
> (when ... ... ... ...) (write-file file) (kill-buffer ...) (message  
> "HTML written to %s" file)) ((string-match "\\.ps\\'" file) (ps- 
> print-buffer-with-faces file) (message "Postscript written to %s"  
> file)) ((string-match "\\.ics\\'" file) (let ... ...)) (t  
> (let ... ... ... ... ... ...)))
>  (save-window-excursion (cond (... ... ... ... ... ...)  
> (... ... ...) (... ...) (t ...)))
>  (save-excursion (save-window-excursion (cond ... ... ... ...)))
>  (let nil (save-excursion (save-window-excursion ...)) #<buffer *Org  
> Agenda*>)
>  eval((let nil (save-excursion (save-window-excursion ...)) #<buffer  
> *Org Agenda*>))
>  org-let(nil (save-excursion (save-window-excursion  
> (cond ... ... ... ...))) #<buffer *Org Agenda*>)
>  org-write-agenda("~/cleanMe/lalilo.ics")
> -- 
>      Paul
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Export to iCal raises (error "Selecting deleted buffer")
  2008-05-02  7:11 ` Carsten Dominik
@ 2008-05-20 21:30   ` Paul R
  0 siblings, 0 replies; 5+ messages in thread
From: Paul R @ 2008-05-20 21:30 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> Hi,
>
> I cannot reproduce this bug.  So you need to figure out what in your
> setup is causing this problem, or come up with an example where I can
> reproduce the problem.
>
> Thanks.
>
> - Carsten

For reference : it was caused by something in the debian site-lisp. I
did not narrow more, I simply got rid of debian site-lisp, for various
reasons, and this bug disappeared. Thanks for your interest Carsten.

-- 
      Paul

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

end of thread, other threads:[~2008-05-20 21:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-29 21:48 Export to iCal raises (error "Selecting deleted buffer") Paul R
2008-04-29 22:32 ` Adam Spiers
2008-04-30  8:09   ` Paul R
2008-05-02  7:11 ` Carsten Dominik
2008-05-20 21:30   ` Paul R

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