all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: TongKe Xue <tkxue@tkxue.org>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs + lispy + outline + elipsis NOT showing
Date: Thu, 4 Jan 2018 01:56:08 -0700	[thread overview]
Message-ID: <CAKmvt6L9xwd+DW9AJNbBR=C4a9_nJQQ8QTBTj3x1T_DyObUGpw@mail.gmail.com> (raw)
In-Reply-To: <CAKmvt6+KegK5b7qfAOkXoZ34VhLq66Cs-CsR+fZyy3NxMutrvA@mail.gmail.com>

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

Issue has been resolved -- "use yafolding" :-)

On Wed, Jan 3, 2018 at 11:06 PM, TongKe Xue <tkxue@tkxue.org> wrote:

> my lispy + outline config looks something like this:
>
> == begin snip ==
> (progn ;; * outline mode
>   (setq my-outline-regexp
> (concat "^(\\|\\(^\\s-*(" (regexp-opt '("progn " "def" "do ")) ".*\\)"))
>
>   ;; (setq outline-level 'my-outline-level)
>   ;; (setq outline-regexp my-outline-regexp)
>
>   (defun my-get-level (s) (length (car (split-string s "("))))
>
>   (defun my-outline-level ()
>     (save-excursion
>       (save-match-data
> (end-of-line)
> (if (re-search-backward my-outline-regexp nil t)
>     (+ 1 (my-get-level (match-string 0) ))
>   0))))
>   (add-hook 'lispy-mode-hook
>     (lambda ()
>       (setq-local outline-regexp my-outline-regexp)
>       (setq-local outline-level 'my-outline-level)))
>   )
>
> == end snip ==
>
> Now, when I ortg-cycle on the top level progn (see attached), the three
> images we get are:
>
> all closed
> partial open
> all open
>
> but notice: there is no ellipsis of "..." anywhere when the folds are
> "collapsed"
>
>
> Question: how do I debug this / how do I turn on "show ... when collapsed"
> ?
>
>
> ==== pre-emptikve answers:
>
> 1. What is org-ellipsis ? have you tried setting it?
>
> It is 'nil' which according to docs, defaults ot "..." ; I have tried setq
> and setq-local on it, nothing happens.
>
>
> ==== bounty / screen sharing help
>
> In case this is difficult to resolve over email and requires interaction /
> real time discussion:
>
> On two different freelancing sites, I have posted a $50 bounty for help
> resolving this.
>
> If anyone is willing to jump on video chat / screen sharing to help me
> debug this, I would be happy to pay $50 (via paypal) for a solution.
>
> This is payment for result, not for time -- so if you try to help me, but
> we can't resolve the issue, there will be no payment.
>
>
> Thanks,
> --TongKe
>
>
>
> [image: Inline image 6][image: Inline image 5][image: Inline image 4]
>

[-- Attachment #2: partial open.png --]
[-- Type: image/png, Size: 110253 bytes --]

[-- Attachment #3: all collapsed.png --]
[-- Type: image/png, Size: 80850 bytes --]

[-- Attachment #4: all open.png --]
[-- Type: image/png, Size: 139765 bytes --]

      reply	other threads:[~2018-01-04  8:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-04  6:06 emacs + lispy + outline + elipsis NOT showing TongKe Xue
2018-01-04  8:56 ` TongKe Xue [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

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

  git send-email \
    --in-reply-to='CAKmvt6L9xwd+DW9AJNbBR=C4a9_nJQQ8QTBTj3x1T_DyObUGpw@mail.gmail.com' \
    --to=tkxue@tkxue.org \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.