From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Wittern Subject: problem with org-remember Date: Sat, 6 Mar 2010 11:40:30 +0900 Message-ID: <5268d87d1003051840h169d6b98p1a66121e80427e82@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NnjwP-0005PO-MX for emacs-orgmode@gnu.org; Fri, 05 Mar 2010 21:40:33 -0500 Received: from [140.186.70.92] (port=42896 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnjwP-0005PE-0r for emacs-orgmode@gnu.org; Fri, 05 Mar 2010 21:40:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NnjwO-0008Ns-7y for emacs-orgmode@gnu.org; Fri, 05 Mar 2010 21:40:32 -0500 Received: from mail-qy0-f179.google.com ([209.85.221.179]:35218) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnjwO-0008Ni-5K for emacs-orgmode@gnu.org; Fri, 05 Mar 2010 21:40:32 -0500 Received: by qyk9 with SMTP id 9so3333902qyk.5 for ; Fri, 05 Mar 2010 18:40:30 -0800 (PST) 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 Hi there, Today I stumbled over a strange problem, to which I did not found a solution. I am using Emacs 23 on Mac OS X and on Ubuntu (9.10) with a nearly identical setup (thanks Dropbox!). On the Mac machines, remembering with org-remember works wonderful and makes me happy; but on the Ubuntu side, I am running in an error "wrong-number-of arguments", which can be traced to the following call (org-remember-mode 1) in this form: ;; Turn on org-mode in the remember buffer, set local variables (let ((org-inhibit-startup t)) (org-mode) (org-remember-mode 1)) (if (and file (string-match "\\S-" file) (not (file-directory-p file))) (org-set-local 'org-default-notes-file file)) --- (this starts on line 543 in the current version of this morning) The call itself looks unsuspicious to my inexperienced I and I have now idea why Emacs would complain about it in Ubuntu and not in Mac (there is a very slight difference of about two weeks between compiling them), so I really have no idea what went wrong and how to fix it. As always, any help appreciated, Christian -- Christian Wittern, Kyoto