From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: Unicode characters for transcribing to pdf Date: Mon, 5 Sep 2022 20:51:32 +0200 Message-ID: References: <874jxsqehn.fsf@fastmail.fm> <87edwve99q.fsf@gmail.com> <86y1v38fnn.fsf@gnu.org> <87o7vwk9g0.fsf@gmail.com> <87fsh6hjgj.fsf@gmail.com> <87leqy2n6y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cdeWg2oxUubEQaqm" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13825"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Alessandro Bertulli Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 20:54:38 2022 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 1oVHF0-0003Or-2e for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 20:54:38 +0200 Original-Received: from localhost ([::1]:57466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVHEz-00072x-59 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 14:54:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVHC5-0004cQ-E5 for help-gnu-emacs@gnu.org; Mon, 05 Sep 2022 14:51:37 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:40090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVHC3-0006cL-8v for help-gnu-emacs@gnu.org; Mon, 05 Sep 2022 14:51:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :Cc:To:From:Date: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=8En+6CleyvYhQQgygZU0WpUDg9ZDHUrle9zCmcCUTqM=; b=bPnt/7YmDzF4hErUBAklT994cN bE6gqkI4GR7odHSqgVpaTTmlSPXZBwf/jg/IJSWC7ScvGyr1nh8zxX+wRq9KE6Mluat91mO5ynUyh NNYvgwQ9VxbB0FmH1E3pUdzOt8qKylWbCwZCDDZkQzHr9Abw8hfmg4EVoD0jUyGBn08l45xm3Yx7B B8guy2uox+FbRAnPTI2mS/K9eVMsBvAIV/CPyxtpGF1hPkt1w6Pk44V/eJhR/zDwRylLwXF87aL6A 2Z7gabKm7R7pAp7EFYCXeopnsRhLGLAXgR5nlBqxMUh5QVgCvr495eMuYXbqBc6OyYCodBhZhV8Zk b3elfrZg==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1oVHC0-00059A-Ez; Mon, 05 Sep 2022 20:51:32 +0200 Content-Disposition: inline In-Reply-To: <87leqy2n6y.fsf@gmail.com> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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" Xref: news.gmane.io gmane.emacs.help:139265 Archived-At: --cdeWg2oxUubEQaqm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 05, 2022 at 11:16:45AM +0200, Alessandro Bertulli wrote: >=20 > writes: > >>=20 > >> Isn't this redundant? You call the function every time a LaTeX file is > >> loaded. The first method is preferrable, right? > > > > I think they are doing different things. There are things you want to > > happen on each buffer when and once it becomes a "LaTeX buffer". Setting > > buffer-local variables comes to mind. >=20 > Sorry, I didn't understand: are you saying that defining keybindings is > one of those cases? Key maps are not buffer-local, are they? Or did I > miss something? No, keybindings seem an adequate application for the former. If you were limiting your question to that case, you are totally right, of course.=20 > > And to nitpick a bit more: it doesn't happen when a LaTeX file is loade= d, > > but when LaTeX mode is "switched on", that can happen in other occassio= ns > > too (when creating a new buffer you know it will be LaTeX, but you can > > also switch the mode on and off; LaTeX isn't a good example for the sec= ond). >=20 > Sure, but that's not a problem, since even when creating a new LaTeX > file, I always open a .tex file. You might do. An org-to-LaTeX converter, for one example, might be doing it directly into a buffer. Cheers --=20 t --cdeWg2oxUubEQaqm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYxZFLAAKCRAFyCz1etHa RrG+AJ93TLwsVlDlt9DtcTTPtoKwC2avFgCfdabbn+iGenW3xFJW700tWHdLdKU= =6O7O -----END PGP SIGNATURE----- --cdeWg2oxUubEQaqm--