From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kCgLLVsOOWRdNwEASxT56A (envelope-from ) for ; Fri, 14 Apr 2023 10:27:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QFIiLVsOOWSSAwAA9RJhRA (envelope-from ) for ; Fri, 14 Apr 2023 10:27:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4DC0921949 for ; Fri, 14 Apr 2023 10:27:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnEky-0003C0-7C; Fri, 14 Apr 2023 04:26:08 -0400 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 1pnEkw-0003BQ-2b for emacs-orgmode@gnu.org; Fri, 14 Apr 2023 04:26:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnEkh-0001cw-DJ for emacs-orgmode@gnu.org; Fri, 14 Apr 2023 04:26:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0D0CC240304 for ; Fri, 14 Apr 2023 10:25:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681460747; bh=hAwe14pUMnI5pQuNIPvT1RpTU//RbDnCNbycqYSC72c=; h=From:To:Cc:Subject:Date:From; b=iF3CXPuCSa7Dv67h5S0/nfhayhrMgFub9DDnrU8/3kixfb+ooQKEBdrrINQOGRbkJ 4q0XLJZZ7rz6+vc9wMeZBUzDKOQ2whs+k/G9tOmWHvY5ETCcFJG5GhW/MwrrbEO2zA lfi+v1mlU4KzpwgRy6YFfNS2FvL2vvrXGeBbod+TYV+J8BRFOG7gIL6bLGeUNzXOLE NjAOIMHQWR5wlqVqVhuCFjC+MYMRK3AbzDCfU2O4jIXX5Udm/G8ymKyv405hc+N2ZH 9V3t+UVcb387x2HgM/rV7KCRb5TWCvfigMbZjBg8RCdnODC0ChW1nu5Hnfbg4sCTDv ufWri/ljm9xnQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PyTzZ3q9jz9rxK; Fri, 14 Apr 2023 10:25:46 +0200 (CEST) From: Ihor Radchenko To: "Ruijie Yu via General discussions about Org-mode." Cc: Ruijie Yu , Bastien Subject: Re: Major mode of orgweb/publish.sh? In-Reply-To: References: Date: Fri, 14 Apr 2023 08:28:20 +0000 Message-ID: <87a5zaookb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.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 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681460827; a=rsa-sha256; cv=none; b=e9c5m6ZrOejWtaCJBvI0aTN5g5F+5Xm5yDm4wkmIXRZgNNmiPxFMARCzjqC+O5J3oMOgUF 8V3lGrpaxcqxhCg6/TNPno+dT05oj2oxh6e97Mz3HMUC+LfvrZ2c4gR97yMAUdUhig8dOO 3Ew7ZsFgByV2MfFGSieat1g7nJssVnRxUx1I0teQ+eZKeeqd2dHhzrXpktdrod1Jog5Pkw jC82viYWQJxKoeHHKBVYUAy3Kxn2EdrYzBN92nKJ7BoGJ8MT6zbIjd5zym6bompCEWo8oA I2yexD0SRrCc27iNQwRVPGir+m1Jevk8ZHERLK43Fjxe6YKj3353+Mg6AMuEZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iF3CXPuC; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681460827; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CZxp8X9zzUHg1vpsvknYhzfJaTjwCths01yUYulnqjo=; b=sgaBr404QUU2WI+vfLzy0p0nxQjJvTGuBPBy/k0TF9uBKj0ISdoqoX3M6EJgcPPHu/nzrK 34rGg71o+2LrfSpsjEsIrarA1tWhtJ0M1MXvMorML2LVPFRzT3qSLhC2XnAmhFZgywtpa+ p5APoDvWf1LTI3AXLj4lgLdLbqwVkyyCw97mC48e8WQ6nQnAxsk+wITwWiTwwn/jgSv8ul N1cwePLibGHQZkp1ywT4SMrQZb406JEia2RVIObqKxjYfXX2yXngRvugN1nqQHU9+e1u1O IWfGx2W0hDUOeCx+siKWXNO4XKDzp7fjZfjVkjQ8quDh2L4swqY3bKSKygKeLA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.71 X-Spam-Score: -3.71 X-Migadu-Queue-Id: 4DC0921949 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iF3CXPuC; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: Vz8+0s+zIOc3 Ruijie Yu via "General discussions about Org-mode." writes: > Major mode was erronously set to shell-script-mode because of the empty line. There is no error there. The line in question is inline stdin redirect in shell. "#..." is what is fed to exec emacs. There is no intention to define mode for publish.sh there, just a standard Elisp script header. > Converted the `load' into `require' because it allows someone working on a local > repo to `eval-buffer' successfully, given that the individual installs these > dependencies from GNU/NonGNU Elpa. Previously, due to the hard-coded path, > `eval-buffer' would not be successful. Looks reasonable, but I will let Bastien decide on this. He is the author of this file. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at