all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Daily Diary Display in Emacs emacs24	24.4+1-5
Date: Fri, 23 Oct 2015 22:44:11 +0200	[thread overview]
Message-ID: <874mhhb9ic.fsf@debian.uxu> (raw)
In-Reply-To: 20151023102409.76785eec@jhegaala.localdomain

Charles Curley <charlescurley@charlescurley.com>
writes:

> I have emacs24, 24.4+1-5 on Debian 8.2 jessie.
> In the past (e.g. emacs 23.4+1-4 on debian 7.x,
> wheezy), I have had emacs re-display my diary every
> day automatically. This capability does not seem to
> work on this version of emacs.
>
> Relevant portions of my .emacs ...

That code is very disorganized. Try to clean it up.
Consider moving it all to file of its own, e.g.,
my-calendar.el and then `load' it from .emacs.

You don't mention which part of the code doesn't work
- as for me, I don't even have a "system-is-desktop"
function, which is the first line of your code - I'm
on

    GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+
    Version 3.14.5) of 2015-03-07 on trouble, modified
    by Debian

but it might be a package thing rather.

Anyway, what is it that you want to happen? You write
"I have had emacs re-display my diary every day
automatically." Literally, that sounds like you have
Emacs on 24/7 and you want it to automatically update
the diary every 24 hours. But more likely (since you
mention "desktop") you want Emacs to bring up the
diary on startup. Or? Which is it?

In general, instead relying on such wild-west code, do
what you want interactively, with M-x (and shortcuts),
then, when you get it to work, replicate what you just
did in code. It shouldn't be like several pages!
Keep configuration (settings, usually `setq') and
behavior (functions, i.e. `defun's) apart.

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2015-10-23 20:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23 16:24 Daily Diary Display in Emacs emacs24 24.4+1-5 Charles Curley
2015-10-23 20:44 ` Emanuel Berg [this message]
2015-10-23 22:11   ` Charles Curley
2015-10-24  0:20     ` Emanuel Berg
2015-10-24  0:28 ` John Mastro
2015-10-24 15:44 ` Stephen Berman
2015-10-24 17:48 ` Charles Curley
2015-10-26 22:44   ` Charles Curley
2015-10-27  0:11     ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874mhhb9ic.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.