From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: Get second character from comment-start Date: Tue, 13 Aug 2024 15:15:37 +1000 Message-ID: <86o75xc8au.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14055"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 13 07:16:41 2024 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 1sdjtg-0003WM-VR for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Aug 2024 07:16:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdjt1-0004qo-4h; Tue, 13 Aug 2024 01:15:59 -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 1sdjsp-0004Fz-T3 for help-gnu-emacs@gnu.org; Tue, 13 Aug 2024 01:15:51 -0400 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdjsn-0000fL-60 for help-gnu-emacs@gnu.org; Tue, 13 Aug 2024 01:15:46 -0400 Original-Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1fc692abba4so42735155ad.2 for ; Mon, 12 Aug 2024 22:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723526143; x=1724130943; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=TKVq5K50+ZxdcbnoRwPPPhOzysrWOPwGKUj8qo3tp7Q=; b=meEXVqmERXJd7PYl80gE5CPfmZiD1VKmMCEH8jQ1h+EPMvWKamvO8/ZU6Ih3EQVFJU Yx98AR4LsFm1dP2rCg/bA0JTKRNdtF2csK///OMcN9fCTqVyVcuf0cnix35ahZFHfRrQ OADipvolUcqrCTx+bC/yjWNAasV0MIsAI6vH7FUH/sxGDznXwzE5Cf48Wob1nWpJ0e7D ViSq3FsCyvocwoxUt8X7OzzEij5lw+/Yefw9cz/BIYAwr0f6mPiy6D9RCjpIfc8p42Te Whb23iqP4LLf+bagkSmQPrsu4vcK5otpyAlXLbKrIX+1PCFlsaZmcdyPmxLlgceAXI8i n38w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723526143; x=1724130943; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TKVq5K50+ZxdcbnoRwPPPhOzysrWOPwGKUj8qo3tp7Q=; b=GGnSdyEThmyrHQgfAp6ffIy4tFgaQigqm9EUlnyQobIMYn9iG2jEyNhoAUamZztPjx VOkZi3hTyMUyY5/cKsN4W71yt6lLpzq/s6ekv+NVBG3kQDjbDqyX+4l1Io8P4wk2PNXW jNTAXgdThHOTjSI6jM74uwqcNXV+1HqGVoR8uCm7nQHh0fJqiGpvl2410fPooyqE69ff bQb+G5JO6hqw9dGTQkR2brMT1sapk0miNBSabCuqmEgcUmKlsm+F9g34bODZFrPabF85 4bs4B2eXj3+gJ6qEpR7BXcwYsoFE54AIQVH9mMSUQ2PcaizyJ+vzTQOa4FoMo4lr4fHx M35g== X-Gm-Message-State: AOJu0YwuInC3fuAdFMx/sNRziHDTrdn8D0rw2Ozt1fJiJlCCYKxC+isH KQl39nIAvuV8roCWncBzE0dhbbHJCWBzCIxdB8cAIYEpIVeawse6FRanLg99 X-Google-Smtp-Source: AGHT+IG+5IwwAWDbLzyhm16c9I0nZyJq0+WSmaFKeg2TmhqBh2ZKMVGaz85UKLageo2kU37h5XLweQ== X-Received: by 2002:a17:902:ec90:b0:200:abb6:4daf with SMTP id d9443c01a7336-201ca18bbf9mr30325235ad.39.1723526143393; Mon, 12 Aug 2024 22:15:43 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201cd1e1572sm5166055ad.300.2024.08.12.22.15.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 22:15:42 -0700 (PDT) In-Reply-To: (Heime's message of "Mon, 12 Aug 2024 19:47:16 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=joel.reicher@gmail.com; helo=mail-pl1-x62c.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: 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:147652 Archived-At: Heime writes: > I want to get the second character from comment-start. > > Would one use (aref kmnt 1) ? Any reason not to do (aref ... 1)? Not sure what you're worried about. Regards, - Joel