From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [patch] Remove modeline if not org-clocking-p Date: Mon, 26 Apr 2010 06:42:27 +0200 Message-ID: References: <87vdbhpwdw.fsf@gmx.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6HE4-0002ud-IV for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:24 -0400 Received: from [140.186.70.92] (port=47058 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6HE0-0002rd-1U for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6HDv-0007Id-Sd for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:19 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:52229) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6HDv-0007I7-7F for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:15 -0400 Received: by mail-ew0-f214.google.com with SMTP id 6so4024262ewy.32 for ; Sun, 25 Apr 2010 22:51:14 -0700 (PDT) In-Reply-To: <87vdbhpwdw.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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). > > > > > > > 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