From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "vb" Newsgroups: gmane.emacs.help Subject: Re: two more emacs questions Date: Sat, 18 Nov 2006 10:39:09 -0800 Message-ID: <005201c70b40$d9d02da0$6b01a8c0@dimalaptop> References: <009d01c70a7b$6731f190$6b01a8c0@dimalaptop> <87ejs1i2tg.fsf@hans.local.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163888503 2454 80.91.229.2 (18 Nov 2006 22:21:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Nov 2006 22:21:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 18 23:21:37 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GlYYy-0007b2-LV for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Nov 2006 23:21:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlYYy-0001iW-4X for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Nov 2006 17:21:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GlV60-0005jQ-PQ for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 13:39:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GlV5y-0005i1-Ix for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 13:39:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlV5y-0005hy-Ei for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 13:39:18 -0500 Original-Received: from [217.160.230.40] (helo=mout.perfora.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GlV5y-00007i-GF for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 13:39:18 -0500 Original-Received: from [67.160.229.147] (helo=dimalaptop) by mrelay.perfora.net (node=mrelayus1) with ESMTP (Nemesis), id 0MKp2t-1GlV5s4A8E-0003q7; Sat, 18 Nov 2006 13:39:17 -0500 Original-To: "Dieter Wilhelm" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Provags-ID: perfora.net abuse@perfora.net login:105503e63a43ed9a8b379992658ba53b X-Mailman-Approved-At: Sat, 18 Nov 2006 17:20:33 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38806 Archived-At: >> >> Another emacs annoyance (at least for us, unfortunate users of other, >> less priviledged editors ;-)) is its handling of undo. It does not > > May I ask which editor? > crisp (as in www.crisp.com) has been doing this for at least twelve years now... cheers, /vb >> consider highligting of the part of the file (like setting marks >> around a block of code) a separate operation. Say I highlighted a 10 >> line block, cut it, moved the cursor to another place in the file and >> pasted the block there. Then I wanted to actually decrease the amount >> of moved code. I hit undo a few times, it does put the code back where >> it came from, but it skips the highlighting step, so at this time, if >> I wanted to move a 9 line block instead of 10 - I need to highlight >> the entire block again instead of just shrinking the highlighted area > > I can only offer a workaround (or a change of working habits): > > 0.) Paste the 10 lines: C-y or with middle mouse button. > 1.) Kill the superfluous 10th line. > 2.) Go back where you you killed the 10 lines C-u C-SPC C-u C-SPC > 3.) Type C-y again > >> by a line. Is there a way to make it consider highligting a part of >> the command sequence and folow it in the undo path? >> by a line. Is there a way to make it consider highligting a part of > > A good question, I hope others can answer it. > > -- > Best wishes > > H. Dieter Wilhelm > Darmstadt, Germany >