From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alessandro Bertulli Newsgroups: gmane.emacs.help Subject: Re: Unicode characters for transcribing to pdf Date: Mon, 05 Sep 2022 11:16:45 +0200 Message-ID: <87leqy2n6y.fsf@gmail.com> References: <874jxsqehn.fsf@fastmail.fm> <87edwve99q.fsf@gmail.com> <86y1v38fnn.fsf@gnu.org> <87o7vwk9g0.fsf@gmail.com> <87fsh6hjgj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33596"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.9; emacs 29.0.50 Cc: help-gnu-emacs@gnu.org To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 11:22:25 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 1oV8JD-0008Zs-8Y for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 11:22:23 +0200 Original-Received: from localhost ([::1]:49800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV8JC-0001JR-2f for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 05:22:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV8GH-0001H6-Hh for help-gnu-emacs@gnu.org; Mon, 05 Sep 2022 05:19:21 -0400 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:43863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV8GF-0003v7-UM for help-gnu-emacs@gnu.org; Mon, 05 Sep 2022 05:19:21 -0400 Original-Received: by mail-ed1-x52d.google.com with SMTP id x73so3529656ede.10 for ; Mon, 05 Sep 2022 02:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date; bh=wx3H8P8ftAr47rQvCbwOZdEX48k+TtyDbQyzK7LtZFU=; b=ZbvmGJqHOZpBMh+b2NQSl+fJDLonbfhax8fggaRzjJvU3voD00XCp3jjzlNsMFiZ5c lJ82c3s7h7antic0tHpb43O9SnJ49ZwKW+lHpKYfdxSkFuwmHN4PLG7FT3tBljR52Mqs 8A/dgnfYbkxhqzhfUf4RJfLHkSWQ0gic9mkzHYQX0TTWHq9B2sDO2escfw2tRLrodUn9 oz3wOUcv4tw541GNKS7AkmHy74N1cJzkKiMzVtZTMckSa/UfXNo43r50K4puhmx3zlRy Svv5xEglKDl0KxxjbfVGFdsSAfEiXIVvSjfXxSsBPBST4y8dC7ADQ7b57O+x2UB7cVc+ RnQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date; bh=wx3H8P8ftAr47rQvCbwOZdEX48k+TtyDbQyzK7LtZFU=; b=Ms018m3JFZynYKw4mpJTqLzWBWx/6jXkvqeDo7pe6U449Cnr9ncz6e5KWU2ryUFCoa 59lkBv5JpJvB5/Y8i27s5NZETMQKlI1JTq22kaixA3iw/vgkIt51SIPU5YHHkM8aPqFx /nb1I6r1Y16w6TF4R3tV5RwDCcpowKMFQSoI7cupuCalhrdHIjEcopdTkvdx5VBq3sAn ikJN8KjC1nSM+Hk3FTKiFcVITfwtYU+LT/LeeZTc1MqwFTxJRbJO4zl3+WjIBXNzoDMp k54lX60o/Z2iAUGjJKGllIrttI9UtPiYeyqzfwudytbrgccSLOD1IDo1rEq76bYv2cmO Gh8A== X-Gm-Message-State: ACgBeo3cEc5fhMwJOrjS9ovEUnCnkeU1ZC+W2O3C+4C48EorWqhiieAO 1Lw2zzVLdUvw16bt1SA3kNbOml7X/sA= X-Google-Smtp-Source: AA6agR66UvSvzWpxrZ4FYKGv9PApbD16NWDaVFleaagRzL+J7gktnZkF0SLLyizkCuk9mVqzzNdPxQ== X-Received: by 2002:a05:6402:2712:b0:448:e383:1f37 with SMTP id y18-20020a056402271200b00448e3831f37mr23356413edd.375.1662369558312; Mon, 05 Sep 2022 02:19:18 -0700 (PDT) Original-Received: from commodoroII (2-235-154-9.ip228.fastwebnet.it. [2.235.154.9]) by smtp.gmail.com with ESMTPSA id h10-20020a170906590a00b0073d89c167a1sm4819836ejq.137.2022.09.05.02.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 02:19:17 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=alessandro.bertulli96@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:139251 Archived-At: writes: >> >> 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. 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? > And to nitpick a bit more: it doesn't happen when a LaTeX file is loaded, > but when LaTeX mode is "switched on", that can happen in other occassions > 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 second). Sure, but that's not a problem, since even when creating a new LaTeX file, I always open a .tex file. Alessandro