🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99426

Re: philosophical bugs in emacs

#99426
From: Andy Norman
Date: Thu, 06 Sep 1990 08:15
19 lines
1488 bytes
>>>>> "Stephen" == gildea@ALEXANDER.BBN.COM (Stephen Gildea) writes:

slehar> Line processing would be much facilitated if there were a real "delete
slehar> line" command that deleted the whole line including <CR> with a single
slehar> keystroke.

Stephen> Yes, I'm with you there.  I haven't used vi in years, but I still
Stephen> miss the "dd" command.

How about binding this to a key:

(defun kill-whole-line (lines)
  "Delete a line of text pointed to by the cursor."
  (interactive "p")
  (if (> lines 0) (progn (beginning-of-line) (kill-line lines) )))

					-- ange --

					ange@hplb.hpl.hp.com
Technical Details
Message-ID: <ANGE.90Sep6091509@anorman.hpl.hp.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!otter.hpl.hp.com!hpltoad!anorman!ange
References: <9009051757.AA20732@life.ai.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,ad6f12f51d80670c
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-09-06 13:45:12 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!otter.hpl.hp.com!hpltoad!anorman!ange
From: ange@hplb.hpl.hp.com (Andy Norman)
Newsgroups: gnu.emacs.bug
Subject: Re: philosophical bugs in emacs
Message-ID: <ANGE.90Sep6091509@anorman.hpl.hp.com>
Date: 6 Sep 90 08:15:09 GMT
References: <9009051757.AA20732@life.ai.mit.edu>
Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
Distribution: gnu
Organization: Hewlett-Packard Laboratories, Bristol, UK.
Lines: 19
Posted: Thu Sep  6 09:15:09 1990
In-Reply-To: gildea@ALEXANDER.BBN.COM's message of 5 Sep 90 17:57:10 GMT
Nntp-Posting-Host: anorman.hpl.hp.com