From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [PATCH] Add user option to disable location in bookmarks Date: Sat, 20 Jun 2020 23:37:13 +0000 (UTC) Message-ID: <7964f0a0-1995-4dcc-8460-19c2714004db@default> References: <87sgep35cb.fsf@gmail.com> <87blld2x5h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="84724"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier , Jamie Beardslee Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 21 01:40:10 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jmn5l-000Lv3-P1 for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Jun 2020 01:40:09 +0200 Original-Received: from localhost ([::1]:35182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmn5k-0003J6-Q8 for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Jun 2020 19:40:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmn50-0002sX-US for emacs-devel@gnu.org; Sat, 20 Jun 2020 19:39:22 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:58256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmn4w-0006lG-UX for emacs-devel@gnu.org; Sat, 20 Jun 2020 19:39:22 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05KNdGMc042429; Sat, 20 Jun 2020 23:39:16 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-2020-01-29; bh=CNxxIqu0GGOEk77VKAi4+KHkrZo1CN156Lh5kbASX1E=; b=VFkDv9BBg2Px9xRLYAzG/C42BemLedm3p0UmzVSFixPFU4XLg46ga4/Pio1UZMQsqIxV K3GkaQzICKjHCDbnVo3SFQ4nq8YVEuO25F+5In5lrBFcb0PK0eXBM/d3NCa1TTRVmTRi FO4qRKMUWDSyjDYrDfB4v5exPrvGk+hV1m/htcVpewmGF2jRlgWNPu084qDDdyDzXt3G pXUCgcbvOY2XMhtUFvaTqyPVFWDfwgXiIb6TmQukKDwGnYktfF9FzHJXqP7ufoIqCnVf HDU8lbKbg9tZk/cX4SQXmcW/ZZHYS+7k5BJNveNpF6A1lMx0gcZsWMMDS+emiBKgtPuq fg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 31sebb1re6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 20 Jun 2020 23:39:16 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05KNXb6N082656; Sat, 20 Jun 2020 23:37:16 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 31seb8e5e1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 20 Jun 2020 23:37:16 +0000 Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 05KNbEDP032285; Sat, 20 Jun 2020 23:37:15 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5017.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9658 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxscore=0 malwarescore=0 suspectscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006200178 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9658 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 cotscore=-2147483648 lowpriorityscore=0 phishscore=0 bulkscore=0 clxscore=1015 impostorscore=0 malwarescore=0 priorityscore=1501 spamscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006200179 Received-SPF: pass client-ip=141.146.126.78; envelope-from=drew.adams@oracle.com; helo=aserp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/20 18:57:45 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -63 X-Spam_score: -6.4 X-Spam_bar: ------ X-Spam_report: (-6.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252475 Archived-At: > I think it makes sense, but I think it shouldn't be a global option. > Maybe it should be a setting saved with the bookmark (i.e. when saving > the bookmark you could specify not to save the location) or otherwise > specified when jumping. >=20 > Maybe a prefix command which causes the subsequent `bookmark-jump` to > ignore the location info (and it could also cause a subsequent > `bookmark-set` not to save the location)? Please, no. Overkill, overoverkill. Just have save-place do what it does for `find-file' and `dired': move to the save-place place after the function does its thing. `bookmark-after-jump-hook'.