From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lisa-asket@perso.be Newsgroups: gmane.emacs.help Subject: Exporting form emacs texinfo-mode to dvi, pdf, and html Date: Sat, 26 Jun 2021 18:04:57 +0200 (CEST) Message-ID: References: <8335t4r58i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28723"; mail-complaints-to="usenet@ciao.gmane.io" To: "Eli Zaretskii" , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 26 18:05:54 2021 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 1lxAoc-0007Eo-QU for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Jun 2021 18:05:54 +0200 Original-Received: from localhost ([::1]:48170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxAob-0003cU-Re for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Jun 2021 12:05:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxAno-0003XJ-Bs for help-gnu-emacs@gnu.org; Sat, 26 Jun 2021 12:05:04 -0400 Original-Received: from msg-1.mailo.com ([213.182.54.11]:44438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxAnl-0002Uu-Vr; Sat, 26 Jun 2021 12:05:03 -0400 Original-Received: by www-7.mailo.com with http webmail; Sat, 26 Jun 2021 18:04:57 +0200 (CEST) X-EA-Auth: xbzJmWuTP5rHiMwkLSwPWHdQ2D51pikM9+5VhQKtp9+XtAWZBEjgEWL+OAV0tMnzZIvmB3w85Xv0I3nFFvhE8b9qcbc41kQK X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 In-Reply-To: <8335t4r58i.fsf@gnu.org> Received-SPF: pass client-ip=213.182.54.11; envelope-from=lisa-asket@perso.be; helo=msg-1.mailo.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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:131261 Archived-At: Ok, let's do it.=C2=A0 It also says one can use mode hooks to specify it in= certain modes, like this: I could use it for=C2=A0 texinfo-mode-hook =C2=A0=C2=A0=C2=A0 (add-hook 'c-mode-hook =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda () =C2=A0=C2=A0=C2=A0 =C2=A0(unless (or (file-exists-p "makefile") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 (file-exist= s-p "Makefile")) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setq-local c= ompile-command =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (concat "make -k " =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (if buffer-file-n= ame =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 (shell-quo= te-argument =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 (file-name-sans-extension buffer-file-name)))))))) From: Eli Zaretskii To: help-gnu-emacs@gnu.org Subject: Re: Exporting form emacs texinfo-mode to dvi, pdf, and html Date: 26/06/2021 17:54:37 Europe/Paris > From: lisa-asket@perso.be > Date: Sat, 26 Jun 2021 17:45:11 +0200 (CEST) >=20 > It says >=20 > This variable may be risky if used as a file-local variable. It is not a risk if you yourself wrote the variable's value.