From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: What's wrong with this elisp code? Date: Fri, 04 Aug 2006 15:39:21 -0400 Message-ID: <44D3A269.5070909@speakeasy.net> References: <44D233E1.6060900@speakeasy.net> <44D24F39.5080607@speakeasy.net> <52A05EBB-9A5D-48C9-8A2A-553908FD097E@Web.DE> <44D25BD4.7040006@speakeasy.net> <44D327DF.6090500@speakeasy.net> <1FC085D0-7196-4146-ABAE-1C4815191D9D@Web.DE> Reply-To: gebser@speakeasy.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1154720398 11666 80.91.229.2 (4 Aug 2006 19:39:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 19:39:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 04 21:39:55 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G95WL-0001mO-3d for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Aug 2006 21:39:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G95WK-0004Ge-H8 for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Aug 2006 15:39:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G95W7-0004G4-8H for help-gnu-emacs@gnu.org; Fri, 04 Aug 2006 15:39:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G95W5-0004Fm-Nb for help-gnu-emacs@gnu.org; Fri, 04 Aug 2006 15:39:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G95W5-0004Fj-Ix for help-gnu-emacs@gnu.org; Fri, 04 Aug 2006 15:39:29 -0400 Original-Received: from [69.17.117.3] (helo=mail1.sea5.speakeasy.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G95Zi-0007fV-9q for help-gnu-emacs@gnu.org; Fri, 04 Aug 2006 15:43:14 -0400 Original-Received: (qmail 10653 invoked from network); 4 Aug 2006 19:39:27 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO [192.168.0.27]) (gebser@[66.93.11.17]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 4 Aug 2006 19:39:27 -0000 User-Agent: Thunderbird 1.5.0.5 (X11/20060725) Original-To: GNU Emacs List In-Reply-To: <1FC085D0-7196-4146-ABAE-1C4815191D9D@Web.DE> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36495 Archived-At: Peter Dyballa wrote: > > Am 04.08.2006 um 12:56 schrieb ken: > >> This is the only instance of "(defvar diary-entries-list)" in the entire >> subdirectory. Could this variable be declared some other way, other >> than an explicit "defvar"? > > No, there is without any clause a defvar instance in diary-lib.el. I'm glad computers can do text searches. Otherwise I'd be thinking myself crazy. After reading through diary-lib.el several times, I just searched for "defvar diary-entries-list" and this computer agrees with my eyes and brain-- it's not there. I'm using emacs version 2.3.1. Is there some other way that this variable could be defined other than with defvar? >> Another person who responded said he's thinking that this variable is >> only declared within functions, so not available for my use. > > I can't tell. I do not programme so much in Elisp. Could be the author > or the maintainer of calendar can help more. Have you read the *info* > node on Calendar? Yes, though-- at least in the emacs section of info-- it's not at all helpful here, focussing on *using* the diary/calendar functions already available. >> In an earlier email you mentioned emacs find. If that would help in >> this situation, could you point me to documentation of it. I'd be more >> than willing to give that a try. > > The "grep-find" command (sorry that I did not give the right name > before!) in GNU Emacs is a young feature. It it in CVS versions of GNU > Emacs, could be in 21.4 also, but I do not have it. It does a "find . > -type f" with a grep for some argument(s) in the found files, output is > put into a buffer with hypertext features, i.e. clicking on the file > names opens them in another buffer. I ran this command yesterday and > found diary-entries-list in diary-lib.el. And this seems to be the origin. Thanks for the clarification. I'm already quite conversant with grep and find and other tools available on Linux; plus, I already do so much in emacs, typically having three or more frames and dozens of files open simultaneously, that I'd rather perform those functions from the command line rather than from within emacs. So if there's no additional benefit to using grep-find in emacs, it would be more efficient and comfortable for me to work as I currently do. Thanks much for your kindness, ken > > -- > Greetings > > Pete > > Ce qui été compris n'existe plus. (Paul Eluard)