unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Looking for Dired mode to comment directory listing
@ 2007-07-17  5:09 Alan
  2007-07-18 12:00 ` Will Parsons
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Alan @ 2007-07-17  5:09 UTC (permalink / raw)
  To: help-gnu-emacs

At one time, 4dos, an alternate M$DOG shell, enabled a file listing
command to include a comment.  In the days of 8+3 filenames, this was
simple feature improved my work output considerably.  Later on, GNU/
Linux with extremely long filenames worked ok, and I was able to
forget about 4dos.

It occurs to me, however, that it might be possible to do a similar
thing with dired, transparently.  Is it currently possible?  I saw an
ipa.el, In Pace Annotations,  on the emacs.sources group/list (http://
www.emacswiki.org/cgi-bin/emacs/ipa.el), enabling commentary
annotations  to be saved in separate files, and viewed transparently.
To use this feature for directory listings, however, it would be
necessary to save the listing to a file.  Or would it?

I have received comments in the past, that long filenames are enough.
I could still use other kinds of comments, for example, with photos,
and it would seem to be more convenient.

Thanks for any ideas.

Alan

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Looking for Dired mode to comment directory listing
  2007-07-17  5:09 Looking for Dired mode to comment directory listing Alan
@ 2007-07-18 12:00 ` Will Parsons
  2007-07-20  5:45 ` spamfilteraccount
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Will Parsons @ 2007-07-18 12:00 UTC (permalink / raw)
  To: help-gnu-emacs

Alan wrote:
> At one time, 4dos, an alternate M$DOG shell, enabled a file listing
> command to include a comment.  In the days of 8+3 filenames, this was
> simple feature improved my work output considerably.  Later on, GNU/
> Linux with extremely long filenames worked ok, and I was able to
> forget about 4dos.
> 
> It occurs to me, however, that it might be possible to do a similar
> thing with dired, transparently.  Is it currently possible?  I saw an
> ipa.el, In Pace Annotations,  on the emacs.sources group/list (http://
> www.emacswiki.org/cgi-bin/emacs/ipa.el), enabling commentary
> annotations  to be saved in separate files, and viewed transparently.
> To use this feature for directory listings, however, it would be
> necessary to save the listing to a file.  Or would it?

I'm not familiar with ipa.el, but 4dos worked (if I remember correctly)
by having an invisible file DESCRIPT.ION in each directory containing the
mappings of file names to file descriptions.  As long as one used the 4dos
versions of copy, move, &c. to copy and move the files, the annotations
would follow the file names.  You could do this in Emacs, but you would
have to use the annotation-aware version of dired to maintain the
annotations.

 > I have received comments in the past, that long filenames
are enough.  > I could still use other kinds of comments, for example, with
photos, > and it would seem to be more convenient.  > > Thanks for any ideas.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Looking for Dired mode to comment directory listing
  2007-07-17  5:09 Looking for Dired mode to comment directory listing Alan
  2007-07-18 12:00 ` Will Parsons
@ 2007-07-20  5:45 ` spamfilteraccount
  2007-07-20  8:14   ` Mathias Dahl
  2007-07-20  9:06 ` Dieter Wilhelm
       [not found] ` <mailman.3668.1184922365.32220.help-gnu-emacs@gnu.org>
  3 siblings, 1 reply; 9+ messages in thread
From: spamfilteraccount @ 2007-07-20  5:45 UTC (permalink / raw)
  To: help-gnu-emacs

On Jul 17, 7:09 am, Alan <lngn...@gmail.com> wrote:
> At one time, 4dos, an alternate M$DOG shell, enabled a file listing
> command to include a comment.  In the days of 8+3 filenames, this was
> simple feature improved my work output considerably.  Later on, GNU/
> Linux with extremely long filenames worked ok, and I was able to
> forget about 4dos.
>
> It occurs to me, however, that it might be possible to do a similar
> thing with dired, transparently.  Is it currently possible?  I saw an
> ipa.el, In Pace Annotations,  on the emacs.sources group/list (http://www.emacswiki.org/cgi-bin/emacs/ipa.el), enabling commentary
> annotations  to be saved in separate files, and viewed transparently.
> To use this feature for directory listings, however, it would be
> necessary to save the listing to a file.  Or would it?
>

Not necessarily. I can add some code to ipa.el which would use the
displayed directory as file name if the current buffer is in Dired
mode.

The only thing I need is a way to determine the path of the currently
displayed directory in Dired. If someone provides this code then I add
the rest to ipa.el.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Looking for Dired mode to comment directory listing
  2007-07-20  5:45 ` spamfilteraccount
@ 2007-07-20  8:14   ` Mathias Dahl
  2007-07-21 16:12     ` spamfilteraccount
  0 siblings, 1 reply; 9+ messages in thread
From: Mathias Dahl @ 2007-07-20  8:14 UTC (permalink / raw)
  To: help-gnu-emacs

"spamfilteraccount@gmail.com" <spamfilteraccount@gmail.com> writes:

> The only thing I need is a way to determine the path of the currently
> displayed directory in Dired. If someone provides this code then I add
> the rest to ipa.el.

Do you mean something like the function `dired-current-directory'? :)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Looking for Dired mode to comment directory listing
  2007-07-17  5:09 Looking for Dired mode to comment directory listing Alan
  2007-07-18 12:00 ` Will Parsons
  2007-07-20  5:45 ` spamfilteraccount
@ 2007-07-20  9:06 ` Dieter Wilhelm
       [not found] ` <mailman.3668.1184922365.32220.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 9+ messages in thread
From: Dieter Wilhelm @ 2007-07-20  9:06 UTC (permalink / raw)
  To: Alan; +Cc: help-gnu-emacs

Alan <lngndvs@gmail.com> writes:

...
>
> I have received comments in the past, that long filenames are enough.
> I could still use other kinds of comments, for example, with photos,
> and it would seem to be more convenient.

For photos you can do this with M-x image-dired.  Just type 'c' for
the current thumbnail and you can add a comment for the respective
image file which will be saved automatically.  (At least this was
planed 8-), right now there is still a bug in image-dired.  First you
have to create the database file yourself.  And from then on it works
like a charm.)

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Looking for Dired mode to comment directory listing
       [not found] ` <mailman.3668.1184922365.32220.help-gnu-emacs@gnu.org>
@ 2007-07-20  9:27   ` Mathias Dahl
  2007-07-20 15:30     ` Dieter Wilhelm
  0 siblings, 1 reply; 9+ messages in thread
From: Mathias Dahl @ 2007-07-20  9:27 UTC (permalink / raw)
  To: help-gnu-emacs

Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

> For photos you can do this with M-x image-dired.  Just type 'c' for
> the current thumbnail and you can add a comment for the respective
> image file which will be saved automatically.  (At least this was
> planed 8-), right now there is still a bug in image-dired.  First
> you have to create the database file yourself.  And from then on it
> works like a charm.)

That bug will be soon gone, when the discussion how to best fix it, is
over.

BTW, from Dired, use the key binding C-t c.

/Mathias

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Looking for Dired mode to comment directory listing
  2007-07-20  9:27   ` Mathias Dahl
@ 2007-07-20 15:30     ` Dieter Wilhelm
  2007-07-22  0:33       ` Mathias Dahl
  0 siblings, 1 reply; 9+ messages in thread
From: Dieter Wilhelm @ 2007-07-20 15:30 UTC (permalink / raw)
  To: Mathias Dahl; +Cc: help-gnu-emacs

Mathias Dahl <brakjoller@gmail.com> writes:

> Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:
>
>> For photos you can do this with M-x image-dired.  Just type 'c' for
>> the current thumbnail and you can add a comment for the respective
>> image file which will be saved automatically.  (At least this was
>> planed 8-), right now there is still a bug in image-dired.  First
>> you have to create the database file yourself.  And from then on it
>> works like a charm.)
>
> That bug will be soon gone, when the discussion how to best fix it, is
> over.

Yes, this is true for the CVS version, but it will take some time till
the next stable Emacs version including these improvements comes out.

>
> BTW, from Dired, use the key binding C-t c.

Aha, one can also comment non-images! Nice, but sadly one can't
display/see the comment except in the database 8-(.

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Looking for Dired mode to comment directory listing
  2007-07-20  8:14   ` Mathias Dahl
@ 2007-07-21 16:12     ` spamfilteraccount
  0 siblings, 0 replies; 9+ messages in thread
From: spamfilteraccount @ 2007-07-21 16:12 UTC (permalink / raw)
  To: help-gnu-emacs

On Jul 20, 10:14 am, Mathias Dahl <brakjol...@gmail.com> wrote:
> "spamfilteracco...@gmail.com" <spamfilteracco...@gmail.com> writes:
> > The only thing I need is a way to determine the path of the currently
> > displayed directory in Dired. If someone provides this code then I add
> > the rest to ipa.el.
>
> Do you mean something like the function `dired-current-directory'? :)

Yep, thanks. :)

Dired support is implemented: http://www.emacswiki.org/cgi-bin/emacs?action=history;id=ipa.el

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Looking for Dired mode to comment directory listing
  2007-07-20 15:30     ` Dieter Wilhelm
@ 2007-07-22  0:33       ` Mathias Dahl
  0 siblings, 0 replies; 9+ messages in thread
From: Mathias Dahl @ 2007-07-22  0:33 UTC (permalink / raw)
  To: Dieter Wilhelm; +Cc: help-gnu-emacs, Mathias Dahl

> > That bug will be soon gone, when the discussion how to best fix it, is
> > over.
>
> Yes, this is true for the CVS version, but it will take some time till
> the next stable Emacs version including these improvements comes out.

True, true.

> Aha, one can also comment non-images!

Yes :)

> Nice, but sadly one can't
> display/see the comment except in the database 8-(.

Then I suggest you switch to use file-props.el instead :) New version
on EmacsWiki now:

http://www.emacswiki.org/cgi-bin/wiki/file-props.el

/Mathias

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-07-22  0:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17  5:09 Looking for Dired mode to comment directory listing Alan
2007-07-18 12:00 ` Will Parsons
2007-07-20  5:45 ` spamfilteraccount
2007-07-20  8:14   ` Mathias Dahl
2007-07-21 16:12     ` spamfilteraccount
2007-07-20  9:06 ` Dieter Wilhelm
     [not found] ` <mailman.3668.1184922365.32220.help-gnu-emacs@gnu.org>
2007-07-20  9:27   ` Mathias Dahl
2007-07-20 15:30     ` Dieter Wilhelm
2007-07-22  0:33       ` Mathias Dahl

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).