emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Russell Adams <RLAdams@AdamsInfoServ.Com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Status line change?
Date: Thu, 22 Jun 2017 21:36:13 -0400	[thread overview]
Message-ID: <87a84z7aeq.fsf@kyleam.com> (raw)
In-Reply-To: <87d19v7bb9.fsf@kyleam.com>

Kyle Meyer <kyle@kyleam.com> writes:

> That change seems to have unintentionally reversed the visibility check,
> which should be
>
> -- >8 --
> diff --git a/lisp/org.el b/lisp/org.el
> index 1e6d00973..d9b6489ff 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -12681,7 +12681,7 @@ (defun org-todo (&optional arg)
>  	    (replace-match next t t)
>  	    (cond ((equal this org-state)
>  		   (message "TODO state was already %s" (org-trim next)))
> -		  ((pos-visible-in-window-p hl-pos)
> +		  ((not (pos-visible-in-window-p hl-pos))
>  		   (message "TODO state changed to %s" (org-trim next))))
>  	    (unless head
>  	      (setq head (org-get-todo-sequence-head org-state)

Pushed (1930a8f05ac3c09b6366491c076a3efde2f2205d).

-- 
Kyle

      reply	other threads:[~2017-06-23  1:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-22 23:39 Status line change? Russell Adams
2017-06-23  0:27 ` Kyle Meyer
2017-06-23  0:53   ` Russell Adams
2017-06-23  1:16     ` Kyle Meyer
2017-06-23  1:36       ` Kyle Meyer [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87a84z7aeq.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=RLAdams@AdamsInfoServ.Com \
    --cc=emacs-orgmode@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 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).