all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: How to change overlay arrow position silently?
Date: Tue, 04 Aug 2009 13:38:33 -0400	[thread overview]
Message-ID: <jwvhbwn8ox4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <874ospda07.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 03 Aug 2009 03:14:36 +0300")

> 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




  reply	other threads:[~2009-08-04 17:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-02 13:01 How to change overlay arrow position silently? Dmitry Dzhus
2009-08-02 13:57 ` Johan Bockgård
2009-08-03  0:14   ` Juri Linkov
2009-08-04 17:38     ` Stefan Monnier [this message]
2009-08-09 22:55       ` Juri Linkov
2009-08-10  2:41         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvhbwn8ox4.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.