GNU logs - #10171, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#10171: 24.0.91; request user option for dedicated-window behavior in `switch-to-buffer'
Resent-From: "Drew Adams" <drew.adams@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 30 Nov 2011 17:30:02 +0000
Resent-Message-ID: <handler.10171.B.132267417419574 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 10171
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 10171 <at> debbugs.gnu.org
X-Debbugs-Original-To: <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.132267417419574
          (code B ref -1); Wed, 30 Nov 2011 17:30:02 +0000
Received: (at submit) by debbugs.gnu.org; 30 Nov 2011 17:29:34 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RVnyP-00055e-4d
	for submit <at> debbugs.gnu.org; Wed, 30 Nov 2011 12:29:34 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <drew.adams@HIDDEN>) id 1RVnyK-00055V-MY
	for submit <at> debbugs.gnu.org; Wed, 30 Nov 2011 12:29:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1RVnyC-0005G7-4s
	for submit <at> debbugs.gnu.org; Wed, 30 Nov 2011 12:29:24 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:51113)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1RVnyC-0005G2-3M
	for submit <at> debbugs.gnu.org; Wed, 30 Nov 2011 12:29:20 -0500
Received: from eggs.gnu.org ([140.186.70.92]:52554)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1RVny6-0001Km-95
	for bug-gnu-emacs@HIDDEN; Wed, 30 Nov 2011 12:29:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1RVny2-0005Em-9x
	for bug-gnu-emacs@HIDDEN; Wed, 30 Nov 2011 12:29:14 -0500
Received: from rcsinet15.oracle.com ([148.87.113.117]:58286)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1RVny2-0005Ei-4h
	for bug-gnu-emacs@HIDDEN; Wed, 30 Nov 2011 12:29:10 -0500
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238])
	by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id
	pAUHT6q1032195
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <bug-gnu-emacs@HIDDEN>; Wed, 30 Nov 2011 17:29:07 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157])
	by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	pAUHT5MR019592
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <bug-gnu-emacs@HIDDEN>; Wed, 30 Nov 2011 17:29:06 GMT
Received: from abhmt115.oracle.com (abhmt115.oracle.com [141.146.116.67])
	by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
	pAUHT0C0025302
	for <bug-gnu-emacs@HIDDEN>; Wed, 30 Nov 2011 11:29:00 -0600
Received: from dradamslap1 (/130.35.179.10)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Wed, 30 Nov 2011 09:29:00 -0800
From: "Drew Adams" <drew.adams@HIDDEN>
Date: Wed, 30 Nov 2011 09:29:00 -0800
Message-ID: <681C8BA2D4204CEEA09CB31430CAB77A@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: AcyvhYv8CVyViXoISXexAa2h83ugqQ==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4ED667E3.0040,ss=1,re=0.000,fgs=0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -6.2 (------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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: -6.2 (------)

This is an enhancement request.  It is a follow-up to bug #10144.
 
The current behavior of `switch-to-buffer' makes it raise an error if
the selected window is dedicated.  Please provide a user option that
lets you get either this raise-an-error behavior or simply switch to the
buffer in another window (i.e., `switch-to-buffer-other-window'), when
the selected window is dedicated.
 
IMO, the default behavior (via the default value of the user option)
should switch to the buffer in another window.  I expect that is what is
most useful to most users most of the time.  FWIW, my own code has done
this for decades, and I have never encountered any problem with it.
 
Note that the use-another-window behavior means that when the selected
window is dedicated, optional arg FORCE-SAME-WINDOW woudl have no
effect.

Note too that this option would affect only the behavior for dedicated
windows.  The error "Cannot switch buffers in a minibuffer window"
would still be raised, if arg FORCE-SAME-WINDOW is non-nil.  It is
only the error "Cannot switch buffers in a dedicated window" that
would not be raised when the option value is non-nil and the selected
window cannot be used.
 
IOW, this option lets users choose to distinguish attempts to switch
buffers in the minibuffer from attempts to switch in a dedicated window.
That's good - the two contexts are very different.
 

In GNU Emacs 24.0.91.1 (i386-mingw-nt5.1.2600) of 2011-11-21 on MARVIN
 Windowing system distributor `Microsoft Corp.', version 5.1.2600
 configured using `configure --with-gcc (4.6) --no-opt --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags
 -LD:/devel/emacs/libs/gnutls-2.10.1/lib'
 





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: "Drew Adams" <drew.adams@HIDDEN>
Subject: bug#10171: Acknowledgement (24.0.91; request user option for
 dedicated-window behavior in `switch-to-buffer')
Message-ID: <handler.10171.B.132267417419574.ack <at> debbugs.gnu.org>
References: <681C8BA2D4204CEEA09CB31430CAB77A@HIDDEN>
X-Gnu-PR-Message: ack 10171
X-Gnu-PR-Package: emacs
Reply-To: 10171 <at> debbugs.gnu.org
Date: Wed, 30 Nov 2011 17:30:04 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 10171 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
10171: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10171
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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