emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-g suffixes. Was: Key binding M-g should really be goto-line


From: Stefan Monnier
Subject: Re: M-g suffixes. Was: Key binding M-g should really be goto-line
Date: Fri, 18 Mar 2005 08:58:48 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> 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;
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]