From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [PATCH] open bookmark in other frame Date: Thu, 11 Oct 2018 13:35:58 +0000 (UTC) Message-ID: <344de0a4-16ae-47ea-91bf-66ad8b380cb0@default> References: <9d4a9ab3-d802-447e-3c74-81373b7e6101@luyten.fr> <87zhvl0x2y.fsf@red-bean.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539264885 3218 195.159.176.226 (11 Oct 2018 13:34:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2018 13:34:45 +0000 (UTC) Cc: Pierre-Yves Luyten , emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 11 15:34:40 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gAb6s-0000gw-FX for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2018 15:34:38 +0200 Original-Received: from localhost ([::1]:34462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAb8y-0000YC-St for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2018 09:36:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAb8N-0000Xv-6X for emacs-devel@gnu.org; Thu, 11 Oct 2018 09:36:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAb8J-00034k-7e for emacs-devel@gnu.org; Thu, 11 Oct 2018 09:36:11 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:56798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAb8I-00034A-SI for emacs-devel@gnu.org; Thu, 11 Oct 2018 09:36:07 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9BDSkE5154651; Thu, 11 Oct 2018 13:36:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=76icst62l+iEdjC0CDqBm81rckaukckPcQO7JjiPtuY=; b=x0ha0qPC3HjO7NsEgMqSMwJCZoCSL8OCVB37GM9kgxiZe/sVWmfj5hBlJyNPZuUDphfb ZJL4GStroLWnRZmcI9EMFkO6QkeThrsu4Ysfa4ybRPfesIsVnSrvQI+QiTXJyzEET2R8 /aCEvxUHaH1yJHIaCu/6zurpaYCvAS3DWry9VTDgMrIwVldheCsjkZaZvX76wBLV4N1I i8dwu5dKksKA/sNM327jbL0uk7ad4UOYd6p/OQSZW6w7H2Gv0hb7q7nftcOWr8KQfp6b SMMMsEAF0FWDAlK3IPY2D5KgNCgRZqL6FfUlz1ucKQXyJQiKGYIvQ7zfBHhLEiTCq3BL Dw== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2mxn0qc95t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Oct 2018 13:36:04 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w9BDZwpn009825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Oct 2018 13:35:58 GMT Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w9BDZvpx003492; Thu, 11 Oct 2018 13:35:57 GMT In-Reply-To: <87zhvl0x2y.fsf@red-bean.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9042 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810110132 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.78 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230336 Archived-At: > > IOW, do the equivalent of this, or similar: > > (let ((pop-up-frames t)) (bookmark-jump-other-window bookmark) >=20 > (I haven't studied `pop-up-frames' enough to know whether Drew's back-of- > the-envelope solution above is the best way, but presumably a little more > research would lead to the best way.) Non-nil `pop-up-frames' just makes "other-window" commands use "other-frame". I wrote "the equivalent of this, or similar", because someone will perhaps say that there is a more "modern" way to do the same thing, involving a `display-buffer' ACTION or something. I still keep things simple in my own code, partly for backward compatibility. The above code DTRT, but someone might prefer a different formulation that does the same thing, or similar.