Re: Keep/drop emacs variables in documentation sources?

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID <20240424192351.rtbpjzpz5rf5mlaq@illithid>
At 2024-04-24T19:06:23-0000, Guenter Milde via Docutils-develop wrote:
> So my question is:
> 
> * Do we want to keep the emacs variables block?
>   Is anyone using emacs?

I tend to use Vim, but occasionally use emacs.

> * If yes, do we need the FORM FEED character
>   (it shows as ^L in my text editor).

As far as I know, this is not necessary.  As I recollect, GNU Emacs
scans backward through the last 3,000 bytes of the file attempting to
match the "Local variables:" pattern; the lack of a form feed character
before that text does not frustrate the search.

Try out the attached file.

Regards,
Branden
sample-emacs.txt (text/plain, 145 B)
This is emphatically not a C++ source file.

...and yet, we can make GNU Emacs treat it as one.

Local Variables:
fill-column: 72
mode: C++
End:
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmYpXEAACgkQ0Z6cfXEm
bc4nVhAArsJ9p7WXSdMQkWRX7gO9QgHDaYIQx+9gaSGVWzrPIjOrZTDUpgOI1qNA
PsSEFA+6t4RRR7JWTnxWcAPhiJweXxuV4j+9fj82bu/lqa/1sjVkdaBfa6Z+D5ww
ydHuGSzIpyfBLc++0zJEZ3PJhJvatiY49Fxfs3irYDPAJxtc6jI0oIF3izzlpoov
jugoIwsMciwUO/08I8LbQKe+Pgt5UNbLmsZMTDxjpREfbG2g0ThDEoVOA52eaIn3
F3mKB03CPi6NC9UHT+voeMEAsBjk5BQuEOeI/RaEsGGLU4Ay7Hi4a2VHnMuYUDaq
wpJRaPoRCM4nLxBJkgavYRG5vl6n4KmWrkgcCQvfOu5dlUu7l/9zfmEQzGcD8fBz
X6jL6HyS+6nlCVtR8PsTxaW4Y9Ik+ka7O+7XfKAys/ji6XDIvFdWHrK4ZoLz220p
LnL4eB7fG1cPKzgXzk7aAeBRHqFDa63rIWMiFck9OFRumMMbEkxvGyVacYE7N2TW
Ql+CnyEA7pbrpFIhA4fY+fC6uqzZ6FqNP0ezz6kOLd385NGh59oe652OJRQKBW5V
qjAxdre2Rhh3bG9DAvZUJXFUYaLfX0asFqLcLsBc9iLtynniXpBiks2ecpVbsUmB
xlM8GDS2/gLBclYHS9jL4bJzCkHe0cCbFiEkZRGqQyZwvoAEtgg=
=6SUE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.