From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dalanicolai Newsgroups: gmane.emacs.bugs Subject: bug#54865: 29.0.50; Unclear docstring 'switch-to-buffer' Date: Sat, 16 Apr 2022 10:33:46 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005fa73205dcc16357" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "54865@debbugs.gnu.org" <54865@debbugs.gnu.org> To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 16 10:35:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfdtz-0005kZ-1T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Apr 2022 10:35:31 +0200 Original-Received: from localhost ([::1]:36034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfdtx-0001Sg-Jd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Apr 2022 04:35:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfdtW-0001Qs-Ue for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2022 04:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfdtW-0006ge-Ln for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2022 04:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfdtW-0002AU-BC for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2022 04:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dalanicolai Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Apr 2022 08:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54865 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54865-submit@debbugs.gnu.org id=B54865.16500980448256 (code B ref 54865); Sat, 16 Apr 2022 08:35:02 +0000 Original-Received: (at 54865) by debbugs.gnu.org; 16 Apr 2022 08:34:04 +0000 Original-Received: from localhost ([127.0.0.1]:60689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfdsa-000296-8W for submit@debbugs.gnu.org; Sat, 16 Apr 2022 04:34:04 -0400 Original-Received: from mail-yw1-f177.google.com ([209.85.128.177]:36970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfdsZ-00028c-2g for 54865@debbugs.gnu.org; Sat, 16 Apr 2022 04:34:03 -0400 Original-Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-2f16645872fso186007b3.4 for <54865@debbugs.gnu.org>; Sat, 16 Apr 2022 01:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/QABbUPZsAceSU9zYZ4ANBKWvo/lvf/ZwATJe1xqMSI=; b=hIdH2qIUx+dNxBgDicPeQxU1r7JhdQwANjnwQJCExkeNrBFb+N7IRDRQg2lt1cCd4X 8zT1s8htWvnPzJf9gGJ/xKnW4ESVwOSnko/cLl3bOasOx4eX/H9X9gLVWt6WAwRnaT5x f0kMl/L0QAPpMQ9veUXuSZR8e7Uk1t8XSEWE5cVZ56eocSSHWMHXfSqkPFNCanTfHhLW 3N7alNke1GhD3m+13145FmZcZwn2BTTMEa/3wp0/2brS+KNLBiFe03/cToYgJTWDMq1d OR0CIPE0hUD+OXmC6n5wbqferKHHn7Du69LRD9jbqG4zHslJxdTVvMp2CZh0swZUpnYF by8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/QABbUPZsAceSU9zYZ4ANBKWvo/lvf/ZwATJe1xqMSI=; b=LdUToFb9P0Ko2FmacqbKcvIn6QGKLd4Ok7y9l+4LVI7tcmZGcYnHNx0tM4dlLM8ykG TfC4yJuuMhO3ZAfTxEHCMClGp3nHQyKGpfpggeULxfmhRgZt3aHI/zZvJAAu92nwO4cb qDxg2Knmh2gtEMVJPa6rmrwDh9pYVk2CaJvgMPwBh6AeWUMDFfwc5rURsWtZtcKSRDNc na4FjfjI8xIJGZ9uIYkpPnG6U9kccAL1cpC1WQauaJbR/aRlOjXTE+8yQm/p2a+oqaIM qGZ2la81PfNJZniedLtU9oM7GHTw4Czpd+MDvrpz2w5YZa1KJpbM1V2PPFrsdKTUVqOT lykQ== X-Gm-Message-State: AOAM530CFa/3zKb6LrAGkQvdOyDE9qdq8yUt1tuvh7CgykCrcYbHLIz/ KOXq6GJGybGOLEvXfEq3pYYN/LtA1VPZ6tIlMRA= X-Google-Smtp-Source: ABdhPJy09EvSOWO4iKNN7c401SIVg0l5h9KFoW0/GGGZddtjyoTuP0rvg2RJXR8170Myr9siDIcjBz1eeUC1DFyo5qE= X-Received: by 2002:a81:1b02:0:b0:2ec:142b:1f50 with SMTP id b2-20020a811b02000000b002ec142b1f50mr2244711ywb.505.1650098037563; Sat, 16 Apr 2022 01:33:57 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229961 Archived-At: --0000000000005fa73205dcc16357 Content-Type: text/plain; charset="UTF-8" Ah, that is weird. Obviously, I have tested it (although, clearly, not correctly) before creating the issue. But indeed I can not reproduce it. I am quite sure that I got some 'non existing buffer' message when using `switch-to-buffer` somewhere (don't remember exactly where), and again, then I remember to have tested it before creating the issue (testing it, in this case, is of course much less work than creating the issue). Well, I don't understand what caused me to draw this conclusion (I hope that I will encounter it again to investigate it) Anyway, sorry for spamming the mailing list, and thank you for checking it... On Tue, 12 Apr 2022 at 01:52, Drew Adams wrote: > > "If BUFFER-OR-NAME is a string that does not identify an > > existing buffer, create a buffer with that name." > > > > However, this is only true when called interactively. > > How so? Seems to be true when called from Lisp also, > AFAICT. > > --0000000000005fa73205dcc16357 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ah, that is weird. Obviously, I have tested it (altho= ugh, clearly, not correctly) before creating the issue.
But indee= d I can not reproduce it. I am quite sure that I got some 'non existing= buffer' message when
using `switch-to-buffer` somewhere (don= 't remember exactly where), and again, then I remember to have
tested it before creating the issue (testing it, in this case, is of cour= se much less work than creating the issue).

Well, = I don't understand what caused me to draw this conclusion (I hope that = I will encounter it again to
investigate it)

Anyway, sorry for spamming the mailing list, and thank you for che= cking it...

On Tue, 12 Apr 2022 at 01:52, Drew Adams <drew.adams@oracle.com> wrote:
<= /div>
> "If BUFFER= -OR-NAME is a string that does not identify an
> existing buffer, create a buffer with that name."
>
> However, this is only true when called interactively.

How so?=C2=A0 Seems to be true when called from Lisp also,
AFAICT.

--0000000000005fa73205dcc16357--