From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: prompt to create non existent directory. Date: Fri, 27 Oct 2017 14:53:35 -0500 Message-ID: References: <4278608a-d510-46f5-9cdc-3033a2edecbf@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1509134058 29251 195.159.176.226 (27 Oct 2017 19:54:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Oct 2017 19:54:18 +0000 (UTC) Cc: Help GNU Emacs To: Deric Bytes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 27 21:54:13 2017 Return-path: Envelope-to: geh-help-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 1e8AhZ-0005Tr-BA for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 21:53:57 +0200 Original-Received: from localhost ([::1]:58781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8Ahg-0002H0-JS for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 15:54:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8AhG-0002Gt-8A for help-gnu-emacs@gnu.org; Fri, 27 Oct 2017 15:53:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8AhF-0001e6-Bc for help-gnu-emacs@gnu.org; Fri, 27 Oct 2017 15:53:38 -0400 Original-Received: from mail-pg0-x231.google.com ([2607:f8b0:400e:c05::231]:54891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8AhF-0001dM-5J for help-gnu-emacs@gnu.org; Fri, 27 Oct 2017 15:53:37 -0400 Original-Received: by mail-pg0-x231.google.com with SMTP id l24so6025822pgu.11 for ; Fri, 27 Oct 2017 12:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6U4sR9uEfadGMa7QYe3FKxlqM8AjGWOEaEfC+7TcfPI=; b=TFccUbMRQV+XaVjtF+9+2M0Xz0v01ziiVQpf79QBQWnJbbonD061mjk/2XtzotL1Dq ujivSHNWb83sfJUfijGmEPKssZeA/YNmXKJ/Ieqe4NT5RdLWS5UZzOGcMIx6Y2KrWNLB FQ4o9n5RGA/rbMUC0xBYlxCq+apILLdBvm9m17o6R00+uRr+YBMuXgWxEbw4KkXyGzMl RXcCuFdQRtcJN7seIpMBlzpQps+xfBF+SX/IokBEfbfpqDCMtWmZXNnVxcMr7cWTeK3M /KdparPbFfLVNDm1eapPN+65ItC4r8iVjSpYvagsWh2pykRmnEk45zGLm3vkVhIDNPbX waFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6U4sR9uEfadGMa7QYe3FKxlqM8AjGWOEaEfC+7TcfPI=; b=gR5ZJr29+5yBJ/schEnbSh8CJTxd0aHORA2n1rNi5JRn1BEhFA6IyLglbBsZqyV6Wt IecutmIWpX5N5qnYNBfjIKcUDNVxF0YTwAjjueHFowbWhFP164lv4P1SzO0GbV2oxl/q u2UfbkrGGZ63B9XtKYoPFJkk96PxYUeAALE08fmCKb3TGpEOkLpNRS6070VPqAUg39vx +XGFNWO/MtRYbz6Wm37vPq31KSWOn4PhRmzjxseRaOhn935UB7dv/zcxDwKjvxjAe+jl FuVQWxgNIQL8VunaXNueNU4+cHkfy/6rQPp30CjCFwWvg/5XxW+JQyb+b1yOVISnSkZV KW/w== X-Gm-Message-State: AMCzsaU5XML9RsNzBaK/rxvfMEUDLzQcbBDD9UnsBszMKZ02cl0M6BDf p7GhxTmh/Nm7Ypw9s4jZfFQ9ev8di2zY4UwfG94Dr38= X-Google-Smtp-Source: ABhQp+Q7Hj1WyHrKQcJ+g+SAUvvPUC00g5CGB75JUagjvHbYRQqT1fP+wHiKiw2da3MbR8kb3wPorjp6o4wVssGL8Ek= X-Received: by 10.98.163.193 with SMTP id q62mr1454321pfl.276.1509134015720; Fri, 27 Oct 2017 12:53:35 -0700 (PDT) Original-Received: by 10.100.170.201 with HTTP; Fri, 27 Oct 2017 12:53:35 -0700 (PDT) In-Reply-To: <4278608a-d510-46f5-9cdc-3033a2edecbf@googlegroups.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::231 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114665 Archived-At: It happens infrequently enough for me that it doesn't seem to be a great burden. If it helps, you can probably shorten "make-directory" to: mak TAB -d TAB RET Skip On Fri, Oct 27, 2017 at 2:36 PM, Deric Bytes wrote: > Why does emacs not prompt for y/n to create non existent directories. > Surely this would be a better option than throwing an error or asking the > user to type M-x make-directory. > > Is there a better way to add this feature to dired-do-copy instead of this > method > > https://stackoverflow.com/questions/12994164/allow- > dired-do-copy-and-dired-do-rename-to-create-new-dir-on-the-fly >