From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Carsten Dominik" Subject: Re: Re: my remember templates do not work anymore in 5.16 Date: Mon, 3 Dec 2007 20:06:04 +0100 Message-ID: References: <20071203162607.GB16484@yog-sothoth.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzGcI-0002lc-OZ for emacs-orgmode@gnu.org; Mon, 03 Dec 2007 14:06:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzGcI-0002lQ-7i for emacs-orgmode@gnu.org; Mon, 03 Dec 2007 14:06:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzGcI-0002lN-2e for emacs-orgmode@gnu.org; Mon, 03 Dec 2007 14:06:06 -0500 Received: from wa-out-1112.google.com ([209.85.146.176]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzGcH-0002ed-KS for emacs-orgmode@gnu.org; Mon, 03 Dec 2007 14:06:05 -0500 Received: by wa-out-1112.google.com with SMTP id k34so5553051wah for ; Mon, 03 Dec 2007 11:06:04 -0800 (PST) In-Reply-To: <20071203162607.GB16484@yog-sothoth.internal> Content-Disposition: inline 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: James TD Smith Cc: emacs-orgmode@gnu.org On 12/3/07, James TD Smith wrote: > On 2007-12-03 15:20:17(+0100), Rainer Stengele wrote: > > Hi Carsten, thanks for the ultra fast answer but I still ghet this: > > > > org-remember-apply-template: Wrong type argument: symbolp, (quote x-last-selected-text) > > > > Rainer > > What version of emacs are you using? I forgot to test the patch I submitted on XEmacs. > > Unless Carsten wants to try and get my X clipboard code working, I suggest the > relevant lines in org-remember be changed to > (v-c (if (> (length kill-ring) 0) (current-kill 0) nil)) > and I'll try to come up with something which doesn't break. I believe that 5.16b works again. But I am not totally sure it will still do what you meant it to do, and I am very sure that it will not do that under XEmacs, because it does not seem to have those x-... variables. I don't know much about the clipboard stuff, so I'd appreciate very much if you could take a look at the modified code and make sure that it works, also under XEmacs. Thanks! - Carsten