From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Myer Subject: Custom Agenda with Tag search for multiple items ( \\ Between search terms) fails push Date: Sat, 12 Jan 2013 08:18:59 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f3b9b5745950d04d31741df Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu0zN-0002xZ-8v for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 08:19:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tu0zF-000052-QQ for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 08:19:09 -0500 Received: from mail-ia0-f169.google.com ([209.85.210.169]:44659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu0zF-00004t-M9 for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 08:19:01 -0500 Received: by mail-ia0-f169.google.com with SMTP id j5so223203iaf.28 for ; Sat, 12 Jan 2013 05:18:59 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 --e89a8f3b9b5745950d04d31741df Content-Type: text/plain; charset=ISO-8859-1 I have a custom agenda item in my .emacs file that is for a Tags search for multiple items as follows (not the whole thing just the bit that is giving me trouble): "E" "Items Tagged for the Engineering Staff" tags "{Allen\\|Dave\\|JimD\\|Heming\\|Paul\\|EdM}-TODO=\"DONE\"" When doing an org-mobile- push, I end up getting the following message: org-mobile-write-agenda-for-mobile: Invalid use of `\' in replacement text The problem appears to be the double back slashes confirmed by replacing \\ with \ and not having the error on push. The problem is that the agenda item does not work correctly without the double backslashes. I am not an expert with Emacs/Org-mode customization so if I have overlooked something obvious, please feel free to point me in the right direction to learn more about how to correct on my own. Was running GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) Updated to 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2013-01-11 Was Using Org-mode version 6.33x updated to Org-mode version 7.9.3a with no change. --e89a8f3b9b5745950d04d31741df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I have a custom agenda item in my .emacs file that is= for a Tags search for multiple items as follows (not the whole thing just = the bit that is giving me trouble):=A0

"E" "Items Ta= gged for the Engineering Staff" tags "{Allen\\|Dave\\|JimD\\|Hemi= ng\\|Paul\\|EdM}-TODO=3D\"DONE\""

When doing an org-mobile- push, I end up getting the following message:=

org-mobile-write-agenda-for-mobile: Invalid use of `\' in repla= cement text

The problem appears to be the double back slashes confir= med by=A0 replacing=A0 \\ with \ and not having the error on push. The prob= lem is that the agenda item does not work correctly without the double back= slashes.

I am not an expert with Emacs/Org-mode customization so if I have= overlooked something obvious, please feel free to point me in the right di= rection to learn more about how to correct on my own.

Was runn= ing GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) Updated to= 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2013-01-11
Was Using=A0 Org-mode version 6.33x updated to Org-mode version 7.9.3a = with no change.
--e89a8f3b9b5745950d04d31741df--