From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: Re: searching elisp on debian/ubuntu Date: Fri, 25 Oct 2013 04:34:19 -0700 (PDT) Message-ID: <0217b185-f626-4d6c-afdb-38239b35f4d5@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382700921 26484 80.91.229.3 (25 Oct 2013 11:35:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2013 11:35:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 25 13:35:24 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZffm-0001WP-SM for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 13:35:22 +0200 Original-Received: from localhost ([::1]:58660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZffl-0003gI-Tt for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 07:35:21 -0400 X-Received: by 10.58.204.2 with SMTP id ku2mr2609790vec.39.1382700859953; Fri, 25 Oct 2013 04:34:19 -0700 (PDT) X-Received: by 10.50.66.101 with SMTP id e5mr38707igt.12.1382700859665; Fri, 25 Oct 2013 04:34:19 -0700 (PDT) Original-Path: usenet.stanford.edu!i2no33345415qav.0!news-out.google.com!z6ni91518pbu.0!nntp.google.com!i2no33345403qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.32.167; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.32.167 User-Agent: G2/1.0 Injection-Date: Fri, 25 Oct 2013 11:34:19 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:201940 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94208 Archived-At: On Friday, October 25, 2013 2:40:52 PM UTC+5:30, Alex Benn=E9e wrote: > Rustom Mody wrote: >=20 > > [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 >=20 > 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 >=20 >=20 > Everything in your site-lisp should be visible within emacs even if they > are autoloaded functions to start with. >=20 >=20 > > because zgrep unlike grep has no recursive flag >=20 > > >=20 > > I believe that there is some dpkg/apt flag that says keep the files > > unzipped. >=20 >=20 > 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. >=20 > > Anyone know of it? >=20 > 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 workin= g.