From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Emacs's handling of line numbers [from bug#5042] Date: Wed, 09 Jun 2010 12:44:46 +0900 Message-ID: References: <837ho6czb6.fsf@gnu.org> <8339yucbsg.fsf@gnu.org> <83wrw5bxkc.fsf@gnu.org> <83tyr9bgid.fsf@gnu.org> <83r5mcbqzo.fsf@gnu.org> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276055190 5006 80.91.229.12 (9 Jun 2010 03:46:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 03:46:30 +0000 (UTC) Cc: lekktu@gmail.com, eliz@gnu.org, lennart.borgman@gmail.com, Stefan Monnier , emacs-devel@gnu.org To: mark.lillibridge@hp.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 09 05:46:28 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@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 1OMCEy-00008D-KI for ged-emacs-devel@m.gmane.org; Wed, 09 Jun 2010 05:46:27 +0200 Original-Received: from localhost ([127.0.0.1]:50176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMCEq-0001HZ-5M for ged-emacs-devel@m.gmane.org; Tue, 08 Jun 2010 23:46:00 -0400 Original-Received: from [140.186.70.92] (port=32927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMCEj-0001G4-3X for emacs-devel@gnu.org; Tue, 08 Jun 2010 23:45:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMCEh-0005Ga-NU for emacs-devel@gnu.org; Tue, 08 Jun 2010 23:45:52 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:48563) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMCDj-0005AG-50; Tue, 08 Jun 2010 23:44:51 -0400 Original-Received: from mailgate3.nec.co.jp ([10.7.69.160]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id o593il21012357; Wed, 9 Jun 2010 12:44:47 +0900 (JST) Original-Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id o593ilC29058; Wed, 9 Jun 2010 12:44:47 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by vgate02.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id o593ik923746; Wed, 9 Jun 2010 12:44:46 +0900 (JST) Original-Received: from relay41.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay21.aps.necel.com with ESMTP; Wed, 9 Jun 2010 12:44:46 +0900 Original-Received: from dhlpc061 ([10.114.113.131] [10.114.113.131]) by relay41.aps.necel.com with ESMTP; Wed, 9 Jun 2010 12:44:46 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 514CA52E1F3; Wed, 9 Jun 2010 12:44:46 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: (Mark Lillibridge's message of "Tue, 08 Jun 2010 19:20:56 -0700") Original-Lines: 21 X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125654 Archived-At: Mark Lillibridge writes: >> > => "should not be called from Elisp"? >> >> Oops, thanks, > > That's funny; the documentation for goto-line specifically talks about > its behavior when called from elisp! Well of course you _can_ call it from elisp, but still, many commands can be thought of as being "user-oriented". These are discouraged from being used in elisp because they have things like side-effects and more complicated DWIMy behavior that can be undesirable for programming. However, occasionally, you want to call such commands anyway (e.g., when you're writing a wrapper for them). -Miles -- Politics, n. A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.