unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rustom Mody <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: searching elisp on debian/ubuntu
Date: Fri, 25 Oct 2013 04:34:19 -0700 (PDT)	[thread overview]
Message-ID: <0217b185-f626-4d6c-afdb-38239b35f4d5@googlegroups.com> (raw)
In-Reply-To: <mailman.4678.1382692274.10748.help-gnu-emacs@gnu.org>

On Friday, October 25, 2013 2:40:52 PM UTC+5:30, Alex Bennée wrote:
> Rustom Mody wrote:
> 
> > [This is more about debian ubuntu than emacs]
> >
> > When looking for something in elisp on debian/ubuntu there is the
> > nuisance that the files are gzipped.  So Ive to do things like
> 
> What sort of things are you looking for?

eg Figure out how the function 'make-translation-table' is used in elisp
etc etc

> > find /usr/share/emacs/23.4/lisp *.gz|xargs zgrep <something>
> 
> 
> Everything in your site-lisp should be visible within emacs even if they
> are autoloaded functions to start with.


> 
> 
> > because zgrep unlike grep has no recursive flag
> 
> >
> 
> > I believe that there is some dpkg/apt flag that says keep the files
> > unzipped.
> 
> 
> Not really. The files are in the package in their gzipped form. They get
> processed by various scripts but essentially they are as they are.

Heres a small snippet of directories.

$ pwd
/usr/share/emacs/24.3/lisp

$ ls
abbrev.elc             foldout.elc           pcmpl-gnu.elc
abbrev.el.gz           foldout.el.gz         pcmpl-gnu.el.gz
align.elc              follow.elc            pcmpl-linux.elc
align.el.gz            follow.el.gz          pcmpl-linux.el.gz
allout.elc             font-core.elc         pcmpl-rpm.elc
allout.el.gz           font-core.el.gz       pcmpl-rpm.el.gz
allout-widgets.elc     font-lock.elc         pcmpl-unix.elc
allout-widgets.el.gz   font-lock.el.gz       pcmpl-unix.el.gz


As you can see all files are elc or gzipped el.

> 
> > Anyone know of it?
> 
> However auto-compression-mode is your friend. You can visit .gz files
> withing Emacs and it will automagically deal with gz files for you.

Oh emacs opens gzipped files alright, so I guess auto-compression is working.


  parent reply	other threads:[~2013-10-25 11:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25  3:11 searching elisp on debian/ubuntu Rustom Mody
2013-10-25  9:10 ` Alex Bennée
     [not found] ` <mailman.4678.1382692274.10748.help-gnu-emacs@gnu.org>
2013-10-25 11:34   ` Rustom Mody [this message]
2013-10-25 12:22     ` Alex Bennée
2013-10-25 17:38     ` Stefan Monnier
     [not found]     ` <mailman.4723.1382722719.10748.help-gnu-emacs@gnu.org>
2013-10-25 18:46       ` translation tables (was searching elisp on debian/ubuntu) Rustom Mody
2013-10-25 13:29 ` searching elisp on debian/ubuntu Michael Heerdegen
2013-10-25 14:44   ` Alex Bennée
2013-10-25 15:28     ` Drew Adams
2013-10-25 15:55 ` Bob Proulx
     [not found] ` <mailman.4721.1382716569.10748.help-gnu-emacs@gnu.org>
2013-10-25 16:53   ` Rustom Mody
2013-10-25 19:28     ` Bob Proulx

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=0217b185-f626-4d6c-afdb-38239b35f4d5@googlegroups.com \
    --to=rustompmody@gmail.com \
    --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.
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).