[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Lisp Programming Questions
From: |
mdj |
Subject: |
Re: Emacs Lisp Programming Questions |
Date: |
Wed, 7 Oct 2009 00:53:12 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Oct 7, 8:40 am, "clint.laskowski" <clint.laskow...@gmail.com>
wrote:
> BUT, I do not want the answer to this problem (i.e., I don't want an
> Elisp answer) ... I want hints on how to program it. I want to learn
> the answer myself, if possible.
My own (lazy) solution to this problem is to use the elisp function
shell-command-on-region to invoke the unix command 'uniq' which
implements the logic you want. Whether or not you consider this a
sufficiently 'emacsy' solution depends on your personal prejudices,
but it does have the advantage of being whipped up in a few seconds
with a quick lambda of the aforementioned function onto a global-set-
key
Matt
- Emacs Lisp Programming Questions, clint.laskowski, 2009/10/06
- Re: Emacs Lisp Programming Questions, Pascal J. Bourguignon, 2009/10/06
- Re: Emacs Lisp Programming Questions, David Kastrup, 2009/10/07
- Re: Emacs Lisp Programming Questions, djc, 2009/10/07
- Re: Emacs Lisp Programming Questions, Kevin Rodgers, 2009/10/07
- Re: Emacs Lisp Programming Questions,
mdj <=
- Re: Emacs Lisp Programming Questions, Xah Lee, 2009/10/07
- Re: Emacs Lisp Programming Questions, clint.laskowski, 2009/10/08