GNU bug report logs - #13492
24.2.92; Buffer changing in dired-mark-pop-up

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Leo Liu <sdl.web@HIDDEN>; dated Fri, 18 Jan 2013 19:07:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Jan 2013 19:06:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 18 14:06:16 2013
Received: from localhost ([127.0.0.1]:39075 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TwHGW-0003WQ-OU
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 14:06:15 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59386)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <sdl.web@HIDDEN>) id 1TwHGU-0003WH-Ar
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 14:06:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sdl.web@HIDDEN>) id 1TwHFg-0003fY-TA
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 14:05:22 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,
	USER_IN_WHITELIST autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:58109)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sdl.web@HIDDEN>) id 1TwHFg-0003fT-Px
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 14:05:20 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42500)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sdl.web@HIDDEN>) id 1TwHFe-0003bk-7Z
	for bug-gnu-emacs@HIDDEN; Fri, 18 Jan 2013 14:05:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sdl.web@HIDDEN>) id 1TwHFd-0003d1-0M
	for bug-gnu-emacs@HIDDEN; Fri, 18 Jan 2013 14:05:18 -0500
Received: from mail-pa0-f53.google.com ([209.85.220.53]:45193)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sdl.web@HIDDEN>) id 1TwHFc-0003cu-QS
	for bug-gnu-emacs@HIDDEN; Fri, 18 Jan 2013 14:05:16 -0500
Received: by mail-pa0-f53.google.com with SMTP id hz1so2280513pad.26
	for <bug-gnu-emacs@HIDDEN>; Fri, 18 Jan 2013 11:05:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:from:to:subject:date:message-id:mime-version
	:content-type; bh=J5+A4M+5/KxkU4ru1YD04FaJU4jRMUabj3XCTTUlpr0=;
	b=c6MlrqnCNmg+Qp2JwTiT9Zn+ITEy7BkAIEZMQzB6d3eyCZTivwhWSdMDV+/lf7ECT1
	uUIh3ekPDgQRqltXGa8Jx42I/rZhb09iiCm5gSBBKbHFTLQlrVdBkfzAz76/A2710q7R
	X3DMI83M2vtto1SB1uQbq4G09uoS3Q10vpsU0FUa2IpPFeOcK3LH9E6lTHgOCSLUbOEL
	FcR4l5qUC/60gik/jBw1OHbgGnMqUUN+700q0Xq5ULg5y7hkhL0rPnmqPN8TCUtt6LwP
	yhfBsso0EBtVrtXXrWhOr7iW9hMANLIPiTxEBhs2M26zf8nAMMTCSRa0LDABw5q3D78b
	d1Lw==
X-Received: by 10.68.229.169 with SMTP id sr9mr8052201pbc.120.1358535915535;
	Fri, 18 Jan 2013 11:05:15 -0800 (PST)
Received: from localhost ([182.48.109.8])
	by mx.google.com with ESMTPS id l8sm3912250pax.9.2013.01.18.11.05.12
	(version=TLSv1.2 cipher=RC4-SHA bits=128/128);
	Fri, 18 Jan 2013 11:05:14 -0800 (PST)
From: Leo Liu <sdl.web@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.2.92; Buffer changing in dired-mark-pop-up
Date: Sat, 19 Jan 2013 03:05:08 +0800
Message-ID: <m1y5fqb9cr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

In discussion of http://debbugs.gnu.org/13152, it is noted that
dired-mark-pop-up invokes FUNCTION in different buffers depending on if
there are marked files. This is problematic and makes it harder to use
dired-mark-pop-up correctly.

In particular this is directly related to dired-guess-shell-alist-user,
a user variable. Harder to predict the behaviour of COMMAND when it is a
lisp expression. But in this case an error is thrown when the buffer is
switched to a non-dired buffer. So no user code will be broken if
dried-mark-pop-up stops switching buffers.

I propose fix dired-mark-pop-up to be consistent where it invokes
FUNCTION.

Leo




Acknowledgement sent to Leo Liu <sdl.web@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#13492; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.