all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mathias Dahl" <mathias.dahl@gmail.com>
To: "Thien-Thi Nguyen" <ttn@gnuvola.org>
Cc: dieter@duenenhof-wilhelm.de, emacs-devel@gnu.org
Subject: Re: [dieter@duenenhof-wilhelm.de: image-dired (tumme) database file not existing]
Date: Thu, 19 Jul 2007 17:03:09 +0200	[thread overview]
Message-ID: <7dbe73ed0707190803s2e4d341bxad6368085041af21@mail.gmail.com> (raw)
In-Reply-To: <87y7hcxz5x.fsf@ambire.localdomain>

> below is a quick patch (against the trunk).
> here is a ChangeLog entry:

> does this give good results?

I haven't tested the patch yet but it looks okay. I had a different
idea in mind, however:

Instead of making each function make sure a db file exist, why not
change code like this:

 (find-file image-dired-db-file)

into this:

 (find-file (image-dired-db-file))

And inside that new defun basically do what you did in your new function.

I did not follow very closely the recent discussions about Emacs' data
directory so I don't remember if anything useful came out of it that
could be used here.

  reply	other threads:[~2007-07-19 15:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-19 12:23 [dieter@duenenhof-wilhelm.de: image-dired (tumme) database file not existing] Richard Stallman
2007-07-19 14:10 ` Thien-Thi Nguyen
2007-07-19 15:03   ` Mathias Dahl [this message]
2007-07-19 15:37     ` Thien-Thi Nguyen
2007-07-20  5:25       ` tomas
2007-07-20  6:44         ` Thien-Thi Nguyen
2007-07-20  8:10           ` tomas
2007-07-21 23:36   ` Mathias Dahl
2007-07-21 23:49     ` Thien-Thi Nguyen
2007-07-22 18:36       ` Richard Stallman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7dbe73ed0707190803s2e4d341bxad6368085041af21@mail.gmail.com \
    --to=mathias.dahl@gmail.com \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=emacs-devel@gnu.org \
    --cc=ttn@gnuvola.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.