From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: No Wayman Newsgroups: gmane.emacs.bugs Subject: bug#55839: [PATCH] * doc/man/emacs.1.in: Add --init-directory. Date: Tue, 07 Jun 2022 22:17:59 -0400 Message-ID: <8735gfkib6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9844"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.26; emacs 29.0.50 To: 55839@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 08 04:19:16 2022 Return-path: Envelope-to: geb-bug-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 1nylHw-0002Md-Ea for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jun 2022 04:19:16 +0200 Original-Received: from localhost ([::1]:59382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nylHr-0006Zi-42 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 22:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nylHi-0006ZZ-F6 for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 22:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nylHi-0008JA-6M for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 22:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nylHi-00052n-0x for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 22:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jun 2022 02:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165465468719296 (code B ref -1); Wed, 08 Jun 2022 02:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jun 2022 02:18:07 +0000 Original-Received: from localhost ([127.0.0.1]:42005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nylGo-000519-My for submit@debbugs.gnu.org; Tue, 07 Jun 2022 22:18:06 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nylGk-00050w-U0 for submit@debbugs.gnu.org; Tue, 07 Jun 2022 22:18:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nylGk-0006VW-Oq for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 22:18:02 -0400 Original-Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:38701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nylGj-0008A4-3z for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 22:18:02 -0400 Original-Received: by mail-qt1-x82c.google.com with SMTP id f13so548932qtb.5 for ; Tue, 07 Jun 2022 19:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=J5Ks5aE69WkILMUFR26Gbkxojn3sQ9lqIqs6vh2hs2s=; b=CI9+q2wDPtcZXiqFhn4skzzvWMA5trg5zFT3qEPstjNew8FlYxV89bW9bJ3g5Vqe4M VPey9BiX9OHjXsazFcfnOX6monCa5MpwSDDFiDHH6x19VvIPs6JwVcZnqSccI6THrkRX onwe+eCRDZoQcACUTn/omApYQn+zovJnVXQLMwbtTP4o0iW/g3ZyB1Tg3AiVCJWrl58J 18S3MqVqv19KlayHjsps5k0XFx/qbsJ6HjNbp4ZBerY3tEEp9/X3qIk0W6uvXG8GTBqL KlQfZG0ktOqkQ5+HLDg88IQ/YRARtdv5KnUDb+Hq4sk2hkssQOHZOW2c1WNErOmTLFE1 yg6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=J5Ks5aE69WkILMUFR26Gbkxojn3sQ9lqIqs6vh2hs2s=; b=yBQh+YxpwcV1yJJr7u/zItaMo9FyfwL7mrtaJw+vJYJFf+3JuqBM9izTHoNdrKhJia wpstdMxKC8LBNWqH9NB99Bg6YoOrX1aZHGjoRTNR8w/hbI3+E35+iq+5tM1vMkah+R02 DiI/QHXOcONg/oAzSI8XqvoGfc9fnDtmA5xenrGAOYtoVVCEP4QKIzOmFakEfIU3vCSY lrY7jt/9w9h+KjuUDkIFrPXiRJ/7T4xFB50dKPFlzqGxp2Zp7aP65nf0gYk+nvtSgyJt CmBRv5oPwPheZwLdilBTZOAbLe5w360DOWKmtsMsrYkT43v29yk7zX2HyP6cz9QiebaV V/yQ== X-Gm-Message-State: AOAM5301O8Sf4NdafSRpxlYorwLax3HD+uTEsVLcFX/g8LMh5rMMPdrB rTn+LBoGfzi2P8DjCkoPTiebjAiKZ4s= X-Google-Smtp-Source: ABdhPJwPArBM1E6cEF2njj0RyI3xzO8s4msVdZbvlVIqRPvyTkNi1fVDM/xtd48BBZOmeuiJHzRQEQ== X-Received: by 2002:a05:622a:1305:b0:2f3:e1b1:c622 with SMTP id v5-20020a05622a130500b002f3e1b1c622mr25182197qtk.137.1654654679175; Tue, 07 Jun 2022 19:17:59 -0700 (PDT) Original-Received: from nbook ([2601:82:c200:166d:7a0:14e6:e26:75bd]) by smtp.gmail.com with ESMTPSA id u5-20020a05620a454500b006a6cadd89efsm4544722qkp.82.2022.06.07.19.17.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 19:17:58 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::82c; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qt1-x82c.google.com 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, 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233944 Archived-At: --=-=-= Content-Type: text/plain; format=flowed Tags: patch Thanks for the switch, Lars. Useful for debugging and experimenting with new init files. Saw this in the NEWS file, but did not see it on the man page. See attached for man page patch. ~Nick In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-06-04 built on nbook Repository revision: e74652386d62a5a6142bf6332e0e4b4aa48c7088 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --with-native-compilation --with-xinput2 --with-x-toolkit=gtk3 --without-xaw3d --with-sound=no --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-doc-man-emacs.1.in-Add-init-directory.patch >From 79178dca352980ad03b04dbba4b5ed1b74acbe11 Mon Sep 17 00:00:00 2001 From: Nicholas Vollmer Date: Tue, 7 Jun 2022 22:14:35 -0400 Subject: [PATCH] * doc/man/emacs.1.in: Add --init-directory. --- doc/man/emacs.1.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/man/emacs.1.in b/doc/man/emacs.1.in index 9fdf65e0ff..7b2b553979 100644 --- a/doc/man/emacs.1.in +++ b/doc/man/emacs.1.in @@ -1,5 +1,5 @@ .\" See section COPYING for copyright and redistribution information. -.TH EMACS 1 "2021-09-28" "GNU Emacs @version@" "GNU" +.TH EMACS 1 "2022-06-07" "GNU Emacs @version@" "GNU" . . .SH NAME @@ -117,6 +117,10 @@ Load .IR user 's init file. .TP +.BI \-\-init\-directory= "directory" +Start emacs with user-emacs-directory set to +.IR directory . +.TP .BI \-t " file\fR,\fP " \-\-terminal= "file" Use specified .I file -- 2.36.1 --=-=-=--