From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Selection threshold with mouse Date: Sat, 19 Jul 2014 11:26:17 -0700 Organization: A noiseless patient Spider Message-ID: References: <20140719.173203.1998048028110686770.tak.kunihiro@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1405794629 4123 80.91.229.3 (19 Jul 2014 18:30:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jul 2014 18:30:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 19 20:30:22 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X8ZOn-0004nZ-Bx for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Jul 2014 20:30:21 +0200 Original-Received: from localhost ([::1]:55271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8ZOm-0001cI-WA for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Jul 2014 14:30:21 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Injection-Info: barmar.motzarella.org; posting-host="339f3b75470943c78e204eca04534968"; logging-data="10553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aBXRn8M5Wt2FBFfUboXzt" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:ShhDhKVUBmVpxZWMfNzVBWv0pss= Original-Xref: usenet.stanford.edu gnu.emacs.help:206528 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98800 Archived-At: In article , Drew Adams wrote: > > When I set region using mouse from left to right, region expands at > > very end of each character. Is it possible to set to threshold to the > > middle of a character instead of very end of a character? > > Not too sure what you mean, but the region (selection) is the > sequence of characters between two buffer positions (point and mark). > > Emacs buffer positions are always between characters (or before the > first character or after the last character). They are never "on" a > character. To expand on this, it's essentially the same as selecting a character with the mouse. If you click on a character, the cursor will be put on that character. But when the cursor is "on" a character, the point is actually to the left of that character -- if you set the mark and then move left, the highlighted character is not in the region. So swiping works consistently with selecting a character. When you swipe to the right, the rightmost character isn't included in the region until you reach the space between it and the next character. When you swipe to the left, the character is included in the region as soon as you go past the space between it and the next character. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***