From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Return values of (find-file-noselect), etc. Date: Sun, 06 Jan 2019 22:06:24 -0500 Message-ID: References: <71340fe0-7373-f407-3bc7-7a2dcaf6b3b3@gmail.com> <375db42e-f62d-c3c7-518a-627190b30617@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1546830301 29888 195.159.176.226 (7 Jan 2019 03:05:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2019 03:05:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 07 04:04:57 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from listsout.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggLDj-0007cG-9U for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jan 2019 04:04:55 +0100 Original-Received: from localhost ([127.0.0.1]:39718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggLFp-0002Xh-P4 for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jan 2019 22:07:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggLFN-0002Xa-HE for help-gnu-emacs@gnu.org; Sun, 06 Jan 2019 22:06:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggLFL-0006xR-Kd for help-gnu-emacs@gnu.org; Sun, 06 Jan 2019 22:06:37 -0500 Original-Received: from [195.159.176.226] (port=38039 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggLFJ-0006uU-O2 for help-gnu-emacs@gnu.org; Sun, 06 Jan 2019 22:06:35 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ggLD9-0006rX-2i for help-gnu-emacs@gnu.org; Mon, 07 Jan 2019 04:04:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 8 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:LWvKwOsx3KSWIJPqFUDF1+WtowM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119086 Archived-At: > Either way, that's not what I'm seeing. Should this be recorded as a bug? I think it's a bug for a major mode function to change the current buffer, so what you're seeing is likely the result of find-file-noselect not protecting itself against such misbehaving major modes ;-) Stefan