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 21:35:48 +0000 (UTC) Message-ID: References: <87sgep35cb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="116139"; mail-complaints-to="usenet@ciao.gmane.io" To: Jamie Beardslee , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 20 23:36:50 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 1jmlAQ-000U9H-GP for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Jun 2020 23:36:50 +0200 Original-Received: from localhost ([::1]:34962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmlAP-0004Hk-IP for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Jun 2020 17:36:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jml9a-0003Mu-OI for emacs-devel@gnu.org; Sat, 20 Jun 2020 17:35:58 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:43848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jml9Y-0006L2-79 for emacs-devel@gnu.org; Sat, 20 Jun 2020 17:35:58 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05KLI21k021940; Sat, 20 Jun 2020 21:35:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=zD/4G5ZV95HjRgWAoNlur2+u6gEsSsqWw9p8KsP3tkw=; b=i1aTeUse0vGm8Z8bQxCZSuZLQxUIB6hDTE3Sc8T+VIFdoKVsmDlUFqi6sx7+nfuo0/k+ 9yZrqVc3pE+sUS/2FekH30C1ZlKCiga9YftOGEa9l7Pj+fbX7loaCDCBVPkgCDB3sWGD uYFsBJyoeur5KmB2M9u+cmO5uvYxaRYzk6yOW4V+6n6L/OEtdEa8RNbce0xaTdhQH9MA Nt5fRHuFBFmfQk7J9yHA5d4+1x3z0XtPlVvaJCZPeJCA/AjrKF+7Aod7MohA3jzLG1hq PEKAYQwyS2MPQoNaqQWcy19mYnsET7NPCD7OEiEHmJdUABsfbk1udKHDdlXaXK0JDh8s rg== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 31sebb9k0b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 20 Jun 2020 21:35:50 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05KLIlcJ149062; Sat, 20 Jun 2020 21:35:50 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 31seb7bfhv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 20 Jun 2020 21:35:50 +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 05KLZnJa023359; Sat, 20 Jun 2020 21:35:49 GMT In-Reply-To: <87sgep35cb.fsf@gmail.com> 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 bulkscore=0 adultscore=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=767 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006200160 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9658 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 phishscore=0 adultscore=0 impostorscore=0 cotscore=-2147483648 mlxscore=0 suspectscore=0 mlxlogscore=785 bulkscore=0 lowpriorityscore=0 clxscore=1011 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006200160 Received-SPF: pass client-ip=156.151.31.85; envelope-from=drew.adams@oracle.com; helo=userp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/20 17:35:53 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:252465 Archived-At: > I've just started using save-place-mode, and found that bookmarks really > get in the way. I figure there are probably a lot of people that use > bookmarks just to save some common files, rather than locations within a > file. (FYI: Half of your message ended up as an attachment. At least that's how = my email client, Outlook, delivered it. Maybe a problem at my end; dunno.) You don't specify what the actual problem is. How does a bookmark interfere with save-place? Maybe provide a step-by-step recipe to show the problem, starting from `emacs -Q' (no init file). Just what behavior are you looking for? Do you not want to open the file at all? (If so, what do you want the bookmark to do with the file, instead of opening it?) If you want the bookmark to open the file, where do you want the cursor to be in it - at what position? You can create a bookmark to (almost) anything - a file is just one possibility. And a bookmark can do (almost) anything with the thing it targets. A bookmark can target a file in any way you want, including (but not limited to) opening it at a given position. You can easily bookmark a file so that the bookmark opens it with the cursor at position 1, for example. (And you need not visit a file in order to bookmark it.) Finally, a bookmark need not have any `location' field. In sum, it's not clear to me: (1) what problem you want to report, (2) why you think the solution is to not include a `location' field, and (3) why you (apparently) think that a bookmark requires a `location' field.