emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: doc string of 2C-two-columns - typo


From: Richard Stallman
Subject: Re: doc string of 2C-two-columns - typo
Date: Sun, 08 Oct 2006 18:26:28 -0400

    C-h f 2C-two-columns shows this:

    ... (see  h ).

    That should be something like "Use `h' for help on the mode."

The reason for this is that you typed the command while in a mode
that binds h to describe-mode.

This isn't a bug, but it sure is unhelpful.  I wonder what
is the right thing to do here.  We could get the right behavior
in this case by changing the \\[...] construct to always use
Fundamental mode.  But that would give the wrong behavior
in some other cases.

We could fix this one this way:

*** two-column.el       07 Feb 2006 18:16:27 -0500      1.32
--- two-column.el       08 Oct 2006 12:28:44 -0400      
***************
*** 340,346 ****
  ;;;###autoload
  (defun 2C-two-columns (&optional buffer)
    "Split current window vertically for two-column editing.
! When called the first time, associates a buffer with the current
  buffer in two-column minor mode (see  \\[describe-mode] ).
  Runs `2C-other-buffer-hook' in the new buffer.
  When called again, restores the screen layout with the current buffer
--- 340,346 ----
  ;;;###autoload
  (defun 2C-two-columns (&optional buffer)
    "Split current window vertically for two-column editing.
! \\<global-map>When called the first time, associates a buffer with the current
  buffer in two-column minor mode (see  \\[describe-mode] ).
  Runs `2C-other-buffer-hook' in the new buffer.
  When called again, restores the screen layout with the current buffer




reply via email to

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