From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matthias Pfeifer Newsgroups: gmane.emacs.help Subject: Re: How to use code from solar.el Date: Fri, 25 Nov 2016 14:31:12 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1480080719 4467 195.159.176.226 (25 Nov 2016 13:31:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2016 13:31:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 25 14:31:55 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cAGbb-0000R6-C7 for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Nov 2016 14:31:55 +0100 Original-Received: from localhost ([::1]:46106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAGbe-000752-Vj for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Nov 2016 08:31:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAGax-0006te-Ae for help-gnu-emacs@gnu.org; Fri, 25 Nov 2016 08:31:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAGaw-0003Z8-DP for help-gnu-emacs@gnu.org; Fri, 25 Nov 2016 08:31:15 -0500 Original-Received: from mail-ua0-x229.google.com ([2607:f8b0:400c:c08::229]:35866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cAGaw-0003Z1-8K for help-gnu-emacs@gnu.org; Fri, 25 Nov 2016 08:31:14 -0500 Original-Received: by mail-ua0-x229.google.com with SMTP id b35so77300155uaa.3 for ; Fri, 25 Nov 2016 05:31:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=4QHhonacuea+HS7iHm/mVUdw71PqRB8KhTtnXdQ5e1I=; b=URlVbbbfjJvMmMO/L1Gr9Xv4UT67bLYXImt7ti0Biys75VRejPLGpTiOIwL1WCn/km wgFbUUXIcZ5nJYCDOo32UrGZqQmuH2YvMr8CNZZlozNr5FUHqZMVS2vZEcPMny777koT EsruENyNZc+auPcJGjrkcwR8YeLWOpiJhWFx4FYS32LFg3nQqhK6pSZoAGJL4uqUURJU 2Orj8yLXWuYEk6OQ39aRwLetLbFRH3y09+dt2CkmIws+zCqC8sLJQf2CancmWcThAP0Y DWJSH3Dn7VwoyMunAVzF7uLdRgmBGi1o7YrELFUgG0g2UDRQS6GhiO3fsRL+zrdfcSWX UHIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4QHhonacuea+HS7iHm/mVUdw71PqRB8KhTtnXdQ5e1I=; b=XF3qEjpg5NpCEG1ecnShIiSqDoSYKGXa90xOEv41XHPlJzG6kt7bd0FNEtTEAbqd5y yScgDV3qothmbKgmY/VzfGyZeDvoGBQ8H5HzJQ0fRaGHAQJ45Ob6YIc7/Y6KeYX8ztWe DiWoej9v+hJIfIFyWXNLyj3NbG8UNZPy9UgK/6LNbz85C2dFUs7nlZcC2Ae8vP8oDwKq 7izFjDmUeJs6XjERJ/Ko0MspGI5IzmvxDwVllTSiLgYTs+caHImLhOeUVY/8yLhHqPQV AsqP9HgL53W91R0phMM/E67EBBfHDWiFJwrc7SekqkVmvtCGV50stzP071N5dQUvy0n1 jbGg== X-Gm-Message-State: AKaTC02t9hR3h1lO3QnsNEwJq3PKRvygxxhtgiPAJutqzZPHifjk6MG3HJ4F3tJSx4sBf7cLbc07KPNPtLpzug== X-Received: by 10.159.40.231 with SMTP id d94mr5870738uad.122.1480080673296; Fri, 25 Nov 2016 05:31:13 -0800 (PST) Original-Received: by 10.103.74.217 with HTTP; Fri, 25 Nov 2016 05:31:12 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c08::229 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111803 Archived-At: > The error is raised because the value of the variable calendar-longitude > is nil. Both this variable and also calendar-latitude need to be set > before your function above is invoked. One way to do that is with `M-x > customize-option' and making sure your customizations are evaluated > before mp:sunrise-sunset-for-modeline is invoked in your init file. > Steve Berman Thank you. That was exactly the issue! Matthias