From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: disable transient-mark -totally!! Emacs 23 ad 22 Date: Wed, 2 Jun 2010 11:19:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9df17901-3c6a-485f-ab5f-d4cc2432720f@n20g2000prh.googlegroups.com> References: <92262db5-eefa-4e6e-abf3-7de953d6e6ab@z33g2000vbb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291836839 5773 80.91.229.12 (8 Dec 2010 19:33:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 19:33:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 20:33:55 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQPly-0004zo-GC for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:33:55 +0100 Original-Received: from localhost ([127.0.0.1]:50023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQPlx-0003bC-O3 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 14:33:53 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!n20g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 64 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1275502760 24658 127.0.0.1 (2 Jun 2010 18:19:20 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 2 Jun 2010 18:19:20 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n20g2000prh.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.55 Safari/533.4, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:178572 comp.emacs:99880 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:75897 Archived-At: On Jun 2, 11:00=C2=A0am, abashere wrote: > I find the new always-on transient mark is causing more repair time > than coding time. > > - turn off Active Region Highlighting in the Options and in the .emacs > ( '(transient-mark-mode nil) ) > - highlight line 25 of the file , with mouse left button. release > button. > - scroll down 400 lines with the editor scroll bar (left|right mouse > button pressed) > - release mouse on scroll bar, move to file and then paste with middle > mouse in new position. > -WRONG !! > > For 15 years this was no problem. But now, using the scroll bar to > move the visible portion of the file OVER_RIDES my selection of NO > TRANSIENT-MARK! and turns it back 'on', selects the intervening 400 > lines and pastes those into the file. maybe you should leave the transient-mark-mode on and stop using a mouse? note that emacs behaves differently if you use the mouse. For example, turn text selection highlighting on, then select a text, then, pressing delete key will not delete the text if you used keyboard to made the text selection, but will if the text selection is made with a mouse. this is in my opinion a bad feature, as it makes things more complex. better would be simply to always make the delete key delete text selection, or typing over it. (which is done by having =E2=80=9C(delete- selection-mode 1)=E2=80=9D.) > Can I remove the Transient-mark function entirely? Make the first > action of the function a return? Obviously, the option is meaningless > now. i don't think there's a easy way, and it doesn't really make sense to =E2=80=9Cremove the function=E2=80=9D. Emacs's transient mode system is bui= ltin in lots of commands and functions. (see the var transient-mark-mode) If you don't really like it, turning it off should be all you need, like this: (transient-mark-mode 0) Note that =E2=80=9C(transient-mark-mode nil)=E2=80=9D is incorrect. it's not clear from your post whether you are making a complaint or asking a question. The following articles perhaps might be of interest: =E2=80=A2 Emacs: What's Region, Active Region, transient-mark-mode? http://xahlee.org/emacs/emacs_region.html =E2=80=A2 New Features in Emacs 23 http://xahlee.org/emacs/emacs23_features.html Xah =E2=88=91 http://xahlee.org/ =E2=98=84