From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9054: 24.0.50; show source in other window Date: Tue, 03 May 2022 20:03:56 +0200 Message-ID: <87pmkutrw3.fsf@gnus.org> References: <87k4bovfd0.fsf@sophokles.streitblatt.de> <87k0b446xa.fsf@gnus.org> <86sfpsq67z.fsf@mail.linkov.net> <87bkwezz7h.fsf@gnus.org> <861qxak4cj.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35756"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Florian Beck , 9054@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 03 20:07:44 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 1nlww4-00098N-6r for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 May 2022 20:07:44 +0200 Original-Received: from localhost ([::1]:50632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlww3-0000VA-3N for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 May 2022 14:07:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlwtS-0002l5-DS for bug-gnu-emacs@gnu.org; Tue, 03 May 2022 14:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlwtS-0007Gj-3H for bug-gnu-emacs@gnu.org; Tue, 03 May 2022 14:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlwtR-0001xK-VB for bug-gnu-emacs@gnu.org; Tue, 03 May 2022 14:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 May 2022 18:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9054 X-GNU-PR-Package: emacs Original-Received: via spool by 9054-submit@debbugs.gnu.org id=B9054.16516010487444 (code B ref 9054); Tue, 03 May 2022 18:05:01 +0000 Original-Received: (at 9054) by debbugs.gnu.org; 3 May 2022 18:04:08 +0000 Original-Received: from localhost ([127.0.0.1]:41010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlwsZ-0001w0-QR for submit@debbugs.gnu.org; Tue, 03 May 2022 14:04:07 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:58060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlwsY-0001vS-B2 for 9054@debbugs.gnu.org; Tue, 03 May 2022 14:04:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UT+fVUeSY5fnA+Czmvf1Pwt5U7KC6a9Qob+YQIWAOuA=; b=ZaSAOfDngeAPGbFvnhJfC9ecc3 OLKS5DENkaw8k0RLPjzekR5NclBeeMr+eYAuZdDG6PQO1QVRAk85S+uvK5DGc3BZacWFrmwvBhkWN uz1dmY4Z5qS8Yy7BQmTDWA0ZqTY2e7/5pbHS+wIFGgujiNvmD9yGp9Ab15wDS0QKfvlE=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlwsO-0000hJ-Uz; Tue, 03 May 2022 20:03:59 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAM1BMVEWBgnuSkouspZn9 /f3z8OrXyrdzdG15enJqa2Xf2dS0vt4+GhViXliEdnDKtp6tmHv///8jAvd+AAAAAWJLR0QQlbIN LAAAAAd0SU1FB+YFAxE6LNwJCXwAAAGcSURBVEjHtdaNboQgDABgKNCCOnz/t13Lzw0UiC5bc+oF +WgRNSqlNf9A658dGGMNb7wD7eoZ0EppQKVJtcFnFIMaIA3Sxr0VcWA6dERRC0h/mlP4+kdQgnQB pUPtxgCpjwvoAweAEPKEZeYanwErQHZvgA3mOUjrcCsJOWagxj8B/TcZcAX4KoVtg22UgYbAmLDh 7jPARsyB3fb9uKzDvCT3FU3wu74u3BzsDPSOFciEl4A7mvNSEtaSaAD4JorHbQ5IC2APf9wmvQIG whuQYvA8rMHtXvoFaN8aDwBf1XdALuw7sMwQwsuSomsB5v7T27sH+S76gEcZPilmIITonB0+02Pg YnRQQClmXZKAWEEbTzJQHr0+DyNgY8oQYlNSWYgJgAzOmgGRJkBO+ALAgQBczwGvAG8A+/FbcF5A njSWMmvuDqhhBuwL7YAfgNsgd+B74NFzpJ0cD7BnjJAA+TYy8HVN6hgHhATOBqD0Tv8UeuJvD3bE HyCyFXBGBtZzs+IPEo0qfURwBuR3Yo082sGDg4DIQNryVs5+A3X/NZWE4oh1AAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIyLTA1LTAzVDE3OjU4OjQ0KzAwOjAwx3e3SwAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMi0wNS0wM1QxNzo1ODo0NCswMDowMLYqD/cAAAAASUVORK5CYII= X-Now-Playing: Eurythmics's _Sweet Dreams (Are Made Of This)_: "Wrap It Up" In-Reply-To: <861qxak4cj.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 03 May 2022 20:25:00 +0300") 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:231354 Archived-At: Juri Linkov writes: > Now I tried again to switch to the deleted *scratch* buffer to recreate it, > and it activated the correct mode. This is because switch-to-buffer > uses set-buffer-major-mode that has special handling for *scratch*: > > if (strcmp (SSDATA (BVAR (XBUFFER (buffer), name)), "*scratch*") == 0) > function = find_symbol_value (intern ("initial-major-mode")); Oh, wow. I thought I had tested that, but apparently not. And it looks like it's been this way for decades, at least. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no