Re: .rst vs .txt file extension for docs/

Ben Finney <[email protected]>
Newsgroups gmane.text.docutils.devel,gmane.text.docutils.user
Message-ID <[email protected]>
Ben Finney <[email protected]> writes:

> Tony Narlock <[email protected]> writes:
>
> > Dear docutils developers,

(I think this is better discussed in the Docutils users forum. This
message is addressed accordingly.)

> >   I may put a
> > .. todo:: # vim: set filetype=rst:
>
> It can be a simple comment::
>
>     ..
>         vim: fileencoding=utf-8 filetype=rst :
>
> I like to have that be a comment block, with hints for both Emacs and
> Vim.

For Emacs, an end-of-file block can be more verbose. Mine looks like
this::

    ..
        Local variables:
        coding: utf-8
        mode: rst
        indent-tabs-mode: nil
        End:
        vim: fileencoding=utf-8 filetype=rst :

-- 
 \     “It is hard to believe that a man is telling the truth when you |
  `\      know that you would lie if you were in his place.” —Henry L. |
_o__)                                                          Mencken |
Ben Finney


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Docutils-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-develop

Please use "Reply All" to reply to the list.
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.