From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: bug report: timeline agenda in an indirect buffer Date: Sat, 7 Aug 2010 14:58:35 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1333215987==" Return-path: Received: from [140.186.70.92] (port=49895 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oi9fd-0003OX-9U for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 13:28:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ohfhk-00052U-1D for emacs-orgmode@gnu.org; Sat, 07 Aug 2010 05:28:37 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:45505) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ohfhj-00052Q-VB for emacs-orgmode@gnu.org; Sat, 07 Aug 2010 05:28:36 -0400 Received: by ywg8 with SMTP id 8so4138202ywg.0 for ; Sat, 07 Aug 2010 02:28:35 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Ilya Shlyakhter , emacs-orgmode --===============1333215987== Content-Type: multipart/alternative; boundary=000e0cd5198659ea75048d386831 --000e0cd5198659ea75048d386831 Content-Type: text/plain; charset=ISO-8859-1 Carsten, Does commit 5188f71ee85aee753db07d0fccea4a9217eb8a4d fix this issue? Thanks Noorul On Sat, Aug 7, 2010 at 2:43 PM, Noorul Islam wrote: > > > On Thu, Aug 5, 2010 at 10:46 PM, Ilya Shlyakhter wrote: > >> Right now making a timeline agenda of an indirect buffer causes a crash. >> I think it's because buffer-file-name is null for such buffers, >> so in the call >> (org-prepare-agenda (concat "Timeline " >> (file-name-nondirectory buffer-file-name))) >> the file-name-nondirectory call fails. >> > > I am trying to understand what do you mean by indirect buffer in this > context. Can you please explain the steps to reproduce this? > > Thanks > Noorul > > --000e0cd5198659ea75048d386831 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Carsten,

Does commit=A05188f71ee85aee753db07d0fccea4a921= 7eb8a4d fix this issue?

Thanks
Noorul


On Sat, Aug 7, 2010 at 2:43 PM, = Noorul Islam <noo= rul@noorul.com> wrote:


On Thu, Aug 5, 2010 at 10:46 PM, Ilya Shlyakhter <ilya_shl@a= lum.mit.edu> wrote:
Right now making a timeline agenda of an indirect buffer causes a crash. I think it's because buffer-file-name is null for such buffers,
so in the call
(org-prepare-agenda (concat "Timeline "
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(file-name-= nondirectory buffer-file-name)))
the file-name-nondirectory call fails.

I am trying to understand what do you mean by indirect buffer in this= context. Can you please explain the steps to reproduce this?

Thanks
Noorul
=A0

--000e0cd5198659ea75048d386831-- --===============1333215987== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1333215987==--