From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Limit agenda length Date: Thu, 05 Feb 2015 14:50:59 +0100 Message-ID: <87egq4a2m4.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJMpq-00055u-An for emacs-orgmode@gnu.org; Thu, 05 Feb 2015 08:51:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJMpm-0002Bj-Fw for emacs-orgmode@gnu.org; Thu, 05 Feb 2015 08:51:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:48729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJMpm-0002Bc-9N for emacs-orgmode@gnu.org; Thu, 05 Feb 2015 08:51:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YJMpk-0003Sc-KV for emacs-orgmode@gnu.org; Thu, 05 Feb 2015 14:51:04 +0100 Received: from tsn109-201-154-188.dyn.nltelcom.net ([109.201.154.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2015 14:51:04 +0100 Received: from rasmus by tsn109-201-154-188.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2015 14:51:04 +0100 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 Hi, I want to limit the length of each agenda line so that it does not exceed the window width (typically 72 chars or more). I tried something like (setcdr (assoc 'agenda org-agenda-prefix-format) " %-11i %?-12t %-10s") And other variants but the length argument to %s seems to be ignored (or I'm doing something wrong). Is it possible to limit the length of an aganda event? Otherwise I might try to make it possible to apply a function to agenda items, as I would like to limit the length in "complicated" ways... –Rasmus -- Hvor meget poesi tror De kommer ud af et glas isvand?