From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Faces for strong, emph and friends in Info? Date: Tue, 9 Apr 2024 06:29:13 -0700 Message-ID: <26133.17065.804651.700023@retriever.mtv.corp.google.com> References: <86o7ajyk6v.fsf@gnu.org> <87o7ajssgp.fsf@gmail.com> <26132.39802.630621.310161@google.com> <861q7fxj20.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16655"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, rpluim@gmail.com, emacs-devel@gnu.org To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 09 15:30:16 2024 Return-path: Envelope-to: ged-emacs-devel@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 1ruBYG-00049S-E4 for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Apr 2024 15:30:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruBXU-0002vO-2O; Tue, 09 Apr 2024 09:29:28 -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 1ruBXT-0002v4-2J for emacs-devel@gnu.org; Tue, 09 Apr 2024 09:29:27 -0400 Original-Received: from mail-oo1-xc2d.google.com ([2607:f8b0:4864:20::c2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ruBXR-0006X5-NG for emacs-devel@gnu.org; Tue, 09 Apr 2024 09:29:26 -0400 Original-Received: by mail-oo1-xc2d.google.com with SMTP id 006d021491bc7-5aa1fe2ad39so1835260eaf.2 for ; Tue, 09 Apr 2024 06:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712669363; x=1713274163; darn=gnu.org; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=9Qn4MdNaDps4wCbjVv/cS5WgUxmLaEceWIkQXEjsRyA=; b=YFwHb5UNBYntP/hZJ9BLbuWszIsmHu9EiIRo+h6Th6JzWU7XXIXdIOk8N9bjVSWcJq kMJCXkYjjdQG9JtbyQlmijk4svO21He72MW/sd55HvvDILACcgp/AZJ3bcj/aNT3XpTS 2BzLdttELD/YOjqYkfHjgZ25iF/3Z2KyrU+d/TjItzCIcJgOjP96jBvik0Kloer9DM9c qN3oaKSTHGAI0/cw6dMHi+wMbX+dfEmgR5b/H0UTlCKMD/VIOxhCCNUITutcgWPQOtgY 77d0HIjVhq/JjqntNPB4XNCe+KqsZMRHfULGLBvoe4/Z2JEg6A9PJk6RM/MPd2M02FbP R4ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712669363; x=1713274163; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=9Qn4MdNaDps4wCbjVv/cS5WgUxmLaEceWIkQXEjsRyA=; b=Mee2tglMjV6nNiBXi+jzFF7aEIp7B7gav4of3z9DrdnSOTBMFqpKNvGWSaOuwznj6v pJXKMoooCxz7/O6vi76EXbShOy3l+VTz2JqAhiZAfz1jZ1OaA2QShoHIdKt+kFGWN44f wiSBiYIKl4M+P2tg9XrFnFa7t4crSyxLytbL20blJ6jFr1b2ksml3QTvyB3ZcS65q8Og vE36Yve9DiYNXAQExgQdQ3mr/B6maAQg9xC46SCwxdf1GV9nOdsfkpGePjDyVAn5g4el umQdiOTEmqxBrhEdg91XCn/DSuPulyBCTnQho5B9sA21MdhhVWDw0ji28gDX9zY/luqx KMag== X-Forwarded-Encrypted: i=1; AJvYcCUrr9SgmFID1+ld9mqtlwMBeq+C+p0DDlsvaiDdpQbEIa17Mz7qHdga3CSHR45WDP2HbAASz+dZOx9EI/DfjM0DsG4c X-Gm-Message-State: AOJu0YyMBbetJceVwFq0cw7MRpeofQC49z/vyv/42f5MZGK1QrBirN3F WJWaTTtDKrURUgiYw8r1c0Sq90jKssBcTMgwerCFa0/osI2aVgKdtEGhBkbkLhEyXh5yjQpm9lF hBw== X-Google-Smtp-Source: AGHT+IFx4bhcOoX2OD3jGu9tnJQisvGFbhqH1gFpr5oOYMogwVf7FThN2DjYJN3dYACS9os5zry/Dw== X-Received: by 2002:a05:6358:d394:b0:186:1b05:5182 with SMTP id mp20-20020a056358d39400b001861b055182mr7826476rwb.13.1712669363193; Tue, 09 Apr 2024 06:29:23 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:15c:b5:1:cc8e:3265:6fb:a32d]) by smtp.gmail.com with ESMTPSA id e1-20020a639a41000000b005dccf9e3b74sm7058986pgo.92.2024.04.09.06.29.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 06:29:19 -0700 (PDT) In-Reply-To: <861q7fxj20.fsf@gnu.org> X-Mailer: VM 8.1.1 under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::c2d; envelope-from=raman@google.com; helo=mail-oo1-xc2d.google.com X-Spam_score_int: -193 X-Spam_score: -19.4 X-Spam_bar: ------------------- X-Spam_report: (-19.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-1.751, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317646 Archived-At: I mispoke badly -- I was trying to say that it should become _foo_ _bar_ _baz_ --- otherwise when the above line-wraps, even visually the effect of @emph gets lost. Eli Zaretskii writes: > > From: "T.V Raman" > > Date: Mon, 8 Apr 2024 18:35:54 -0700 > > Cc: eliz@gnu.org, > > raman@google.com, > > emacs-devel@gnu.org > > > > > > I took a more careful look, and @emph is failing if: > > > > 1. The argument to @emph{} contains spaces, > > 2. E.G.: @emph{this is a test} > > 3. Which turns into this_is_a_test > > 4. And then fails to pass the regex test. > > > > Independent of fontification, the spaces in an italicized phrase > > turning into '_' feels like a bug in its own right. > > I don't see this here. On my system @emph{foo bar baz} produces > _foo bar baz_, with underscores only at the beginning and the end; the > spaces are left alone. > > Which version of Texinfo are you using, and in what manual did you see > spaces converted to underscores? > > In any case, if this is what you see in the Info file, it's a Texinfo > problem, not an Emacs problem. --