From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John McCabe Newsgroups: gmane.emacs.help Subject: Re: or clearing the mark in Emacs 23.2 Date: Wed, 23 Jun 2010 10:17:37 +0100 Organization: Aioe.org NNTP Server Message-ID: <3uj3269n2vt697cl3hkb096u1li2v2qked@4ax.com> References: <6sn126t8ln6av8qpga4v33gj01786jo7kj@4ax.com> <44k4pq6cwx.fsf@be-well.ilk.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291838373 13742 80.91.229.12 (8 Dec 2010 19:59:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 19:59:33 +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:59:24 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 1PQQAa-0002Vc-Ao for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:59:23 +0100 Original-Received: from localhost ([127.0.0.1]:58809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQQAW-0008TT-74 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 14:59:16 -0500 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 59 Original-NNTP-Posting-Host: RXEkuaSUwmKe0XIGFYSK7A.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 2.0/32.652 Original-Xref: usenet.stanford.edu gnu.emacs.help:179205 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:75936 Archived-At: On Tue, 22 Jun 2010 16:16:30 -0400, Lowell Gilbert wrote: >John McCabe writes: > >> I've only recently moved to Emacs 23.2 from 22.3, and I'm finding >> something a bit odd and not sure where to look for details. It may be >> something to do with my settings, and I'll upload my .emacs etc if >> necessary, but I was hoping someone might just know the answer off the >> top of their head. >> >> On 22.3, with transient-mark-mode enabled, if I have a buffer of text, >> go to the start using C-Home (beginning-of-buffer), set the mark >> (C-@), go to the end of the buffer using C-S-End (end-of-buffer), then >> go up a line using the up arrow (previous-line) or left arrow >> (backward-char) then the highlighted region changes to between the >> mark and the point as I think has been the case for many years. >> >> On my 23.2 setup, which uses basically the same .emacs and other >> initialisation files (so may have some obsolete configuration settings >> still in there - don't know how to tell if these have changed meaning >> or are really obsolete), when I do the above sequence of keypresses, >> the highlighted region disappears when I press the up or left arrow. >> >> Something seems to be clearing the mark when I do this. >> >> If anyone can suggest why this is I'd really appreciate your help. > >I think it's something local to your configuration. The way to check >this is to run emacs with the '-q' option. You also might want to look >at the "Mark changes" section in the NEWS file (C-h n). Thanks for those suggestions. runemacs -q sometextfile.txt from a command prompt (Windows 7 64-bit by the way) shows the same behaviour. However your pointer to the "Mark changes" section was really useful.. it seems to be a temporarily active regions thing: "*** Temporarily active regions, created using shift-selection or mouse-selection, are not necessarily deactivated in the next command. They are only deactivated after point motion commands that are not shift-translated, or after commands that would ordinarily deactivate the mark in Transient Mark mode (e.g., any command that modifies the buffer)." If I do C-S-End, then up-arrow the highlighted region disappears, but if I do S- it doesn't. Similarly, if I do C-End then it doesn't disappear. So - looks like it's a matter of getting used to using C-End instead of C-S-End probably! Thank you very much for your time!! John