From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.help Subject: Re: Anyone knows how to do dvd/book collection management in Emacs? Date: Tue, 03 Apr 2007 00:49:35 +0800 Organization: cyberhut.org Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1175532624 19716 80.91.229.12 (2 Apr 2007 16:50:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2007 16:50:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 02 18:50:22 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYPja-00068e-Bs for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Apr 2007 18:50:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYPmd-00042K-8Y for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Apr 2007 12:53:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYPmR-000424-5i for help-gnu-emacs@gnu.org; Mon, 02 Apr 2007 12:53:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYPmM-0003xf-Eb for help-gnu-emacs@gnu.org; Mon, 02 Apr 2007 12:53:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYPmM-0003xP-Bf for help-gnu-emacs@gnu.org; Mon, 02 Apr 2007 12:53:14 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HYPjI-0000ns-ML for help-gnu-emacs@gnu.org; Mon, 02 Apr 2007 12:50:04 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HYPj4-0002iR-8J for help-gnu-emacs@gnu.org; Mon, 02 Apr 2007 18:49:50 +0200 Original-Received: from 222.94.199.155 ([222.94.199.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Apr 2007 18:49:50 +0200 Original-Received: from chenggao by 222.94.199.155 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Apr 2007 18:49:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 222.94.199.155 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (darwin) Cancel-Lock: sha1:7BtvVRelaxVmGmBlX6UnK6MxXeA= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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 X-Spam-Report: 5.1 points; * 0.0 RCVD_BY_IP Received by mail server with no name * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * 0.1 FORGED_RCVD_HELO Received: contains a forged HELO * -0.0 SPF_PASS SPF: sender matches SPF record * 4.0 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO * 1.0 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy * [222.94.199.155 listed in combined.njabl.org] Xref: news.gmane.org gmane.emacs.help:42369 Archived-At: *On 2 Apr 2007 16:15:37 GMT * Joost Kremers climbed out of the dark hell and cried out: > CHENG Gao wrote: >> Thanks for your info. I browsed ebib manual and thought it can only >> operate on a pre-created bib file. Glad to know it can create the file. > > mmm... i admit, it's burried a bit in the manual. the very last paragraph > in section 2.1 "Getting Started" mentions it. > > anyway, ebib is meant to be used with bibtex files, and bibtex is meant to > be used with latex, not as a stand-alone bibliography database engine. so > if you just want to create a database of your books and dvds, and have no > intention of using it with latex, ebib is probably not the best tool for > the job. Thanks Joost. After reading manual more carefully I know how to create new file now. And I have a problem now. I dont like Customize, so instead I add my entry type for movie in my init.el like this: ,---- | (require 'ebib) | (global-set-key "\C-ce" 'ebib) | (add-to-list 'ebib-entry-types '(movie | (name director actors actress producer year dvd-type audio subtitle time) | (rating comment))) `---- Here I have to use require instead of autoload for purpose of altering value of ebib-entry-types. Then I create from scratch my dvd file by: M-x ebib RET o ~/.emacs.d/dvd.bib RET a -- input my first entry "the-merchant-of-venice:2004" (Movie The Merchant of Venice is released in 2004. I use name:year as key). And since default type is "article", I press "e" on type, and I can not change it to "movie". TAB shows no "movie" in list. So instead of adding my type directly into ebib.el, what should I do? Anything I did is wrong? Even as you said, ebib may not be my best solution, I think it's a not bad solution to me since I only need basic features like input data and search. And most important, it's Emacs solution. Thanks for your good job. Though I have no idea about bibtex, I think ebib is cool and useful.