From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: Non-ASCII characters in Info files produced by Texinfo 7.1 Date: Tue, 24 Oct 2023 14:37:36 +0530 Message-ID: <87y1fs75if.fsf@gmail.com> References: <83o7gpm9uy.fsf@gnu.org> <875y2w8vfj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6134"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 24 11:08:32 2023 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 1qvDOo-0001OK-RT for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Oct 2023 11:08:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvDOB-0003GL-He; Tue, 24 Oct 2023 05:07:51 -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 1qvDO8-0003Fz-3H for emacs-devel@gnu.org; Tue, 24 Oct 2023 05:07:48 -0400 Original-Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvDO5-0001P9-Fa; Tue, 24 Oct 2023 05:07:47 -0400 Original-Received: by mail-pf1-x443.google.com with SMTP id d2e1a72fcca58-6bd73395bceso3098022b3a.0; Tue, 24 Oct 2023 02:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698138464; x=1698743264; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:references :message-id:date:in-reply-to:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=L9Xu8l+vCk1jPgQV8L3yql4K1i9NCaMeDImpr6kPwho=; b=UbrG8dcxz59c3HmqStpfqefqiyQpXAGNpgbedcbMQ/Dv0Z4NnUIsXVTRKQEgg/89xi V1Z0mjhhITe5UJnlU7xEKsgdYbUth46P2/PBQLjvFXO5ZVqdyDns464Qeck5dekdfzPi SCwa26dF5nIsDyqIm5w84Ku1PBcBBODyLNItTyo+POBSsZzvPoJyp2OZuEfRsZdAUuS1 5ktfN+wG8aO13Qbb0U/JC7NWMDHRWGzLkREcPCoyIiWO41wbBtz5bh/h9PUJG+oZlFf0 J+whw9OIvoRbgIIMFLdfjfS8ry5ng28gAvoyhLI+7Z9Pcb+Wy8L2sHhLxAmKnYFvP5h8 7l7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698138464; x=1698743264; h=content-transfer-encoding:mime-version:user-agent:references :message-id:date:in-reply-to:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=L9Xu8l+vCk1jPgQV8L3yql4K1i9NCaMeDImpr6kPwho=; b=A8vi8o60lzAI4GreilbEd60Mjtd7C3SITcQI3ObcO8LA6cKLdu9EfhTBrUERgMx7AT ZkoNsNIUb2seWqpD53HlswqilmL85MoP9V+031L0uP5ZVKkH2kM5useg407qw2m03vOt YW7EKgxpWQYGWSnhOcwJ1oNUrPBg69BHZtZTS00wa60G5DNvxpLXtxneh8Wc3i6ut8qD k2bFkfDkB5Ix0iZbFEa98kMUnF/I6fTB0rNTRVL81WYf038+HZRtiTT/z+Zw1Xmpp0DN cpPci3KIubavE502YaVKuP6eZdS/El6RVsHtIkI8R7IHeWwugzI2cXGP7nnY89/lcADv 1Htw== X-Gm-Message-State: AOJu0Yy4WwKESTgc/az++jdUf1t6H9Od5d1WYLJ4rw71ZDtdD41nRqgX pGLyop289f2iytrUv55POI3RpDOVyM4szw== X-Google-Smtp-Source: AGHT+IFBhfVk4rQAlHvEsiJ2TWQVfyudo8t8glzvIO/nyUE1eP0FtmtlzqkZWGFFw9ov1G7yDBd3Yg== X-Received: by 2002:a05:6a00:986:b0:68f:d44c:22f8 with SMTP id u6-20020a056a00098600b0068fd44c22f8mr16548102pfg.1.1698138463802; Tue, 24 Oct 2023 02:07:43 -0700 (PDT) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id b189-20020a62cfc6000000b0069029a3196dsm7643244pfg.184.2023.10.24.02.07.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 02:07:43 -0700 (PDT) In-Reply-To: (Stefan Kangas's message of "Tue, 24 Oct 2023 01:52:04 -0700") Received-SPF: pass client-ip=2607:f8b0:4864:20::443; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x443.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 autolearn=ham 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:311761 Archived-At: [=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D = =E0=AE=85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=8B=E0=AE=AA=E0=AE=B0=E0=AF=8D 24= , 2023] Stefan Kangas wrote: > Visuwesh writes: > >> AFAIK, this is already true for `, see isearch-fold-quotes-mode. > > Thanks, I didn't know that variable. It should be enabled by default in > Info mode, and perhaps Help mode too. It is enabled from Emacs 29 apparently: ** Isearch in "*Help*" and "*info*" now char-folds quote characters by = default. This means that you can say 'C-s `foo' (GRAVE ACCENT) if the buffer contains "=E2=80=98foo" (LEFT SINGLE QUOTATION MARK) and the like. The= se quotation characters look somewhat similar in some fonts. To switch this off, disable the new 'isearch-fold-quotes-mode' minor mode. BTW, I forgot to mention this in my original message but there are cases when the replacement of `' to their curly equivalent makes the text much easier to read. One particular case I can think of is: =E2=80=A2 Otherwise, if the command string contains =E2=80=98?=E2=80=99 = surrounded by whitespace or =E2=80=98`?`=E2=80=99, Emacs runs the shell command once= _for each file_, substituting the current file name for =E2=80=98?=E2=80=99 and = =E2=80=98`?`=E2=80=99 each time. You can use both =E2=80=98?=E2=80=99 and =E2=80=98`?`=E2=80=99 = more than once in the command; the same file name replaces each occurrence. If you mix them with =E2=80=98*=E2=80=99 the command signals an error. in (info "(emacs) Shell Commands in Dired"). Although `?` is highlighted here, the curly quotes make it easier to read IMO. The same with the docstring of dired-do-shell-command where no such highlighting exists. >> We can extend it to other similar replacements too. > > That would be useful, indeed.