From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Platon Pronko Newsgroups: gmane.emacs.help Subject: Re: Major mode for bash scripts Date: Sun, 25 Jun 2023 19:49:00 +0800 Message-ID: <0e6302ca-939d-10a8-1b9a-af09ff854868@gmail.com> References: <5a6a0a59-bc3b-0df8-0a5b-dd4095344edd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9747"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cc: uzibalqa via Users list for the GNU Emacs text editor To: uzibalqa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 25 13:50:02 2023 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 1qDOFm-0002Jz-4S for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Jun 2023 13:50:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDOF6-0004pL-1k; Sun, 25 Jun 2023 07:49:21 -0400 Original-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 1qDOEy-0004ox-Fp for help-gnu-emacs@gnu.org; Sun, 25 Jun 2023 07:49:13 -0400 Original-Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDOEw-0002ss-SK for help-gnu-emacs@gnu.org; Sun, 25 Jun 2023 07:49:12 -0400 Original-Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1b5422163f4so19025595ad.2 for ; Sun, 25 Jun 2023 04:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687693745; x=1690285745; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AcGpSuioQMMDqr7ixpA9f+7bYarSFQDuW3nE8LRyw/g=; b=TeErHMkjHZ1mOYlIVhcIImbmy3USrudpGboBS9zYGrC/+Wd7vI7yaT93zydlf+WU0N IcpvpYIJCjHvK7zplac3XIZzeG7bBkc0mJYBEcadz/0vThhuXEosNZwE9O+NoGzMAvON rNDNTLlMNf5xnCxJpXrsJNKUQQvidDkyDIYF+80PkIvQNHj3mq0bAwPuYYfpRJOkfquT JgOpCcuV6BIm0Y8j2kRU3Y1VBA0bf1guiOH3nv4xWqlEuz8rUSUx45R8pyx/j/CAUhCU GSzQlAAOQVJ/HmgP+y5I1Ufdup2tFGiwjzf4UStEaeYZc8tMP2fyiUXGxFXZk31UGsQ+ n9Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687693745; x=1690285745; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AcGpSuioQMMDqr7ixpA9f+7bYarSFQDuW3nE8LRyw/g=; b=UR0fs/mKsQr3viIrsYZeBSaR++k6aYoqguSwxstf9zkz26XWvLLx3dRGDF6+9vpJit wT/Zn8FRKbjTDa3BsEZ0Wv69bDGg6QuelyLTrpD2vdLxdN0EOnWpGNzkEYVOToW7DGIU cXyfmrVQ15oSAPd2SittmqlB2ZbebE+aU2xGL3BVuIvojoTTBdr1mJZJ//dBxo/ViM6I 9umNOqUKaXOp++9apg7TJXJHPga9FuVx5wXJYzVO7uCintA0PM9tv+5fVeRhmHFke2N3 6PoL2+Tto6j2YpkZGRp5/z+O4tNuAoCGyURYFBapv8GIsJt/zQFiU02OGG0gw2LIr2xy p6pg== X-Gm-Message-State: AC+VfDxLU0aDlU6RgA9O3QjPZ/En0hv5QDtOSpQ8YavPQ93DdK363m2f ssuRDmMY+AVilxB2NjBQ/ss= X-Google-Smtp-Source: ACHHUZ6E5o8SLR6w9qpWDF1AGxGGaC/yxP8HW6XJU1wa+d37Qhd8Gru4OXAWk6xE3IYaaK714hZ28Q== X-Received: by 2002:a17:902:ed52:b0:1b2:48a:57fa with SMTP id y18-20020a170902ed5200b001b2048a57famr4250096plb.56.1687693744989; Sun, 25 Jun 2023 04:49:04 -0700 (PDT) Original-Received: from [192.163.0.137] ([103.24.106.35]) by smtp.gmail.com with ESMTPSA id t21-20020a1709028c9500b001b016313b27sm2382119plo.88.2023.06.25.04.49.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Jun 2023 04:49:04 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=platon7pronko@gmail.com; helo=mail-pl1-x636.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, NICE_REPLY_A=-0.089, 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144040 Archived-At: >>> Have been looking at the mode suitable for bash and have found people >>> mentioning "shell-script-mode" and "sh-mode", which do not work. What >>> is the appropriate mode for bash scripts ? >> >> sh-mode works for me. - Platon Pronko > > But then the corresponding sh-mode-map does not exist. It does for me. It looks like you are doing something weird in your setup - try starting Emacs without extra configuration (emacs -Q) and test there.