all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: tydrdn <laszlomail@protonmail.com>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: [External] : Re: Indentation conventions for Info manuals; recognizing code
Date: Mon, 8 Mar 2021 15:33:34 +0000	[thread overview]
Message-ID: <SA2PR10MB44748F85C99174F36C426ACFF3939@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
In-Reply-To: <m3PMZpM40Jisooey1RgQj1YRThgLbXm-NiYp9SNPG0xQNYK4J5Hg9K_Rxyz_LzWEsQrYvPDJhhJf2eZapEHqV1YkXM50n_GL7vtOJ70uSjQ=@protonmail.com>

> > So if some kind of "code" marker would be retained
> > in the Info output, it would need to be implemented in the 2 or 3
> > other Info readers out there, not just in Emacs.
> 
> makeinfo could have a new option to add separators for the generated
> code examples, something like:
> 
> --- example begin
> ....
> --- example end
> 
> This is just text, so others info readers could display it as is,
> while emacs could use the separators to recognize code sections.

Yes, just the kind of thing I was suggesting
(hoping for).

Emacs handling of that can hide that "markup" and
DTRT wrt the font type.

There are likely several kinds of text "elements"
that might be candidates for this.  Eli mentioned
Texinfo @example, @smallexample, @lisp, and
@smallisp.

Given that (different purposes/semantics) ideally
we would have more than just one resulting kind of
"markup" as well, i.e., not only -- example begin/end.


  reply	other threads:[~2021-03-08 15:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-08  9:51 Indentation conventions for Info manuals; recognizing code tydrdn
2021-03-08 15:33 ` Drew Adams [this message]
2021-03-26  5:12   ` [External] : " scame
  -- strict thread matches above, loose matches on Subject: below --
2021-03-07  1:58 Drew Adams
2021-03-07  6:33 ` Eli Zaretskii
2021-03-08  3:47   ` [External] : " Drew Adams
2021-03-08  5:49     ` Yuri Khan
2021-03-08 14:07       ` Eli Zaretskii
2021-03-08 15:33       ` Drew Adams
2021-03-08  5:37 ` Richard Stallman
2021-03-08 15:33   ` [External] : " Drew Adams

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=SA2PR10MB44748F85C99174F36C426ACFF3939@SA2PR10MB4474.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=laszlomail@protonmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.