From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: My read-buffer-function doesn't work when called by switch-to-buffer Date: Fri, 17 Mar 2023 08:04:04 +0100 Message-ID: <87zg8bzwg0.fsf@gnu.org> References: <875yb8nvvk.fsf@gnu.org> <87y1o486wo.fsf@web.de> <87fsabslcj.fsf@gnu.org> <874jqq63vn.fsf@web.de> <87h6upyenm.fsf@gnu.org> <87sfe9bien.fsf@web.de> <874jqms6s2.fsf@gnu.org> <87mt4dn8qi.fsf@web.de> <87ttylhwyd.fsf@gnu.org> <87zg8cp8ct.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="654"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.22; emacs 30.0.50 Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 17 08:09:24 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 1pd4DM-000AVK-DM for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 17 Mar 2023 08:09:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pd4Cs-0004TR-Sy; Fri, 17 Mar 2023 03:08:54 -0400 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 1pd4Cq-0004TB-1l for help-gnu-emacs@gnu.org; Fri, 17 Mar 2023 03:08:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pd4Cp-0008E9-8R; Fri, 17 Mar 2023 03:08:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=TskB6Kbep82BKG9N+/D3TKiF745KMmTLPse8ecQFndA=; b=Ls4jy55jrH3DVN vM4I1fS0k2nXYyebn2rFdujbod9O+0m0a0AsafMmvrzFurP5+cYeGfTnyKOhfDssCyyEUkJUi3Ab1 GygYwBgADk+NO0avxqbSs/ACz/NNbs97+N9N9d41Y8hyA9J45pY00OhH8tQd1gruK3x/DfHZRne3J ARiPLgEVGJTppUs9T9N31u5Xc6hX5srg32e8njc7OwWeuf+7bcVgTt9cTYtgZ1Eh0rK9N4HKnCA3x xzddrp98qeL9RTvUwX+CIX1164XGP69+K8iSxVW2S+iRdk6MSQFOVMmDVQYt3r2YZoblroxF8Bcoo 4z+luPPkpygm1nsfyesg==; Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pd4Co-00067Y-G5; Fri, 17 Mar 2023 03:08:50 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id E958927C0054; Fri, 17 Mar 2023 03:08:49 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 17 Mar 2023 03:08:49 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdefuddguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvfevufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghs shhilhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnh epudejtdehuddvleffjeekteegvdehleehvdeufefhueekkeekhedvgfeggeffvefgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnh domhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeeh vdelkedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Mar 2023 03:08:49 -0400 (EDT) In-reply-to: <87zg8cp8ct.fsf@web.de> 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:143059 Archived-At: Michael Heerdegen writes: Hi Michael, > your approach looks reasonable, Thanks. >> (let ((minibuffer-setup-hook nil)) > > but are you sure you always want to nullify `minibuffer-setup-hook'? > There might still be something in this hook that you want/need. I replaced my previous "append my own minibuffer-setup-hook function which sets minibuffer-completion-table to what I want" to this simpler one and don't feel that I'm missing something. But you are right, there could be other things which I'm suppressing now. Will have a look. Bye, Tassilo