From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?koi8-r?B?5dfHxc7JyiDr1dLCwdTP1w==?= Subject: org-feed-update doesn't understand the file name of a target Org-file when it is not a constant Date: Fri, 17 Jun 2011 21:30:51 +0400 Message-ID: <1301421308331851@web3.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXcsk-0000N2-LT for emacs-orgmode@gnu.org; Fri, 17 Jun 2011 13:31:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXcsh-0005tg-WD for emacs-orgmode@gnu.org; Fri, 17 Jun 2011 13:30:58 -0400 Received: from forward17.mail.yandex.net ([95.108.253.142]:57536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXcsh-0005tP-3m for emacs-orgmode@gnu.org; Fri, 17 Jun 2011 13:30:55 -0400 Received: from web3.yandex.ru (web3.yandex.ru [95.108.252.103]) by forward17.mail.yandex.net (Yandex) with ESMTP id D7B1310614D0 for ; Fri, 17 Jun 2011 21:30:51 +0400 (MSD) Received: from localhost (localhost.localdomain [127.0.0.1]) by web3.yandex.ru (Yandex) with ESMTP id CD7C71FA838F for ; Fri, 17 Jun 2011 21:30:51 +0400 (MSD) 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 Hello! I do some elisp code to download the latest RSS feeds from some resource: (setq debug-on-error t) (org-mode) (org-feed-update '("arxiv" "http://export.arxiv.org/rss/astro-ph" (concat "~/org/arxiv-" (format-time-string "%Y-%m-%d.org")) "arXiv.org" ) ) The goal is to get an unique Org file for feeds per day. However, the error is rising: Debugger entered--Lisp error: (wrong-type-argument stringp (concat "~/org/arxiv-" (format-time-string "%Y-%m-%d.org"))) expand-file-name((concat "~/org/arxiv-" (format-time-string "%Y-%m-%d.org"))) find-file-noselect((concat "~/org/arxiv-" (format-time-string "%Y-%m-%d.org")) nil nil nil) find-file((concat "~/org/arxiv-" (format-time-string "%Y-%m-%d.org"))) org-feed-goto-inbox-internal((concat "~/org/arxiv-" (format-time-string "%Y-%m-%d.org")) "arXiv.org") byte-code("\306 \"\307\n\"\310\311 \"\211\312+\211,\203] When I hardcode a string instead of (concat ...) everything is ok. The subject is also not in format-time-string, it is exactly in concat. The type returned by concat is the stringp, so the situation is very strange. I also tried to use org-feed-alist, and local variable instead of calling concat, nothing helps. Regards, Evgeny