From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas Newsgroups: gmane.emacs.help Subject: Re: buffer list sequence Date: Sun, 12 Nov 2023 14:37:43 +0530 Message-ID: <87zfzjibkw.fsf@gmx.net> References: <87sf5d20li.fsf@gmx.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="2113"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Samuel Wales Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 12 10:08:44 2023 Return-path: Envelope-to: geh-help-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 1r26SR-0000Q6-LC for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Nov 2023 10:08:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r26Rn-0007iw-H6; Sun, 12 Nov 2023 04:08:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r26Rl-0007gW-P7 for help-gnu-emacs@gnu.org; Sun, 12 Nov 2023 04:08:01 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r26Ra-0004pd-Cw for help-gnu-emacs@gnu.org; Sun, 12 Nov 2023 04:08:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1699780067; x=1700384867; i=jimjoe@gmx.net; bh=w7yWVGifUqetNHEHY6gsdjoHgo9z0zYXrdG4tkLGCYM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=Q+Q7Dzd3uJSucvGaG23Rm8GE4jxgpPZa2SRosa9x+PKg6aBllmeINtZFs75Lxqzo P1qy5qQJDNL54oPQm2cA9x9Xh0DlZbqzQvv6zYSTz5EVipYEknO71OGB1k7Pbsibl ZmnoIEQYsyfV0vsguUzl8j20sDxJNRgsgYsbey1AQUiU5vlJlgauGbln+h573da+u cGG+0PBbntV+F2GayKSCREb47qnYq87oMKBojtGHWvjrKL2khaaISl8y8KO+0qKl9 S8PLiFDiUsXUvhlmrbw58xO7vxVFAhAYVbCnUmCOrd78kJC8k5dKH2z3cmBQDVe3u wk9dPJ/f3Ax3jZywaw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-15-5518 ([59.92.163.144]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1N3bWr-1rTIA52cp1-010aPM; Sun, 12 Nov 2023 10:07:47 +0100 In-Reply-To: (Samuel Wales's message of "Fri, 10 Nov 2023 16:17:53 -0700") X-Provags-ID: V03:K1:xojeZZOijDmmDM/NBrtU41Qq+MQ+Y/09xPeti9fkP223EZWQX2f LJzO7TVRi35FfGGF6whfKqpYfUTWQQiGCGZ98siOJllKB4jXEJniGOPMGuAMLAFBvonTbjo uqtsWDVPfzKOw5H71UhxilEQ333Q5BLd+2vXpL/hdnJOu5zJNcND722FrprH6DkHbL+Ol1X dXm9waoDnlQmP7hi9so0A== UI-OutboundReport: notjunk:1;M01:P0:AAttOsLFJ/8=;l5nrKykeK9R1cjCz/8ZnPnwFo4U IskhLaJ8KHPul4ehvwZRf1q/OwHjFZ270nTPbvvcQTccnvPc4g+eq0Et2l/FewuwF7pdLzQbO lXVTd7KwHvHDNVpJg70HgYwb9FIfxEp5tLEqYWxxu+8RygCrHpHLWXSa1i0XdFnwaYRaqMLrR XhLqCoakg/TRUkpELdsgY7xRcEYYCoT+LG44qNp63PrPNHAaK7c/V4Fp3oGGQrqJwOi7Ns14k 23f7dQHjeTHw9/n3HOPcI8YwKFHhPsi7nYHsULNZgobR7HAiGCyss238vDbi4qaLS82wgsM5S fLZHUBfeQtFaASssjKNm615pN6rTiDKLw9dCztc0T+q8y3KlOauCzhEBf8n5x73AqOU2NBd8H ZMzQ7UrmVkkh68YeI7/PFLfRoRa6cFalCcrxnpcSgui53eT7lG9RnMpqbUq2rMlWBfP0UbF38 Y38aX2uO18idmtJoni6b0CGGflzFdsgfKWYVPG+Z6k+nJN9fbPKI8HF3yCIMEaWIm96mhnJID jEKb8zrEtgMpZqVCWhLbybv16Kq1e/N5rPVHss2ErU4rDGkOxUuMu1rr3HKDpBUfOruSJNBY8 NS2LmZLpqV95CiI2ZcudYyZKU7EQLQVGOkc8//6w+BgPgkE9SraO3RH3FFo8LP8LAOFbGjXjn UH+tWUJE7BlW0sYtdugNgxvejua3OQRabOrZDRyTpZttiE80t9BLTBOCpg9NZ5+FpGb2iYVta JS3R8xPtoWpASN3k5Ih230yD7AJtKmMxbbKClkRpbJjdjOi/ecaxtqTcdMr0c5eoWLvTzPwf Received-SPF: pass client-ip=212.227.15.18; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145485 Archived-At: Samuel Wales wrote: > apropos of nothing, in old code [i am less capable of coding now] > sometimes i do (switch-to-buffer (current-buffer)) which sometimes > fixes buffer liust problems. i do not know why as it looks like it > should be a no-op but i ahve no idea. One reason I can think of for that is if a `switch-to-buffer' somewhere used the NORECORD option. Your code would undo that. You should also read (info "(elisp) Buffer List") --