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:43:16 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0923641360==" Return-path: Received: from [140.186.70.92] (port=50929 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oi9fq-0001oB-NE for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 13:28:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhfSv-0001In-E4 for emacs-orgmode@gnu.org; Sat, 07 Aug 2010 05:13:18 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:50295) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhfSv-0001If-8S for emacs-orgmode@gnu.org; Sat, 07 Aug 2010 05:13:17 -0400 Received: by yxs7 with SMTP id 7so4169853yxs.0 for ; Sat, 07 Aug 2010 02:13:16 -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: Ilya Shlyakhter Cc: emacs-orgmode --===============0923641360== Content-Type: multipart/alternative; boundary=00151750df1c94277d048d3831e3 --00151750df1c94277d048d3831e3 Content-Type: text/plain; charset=ISO-8859-1 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 --00151750df1c94277d048d3831e3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Aug 5, 2010 at 10:46 PM, Ilya Sh= lyakhter <ily= a_shl@alum.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 conte= xt. Can you please explain the steps to reproduce this?

Thanks
Noorul
=A0
--00151750df1c94277d048d3831e3-- --===============0923641360== 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 --===============0923641360==--