From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Fuchs Subject: Patch for problem with xemacs Date: Mon, 8 Dec 2008 22:47:36 +0100 Message-ID: <18749.38392.515694.572285@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Ssuq3BdISY" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9n08-0008Q5-2M for emacs-orgmode@gnu.org; Mon, 08 Dec 2008 15:46:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9n06-0008PM-IW for emacs-orgmode@gnu.org; Mon, 08 Dec 2008 15:46:43 -0500 Received: from [199.232.76.173] (port=44333 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9n06-0008PH-FX for emacs-orgmode@gnu.org; Mon, 08 Dec 2008 15:46:42 -0500 Received: from mail.gmx.net ([213.165.64.20]:38929) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L9n05-0004iz-Fi for emacs-orgmode@gnu.org; Mon, 08 Dec 2008 15:46:42 -0500 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: emacs-orgmode@gnu.org --Ssuq3BdISY Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Hi there! The function org-substring-no-properties is called in org-remember.el with one argument and defined with one plus two optional arguments. In case of xemacs the function delegates to substring which requires a non-optional second argument "from". The attached patch handles this. Greetings Thomas --Ssuq3BdISY Content-Type: application/octet-stream; name="patch" Content-Disposition: attachment; filename="patch" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3Avb3JnLWNvbXBhdC5lbCBiL2xpc3Avb3JnLWNvbXBhdC5lbAppbmRl eCAwOGY2NmZjLi4xOTdmY2JiIDEwMDY0NAotLS0gYS9saXNwL29yZy1jb21wYXQuZWwKKysrIGIv bGlzcC9vcmctY29tcGF0LmVsCkBAIC0yODQsNyArMjg0LDcgQEAgdGhhdCBjYW4gYmUgYWRkZWQu IgogCiAoZGVmdW4gb3JnLXN1YnN0cmluZy1uby1wcm9wZXJ0aWVzIChzdHJpbmcgJm9wdGlvbmFs IGZyb20gdG8pCiAgIChpZiAoZmVhdHVyZXAgJ3hlbWFjcykKLSAgICAgIChvcmctbm8tcHJvcGVy dGllcyAoc3Vic3RyaW5nIHN0cmluZyBmcm9tIHRvKSkKKyAgICAgIChvcmctbm8tcHJvcGVydGll cyAoc3Vic3RyaW5nIHN0cmluZyAoaWYgKGVxIGZyb20gbmlsKSAwIGZyb20pIHRvKSkKICAgICAo c3Vic3RyaW5nLW5vLXByb3BlcnRpZXMgc3RyaW5nIGZyb20gdG8pKSkKIAogKHByb3ZpZGUgJ29y Zy1jb21wYXQpCg== --Ssuq3BdISY Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Ssuq3BdISY--