unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: daniel sutton <danielsutton01@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: Alexey Veretennikov <alexey.veretennikov@gmail.com>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package: loccur
Date: Wed, 30 Dec 2015 21:14:06 -0600	[thread overview]
Message-ID: <CAOLS0DNHSUK0GQUsUXgzBk+5_nHLzUtDT27a3CnZWc1C4YLSvA@mail.gmail.com> (raw)
In-Reply-To: <877fjvfoi3.fsf@mail.linkov.net>

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

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).
>
>

[-- Attachment #2: Type: text/html, Size: 1613 bytes --]

  reply	other threads:[~2015-12-31  3:14 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 [this message]
2015-12-31 12:49     ` Alexey Veretennikov

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAOLS0DNHSUK0GQUsUXgzBk+5_nHLzUtDT27a3CnZWc1C4YLSvA@mail.gmail.com \
    --to=danielsutton01@gmail.com \
    --cc=alexey.veretennikov@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).