From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alex Branham Newsgroups: gmane.emacs.help Subject: Comment syntax Date: Thu, 27 Jun 2019 21:35:30 -0500 Message-ID: <8736ju1lot.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="117624"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.2.0; emacs 27.0.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 28 04:35:59 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hggjy-000UKH-5G for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jun 2019 04:35:59 +0200 Original-Received: from localhost ([::1]:55844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hggjw-0004dZ-Ig for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Jun 2019 22:35:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56055) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hggjn-0004cF-Uq for help-gnu-emacs@gnu.org; Thu, 27 Jun 2019 22:35:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hggji-0001I3-VP for help-gnu-emacs@gnu.org; Thu, 27 Jun 2019 22:35:43 -0400 Original-Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:36434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hggjf-0001Bl-RI for help-gnu-emacs@gnu.org; Thu, 27 Jun 2019 22:35:37 -0400 Original-Received: by mail-ot1-x334.google.com with SMTP id r6so4476469oti.3 for ; Thu, 27 Jun 2019 19:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=qCH5Wak2Mg+iQtrcZ3FW8gyr62KTQqpsq6eRPNtBPiA=; b=GT04jx1N8a9BOSU11lw9KaMSQkTKNe3rA+8o6FWuOTcAt+OAZk+4Q5q5K1NK3CLPkd p1J3h/3k8T0wU24yPBfpvSy5JHWzBCbFZNWt7bLG56juIitmyDQqlIgGRgp1aJnNsFyV jvPDSMTvdPVYvMXBLVmaPIAsaxxElRyUxzTEs+rIixnInyhTjvuQ71Bcm/4alZ37MlZN WwTVcEgIyJe1SRPL0cjk6mEA4/3Rh/nYcvXX/wB3WbEDvoRQkDFPrcHjAZiS8ehFpIVZ FyLhDdDwCCOio1feiiD+Uth3BoM2u5We+C6joPFAPdDiHLJTLlIpUJSpknpxK5MvYPS5 NIlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=qCH5Wak2Mg+iQtrcZ3FW8gyr62KTQqpsq6eRPNtBPiA=; b=HpvfoeWOVaz8kLcuOjWFnMAmpB3mj12raLEvy15O5OBNjXsgUInafqoDIHK+K/gxgA rkFTndfFHS3zpKiuW8gdF1uS45R3Ah8ZXzMK4CVFkNjogcK8P4CRAJsQ/WwUjPCZi7/i nPmLH8K82zUlL+e/SibmMC3CSg6Z+uErXxbHm7/tLnVh9dTszgxvQIcLC4ESaGpijTVj 5YJCX+YodALSNH7YNxdaVqVMI84EeHAZSI7p9Stm1GM1j6N+V5+ujxhNYRdXkwfCjJ/L 2SRCnyZE3RX5+++9qPmmtLdOjEZLES+d6IA+QNNlQ1+YEG07OYBa37wPLmPhnDX4sTzU zu+Q== X-Gm-Message-State: APjAAAWRlr92kbg8I6Yop4CRp5vQBqV+hqmxsLzikOmGx78/QgNA4YQP YOY3ObwfaDyVAYxjM4Vf3sqHf8F3kH4= X-Google-Smtp-Source: APXvYqwY02kNoOk5poqFQ19Whs0eTjSKhdiQ2cz94a63jYVjQMArb6++f4xe6eDY0j1/wk4/BF6WfA== X-Received: by 2002:a05:6830:211a:: with SMTP id i26mr5889816otc.15.1561689333234; Thu, 27 Jun 2019 19:35:33 -0700 (PDT) Original-Received: from mars (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id y4sm381872otj.56.2019.06.27.19.35.31 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 27 Jun 2019 19:35:31 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::334 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121063 Archived-At: Hello - I am trying to write Emacs support for a major mode where * (an asterisk) starts a comment, but only if * is at the beginning of the line (comments started this way end at the end of the line). I've read through (info "(elisp) Syntax Flags") about how to support this but nothing there seems to help (unless I missed something, which is very possible.) Is there a way to get bol-* recognized as starting a comment? Any pointers appreciated, Alex