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: Pushing the mark from a primitive like goto-char Date: Tue, 29 Dec 2020 09:56:58 -0800 (PST) Message-ID: References: <9815d21d-b20e-c6d8-aae0-77aa65a4138a@gmx.at> <87sg7pq2bx.fsf@mail.linkov.net> <7a7c50cd-91dc-a818-f8a2-eacfb6243318@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22535"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philipp Stephani , =?utf-8?B?RGFuaWVsIE1hcnTDrW4=?= , Emacs developers To: martin rudalics , Stefan Kangas , Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 29 19:05:09 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 1kuJMr-0005lJ-EP for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Dec 2020 19:05:09 +0100 Original-Received: from localhost ([::1]:42746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuJMq-0008GA-FR for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Dec 2020 13:05:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuJF9-0007kH-0v for emacs-devel@gnu.org; Tue, 29 Dec 2020 12:57:11 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:56958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuJF6-000595-OH for emacs-devel@gnu.org; Tue, 29 Dec 2020 12:57:10 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0BTHoOCa047192; Tue, 29 Dec 2020 17:57:02 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=G0W9xMZPvHW92P+fy6G21zm0a5WPTZOrExRekb3hxMY=; b=jpOwA6gNqH0WnxTw2+L74l0y4W3QPMh1LFGgdwJoasyNw0koO+9TBcwirttJFrh6UwK5 nKj8pcD7hz1MCQVWt+O0XaKo7oD8Y2PFN1WaSA5nsRwWnmXMGNvUY1EnQXMk0g4K8nKi eT9TnUA3CY+B3dkttv4nmOVcINNLNI/E+aIhYm7SCdIaVodqRC/5v+1lCB1VplAe2g9j oVFEMykq1wmFdBJrez8MudZI9TS/hGDKLX/byQ8N/yPucmI6sQsz1a3mX50la3cKjh+u g5R7hrg3UtwnCXIYpBFKgU//kWKGOwe5Oovc6atekuF3P3lBlxqHT58lk9Ka27Ooe2Hr YQ== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 35ntpaq1jc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 29 Dec 2020 17:57:02 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0BTHnwEP032840; Tue, 29 Dec 2020 17:57:01 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 35pexruw9a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Dec 2020 17:57:01 +0000 Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0BTHv0rW017028; Tue, 29 Dec 2020 17:57:00 GMT In-Reply-To: <7a7c50cd-91dc-a818-f8a2-eacfb6243318@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5095.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9849 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 spamscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012290114 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9849 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 adultscore=0 mlxscore=0 mlxlogscore=999 clxscore=1015 phishscore=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012290114 Received-SPF: pass client-ip=141.146.126.79; envelope-from=drew.adams@oracle.com; helo=aserp2130.oracle.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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=-0.001, SPF_HELO_PASS=-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.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:262080 Archived-At: >>> BTW, is there a reason why 'goto-map' is so terribly unpopulated? >> Do you have any ideas for what to add? >=20 > Not really - it's the first time I've been looking into it. But given > the recent discussions about stealing each other's bindings I wonder why > such a convenient prefix like M-g is not more exploited. Maybe because > ESC on a terminal is not so convenient. You might consider adding `(beginning|end)-of-buffer' to `goto-map'. FWIW, my library `menu-bar+.el' has this for the `Go To' menu (not quite the same thing as `goto-map'): Line... M-g g Column (Position in Line)... M-g TAB Buffer Position... M-g c Beginning of Buffer M-< End of Buffer M-> Next Error C-x ` Previous Error M-g p And if Bookmark+ is available (which has many kinds of jump commands), submenu `Bookmark' (jumping only). (Those jump items are also on a more general `Bookmarks' menu, along with non-jump bookmark commands.) And if Icicles is available, submenu `Icicles', which has multi-command items for moving among markers etc. ___ And tag-finding (now "xref") items could be moved from `goto-map' to a search map (such as `search-map'). They're not so much about going to a predefined position as they are about finding something. A user is more likely to look for finding and searching in the same place. `menu-bar+.el' puts them on a menu-bar `Search' menu, submenu `Tags': Find Tag... Find Next Tag ___________ Find Tag Regexp... Search Tagged Files... Continue Search/Replace ___________ Tags Apropos... Set Tags File Name... ___ `menu-bar+.el' also puts `grep' and similar on the `Search' menu, not `Tools' -- they're about finding or searching. The `Tools' menu is a catch-all. Something should be there only if there's no more specific kind of "tool"/action place to put it. Searching/finding tools are better on a `Search' menu.