help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toggle appointment notification


From: pietru
Subject: Re: Toggle appointment notification
Date: Wed, 2 Dec 2020 18:46:52 +0100

I wonder if there exists something that removes the load information that
appears next to the time.


> Sent: Wednesday, December 02, 2020 at 6:39 PM
> From: pietru@caramail.com
> To: pietru@caramail.com
> Cc: "Michael Heerdegen" <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
> Subject: Re: Toggle appointment notification
>
>
> Have done as below, but the appt notification and the date/time
> get too close together (touching with no spacing).
>
> (defun diary-style ()
>   (interactive)
>
>   (make-local-variable 'mode-line-position)
>   (make-local-variable 'line-number-mode)
>   (make-local-variable 'column-number-mode)
>   (make-local-variable 'mode-line-modes)
>
>   ;; (make-local-variable 'display-time)
>   (make-local-variable 'display-time-day-and-date)
>
>   (display-time)
>   (setq display-time-day-and-date t)
>   (setq mode-line-position nil)
>   (setq line-number-mode nil)
>   (setq column-number-mode nil)
>   (setq mode-line-modes nil)
> )
>
>
>
>
> > Sent: Wednesday, December 02, 2020 at 4:58 PM
> > From: pietru@caramail.com
> > To: "Michael Heerdegen" <michael_heerdegen@web.de>
> > Cc: help-gnu-emacs@gnu.org
> > Subject: Re: Toggle appointment notification
> >
> > > Sent: Wednesday, December 02, 2020 at 4:47 PM
> > > From: "Michael Heerdegen" <michael_heerdegen@web.de>
> > > To: help-gnu-emacs@gnu.org
> > > Subject: Re: Toggle appointment notification
> > >
> > > pietru@caramail.com writes:
> > >
> > > > And if I also have notification enabled, the problem gets even
> > > > worse.  Looks like one has to also do the same for every major
> > > > mode.  Seems to be a complicated thing to do.  I could simply
> > > > have an emacs session used only for appointment notification.
> > >
> > > There are different solutions to make the mode-line less wordy.  But you
> > > could also just move the notification to a more prominent (or further
> > > ahead) place in the mode-line.  Which way would you prefer?
> >
> > I think I better try them out to see.   But moving the notification to a
> > more prominent (or further ahead) place in the mode-line is interesting.
> >
> > Don't want to take too much of your time though.
> >
> > > Michael.
> > >
> > >
> > >
> >
> >
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]