all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Long file names in Dired
Date: Fri, 24 Apr 2015 03:26:01 +0200	[thread overview]
Message-ID: <87sibq9v12.fsf@debian.uxu> (raw)
In-Reply-To: mailman.1494.1429830642.904.help-gnu-emacs@gnu.org

Marcin Borkowski <mbork@mbork.pl> writes:

> BTW, the reason I have long filenames is that I have
> a bunch of pdfs with scientific articles, and
> I decided that putting the author names, publication
> year and a ttile (at least shortened) into the
> filename might be a good idea so that I don't get
> lost. An alternative would be e.g. an Org-mode based
> database with links to files, but then relocating
> them would be non-trivial.

This idea is even better - use BibTeX. In a .bib file,
write entries like this - every book, article, paper,
etc. you read, you make an entry:

    @book{cpp,
        author    = {Bjarne Stroustrup},
        title     = {The C++ Programming Language},
        edition   = {Second Edition},
        publisher = {Addison-Wesley},
        year      = 1992,
        ISBN      = {0-201-53992-6}
    }

In LaTeX, a reference is made with \cite, e.g.:

    C++ is an extension of C, which is the system
    programming language of choice since the early-mid
    70s. \cite[pp. v-vi, 6, 41-42]{cpp}

Then rename the file: cpp.pdf

If you use Emacs to view PDFs as well, for the .bib
file (the BibTeX mode), write a defun that takes the
entry-around-point's name ('cpp' in this case) and
combines it with the path where you have the PDF (all
of them), and suddenly you are only the extention away
from having an as-is text-editable menu to browse all
that stuff as well.

Don't thank me. I'll send an invoice :)

-- 
underground experts united
http://user.it.uu.se/~embe8573


       reply	other threads:[~2015-04-24  1:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1494.1429830642.904.help-gnu-emacs@gnu.org>
2015-04-24  1:26 ` Emanuel Berg [this message]
2015-04-24  9:01   ` Long file names in Dired Marcin Borkowski
2015-04-24  9:12     ` Rasmus
2015-04-24  9:37       ` Marcin Borkowski
2015-04-24 10:19         ` Rasmus
2015-04-24 21:02           ` Marcin Borkowski
2015-04-24 21:10             ` Marcin Borkowski
     [not found]   ` <mailman.1511.1429866115.904.help-gnu-emacs@gnu.org>
2015-04-25  1:29     ` Emanuel Berg
2015-04-25  8:18       ` Marcin Borkowski
     [not found]       ` <mailman.1581.1429950075.904.help-gnu-emacs@gnu.org>
2015-04-25 11:20         ` Emanuel Berg
2015-05-03 22:59           ` Marcin Borkowski
     [not found]           ` <mailman.2273.1430694000.904.help-gnu-emacs@gnu.org>
2015-05-04  0:22             ` Emanuel Berg
2015-05-04  0:41               ` Emanuel Berg
2015-04-23 23:10 Marcin Borkowski
2015-04-24  0:38 ` Bob Proulx
2015-04-24  6:29 ` Eli Zaretskii

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=87sibq9v12.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.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.