From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: A feature to go to last edit locations Date: Tue, 14 Feb 2023 04:36:01 +0000 Message-ID: References: <972bedcc-37c9-5180-ac41-90e25d854a63@yandex.ru> <83mt5hdj28.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18647"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "mardani29@yahoo.es" , "emacs-devel@gnu.org" To: Eli Zaretskii , Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 14 05:37:18 2023 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 1pRn4A-0004eZ-B6 for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Feb 2023 05:37:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRn3N-00087U-A3; Mon, 13 Feb 2023 23:36:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRn3J-000857-A8 for emacs-devel@gnu.org; Mon, 13 Feb 2023 23:36:25 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRn3H-0001mT-1w; Mon, 13 Feb 2023 23:36:25 -0500 Original-Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31DMOQwW026449; Tue, 14 Feb 2023 04:36:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=OEZ/ziJVp+QRyag/mv4Cjer+FsHe3TMo2mqZ2RqJSxU=; b=F6LU8vYaBQOAXdJli7gRFxkYLhHuzGqCAjpNH6lwM3Zo1y0/KI+5I/yQ4CC0g+jIkbi5 E2FwVhmdqkNyXLjIi33M/t8Am9xLCDozoLU+AXhSYG8ALawlftQSAXeHOVjx8gcZuprM zHdde+CkJuboh24XIyvMEoJdu526u1fOGsHRUe9LpyJvtzaB+8ERWkye7vV0ph1C0qMr 86OOa0ewsQ1/tsEtpxbLVA6P75p204J8RPKK8jOA0gAXO5+tRjN879lp96+/Z3MhHDPg a/QWsl76ooCWiHSin0a2RSZ2DFYcJpthDDlTxc8OHxcg8Fet6f7QujIkFdzfihNh0Qmm +g== Original-Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np32ccduh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Feb 2023 04:36:18 +0000 Original-Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31E1oHhO029999; Tue, 14 Feb 2023 04:36:18 GMT Original-Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2107.outbound.protection.outlook.com [104.47.70.107]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1f4qxxy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Feb 2023 04:36:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sr6WFXBRjsrgGIXX1bMN43o3Cd+00+esxmr2e90Ugsdde5+Ol32VDgdFTmbddTRMOsPasEWRtBfFSVi4MAeXB2nNnDS9dKASZosduWh+6QvUCT9x62pJaEOqu7ELIPvlr+4XRceQM1FzjOdy15hj1v8ji6hfUG97MFS1eP83/CQdv/hlMXAPJpAPzPyIhf+LAETYbwf+hYspSxieLTSqfFjkJQBz4YHHIUKzeJToTr7pM+8yADnRiUADvqFq8KzxQvbAYQ1iQIv/m2x0dTXjKC2nr18sAWt/GAJUWBmwbjVZkO/7dzo6y82ymtq4MeR92apkAZCLyKPYmhatYUd7Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OEZ/ziJVp+QRyag/mv4Cjer+FsHe3TMo2mqZ2RqJSxU=; b=UnaiL05v5P3Cmj0ZGVkC3LzmRsX1mKsCdTWc4gz+A8cpTPTadrAGVCadIOB2QSMmKmJuPP53AX3WD9dOk5XJBL9YDmiAEzeeO9j9m60LOHTMvsj78/jYWdHjT1uqvESpI1OJdxTMKtCLZJAf6J0Vmnvqujaql67wunbLnAjEWdKY2Sieu7d1sEX5psIYQ3XJp+0KSn4PLic49Ougt4EPB9wT0KEtnE08EQcNOnFrvSNnOE7l1cXoj9xiSTgNtbvVjSIcgYs0YWSvNpBa+dZYTem//QHgd70sw8VkXEf66Ecj3liMhtpcjcIxH0R5jiDhbTAa+znFqe8yUGpM5v5wZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OEZ/ziJVp+QRyag/mv4Cjer+FsHe3TMo2mqZ2RqJSxU=; b=Aln+Nzl0ulxWW7OBirJStptjioX815AUdMYhw7qH0uA5Kj3AdRcC6CG2R3q64mvuBkSh0LEKrs/tG66Y3GFcEnl0K1JwbSDrPNNS/29RjIoK6A5i3BzFQHSE6DguOgs3UWxK0Ca2t5X8vEMK4TgAd4pSDQSi+GE6HSL/Zn1d/QI= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BLAPR10MB4835.namprd10.prod.outlook.com (2603:10b6:208:331::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.10; Tue, 14 Feb 2023 04:36:01 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::d353:3fb:94e4:18b9]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::d353:3fb:94e4:18b9%8]) with mapi id 15.20.6111.010; Tue, 14 Feb 2023 04:36:01 +0000 Thread-Topic: [External] : Re: A feature to go to last edit locations Thread-Index: AQHZQCQouiyMGOR24EmAMAgaHtJLcq7N2E4A In-Reply-To: <83mt5hdj28.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|BLAPR10MB4835:EE_ x-ms-office365-filtering-correlation-id: a75aa3f1-4892-4521-c301-08db0e44f9ef x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cB1mGgOEnNuUzbe0MsPPCdDDDLb/jx7jcDK3qbjqSxGMrGjZDnWnmNgBVRAN4XkBdri/HzV+wMwrk0OmeNVNsX8u617wHLz5Kuto3qZwB9aTUSzp8b/QVfP8hYYYmcr3MDa19CuqnnYIhBxGnfsnDF2rM+b+qtF1AZOH/fMmRhEvRv4aDC8NMwFssEMTewbCcigrNTkhEz6qqnaUVCJSSpphD2IYJeOk+/faJxfBwssTULx1YVSBaVWoO19GVSXFR8rz6mRFAQ1qUDqRHnQ1DlVSBm5fpBLDIj4aMa6S0y/Z/3RALn71XdBSjGQyDGnxk6bsMMQvzjFgqyPrAQb4JPKVoCi+IRQa2UGpXwDXCtnsxcnl5k3RNZlEBcvJ44C0UTGyfNCQkPtrZ0+i4Xq2/XPdNlGr7lw1/lqyX3ypKjiAlSSigPwQRztddukBGcMERIR7AcqcVX+afMj2EVOlxzX6eze9VmpHMDZjSHBOWCB8SRidiS7wpPp0ihGitx5ui/Xm6D41mrhPJp9KG8PNp94/Vsy7fQKQTpLMzIcNIswIWpnNiKEiAqJEp5kbZ8CZ80LZ43GPWcVtwVFoeB/fVo21LDM3FAbj1ocm9cWQWx2IcAitsggvH0fvs2U5937XfE1+eXWAKQideFMwELWx7TzbIkQf9YQywivZwToOVixQAdAYaQOXAGRVuvm70k0vfCnilTed8FyTvI0q+6PU+w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(136003)(39860400002)(376002)(346002)(366004)(451199018)(5660300002)(8936002)(41300700001)(9686003)(8676002)(71200400001)(26005)(2906002)(186003)(6506007)(52536014)(55016003)(478600001)(44832011)(316002)(110136005)(54906003)(7696005)(86362001)(4326008)(66946007)(76116006)(64756008)(66476007)(66446008)(33656002)(83380400001)(66556008)(38100700002)(122000001)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cPtqntfY1JIaIvIPXEejVdjF/h26XmJXbBaxlOncOfrVnB1GUACiEyliXo8X?= =?us-ascii?Q?k8i0KHb2m9dBWELXxq1+YJeuP/ZleggiVEhjemcO3kdNfjY/NexproBtIJV9?= =?us-ascii?Q?OXaICU6G5v4pxeOh2b0Yk61llLahgh9O1VtDvA4lNSbX33QUEFdMQA8lsKVv?= =?us-ascii?Q?9V1ULdEu4Aet2MZdPNvw9ZYWplLwdTgPpTsa8qg5sVPSRkYoLI2R9a6qtNc1?= =?us-ascii?Q?8GN7eSNu6wX83AiamzZ7ei/eZQh1n+qUv4FHTsNBfITs25VeMgydmvGWn4LB?= =?us-ascii?Q?KX9CNtmh0w+T8UaDlHfW06sU6EmWz3WGnECz0cR8DYMgFURqeCTsOAX1NKxV?= =?us-ascii?Q?LhPapBGm8OBaqXRoD8SQiXFixyMJnxplRxYFghBkpFEvJDtXexHgODGlhw83?= =?us-ascii?Q?62IcbHnZeII8OybgvRZ4Lry1JyRKzcWOR1q+CVme3+7tvSu4ZROboRIiEybc?= =?us-ascii?Q?iJn4DnwxBfTNhDXH/PHpXioj3hdZyQtPvwseAbVJhnsMHZ4XK0vccG2Npppp?= =?us-ascii?Q?hOR1uPST/dSrgOZFXrXedyJEUTqLea0OP5bO8T+C/K9pwwND2f3zE2YHWPZm?= =?us-ascii?Q?vtNJ0dDsUQgMD0TzvZ9XT/COAhdLpKwajX4Q+COmmLlUORVq4xN3CY6iHuAD?= =?us-ascii?Q?5w X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 3cfgazAYI988JeodhMxh6oi14pFKWOKOe1y+MTCL4Ui0gzDNV4f4wSn8/s3nTb4AQqagyPuhF32+Yy+lCsvpAFeXsNMTt96C/QzDvx1EZGbfALcWj7EMb52g+0T01XffTZacw6SPJ8lCF6bMVNUgFFxf2P9GiHJGHJD4rlleTTlPIXdwBU/xxo/c6BSWlu8WBQ/CRV+qkCsOFin9hefgmYRJU853dAzFdIlmPN3kz40L4+aZYPf7M4l9LhIkEwewuSkGSUB6bPZF1EnnayXAsw6T2HKLQcOJ2WQAKoIlj25zJooNyp82TKWAz1AQGo4enXPp22qwKUmsyqjleV4mcww3BKvMbBU5qnMof+a9j8NfeOLXg/m+6RYxOcp7g1TfeO5uxJbc2V+W0IFe36qsot9+xj5eV5zun0B8vT8eTMllr91EjH1kkKcJ3QOm/VQCiB8SdoTQA3uti86tMXv3mh3ZyGboIFYhUer6g789/DphbMaX8i0dvPoBeYVqezz/LeRnuyMDGe6f9qljRj2I/Z0AWY6kwQMQOoXL8IL52MKredQoUkoB5K1mhXT1V7delqQW++gZ1n969jffTXpIMsJaoZj2O58T2U9QlvJQe0WREiJbwTYfU5Tjro42r28DhGlNDeLGiMH/q6q4Di6UcikB5PZAYPN9SsYCvcxX9d3L76s+05nkorlR7TkYZ6mT+ZeCXV6PUtqipEIZURY9ejTIdICBxVw5f2bG/qGcPXNuNb Fv5RP+dmgqQHkJB5qk6h//LkNJR9Dv4CZA+WO/q64YnGH9yaxOef5ojU3fpC0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a75aa3f1-4892-4521-c301-08db0e44f9ef X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2023 04:36:01.6392 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mk6ROEtiKhQ3QY4IQX+83eZktl1apF2BQVdkMGPXbHzpjopCy+MsgsvkAv8vdXXOhno7MvW0/ARJUrXJBGespA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB4835 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-14_02,2023-02-13_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=993 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302140037 X-Proofpoint-GUID: rwzsGuFQMHWDAhbvC3j7pIKWcGsdMKp0 X-Proofpoint-ORIG-GUID: rwzsGuFQMHWDAhbvC3j7pIKWcGsdMKp0 Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303255 Archived-At: > > > But Eli said something important, why go somewhere back randomly, but > > > better going where user marked it to need it. > > > > Because by the time the user knows they need to go back, they might hav= e > > missed the opportunity to mark the place. >=20 > The important question is: which of these two failures could happen > more frequently? IME, wading through gobs of places I never wanted to > go back to is no fun. I agree. But some people apparently do want zillions of places noted, "just in case" they want to return to one of them. That's why I added an automatic bookmarking mode, which creates bookmarks periodically, provided the distance from all other automatic bookmarks is at least at least an option value: bmkp-automatic-bookmark-min-distance is a variable defined in `bookmark+-1.el'. Its value is 1000 Documentation: Minimum number of chars between automatic bookmark positions. The period is also an option: bmkp-automatic-bookmark-mode-delay is a variable defined in `bookmark+-1.el'. Its value is 60 Documentation: Number of seconds delay before automatically setting a bookmark. I mention this in case it helps someone working on something similar. There are many ways to save some position (and other things - desktops were mentioned). Bookmarks are one way (and they have certain advantages).