all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexey Veretennikov <alexey.veretennikov@gmail.com>
To: daniel sutton <danielsutton01@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>, Juri Linkov <juri@linkov.net>
Subject: Re: [ELPA] New package: loccur
Date: Thu, 31 Dec 2015 13:49:42 +0100	[thread overview]
Message-ID: <m2twmysryx.fsf@gmail.com> (raw)
In-Reply-To: <CAOLS0DNHSUK0GQUsUXgzBk+5_nHLzUtDT27a3CnZWc1C4YLSvA@mail.gmail.com> (daniel sutton's message of "Wed, 30 Dec 2015 21:14:06 -0600")

daniel sutton <danielsutton01@gmail.com> writes:
Hi,

Thanks for noticing this. It is a redundant code (ovl-start) of course
and I've just removed it.

> hi. had a question about the code.
>
> I'm not familiar with this notation and was wondering if anyone could chime in
> with an explanation:
> (define-key global-map [(control o)] 'loccur-current)
>
> and then you have the following line
> (let ((ovl-start (if (= prev-end 1) 1 prev-end))...)
> where it seems like ovl-start is always equal to prev-end?
>
> Just trying t ounderstand these parts but otherwise the package looks amazing
> and I've already incorporated it into my emacs. thanks so much for sharing
>
> On Wed, Dec 30, 2015 at 6:30 PM, Juri Linkov <juri@linkov.net> wrote:
>
>     > I would like to contribute my package loccur
>     > (https://github.com/fourier/loccur) to the GNU ELPA. It is basically
>     > something in between keep-lines and occur: provides the same
>     > functionality as occur but without creating a new buffer/window.
>     
>     A better analogy to describe your package is narrowing
>     to non-contiguous regions with boundaries of matching lines
>     (not sure wherether this feature should be added into core).
>     
>     
>
>

-- 
Br,
/Alexey



      reply	other threads:[~2015-12-31 12:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 21:08 [ELPA] New package: loccur Alexey Veretennikov
2015-12-30 21:10 ` John Wiegley
2015-12-30 23:27   ` Alexey Veretennikov
2015-12-30 21:22 ` Marcin Borkowski
2015-12-30 21:29   ` John Wiegley
2015-12-30 21:32     ` Lars Magne Ingebrigtsen
2015-12-30 21:39       ` John Wiegley
2015-12-30 22:41         ` Artur Malabarba
2015-12-31  0:20           ` John Wiegley
2015-12-31  5:57     ` CHENG Gao
2015-12-31  8:49       ` Michael Albinus
2015-12-31  9:36         ` CHENG Gao
2015-12-31 14:38         ` Rasmus
2015-12-31  0:30 ` Juri Linkov
2015-12-31  3:14   ` daniel sutton
2015-12-31 12:49     ` Alexey Veretennikov [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=m2twmysryx.fsf@gmail.com \
    --to=alexey.veretennikov@gmail.com \
    --cc=danielsutton01@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /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.