unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: 27801-done@debbugs.gnu.org
Subject: bug#27801: 26.0.50; Dired: Use relative file names when DIR-OR-LIST is a cons
Date: Mon, 24 Jul 2017 14:37:36 +0900	[thread overview]
Message-ID: <87379mbdjz.fsf@calancha-pc> (raw)
In-Reply-To: <9bf9cd47-8075-4e66-a9b1-d1aa6518e5a7@default> (Drew Adams's message of "Sun, 23 Jul 2017 22:05:47 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

> 2. If you call (dired (list DIR FILES)) and you want FILES
> to be relative rather than absolute, why can't you just
> (for your particular use case) use something like
> (dired (list DIR (mapcar #'dired-make-relative FILES)))?
> What am I missing?
Your right.  Thank you!
This is the proper way to do it: pass a list with
the relative names.





      reply	other threads:[~2017-07-24  5:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24  3:29 bug#27801: 26.0.50; Dired: Use relative file names when DIR-OR-LIST is a cons Tino Calancha
2017-07-24  3:47 ` Drew Adams
2017-07-24  4:16   ` Tino Calancha
2017-07-24  5:05     ` Drew Adams
2017-07-24  5:37       ` Tino Calancha [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87379mbdjz.fsf@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=27801-done@debbugs.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 public inbox

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

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