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: Wed, 10 Oct 2018 22:06:24 +0000 (UTC) Message-ID: References: <9d4a9ab3-d802-447e-3c74-81373b7e6101@luyten.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539209151 1271 195.159.176.226 (10 Oct 2018 22:05:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2018 22:05:51 +0000 (UTC) Cc: Karl Fogel To: Pierre-Yves Luyten , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 11 00:05:47 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 1gAMby-0000BO-Kb for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2018 00:05:46 +0200 Original-Received: from localhost ([::1]:59327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAMe5-0004TP-0W for ged-emacs-devel@m.gmane.org; Wed, 10 Oct 2018 18:07:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAMd6-0004SV-8H for emacs-devel@gnu.org; Wed, 10 Oct 2018 18:06:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAMd0-0000za-IF for emacs-devel@gnu.org; Wed, 10 Oct 2018 18:06:55 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:35024) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAMcq-0000nc-D9 for emacs-devel@gnu.org; Wed, 10 Oct 2018 18:06:45 -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 w9AM4xkF066321; Wed, 10 Oct 2018 22:06:28 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=0FcxS80AqLDpdtcObMEqO8+fJUILREjlvgHTqlfCGeA=; b=ZRFtZ0w72JpvxrU2jPpt3bqYqNzip/+IGksbetdrcpbLyKw/io/y0oO9r3/njuIVSXhr Gr5R6TWbTfyOwaDqDsIklkDIQzbTH/a4ke801gajYJVWbhCpYZxyAIRP5ahlt8wdAPIC QjteCbcGiHtQ+gZG04GUR8YJTdqDjfAcFNZuW5lPyh4N2nblv+FrY6uuX0ZkRFL90hLl 190lqHAr+IYiQkFhQZxL7ZSl3XGkz5EW0fSSJ6ZWQSMG7/NB/LfPe2a+O5UGDc4HPWyV DYayU+AUqIayPeGfzRCGv9fAfmc/lNuNyMf216ds56RARag7ZESOFMN7yKVU0CYDGi+f Ww== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2120.oracle.com with ESMTP id 2mxn0q6xdq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 10 Oct 2018 22:06:28 +0000 Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w9AM6RxE023221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 10 Oct 2018 22:06:28 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w9AM6QYw014744; Wed, 10 Oct 2018 22:06:26 GMT In-Reply-To: <9d4a9ab3-d802-447e-3c74-81373b7e6101@luyten.fr> 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-1810100204 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:230329 Archived-At: > people sometimes use several frames, so i would like to make opening > bookmark one shot. Attached patch adds two funcs, > "bookmark-jump-other-frame" and the equivalent from the bookmarks menu, > "bookmark-bmenu-other-frame" My suggestions in this regard, FWIW: 1. Don't use `view-buffer-other-frame'. Select the buffer, and not just read-only. Jumping to a bookmark typically puts you at its location (hence select), and the buffer is typically not put in a read-only mode. IOW, do the equivalent of this, or similar: (let ((pop-up-frames t)) (bookmark-jump-other-window bookmark) 2. Don't use `F' as the key binding in the bookmark-list buffer. `F' is more often used for files than for frames. Maybe use `5'. =20 (I use `J 5' in Bookmark+. `J' is a prefix for the jump commands in the bookmark-list buffer. The `5' is from `C-x 5' bindings for other-frame. I bind the command to `C-x 5 B' and `C-x j 5' globally. `C-x j' is a global prefix key for bookmark jump commands.)