[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to disable warnings about single quotes in emacs-29
From: |
Thierry Volpiatto |
Subject: |
Re: How to disable warnings about single quotes in emacs-29 |
Date: |
Tue, 07 Jun 2022 10:35:47 +0000 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Thierry Volpiatto <thievol@posteo.net> writes:
>
>> I don't want to display 'foo as ’foo, I even don't know how to type this
>> on my keyboard, I was quite quiet during some time by setting
>> text-quoting-style to grave, but it seems not enough.
>
> (That disables the ' => ’ translation for yourself, but not for others
> that use the package, of course.)
Yes, right.
>> However I had to fix all the quotes in helm with "\\=". I had to write
>> code to do this at once. But now docstrings in source code looks ugly
>> and I will have to remember to use "\\=" each time I quote something
>> like `foo', really a pain.
>
> There no warnings for `foo', surely?
Yes there is, to stop warning we have to write `foo\\=', same for
e.g. "don't do this" we need "don\\='t do this" to avoid warnings.
> But if you want all quotes to never be displayed as the Unicode quotes
> for all users of your packages, then nothing has changed in about a
> decade -- you have to escape the quotes, because (by default) they're
> translated. The only thing that's new is that the byte compilation
> warns when
Would be great to be able to put a local variable like
text-quoting-style in files or .dir-locals to stop this.
--
Thierry
signature.asc
Description: PGP signature
- How to disable warnings about single quotes in emacs-29, Thierry Volpiatto, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Philip Kaludercic, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Lars Ingebrigtsen, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Thierry Volpiatto, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Lars Ingebrigtsen, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29,
Thierry Volpiatto <=
- Re: How to disable warnings about single quotes in emacs-29, Lars Ingebrigtsen, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Thierry Volpiatto, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Lars Ingebrigtsen, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Thierry Volpiatto, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Lars Ingebrigtsen, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Thierry Volpiatto, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Stefan Monnier, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, T.V Raman, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Phil Sainty, 2022/06/07
- Re: How to disable warnings about single quotes in emacs-29, Po Lu, 2022/06/07