From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: M-g suffixes. Was: Key binding M-g should really be goto-line Date: Fri, 18 Mar 2005 08:58:48 -0500 Message-ID: <87vf7p3vrn.fsf-monnier+emacs@gnu.org> References: <87y8cx4b3e.fsf@jurta.org> <87hdj9s0yy.fsf@orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111154665 23382 80.91.229.2 (18 Mar 2005 14:04:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2005 14:04:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 18 15:04:25 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DCI4w-0000T6-Fs for ged-emacs-devel@m.gmane.org; Fri, 18 Mar 2005 15:03:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCILR-0000O0-El for ged-emacs-devel@m.gmane.org; Fri, 18 Mar 2005 09:20:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DCIJN-0008AD-KE for emacs-devel@gnu.org; Fri, 18 Mar 2005 09:18:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DCIJH-000875-DY for emacs-devel@gnu.org; Fri, 18 Mar 2005 09:18:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCIJH-00086I-4h for emacs-devel@gnu.org; Fri, 18 Mar 2005 09:18:43 -0500 Original-Received: from [209.226.175.93] (helo=tomts36-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DCI01-00080e-UX; Fri, 18 Mar 2005 08:58:50 -0500 Original-Received: from alfajor ([67.68.217.141]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050318135849.GQTZ1694.tomts36-srv.bellnexxia.net@alfajor>; Fri, 18 Mar 2005 08:58:49 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 50AD0D7383; Fri, 18 Mar 2005 08:58:48 -0500 (EST) Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "Fri, 18 Mar 2005 13:11:42 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34721 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34721 >> M-g c - goto-char Huh? I'd never have expected someone to actually suggest an interactive key binding for goto-char. But I now see that it even has a menu-bar entry. What in the world for? I also see that the docstring of goto-char is wrong. How about the patch below? > M-g b - goto-byte (non-existent yet) That could make some sense. But post-22. Stefan --- editfns.c 23 jan 2005 11:39:55 -0500 1.389 +++ editfns.c 18 mar 2005 08:58:32 -0500 @@ -1,6 +1,6 @@ /* Lisp functions pertaining to editing. - Copyright (C) 1985,86,87,89,93,94,95,96,97,98,1999,2000,01,02,03,2004 - Free Software Foundation, Inc. + Copyright (C) 1985, 1986, 1987, 1989, 1993, 1994, 1995, 1996, 1997, 1998, + 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -265,10 +265,7 @@ DEFUN ("goto-char", Fgoto_char, Sgoto_char, 1, 1, "NGoto char: ", doc: /* Set point to POSITION, a number or marker. -Beginning of buffer is position (point-min), end is (point-max). -If the position is in the middle of a multibyte form, -the actual point is set at the head of the multibyte form -except in the case that `enable-multibyte-characters' is nil. */) +Beginning of buffer is position (point-min), end is (point-max). */) (position) register Lisp_Object position; {