From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.devel Subject: Problem with diary-header-line-format Date: Fri, 06 Aug 2010 21:31:19 +0200 Message-ID: <87pqxvh720.fsf@newton.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281125306 19111 80.91.229.12 (6 Aug 2010 20:08:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2010 20:08:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 06 22:08:24 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OhTDL-00016s-F8 for ged-emacs-devel@m.gmane.org; Fri, 06 Aug 2010 22:08:23 +0200 Original-Received: from localhost ([127.0.0.1]:50054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhTDK-0001xV-RB for ged-emacs-devel@m.gmane.org; Fri, 06 Aug 2010 16:08:22 -0400 Original-Received: from [140.186.70.92] (port=35444 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhTDC-0001xK-WE for emacs-devel@gnu.org; Fri, 06 Aug 2010 16:08:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhTDB-0004be-Sh for emacs-devel@gnu.org; Fri, 06 Aug 2010 16:08:14 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:36397) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhTDB-0004bT-Jx for emacs-devel@gnu.org; Fri, 06 Aug 2010 16:08:13 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OhTD9-00012B-Vz for emacs-devel@gnu.org; Fri, 06 Aug 2010 22:08:11 +0200 Original-Received: from 203.red-88-6-160.staticip.rima-tde.net ([88.6.160.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Aug 2010 22:08:11 +0200 Original-Received: from jao by 203.red-88-6-160.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Aug 2010 22:08:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 203.red-88-6-160.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Attribution: jao X-URL: Cancel-Lock: sha1:M3LtAV2KQDwLhZsE2jJr4P6REAw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128409 Archived-At: Hi, Currently, the default value of diary-header-line-format is (:eval (calendar-string-spread (list (if diary-selective-display "Some text is hidden - press \"s\" in calendar before edit/copy" "Diary")) 32 (frame-width))) Note the call to frame-width: that makes the text in the header line of diary buffers in windows narrower than the frame to be cut (and aligned to the right). I've fixed this by using window-width instead of frame-width, and i was wondering whether this should be in fact the default (i don't see any situation where window-width would misbehave in the way frame-width does). Cheers, jao -- One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision. -- Bertrand Russell