unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: juri@jurta.org, emacs-devel@gnu.org, storm@cua.dk
Subject: Re: Jumping to C source from *Help*
Date: Tue, 13 Apr 2004 13:44:45 -0400	[thread overview]
Message-ID: <E1BDRxl-0006nt-1D@fencepost.gnu.org> (raw)
In-Reply-To: <m18yh29kif.fsf-monnier+emacs@empanada.iro.umontreal.ca> (message from Stefan Monnier on 11 Apr 2004 19:17:01 -0400)

    >> switch-to-buffer means "I specifically want the buffer in THIS window."
    >> It should get an error if it can't do that.  To display the buffer
    >> in another window would be failing to do the intended job.

    Obviously we need to distinguish between "switch-to-buffer the command"
    and "switch-to-buffer" the function.  I don't care about the behavior
    of the command, but of the function.

They are the same.  We could make it do something different,
then specially restore the old behavior for interactive calls only.
But I think it would be a change for the worse to do this.

    And the problem is made worse because there is currently no function that
    does what we want in such case, i.e. "show buffer B, preferably in the
    current window".

Perhaps the right thing is to define a new function which does that.
It could be called select-buffer, or switch-to-buffer-somewhere.
It could leave you with that buffer visible in the selected window,
which would be the previously current buffer if that is possible.

  parent reply	other threads:[~2004-04-13 17:44 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-06 22:35 Jumping to C source from *Help* Stefan Monnier
2004-04-07  1:01 ` Juanma Barranquero
2004-04-07 19:44   ` Stefan Monnier
2004-04-08  0:35     ` Kim F. Storm
2004-04-08  6:12     ` Juri Linkov
2004-04-08 16:10       ` Kim F. Storm
2004-04-09 22:44         ` Richard Stallman
2004-04-08 16:46       ` Stefan Monnier
2004-04-08 17:27         ` switch-buffer to use other window if dedicated window (was: Jumping to C source from *Help*) Drew Adams
2004-04-09 22:44         ` Jumping to C source from *Help* Richard Stallman
2004-04-10 18:51           ` Kim F. Storm
2004-04-11 23:17             ` Stefan Monnier
2004-04-12 17:34               ` Glenn Morris
2004-04-14 18:01                 ` Richard Stallman
2004-04-15 17:36                   ` Glenn Morris
2004-04-19 18:20                     ` Richard Stallman
2004-04-19 23:59                       ` Kim F. Storm
2004-04-20  0:41                       ` Glenn Morris
2004-04-20 16:05                         ` Drew Adams
2004-04-20 20:47                         ` Richard Stallman
2004-04-20 23:33                           ` Glenn Morris
2004-04-20 23:48                             ` Miles Bader
2004-04-20 22:04                         ` Nick Roberts
2004-04-20 23:40                           ` Glenn Morris
2004-04-21 10:21                             ` Kim F. Storm
2004-04-21 15:38                               ` Stefan Monnier
2004-04-13 17:44               ` Richard Stallman [this message]
2004-04-13 18:12                 ` Stefan Monnier
2004-04-14 22:53                   ` Richard Stallman
2004-04-15 13:58                     ` Stefan Monnier
2004-04-15 16:27                       ` Kim F. Storm
2004-04-15 16:08                         ` Drew Adams
2004-04-16 18:08                         ` Richard Stallman
2004-04-16 18:37                           ` David Kastrup
2004-04-16 18:08                       ` Richard Stallman
2004-04-16 18:39                         ` Stefan Monnier
2004-04-17 19:46                           ` Richard Stallman
2004-04-19 14:09                             ` Stefan Monnier
2004-04-18 21:47             ` Richard Stallman
2004-04-19 14:12               ` Stefan Monnier
2004-04-08  6:19     ` Juri Linkov
2004-04-08 16:07       ` Kim F. Storm
2004-04-09 22:43       ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1BDRxl-0006nt-1D@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=storm@cua.dk \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).