From mboxrd@z Thu Jan  1 00:00:00 1970
From: Subhan Michael Tindall <SubhanT@familycareinc.org>
Subject: Possible bug
Date: Tue, 10 Mar 2015 16:24:54 +0000
Message-ID: <931fda3be08d4908bfbced55e9a9c170@fcmailsvr2.familycareinc.org>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="_000_931fda3be08d4908bfbced55e9a9c170fcmailsvr2familycareinc_"
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34648)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SubhanT@familycareinc.org>) id 1YVMxq-0005aF-5I
	for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:25:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <SubhanT@familycareinc.org>) id 1YVMxm-0004qE-N3
	for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:25:02 -0400
Received: from outbound.familycareinc.org ([207.170.205.147]:60887)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <SubhanT@familycareinc.org>) id 1YVMxm-0004pu-Ct
	for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:24:58 -0400
Content-Language: en-US
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: "'emacs-orgmode@gnu.org'" <emacs-orgmode@gnu.org>

--_000_931fda3be08d4908bfbced55e9a9c170fcmailsvr2familycareinc_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

I'm not sure if this counts as a bug or not:

If I run a custom agenda (eg. "R") with sticky agendas, it displays in an b=
uffer with the name
*Org Agenda (R)*
If this buffer is then renamed to e.g.
(rename-buffer "*R-Agenda*")
*R-Agenda*
And is then refreshed by hitting r, the agenda is properly rebuilt BUT in a=
 new buffer named *Org Agenda(R)*, resulting in two differing agendas.

Is this appropriate behavior? It seems that rebuilding the agenda should re=
spect the current buffer name. I'm very new at programing for lisp, so I'm =
not sure I'm using the right functions here.

I've poked around a bit in the code, but my elisp-fu is quite weak. I could=
n't find an easy way to pass a buffer name in to org-agenda to be used, nor=
 was it entirely clear to me how to modify org-agenda to grab & respect the=
 buffer name when rebuilding a 'sticky' one.





This message is intended for the sole use of the individual and entity to w=
hich it is addressed and may contain information that is privileged, confid=
ential and exempt from disclosure under applicable law. If you are not the =
intended addressee, nor authorized to receive for the intended addressee, y=
ou are hereby notified that you may not use, copy, disclose or distribute t=
o anyone the message or any information contained in the message. If you ha=
ve received this message in error, please immediately advise the sender by =
reply email and delete the message.  Thank you.

--_000_931fda3be08d4908bfbced55e9a9c170fcmailsvr2familycareinc_
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">I&#8217;m not sure if this counts as a bug or not:<o=
:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">If I run a custom agenda (eg. &#8220;R&#8221;) with =
sticky agendas, it displays in an buffer with the name<o:p></o:p></p>
<p class=3D"MsoNormal">*<b>Org Agenda (R)</b>*<o:p></o:p></p>
<p class=3D"MsoNormal">If this buffer is then renamed to e.g.<o:p></o:p></p>
<p class=3D"MsoNormal">(rename-buffer &#8220;*R-Agenda*&#8221;)<o:p></o:p><=
/p>
<p class=3D"MsoNormal">*<b>R-Agenda</b>*<o:p></o:p></p>
<p class=3D"MsoNormal">And is then refreshed by hitting r, the agenda is pr=
operly rebuilt BUT in a new buffer named *<b>Org Agenda(R)</b>*, resulting =
in two differing agendas.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Is this appropriate behavior? It seems that rebuildi=
ng the agenda should respect the current buffer name. I&#8217;m very new at=
 programing for lisp, so I&#8217;m not sure I&#8217;m using the right funct=
ions here.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;ve poked around a bit in the code, but my el=
isp-fu is quite weak. I couldn&#8217;t find an easy way to pass a buffer na=
me in to org-agenda to be used, nor was it entirely clear to me how to modi=
fy org-agenda to grab &amp; respect the buffer name
 when rebuilding a &#8216;sticky&#8217; one.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<br>This message is intended for the sole use of the individual and entity =
to which it is addressed and may contain information that is privileged, co=
nfidential and exempt from disclosure under applicable law. If you are not =
the intended addressee, nor authorized to receive for the intended addresse=
e, you are hereby notified that you may not use, copy, disclose or distribu=
te to anyone the message or any information contained in the message. If yo=
u have received this message in error, please immediately advise the sender=
 by reply email and delete the message.&nbsp; Thank you.</body>
</html>

--_000_931fda3be08d4908bfbced55e9a9c170fcmailsvr2familycareinc_--