From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: How to change overlay arrow position silently? Date: Tue, 04 Aug 2009 13:38:33 -0400 Message-ID: References: <87ljm2nzdj.fsf@sphinx.net.ru> <87hbwqfhd7.fsf@dd.chalmers.se> <874ospda07.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249407635 11848 80.91.229.12 (4 Aug 2009 17:40:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 17:40:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 19:40:28 2009 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.50) id 1MYNzw-0004AA-47 for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 19:40:28 +0200 Original-Received: from localhost ([127.0.0.1]:57285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYNzv-0004Xv-Lr for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 13:40:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYNyF-0003Ti-9E for emacs-devel@gnu.org; Tue, 04 Aug 2009 13:38:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYNyA-0003SA-Ez for emacs-devel@gnu.org; Tue, 04 Aug 2009 13:38:42 -0400 Original-Received: from [199.232.76.173] (port=40171 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYNyA-0003S7-5j for emacs-devel@gnu.org; Tue, 04 Aug 2009 13:38:38 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40841) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYNy9-0004DZ-0T for emacs-devel@gnu.org; Tue, 04 Aug 2009 13:38:37 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n74HcXHb009815; Tue, 4 Aug 2009 13:38:33 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 517B33A1B3; Tue, 4 Aug 2009 13:38:33 -0400 (EDT) In-Reply-To: <874ospda07.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 03 Aug 2009 03:14:36 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3333=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:113673 Archived-At: > Its docstring says it can be used non-interactively: > When called from Lisp code, the optional argument BUFFER > ========================== > specifies a buffer to switch to. It seems like even this `buffer' argument is very much an "interactive" feature since it causes the buffer to be displayed, which may cause new windows/frames to be created. Makes me wonder: does any code use this `buffer' argument? My guess is that it's only used by things like the command-line-arg processing (and/or the emacs-server). We had better make it more clear: do not use it from Elisp unless you know what you're doing (i.e. add it to byte-compile-interactive-only-functions). Stefan