From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?J=C3=BCrgen_?= =?UTF-8?Q?H=C3=B6tzel?= Newsgroups: gmane.emacs.bugs Subject: bug#12897: 24.3.50; [PATCH] eshell/mkdir: Handle "--parents" Date: Thu, 15 Nov 2012 16:18:33 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=bcaec5014c7144f3c604ce8a2b08 X-Trace: ger.gmane.org 1352998587 27191 80.91.229.3 (15 Nov 2012 16:56:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Nov 2012 16:56:27 +0000 (UTC) To: 12897@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 15 17:56:38 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZ2k2-0005jZ-0K for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Nov 2012 17:56:38 +0100 Original-Received: from localhost ([::1]:44187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ2js-0003Ps-8t for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Nov 2012 11:56:28 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ2jn-0003P5-H0 for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 11:56:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZ2jk-0001vq-FP for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 11:56:23 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ2jk-0001vm-Bj for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 11:56:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TZ2kP-0003zY-VA for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 11:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?J=C3=BCrgen_?= =?UTF-8?Q?H=C3=B6tzel?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Nov 2012 16:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135299856915281 (code B ref -1); Thu, 15 Nov 2012 16:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Nov 2012 16:56:09 +0000 Original-Received: from localhost ([127.0.0.1]:45540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZ2jY-0003yP-5X for submit@debbugs.gnu.org; Thu, 15 Nov 2012 11:56:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54321) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZ1EK-0000s2-0a for submit@debbugs.gnu.org; Thu, 15 Nov 2012 10:19:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZ1Db-0006VG-Gy for submit@debbugs.gnu.org; Thu, 15 Nov 2012 10:19:06 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:35271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ1Db-0006V2-Dq for submit@debbugs.gnu.org; Thu, 15 Nov 2012 10:19:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ1DY-0002zZ-Az for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 10:19:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZ1DV-0006T4-90 for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 10:19:00 -0500 Original-Received: from gerolde.archlinux.org ([66.211.214.132]:44352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ1DV-0006Sq-3g for bug-gnu-emacs@gnu.org; Thu, 15 Nov 2012 10:18:57 -0500 Original-Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by gerolde.archlinux.org (Postfix) with ESMTPSA id 8649C90097 for ; Thu, 15 Nov 2012 10:18:54 -0500 (EST) Original-Received: by mail-vc0-f169.google.com with SMTP id fl17so2107924vcb.0 for ; Thu, 15 Nov 2012 07:18:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=FlG0UlkivY11eXOuxVeSLuA7RA2LP8GEHum+aCg/Mic=; b=bEZGm63QcJDQ1fANrt03FeAKEi/MJ9SijacacIYnv/gPjrUZBVYiPIEqrTf16NFcdO bzgCVhC74sT6nGzqqqEiWJb3URwi8ymK0fFqblx5DIGSQQsxSKVOBCDfO1w4QSyyPYlR uGpnVF6ThU3wwyjlrnXUI2jxuSV/EUJAOk20+YlB21f+LTOD0aO2GT3wUgaeWMzX7Y+e gZWpN31VC1+bQdA/sGXpeGia+xaavfVkMxyWagpwCpBtgpvZwmxdxgrKZ/5TekHCxC5D THqIawMradPi+ryGdH3slWm6UsO36MXsondKhbSFhsUA08w974Qa/Wn39QfCZBt2wSSi Hpfw== Original-Received: by 10.52.179.231 with SMTP id dj7mr1506488vdc.108.1352992733590; Thu, 15 Nov 2012 07:18:53 -0800 (PST) Original-Received: by 10.220.10.7 with HTTP; Thu, 15 Nov 2012 07:18:33 -0800 (PST) X-Originating-IP: [213.61.190.204] X-Gm-Message-State: ALoCoQlZZjUohJfnGM2YYC/XUIntOBi10uvyiPsgJ9xTOjNrU7+Q8i5fJbILCnOrv4dIy7wNOzw8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -6.2 (------) X-Mailman-Approved-At: Thu, 15 Nov 2012 11:56:06 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: -6.2 (------) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66962 Archived-At: --bcaec5014c7144f3c604ce8a2b08 Content-Type: text/plain; charset=ISO-8859-1 (make-directory DIR &optional PARENTS) already handles this switch, so the Eshell implementation of mkdir could leverage it. Patch enclosed. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.1) of 2012-11-15 on bitzer.hoetzel.info Configured using: `configure '--with-x-toolkit=gtk3' '--with-xft'' Important settings: value of $LANG: de_DE.utf8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Diff Minor modes in effect: whitespace-mode: t winner-mode: t recentf-mode: t helm-match-plugin-mode: t display-time-mode: t desktop-save-mode: t show-paren-mode: t yas/global-mode: t yas/minor-mode: t workgroups-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t global-auto-complete-mode: t savehist-mode: t ido-everywhere: t which-function-mode: t auto-insert-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC O A C-x b RET C-x b . e l RET ESC O A C-x C-g C-x v = ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B C-x o C-x v v C-y C-a C-d C-d C-d C-d C-e ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC d r m d i r C-e C-x v v C-g C-c C-c ESC 1 ESC x e s h e l l RET RET g i TAB t SPC TAB DEL SPC - - f DEL DEL DEL f o r m a t - p a t c h SPC H E A D ~ DEL DEL DEL DEL DEL o r i g i n / m a s t e r RET ESC O A C-a C-k C-x C-f C-f 0 0 TAB 1 TAB RET C-x 1 ESC O A ESC x s u b TAB C-a C-k r e p o TAB r TAB RET Recent messages: Saving file /home/juergen/.recentf... Wrote /home/juergen/.recentf byte-code: Beginning of buffer Making completion list... Saving file /home/juergen/.recentf... Wrote /home/juergen/.recentf Saving file /home/juergen/.recentf... Wrote /home/juergen/.recentf Saving file /home/juergen/.recentf... Wrote /home/juergen/.recentf Load-path shadows: ~/emacs/site-elisp/popup/popup hides ~/emacs/site-elisp/popup-el/popup ~/emacs/site-elisp/popup/popup-test hides ~/emacs/site-elisp/popup-el/popup-test ~/emacs/site-elisp/babel/babel hides ~/emacs/babel ~/emacs/site-elisp/babel/babel-test hides ~/emacs/babel-test ~/emacs/gtags hides /usr/share/gtags/gtags ~/emacs/site-elisp/magit/.dir-locals hides /usr/local/share/emacs/24.3.50/lisp/gnus/.dir-locals Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader whitespace vc pcmpl-unix misearch multi-isearch em-unix em-term term disp-table ehelp electric em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias helm-misc filecache debug vc-git vc-dispatcher vc-svn winner tramp-cache tramp-sh recentf org-capture org-mks org-publish org-clock org-exp ob-exp org-exp-blocks org-agenda org-mode-expansions org ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs find-func cal-menu calendar cal-loaddefs nxml-mode-expansions rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok helm-files image-dired dired-x dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptative helm-info helm-net helm-plugin bookmark helm-locate helm-help helm-match-plugin helm-grep helm-regexp grep helm-external helm-utils dired helm-config smtpmail sendmail rfc2047 rfc2045 ietf-drums starttls time desktop auto-complete-config time-stamp paren yasnippet dropdown-list help-mode workgroups tramp-adb tramp tramp-compat tramp-loaddefs shell pcomplete format-spec slime apropos hideshow pp hyperspec browse-url benchmark pkgbuild-mode sh-script smie executable paredit nexus nexus-widget xml markdown-mode thingatpt noutline outline magit-bisect magit-key-mode magit server esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff iswitchb view diff-mode log-edit pcvs-util add-log highlight helm haskell-mode derived expand-region clojure-mode-expansions expand-region-custom expand-region-core clojure-mode rx babel url-handlers easymenu json mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv password-cache url-vars mailcap gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr auto-complete popup android-mode easy-mmode cl-macs gv edmacro kmacro ac-slime cl cc-styles cc-align cc-engine cc-vars cc-defs uniquify advice help-fns cl-lib advice-preload savehist ido cus-start cus-load gtags compile comint ansi-color ring time-date which-func imenu autoinsert tree-widget wid-edit warnings tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --bcaec5014c7144f3c604ce8a2b08 Content-Type: application/octet-stream; name="0001-lisp-eshell-em-unix.el-eshell-mkdir-Handle-parents.patch" Content-Disposition: attachment; filename="0001-lisp-eshell-em-unix.el-eshell-mkdir-Handle-parents.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h9k0j38a0 RnJvbSA0NWI3ZmUwNTZjMTk0YmRmMmQwZDkyYmE5MjVhOTEzNTE0MmIzOWUzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKdWVyZ2VuIEhvZXR6ZWwgPGp1ZXJnZW5AYXJjaGxpbnV4Lm9y Zz4KRGF0ZTogVGh1LCAxNSBOb3YgMjAxMiAxNDo0MToyOCArMDEwMApTdWJqZWN0OiBbUEFUQ0gg MS8yXSAqIGxpc3AvZXNoZWxsL2VtLXVuaXguZWwgKGVzaGVsbC9ta2Rpcik6IEhhbmRsZQogIi0t cGFyZW50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