From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 47e313e9805: Unbind 'C-M-i' in Text mode Date: Thu, 30 Nov 2023 08:07:21 +0200 Message-ID: <83sf4n6ag6.fsf@gnu.org> References: <170099515102.15929.4538081255360222923@vcs2.savannah.gnu.org> <20231126103911.6CEAFC25D5B@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7725"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, me@eshelyaron.com To: Arash Esbati Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 30 07:08:39 2023 Return-path: Envelope-to: ged-emacs-devel@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 1r8aE2-0001nS-JV for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Nov 2023 07:08:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8aCy-00026U-Mh; Thu, 30 Nov 2023 01:07:32 -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 1r8aCx-00026J-87 for emacs-devel@gnu.org; Thu, 30 Nov 2023 01:07:31 -0500 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 1r8aCw-0005pB-RX; Thu, 30 Nov 2023 01:07:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OOvu2ThDdWey04xtp8rSzYpK0i+SWYoQIIH9BLFuuWc=; b=VRssqt1vQmSrrBIBcwHD 7WLLEmCLWbw0uYGx7N1KP2dBXzXi5gPZ13x1K1Yj0O5oeWhwKuU3CzutUAJA7vrnsEUea4pn4UnNv FMv+uEAzvxZALRHbzCgZ+NP6DBg9WfvgJMaVCnyptX9XSlX3LDw67vZt3RVvKeVR4bn4xOwgjHza+ SvTUif1dhDeCmumq6p8BRiK6eB1LRT4YUXMxR50KQC6Z3+QJbzHZ4KH3QtRdfgJzoCS8c0q8O0Fdd cv/J7ichJE3dMXjI2LgVEnNtCARGBzLjW7jsZZvHejIk6++xVp0bKqd7RSGvph4hXULMu+7hgpe2l UUTDaTomcztx0w==; In-Reply-To: (message from Arash Esbati on Wed, 29 Nov 2023 20:11:15 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313382 Archived-At: > From: Arash Esbati > Cc: Eshel Yaron > Date: Wed, 29 Nov 2023 20:11:15 +0100 > > > ;; Enable text conversion in this buffer. > > (setq-local text-conversion-style t) > > - (add-hook 'context-menu-functions 'text-mode-context-menu 10 t)) > > + (add-hook 'context-menu-functions 'text-mode-context-menu 10 t) > > + (add-hook 'completion-at-point-functions #'ispell-completion-at-point 10 t)) > > > > (define-derived-mode paragraph-indent-text-mode text-mode "Parindent" > > "Major mode for editing text, with leading spaces starting a paragraph. > > I think this part of the change now throws: > > ELC+ELN ../lisp/textmodes/text-mode.elc > In end of data: > text-mode.el:147:46: Warning: the function ‘ispell-completion-at-point’ > is not known to be defined. > > Maybe declare'ing the function helps? This is with Emacs 30 > (a811846879) on macOS. It's a bogus warning, it happens because you build Emacs incrementally, starting from the previous build. To make sure, say touch lisp/textmodes/text-mode.el and then say "make" again -- this time there will be no warning. AFAICT, the problem is that the first time loaddefs.el still isn't updated, or something like that. Such temporary warnings appear very frequently when Emacs is built after an update (as opposed to a "make bootstrap").