emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [patch] Remove modeline if not org-clocking-p
@ 2010-04-23 23:44 Sebastian Rose
  2010-04-26  4:42 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Rose @ 2010-04-23 23:44 UTC (permalink / raw)
  To: Emacs-orgmode mailing list

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

Hi Carsten and the Orgers,


I had this mode line entry now since I created that example file for
lists two (?) days ago.

As I accidentally removed the clocking information by hand, the clock
was gone. Somehow, I was clocked out anyway (`C-c C-x C-o'), but the
modeline string remained. No matter how hard I tried - I only got the
error message.

This patch removes the clock-entry from the modeline, if (not
org-clocking-p).




[-- Attachment #2: Type: application/emacs-lisp, Size: 1442 bytes --]

[-- Attachment #3: Type: text/plain, Size: 29 bytes --]




Best wishes

   Sebastian

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] Remove modeline if not org-clocking-p
  2010-04-23 23:44 [patch] Remove modeline if not org-clocking-p Sebastian Rose
@ 2010-04-26  4:42 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-04-26  4:42 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: Emacs-orgmode mailing list

Applied, thanks.

- Carsten

On Apr 24, 2010, at 1:44 AM, Sebastian Rose wrote:

> Hi Carsten and the Orgers,
>
>
> I had this mode line entry now since I created that example file for
> lists two (?) days ago.
>
> As I accidentally removed the clocking information by hand, the clock
> was gone. Somehow, I was clocked out anyway (`C-c C-x C-o'), but the
> modeline string remained. No matter how hard I tried - I only got the
> error message.
>
> This patch removes the clock-entry from the modeline, if (not
> org-clocking-p).
>
>
>
> <mime-attachment>
>
>
> Best wishes
>
>   Sebastian
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-26  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 23:44 [patch] Remove modeline if not org-clocking-p Sebastian Rose
2010-04-26  4:42 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).