Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Tabs in texi files
Date: Thu, 29 Mar 2007 07:32:18 +0900	[thread overview]
Message-ID: <b4mps6tq9sd.fsf@jpl.org> (raw)
In-Reply-To: <muxzm5x2ukr.fsf@uzeb.lrde.epita.fr>

>>>>> In <muxzm5x2ukr.fsf@uzeb.lrde.epita.fr> Didier Verna wrote:

>>> AFAIK, tabs in texi sources will make the formatted info ugly,
>>> so I usually run `untabify' over the area I edited.
>>
>>         Hmmm. I had never realized that. Thanks for pointing it out.

> I must admit however that I never encountered this situation (I mean any
> ugliness) myself. Besides, there are also tabs in other (untouched by me)
> places, like between a node name and its description.

There were one tab in the gnus.texi file before you modified it.
Though I've never noticed it, I see it breaks the indentation of
the Lisp form in the info node `6.1.3 Example Methods' as follows:

--8<---------------cut here---------------start------------->8---
   See also `nntp-via-rlogin-command-switches'.  Here's an example for
an indirect connection:
     (setq gnus-select-method
           '(nntp "indirect"
     	     (nntp-address "news.server.example")
                  (nntp-via-user-name "intermediate_user_name")
                  (nntp-via-address "intermediate.host.example")
                  (nntp-via-rlogin-command "ssh")
                  (nntp-end-of-line "\n")
                  (nntp-via-rlogin-command-switches ("-C" "-t" "-e" "none"))
                  (nntp-open-connection-function nntp-open-via-rlogin-and-telnet)))
--8<---------------cut here---------------end--------------->8---

But now such ugliness is here and there.  For example:

--8<---------------cut here---------------start------------->8---
          (setq gnus-summary-show-article-charset-alist
                '((1 . cn-gb-2312)
          	(2 . big5)))
--8<---------------cut here---------------end--------------->8---

I use:

$ makeinfo --version
makeinfo (GNU texinfo) 4.8

> So what's the general recommendation for texi files ?

Don't use tabs.

Regards,



  reply	other threads:[~2007-03-28 22:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-28 15:17 Katsumi Yamaoka
2007-03-28 16:21 ` Didier Verna
2007-03-28 16:37   ` Didier Verna
2007-03-28 22:32     ` Katsumi Yamaoka [this message]
2007-03-28 22:54     ` Kevin Ryde
2007-03-28 23:12       ` Katsumi Yamaoka
2007-03-28 16:47   ` Reiner Steib
2007-03-28 23:01     ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mps6tq9sd.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).