From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs 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 Message-ID: <87379mbdjz.fsf@calancha-pc> References: <87o9sacy1f.fsf@calancha-pc> <30959d8c-d19a-457a-93e3-c77f45a3d587@default> <9bf9cd47-8075-4e66-a9b1-d1aa6518e5a7@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500874694 23343 195.159.176.226 (24 Jul 2017 05:38:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2017 05:38:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 27801-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 24 07:38:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZW4G-0005gI-1H for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jul 2017 07:38:08 +0200 Original-Received: from localhost ([::1]:53024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZW4J-0007Ra-Un for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jul 2017 01:38:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZW4D-0007Q7-Gd for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 01:38:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZW4A-0000PY-Dz for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 01:38:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZW4A-0000PB-Ap for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 01:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dZW4A-0000WX-4j for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2017 01:38:02 -0400 Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2017 05:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Mail-Followup-To: 27801@debbugs.gnu.org, tino.calancha@gmail.com, tino.calancha@gmail.com Original-Received: via spool by 27801-done@debbugs.gnu.org id=D27801.15008746691986 (code D ref 27801); Mon, 24 Jul 2017 05:38:01 +0000 Original-Received: (at 27801-done) by debbugs.gnu.org; 24 Jul 2017 05:37:49 +0000 Original-Received: from localhost ([127.0.0.1]:53763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZW3w-0000Vy-Sx for submit@debbugs.gnu.org; Mon, 24 Jul 2017 01:37:49 -0400 Original-Received: from mail-pg0-f42.google.com ([74.125.83.42]:37026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZW3v-0000Vj-EN for 27801-done@debbugs.gnu.org; Mon, 24 Jul 2017 01:37:47 -0400 Original-Received: by mail-pg0-f42.google.com with SMTP id y129so52371882pgy.4 for <27801-done@debbugs.gnu.org>; Sun, 23 Jul 2017 22:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tKmSdGz+Wi14fcfYwYPOGHjHDD56lQ72f6t8hgOuh1Q=; b=aCec3XRfvZBA1zNRoSCZiTI1eRczmg780l0gmKLPBw04OSop/ls/0iImEvWVbpvb/y RLXlRjdZccwLIU1XTF8aqQb9sPTx/69QxCaHvxAxst2NeqJc1TTYvGMEaCzF+ot3pTQK afuxf4hUYT7qsLYTHgoQqXo99IUOaQNBBwd4idLaK7mhCgJyaIOdGNVWXmRYIywKVAEH CgjHPnz5HkKXN8RayCUdfiwBURtYVWhaynMpzCNi9TerdpPgHzXNcbbGXdyVs+JDXgtG p192Nbe1XldYetJVeqplBID1L901gpuEx0VbsslX0+aM/bdFXWR/j25UTIBfcJieS7xu hkOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=tKmSdGz+Wi14fcfYwYPOGHjHDD56lQ72f6t8hgOuh1Q=; b=unQcHRSJXhOdr8tFFMwCAMB/nTseSsBxnAaPRpsWP13lHgs+14EpQLVBrMQiM39yjP /e0k4lt718VNwc+u0S2UZNBGIW01fkTBD6o4a4/3/t1uTnx3m8yCm8ax3MSTNFT3yJJ2 XztWeIqMIaSWfbnylyl/KpYX9KO1rVFy+NH4yrRWItpLGuVryv/gxjvJXffdZn2um0si PkhxpNL7YKz8KG4qV3TChMx0Gy9UwXGHnboyWd0OaKniBgeI/9RNQEoXwpJe80MOB4sd 0Wmxi4MxBM8Bcw8cnRjo+FojQx6WN04eGnvXSiSmU4v9jUCCXWlIeWjbGoQ/Zeq6CuaB OORA== X-Gm-Message-State: AIVw111qP+eoQLH9DgHEEdqoBQ9nDHX0HGpH34uLs5luMtpElQ7y23Gx yMNI49oMDSd1oA== X-Received: by 10.84.131.78 with SMTP id 72mr16416037pld.43.1500874661733; Sun, 23 Jul 2017 22:37:41 -0700 (PDT) Original-Received: from calancha-pc (170.224.128.101.dy.bbexcite.jp. [101.128.224.170]) by smtp.gmail.com with ESMTPSA id p8sm3073762pfj.101.2017.07.23.22.37.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 23 Jul 2017 22:37:41 -0700 (PDT) In-Reply-To: <9bf9cd47-8075-4e66-a9b1-d1aa6518e5a7@default> (Drew Adams's message of "Sun, 23 Jul 2017 22:05:47 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134903 Archived-At: Drew Adams 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.