From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: what is the point of point-min? Supersedes: Date: Thu, 28 Aug 2003 20:47:39 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3F4E2B31.5070904@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062097339 22394 80.91.224.253 (28 Aug 2003 19:02:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2003 19:02:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 21:02:15 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19sS2B-0007W0-00 for ; Thu, 28 Aug 2003 21:02:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19sS12-0006kB-Up for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2003 15:01:04 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!washdc3-snh1.gtei.net!news.gtei.net!ngpeer.news.aol.com!newsfeed1!bredband!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; 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 Xref: main.gmane.org gmane.emacs.help:12138 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12138 Barry Margolin writes: > Jesper Harder wrote: > >>Is this the way they work: >> >>(defun region-beginning () >> (min (point) (mark))) >> >>(defun region-end () >> (max (point) (mark))) > > Use the Source, Luke. If they were Lisp functions I would have just read the source. But * I hate reading C. * It's much more cumbersome to find the function definition for built-in functions, i.e. there's no handy hyperlink to the source when doing `C-h f' like there is for Lisp functions. >>or are there other instances where `region-beginning' is different >>from `point'? > > Even if there aren't now, you should allow for the possibility in the > future. Yes, in newly written code. But it might not be worthwhile to change stable (currently feature-freezed) code with the possibility of introducing bugs if there's no difference between (region-end) and (max (point) (mark)).