[Top][All Lists]

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

kill-whole-line is not documented in the manual

From: Ralf Angeli
Subject: kill-whole-line is not documented in the manual
Date: Thu, 08 Dec 2005 12:16:34 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

etc/NEWS contains an entry about the new function `kill-whole-line':

** New command `kill-whole-line' kills an entire line at once.
By default, it is bound to C-S-<backspace>.

As you can see it is not regarded as having to be documented in the
manual as it is marked with `---'.  Personally I don't agree because
it's likely to be useful (especially for people coming from vi) and
even has its own keybinding.  It should not be hidden from the user.

So what about the following patch for the Emacs manual?

2005-12-08  Ralf Angeli  <address@hidden>

        * killing.texi (Killing by Lines): Document `kill-whole-line'

*** killing.texi~       2005-12-08 11:53:48.000000000 +0100
--- killing.texi        2005-12-08 12:05:54.000000000 +0100
*** 200,205 ****
--- 200,215 ----
  the very beginning of a line kills the entire line including the
  following newline.  This variable is normally @code{nil}.
+ @table @kbd
+ @item C-S-backspace
+ Kill an entire line at once (@code{kill-whole-line})
+ @end table
+ @kindex C-S-backspace
+ @findex kill-whole-line
+   @kbd{C-S-backspace} will kill a whole line including its newline
+ regardless of the position of point within the line.
  @node Other Kill Commands
  @subsection Other Kill Commands
  @findex kill-region

In GNU Emacs (i486-pc-linux-gnu, GTK+ Version 2.6.10)
 of 2005-12-02 on pacem, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--build' 'i486-linux-gnu' '--host' 
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' 
 '--with-x=yes' '--with-x-toolkit=gtk' 'CFLAGS=-DDEBIAN -g -Wno-pointer-sign 
-O2' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  desktop-save-mode: t
  display-time-mode: t
  iswitchb-mode: t
  recentf-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  auto-compression-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r t <tab> <return>

Recent messages:
Loading paren...done
Loading recentf...done
Loading /home/angeli/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading iswitchb...done
Loading time...done
Loading desktop...done
No desktop file.
Loading cl-seq...done
Loading emacsbug...done

reply via email to

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