From: Oleh <ohwoeowho@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: Screencast of lispy.el with org-mode code base
Date: Fri, 14 Mar 2014 15:38:57 +0100 [thread overview]
Message-ID: <CAA01p3qo4pY0MvnUc4FxPTKO_icy+mJsigbR=+u_B628BuY=Yg@mail.gmail.com> (raw)
In-Reply-To: <87wqfxows5.fsf@bzg.ath.cx>
>> The package provides a key binding method that can work effectively
>> only for a Lisp-like language: Elisp, Scheme, Common Lisp and Clojure
>> all fit here.
>
> I better understand the name then.
>
> Looks like quite a big project already.
Yes, it's my biggest yet.
> Each time I tried paredit, I could not stand it for more than
> a few minutes, I've not been patient so far, especially since
> `electric-pair-mode' is now on by default and does 90% of what
> I need.
That's how I've started to write lispy: with 3 functions for inserting
pairs and a re-bind of `forward-list`/`backward-list` to "]"/"[".
> But I may look at other solutions than paredit (being conscious
> your librarie goes far beyond that.)
Sure. Not everyone likes paredit (at first:). That's why each locally
bound function in lispy is constructed from a regular interactive
function: so you can use them without turning on the minor mode.
But somehow paredit together with other powerful tools becomes more
than the sum of its parts: paredit + multiple-cursors allows easy
refactors of repeated information, lispy store region + ediff makes
for easier and faster diffs, and lispy narrowing + ace-jump-mode
symbol selection + iedit allows to rename variables faster.
And of course it's nice to keep some specialty tools handy:
`lispy-multiline` ("M") may not seem like much, but it's great after a
`macroexpand-all`.
And look at `lispy-flatten` ("xf"):
|(org-defkey org-mode-map [(meta up)] 'org-metaup)
->
|(define-key org-mode-map (org-key [(meta up)]) 'org-metaup)
Nifty, right?
regards,
Oleh
next prev parent reply other threads:[~2014-03-14 14:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-17 14:11 Screencast of lispy.el with org-mode code base Oleh
2014-03-04 9:32 ` Bastien
2014-03-04 11:46 ` Oleh
2014-03-04 14:02 ` Sebastien Vauban
2014-03-04 14:20 ` Oleh
2014-03-14 11:16 ` Bastien
2014-03-14 14:38 ` Oleh [this message]
2014-03-14 14:56 ` Bastien
2014-03-15 10:17 ` Marcin Borkowski
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='CAA01p3qo4pY0MvnUc4FxPTKO_icy+mJsigbR=+u_B628BuY=Yg@mail.gmail.com' \
--to=ohwoeowho@gmail.com \
--cc=bzg@gnu.org \
--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).