From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4987: 23.1; shell-command: optionally include working dir in prompt Date: Sun, 22 Nov 2009 23:27:35 -0500 Message-ID: References: <4b069223.0703c00a.066f.3a01@mx.google.com> <87bpixt8ja.fsf@mail.jurta.org> <87vdh33qdj.fsf@mail.jurta.org> Reply-To: Stefan Monnier , 4987@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258951676 26583 80.91.229.12 (23 Nov 2009 04:47:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2009 04:47:56 +0000 (UTC) Cc: trentbuck@gmail.com, 4987@emacsbugs.donarmstrong.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 23 05:47:49 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCQq1-0002ic-Vb for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Nov 2009 05:47:46 +0100 Original-Received: from localhost ([127.0.0.1]:37766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCQq1-0004Bo-Kf for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2009 23:47:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCQpm-00045m-KI for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2009 23:47:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCQph-00045B-N4 for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2009 23:47:30 -0500 Original-Received: from [199.232.76.173] (port=35584 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCQph-000451-HW for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2009 23:47:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45304) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NCQpg-0001Wt-8t for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2009 23:47:24 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAN4lLE2016539; Sun, 22 Nov 2009 20:47:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAN4Z6lj015483; Sun, 22 Nov 2009 20:35:06 -0800 Resent-Date: Sun, 22 Nov 2009 20:35:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 23 Nov 2009 04:35:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4987 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4987-submit@emacsbugs.donarmstrong.com id=B4987.125895046214950 (code B ref 4987); Mon, 23 Nov 2009 04:35:06 +0000 Original-Received: (at 4987) by emacsbugs.donarmstrong.com; 23 Nov 2009 04:27:42 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAN4ReXO014947 for <4987@emacsbugs.donarmstrong.com>; Sun, 22 Nov 2009 20:27:42 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAB+eCUvO+IIa/2dsb2JhbACBTdFghDwEigI X-IronPort-AV: E=Sophos;i="4.47,269,1257138000"; d="scan'208";a="49826782" Original-Received: from 206-248-130-26.dsl.teksavvy.com (HELO ceviche.home) ([206.248.130.26]) by ironport2-out.pppoe.ca with ESMTP; 22 Nov 2009 23:27:35 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 57FB5B40C9; Sun, 22 Nov 2009 23:27:35 -0500 (EST) In-Reply-To: <87vdh33qdj.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 22 Nov 2009 12:29:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 22 Nov 2009 23:47:30 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32830 Archived-At: > On second thought, there is no need to over-complicate this feature. > So we could add a new defcustom to define the prompt format and to > use it in `read-shell-command' to modify the prompt. Yes, that would be much simpler, Stefan