GNU bug report logs - #3754
23.0.95; Wish: please provide kill-whole-visual-line function

Previous Next

Package: emacs;

Reported by: pent <pent <at> aparamon.msk.ru>

Date: Sat, 4 Jul 2009 20:40:05 UTC

Severity: wishlist

Tags: wontfix

Merged with 3755

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: pent <pent <at> aparamon.msk.ru>
To: emacs-pretest-bug <at> gnu.org
Cc: rfrancoise <at> debian.org
Subject: 23.0.95; Wish: please provide kill-whole-visual-line function
Date: Sun, 05 Jul 2009 00:33:55 +0400
Hello!

The new Emacs provides function kill-visual-line, which is bound to
C-k in Visual Lines Mode. It would be nice if Emacs also provided
function kill-whole-visual-line similar to kill-whole-line, bound to
C-S-backspace in Visual Lines Mode:

(kill-whole-visual-line &optional arg)

Kill current visual line.

With prefix arg, kill that many visual lines starting from the current
visual line.  
If current line consists of a single visual line, and arg is nil, also
kill the trailing newline.
If arg is zero, never kill the trailing newline.

I'm ready to provide any additional info,
Andrey Paramonov

In GNU Emacs 23.0.95.1 (i486-pc-linux-gnu, GTK+ Version 2.16.4)
 of 2009-07-03 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20090703-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
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' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.95/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.95/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

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: ru_RU.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t




This bug report was last modified 4 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.