emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Charles C. Berry" <ccberry@ucsd.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Visibility cycling at end of headline
Date: Sat, 25 Apr 2015 09:13:08 +0200	[thread overview]
Message-ID: <87tww4brzv.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <alpine.OSX.2.00.1504241031280.587@charles-berrys-macbook.local> (Charles C. Berry's message of "Fri, 24 Apr 2015 10:37:23 -0700")

Hello,

"Charles C. Berry" <ccberry@ucsd.edu> writes:

> This change in org-cycle line 131 seems to have the desired effect:
>
> --- 128,134 ---- Original
>
>          ;; At an item/headline: delegate to `org-cycle-internal-local'.
>          ((and (or (and org-cycle-include-plain-lists (org-at-item-p))
> ! 		 (save-excursion (beginning-of-line 1)
>   				 (looking-at org-outline-regexp)))
>   	     (or (bolp) (not (eq org-cycle-emulate-tab 'exc-hl-bol))))
>   	(org-cycle-internal-local))
> *** 128,134 **** NEW
>
>          ;; At an item/headline: delegate to `org-cycle-internal-local'.
>          ((and (or (and org-cycle-include-plain-lists (org-at-item-p))
> ! 		 (save-excursion (move-beginning-of-line 1)
>   				 (looking-at org-outline-regexp)))
>   	     (or (bolp) (not (eq org-cycle-emulate-tab 'exc-hl-bol))))
>   	(org-cycle-internal-local))
>
> Caveat: I've not run this thru make test.

It should work indeed. Can you wrap it into an appropriate patch and
commit it?

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2015-04-25  7:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24  2:23 Visibility cycling at end of headline Nikolaus Rath
2015-04-24  2:35 ` Kyle Meyer
2015-04-24  4:59   ` Nikolaus Rath
2015-04-24  7:34     ` Eric S Fraga
2015-04-24 17:37       ` Charles C. Berry
2015-04-25  7:13         ` Nicolas Goaziou [this message]
2015-04-25 18:28           ` Charles C. Berry
2015-04-25 22:11             ` Nicolas Goaziou
2015-04-25  9:06         ` Eric S Fraga

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=87tww4brzv.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=ccberry@ucsd.edu \
    --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).