Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald Knuth


devel / comp.infosystems.gemini / a solution for emphasis

SubjectAuthor
* a solution for emphasisGustaf Erikson
`* Gemini markup extensions [Was: Re: a solution for emphasis]Luca Saiu
 +* Re: Gemini markup extensions [Was: Re: a solution for emphasis]Gustaf Erikson
 |`* Re: Gemini markup extensions [Was: Re: a solution for emphasis]Martin
 | `* Re: Gemini markup extensions [Was: Re: a solution for emphasis]Daniel Goldsmith
 |  +* Re: Gemini markup extensions [Was: Re: a solution for emphasis]Martin
 |  |+- Re: Gemini markup extensions [Was: Re: a solution for emphasis]Daniel Goldsmith
 |  |`- Re: Gemini markup extensions [Was: Re: a solution for emphasis]Gustaf Erikson
 |  `- Re: Gemini markup extensions [Was: Re: a solution for emphasis]news
 `* Re: Gemini markup extensions [Was: Re: a solution for emphasis]Winston
  +* Re: Gemini markup extensions [Was: Re: a solution for emphasis]Winston
  |`* Re: Gemini markup extensions [Was: Re: a solution for emphasis]Vlad Markov
  | `* Re: Gemini markup extensions [Was: Re: a solution for emphasis]Jason McBrayer
  |  `- Re: Gemini markup extensions [Was: Re: a solution for emphasis]Winston
  `* Re: Gemini markup extensions [Was: Re: a solution for emphasis]reidrac
   +- Re: Gemini markup extensions [Was: Re: a solution for emphasis]Gustaf Erikson
   `- Re: Gemini markup extensions [Was: Re: a solution for emphasis]Andy Burns

1
a solution for emphasis

<87v8xu4450.fsf@news.gerikson.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=131&group=comp.infosystems.gemini#131

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: gerikson@gmial.com (Gustaf Erikson)
Newsgroups: comp.infosystems.gemini
Subject: a solution for emphasis
Date: Sat, 05 Feb 2022 00:13:15 +0100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <87v8xu4450.fsf@news.gerikson.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="0e10690e51a210801b7b4972aeafbb5f";
logging-data="2015"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ITxh4TOP38gohz6Whhyjxt4Al49G8t8c="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Cancel-Lock: sha1:IohGZnxs20r7YHNobTpzy5ARjRY=
sha1:n+V5CE6JxLqaxq97cwQ7KL5mv44=
 by: Gustaf Erikson - Fri, 4 Feb 2022 23:13 UTC

With inspiration from kensanata in the #gemini channel on tilde.chat, I
present the solution for emphasis in Gemini: Sperrsatz

=> gemini://gerikson.com/gemlog/gemini-sux/e-m-p-h-a-s-i-s.gmi

When you want to emphasize a word, simply add a NARROW NO-BREAK SPACE
(U+202F) between each letter.

/g.

--
In the beginning was the command line^Wpatch panel
=> gemini://gerikson.com/

Gemini markup extensions [Was: Re: a solution for emphasis]

<stppj8$j6u$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=139&group=comp.infosystems.gemini#139

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: luca@ageinghacker.net (Luca Saiu)
Newsgroups: comp.infosystems.gemini
Subject: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Mon, 07 Feb 2022 01:36:55 +0100
Organization: I only speak for myself
Lines: 96
Message-ID: <stppj8$j6u$1@dont-email.me>
References: <87v8xu4450.fsf@news.gerikson.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="8a221a74b04f139fe6788bd4e3192efd";
logging-data="19678"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/y/gKavIuxkDz328MbRo8uPDbGaBKD8Co="
User-Agent: Gnus (Gnus v5.13), GNU Emacs 28.0.50, x86_64-pc-linux-gnu
Cancel-Lock: sha1:QFZVcXytVQXy9ALHAVpXtT6KAUg=
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAP1BMVEUDBgINBwUVEBAPExMa
EA8ZGhsiGBQxJiIqLC45KSJLPDRCR0xZSEBuW1FrXVlcYml1e4GKe3KNlp2ik4nGzNAAkK8TAAAC
RklEQVRIx92V2Y7DIAxFwWDMmkDS///WsSGpmmlVMq/jqovUe7CNlyj1H03Lm00p8xc9OIRbhB4G
zgWn73no8hBiDHRX74jlOefoburd0JcS7uiVBrAdKSXD9IbOlEPsSJg6GNcKIRcJqUQ9r4ECUJqW
xvKS4zxro4ECAcUYCQHnAHAeKLkj+ZwJzSxpuSSQZDyCj0HhLGkdiVRKXI1ASyQN07IRovbsyeX8
eEQJ8TvAXQe9Fi5vj8cKX4FRMhesAKG0tldvZgDrKTgb3NLY4qRq0qjSetzcjuV7c3PAySxYa0sr
DMybFcQkNC5a28vt+STu1CXv8d5Ec+I8c9KsoPSN/gZiB3ynrURj4M6EBhk2uSM0b4R/7y2+pZxD
ZmAxgL/1y4fLBakFA42MQXUh8GNhGOE8liWC4dVnXgcipd/ao9X4aE+mo5eA/Nvp3Ehj3Rkw4+u7
Xjm+zwWJq32E8hIRfho+AfbepiI0597nWK/JPHNAAcQKYSf0aXBJxxyZAj2BvHLVUEsn9ib2L6uc
/zDjbSgfQGs1Ge87wMfzQS9bED2iwQ55khIPoHKaejgAKwObn9l7z4gw3qczprZVj6cD66zNbTnP
HyZAWte0DKBu29odSL5O1gJEeAWSePErWz30W0V1Pu/6wpL56EAa5vsPBrZaRb9VPRJw3YGL3L8d
SGvXjc+0di2rty2JXnECro9h2cdS8H4Vea3r8b2dhuMB1h0AX98T6Dp+rVd9HevDWjgCOkLqAEd9
AvUCHHpLXIeyS+1+AI2+H3h3fKHnAAAAAElFTkSuQmCC
X-Home-Page: http://ageinghacker.net
OpenPGP: id=14DC72EB19F7D2E6C12E113CBF339ABE26C5D286 (old key, to be revoked); url=http://ageinghacker.net/public-keys/gpg-b.asc (new key)
Accept-Language: en, fr, it
 by: Luca Saiu - Mon, 7 Feb 2022 00:36 UTC

On 2022-02-05 at 00:13 +0100, Gustaf Erikson wrote, mostly in
gemini://gerikson.com/gemlog/gemini-sux/e-m-p-h-a-s-i-s.gmi :

> This post is a bit of a joke, poking fun at the almost
> utter lack of semantic signaling in gemtext. No-one would be happier
> than me if the community could agree that words within asterisks would
> be equivalent to the <em> tag in HTML, while words within underscores
> would be <strong>, and we could rely on clients (and screenreaders!) to
> interpret them as such.

The fact that the delimiters “*” and “_” are symmetrical makes it
difficult to parse them and introduces the possibility of mismatches.
How would we render “*a*b*c*d”? And “*a*b*c*d*”?

An example such as “a*b_c*d_” makes us feel uneasy because of the lack
of proper nesting; however it is possible to render all parts of it with
combinations of <em>, <strong>, both or neither. Do we want to allow
it? But then if we have added a special meaning for * and _ then I want
something to handle <tt> as well, ideally allowing unescaped “*” and “_”
inside.

If we are considering amending the Gemini specification, and I am not
necessarily saying we should, then I will take the liberty of proposing
a few guidelines.

These are part of, if you will, a meta-specification: desirable
properties that an acceptable specification is required to satisfy in my
opinion.

* For every special syntax there shall be an escape syntax.
For example the current Gemini specification dictates a special
rendering for “```” at the beginning of a line, but provides no way to
specify a literal sequence of three backtick characters in the same
position in ordinary text or (which is more serious) a way of
embedding a literal sequence of three backtick characters inside
preformatted text.

However: Any escaping syntax, for example in “```”, would break
compatibility with existing documents: in particular
it would complicate copying and pasting between Gemini
and plain text.

Notice that Gustaf Erikson's “*” and “_” syntax makes it difficult to
insert literal “*” and “_” characters in ordinary text without an
escape syntax. This would be a common mistake in human-written text.

* There shall be no arbitrary limits.
For example the current specification limits headings nesting to a
level of three: it is possible to have a titled section with a
sub-section and a sub-sub-section, but no section more deeply nested
that that. This limit is arbitrary and does not simplify
implementations. It should be removed.

However: even an apparently harmless generalisation such as removing
the nesting restriction on headings also breaks
compatibility. For example, “####” at the beginning of a
line would no longer be considered ordinary text.

The limit on list nesting does bother me aesthetically, but I understand
that this limit does make implementations simpler. (By contrast
allowing, for example, up to two levels of list nesting and no more
would be gratuitous and silly, and would count as an arbitrary limit to
reject.)

A problem of Gemini is that we dislike incompatibility and extensions,
but the specification is (as it normally happens in human affairs) not
perfect.
Would it be possible to introduce new features such as an emphasis
syntax and escaping that would still render acceptably with the current
clients? If so this is another meta-specification property:

* Compatibility with old clients
Any usage of a new feature should still render in a way that is easily
understandable by a human using a client only implementing the
official specification as of 2022-02-07.

The Gemini markup system is “line oriented” and no elements really nest:
if an HTML DOM is a tree a Gemini DOM is a list.
All the special formatting is performed at the top level, and inside a
normal block of text no character is interpreted as special. This is a
simplification for the sake of minimalism, and does not feel wrong --
but then we have to reject <em> and <strong>.

The lack of escaping, on the other hand, to me really feels like a
design short-sight mistake.

I think that Gemini as it stands is a worse fit for technical writing
than for free-flow text.

--
Luca Saiu -- http://ageinghacker.net
I support everyone's freedom of mocking any opinion or belief, no
matter how deeply held, with open disrespect and the same unrelented
enthusiasm of a toddler who has just learned the word "poo".

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<87r18f3r12.fsf@news.gerikson.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=142&group=comp.infosystems.gemini#142

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: gerikson@gmial.com (Gustaf Erikson)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Mon, 07 Feb 2022 11:33:13 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <87r18f3r12.fsf@news.gerikson.com>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="8fb66a653929fc86a7351614d0917318";
logging-data="5113"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ulaD1oYPSJCyV+Sot9g10ocp1WD+15XI="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Cancel-Lock: sha1:oPE7uUeDlb/OLjVP3pn9pTJLVKg=
sha1:tS8y/kyARnyWB6CiNZDfAlQr+Yk=
 by: Gustaf Erikson - Mon, 7 Feb 2022 10:33 UTC

Luca Saiu <luca@ageinghacker.net> writes:

> On 2022-02-05 at 00:13 +0100, Gustaf Erikson wrote, mostly in
> gemini://gerikson.com/gemlog/gemini-sux/e-m-p-h-a-s-i-s.gmi :

[long interesting discussion snipped]

Thanks for taking the time to read my post and reply!

Please note however, that I am not proposing a *specification* change,
merely that enough clients recognize the "*"/"_" convention to enable a
writer to be relatively confident that they can use this "markup" as
intended.

> I think that Gemini as it stands is a worse fit for technical writing
> than for free-flow text.

I agree. To be fair, it's not meant to be all-encompassing.

Cheers,

/g.

--
..sig goes here

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<ydwni6918h.fsf@UBEblock.psr.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=143&group=comp.infosystems.gemini#143

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!aioe.org!F27FZjotXSOprNc+aWsnFA.user.46.165.242.75.POSTED!not-for-mail
From: wbe@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Mon, 07 Feb 2022 09:53:50 -0500
Organization: Aioe.org NNTP Server
Message-ID: <ydwni6918h.fsf@UBEblock.psr.com>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="30320"; posting-host="F27FZjotXSOprNc+aWsnFA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix)
Mail-Copies-To: never
Cancel-Lock: sha1:lfC+60h2WY7v3dtYmUSZiR33wqQ=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Winston - Mon, 7 Feb 2022 14:53 UTC

Gustaf Erikson posted:
>> This post is a bit of a joke, poking fun at the almost
>> utter lack of semantic signaling in gemtext. No-one would be happier
>> than me if the community could agree that words within asterisks would
>> be equivalent to the <em> tag in HTML, while words within underscores
>> would be <strong>, and we could rely on clients (and screenreaders!) to
>> interpret them as such.

to which Luca Saiu <luca@ageinghacker.net> replied:
> The fact that the delimiters “*” and “_” are symmetrical makes it
> difficult to parse them and introduces the possibility of mismatches.
> How would we render “*a*b*c*d”? And “*a*b*c*d*”?

I would agree that single character '*' and '_' delimiters aren't going
to work well.

Better, but maybe not perfect, would be regular expressions matching
"\w\*[a-zA-Z0-9-]+\*[.,;!]?\w"and "\w_[a-zA-Z0-9-]+_[.,;!]?\w", where
"\w" means word separator / whitespace ([ \t\n\r] etc.).

So, then,
"*SURPRISE*!!" would match (assuming word separation),
"*a*b*c*d*" would (with word separation) unambiguously be <em>a*b*c*d</em>,
"*a*b*c*d" would not match (be rendered as written), and
"Please be _very_ careful." would contain <u>very</u>.

I would think that good regular expression matching would be able to
separate the common cases from the unusual or potentially ambiguous
ones.
-WBE

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<ydsfsu90tm.fsf@UBEblock.psr.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=144&group=comp.infosystems.gemini#144

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!aioe.org!F27FZjotXSOprNc+aWsnFA.user.46.165.242.75.POSTED!not-for-mail
From: wbe@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Mon, 07 Feb 2022 10:02:45 -0500
Organization: Aioe.org NNTP Server
Message-ID: <ydsfsu90tm.fsf@UBEblock.psr.com>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<ydwni6918h.fsf@UBEblock.psr.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="39566"; posting-host="F27FZjotXSOprNc+aWsnFA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix)
Cancel-Lock: sha1:kowCdOBqsonuIsZoniWGSqy9+hw=
X-Notice: Filtered by postfilter v. 0.9.2
Mail-Copies-To: never
 by: Winston - Mon, 7 Feb 2022 15:02 UTC

Winston <wbe@UBEBLOCK.psr.com.invalid> writes:
> "*SURPRISE*!!" would match (assuming word separation),
> "Please be _very_ careful." would contain <u>very</u>.

As I used Gnus to view the article I just posted, I see that Emacs shows
the "*SURPRISE*" in bold with the asterisks, and shows the _very_ as
underlined without its leading and trailing underscores. It did
not, however, show the *a*b*c*d* in bold, so that differs from what I
suggested.

So another alternative would be to adopt what Emacs does.
-WBE

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<stt525$5qb$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=149&group=comp.infosystems.gemini#149

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!aioe.org!ErSovAq9FaKvZ1TQGNB+fw.user.46.165.242.75.POSTED!not-for-mail
From: martin@datapulp.de (Martin)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Tue, 8 Feb 2022 08:10:56 +0100
Organization: Aioe.org NNTP Server
Message-ID: <stt525$5qb$1@gioia.aioe.org>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<87r18f3r12.fsf@news.gerikson.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="5963"; posting-host="ErSovAq9FaKvZ1TQGNB+fw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Martin - Tue, 8 Feb 2022 07:10 UTC

Am 07.02.22 um 11:33 schrieb Gustaf Erikson:
> Please note however, that I am not proposing a *specification* change,
> merely that enough clients recognize the "*"/"_" convention to enable a
> writer to be relatively confident that they can use this "markup" as
> intended.

The German Newspaper "Tageszeitung" from Berlin gemini://taz.de uses
*text..*, just an example. They seem to feel a need.

My personal opinion would be, that having somewhat agreed markup would
lead to less use of abusing special unicode characters for fulfilling
this obvious need. So it would help people using a screenreader. Also it
would not end an a chaos of different own ideas.

Martin

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<vs2adi-543.ln1@iapetus.dgold.eu>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=150&group=comp.infosystems.gemini#150

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dgold@dgold.invalid (Daniel Goldsmith)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Tue, 8 Feb 2022 12:05:19 +0000
Organization: View from Ascraeus
Lines: 26
Message-ID: <vs2adi-543.ln1@iapetus.dgold.eu>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<87r18f3r12.fsf@news.gerikson.com> <stt525$5qb$1@gioia.aioe.org>
Reply-To: dgold <news@dgold.eu>
Injection-Info: reader02.eternal-september.org; posting-host="e13ca43b0bfb78a0053b59b6fbba93f2";
logging-data="13842"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197o0uL+O/HayfOF8SNwMbU"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:P0Kcfl+2B3XmwZZyaDIMdd1+DPM=
 by: Daniel Goldsmith - Tue, 8 Feb 2022 12:05 UTC

On 2022-02-08, Martin <martin@datapulp.de> wrote:

> My personal opinion would be, that having somewhat agreed markup would
> lead to less use of abusing special unicode characters for fulfilling
> this obvious need. So it would help people using a screenreader. Also it
> would not end an a chaos of different own ideas.

Oh, very much this. Using unicode chars is the inverse of what I always
understood to be the purpose of gemini. The use of a "magic string" to denote
a link was specifically chosen to avoid the issue of non-standard characters
having impact on the protocol, your ability to write it, and your ability to
read it.

Having said that, and _pace_ the question of accessibility, I'm coming to the
conclusion that some form of acceptance of the two primary span elements,
<em> and <strong>, need to inform future development in the gemini protocol.
They are necessary for all sorts of reasons (inline quotes, titles of books,
plays, music, for poetry), there is a clear demand for them, they are being
*hacked* into people's capsules no matter what the spec says, and they offer
clear and unambiguous advantages for those using screenreaders.

I don't know what shape they should take, but I'd note that newsreaders have
been doing this for a not insignificant period, using essentially the same
characters as markdown.
--
dgold <news@dgold.eu>

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<stu0ko$1a5b$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=151&group=comp.infosystems.gemini#151

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!aioe.org!ErSovAq9FaKvZ1TQGNB+fw.user.46.165.242.75.POSTED!not-for-mail
From: martin@datapulp.de (Martin)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Tue, 8 Feb 2022 16:01:39 +0100
Organization: Aioe.org NNTP Server
Message-ID: <stu0ko$1a5b$1@gioia.aioe.org>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<87r18f3r12.fsf@news.gerikson.com> <stt525$5qb$1@gioia.aioe.org>
<vs2adi-543.ln1@iapetus.dgold.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="43179"; posting-host="ErSovAq9FaKvZ1TQGNB+fw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Martin - Tue, 8 Feb 2022 15:01 UTC

I always asked myself, why we do markup not using ASCII characters? Did
we forget about our roots? ;-)

For emphasis e.g. there are ASCII characters 14 + 15. Once upon a time
it was implemented by exchanging a black color ribbon with a red one for
emphasis.

https://en.wikipedia.org/wiki/Shift_Out_and_Shift_In_characters

"Emphasis" would ~ be what in HTML may be called <strong>.

HTML could have be done with ASCII Control Codes 17 - 20 instead of
<xxx> and </xxx>. These control codes are especially thought out for
these kind of "flexible usage". And making use of them would have given
a better integration as inserting another level of meta-usage of normal
characters with all their problems, like escaping for displaying control
strings again in readable text and so on

.... just some rebel thoughts

Martin

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<79fadi-udf.ln1@iapetus.dgold.eu>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=152&group=comp.infosystems.gemini#152

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dgold@dgold.invalid (Daniel Goldsmith)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Tue, 8 Feb 2022 15:36:39 +0000
Organization: View from Ascraeus
Lines: 15
Message-ID: <79fadi-udf.ln1@iapetus.dgold.eu>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<87r18f3r12.fsf@news.gerikson.com> <stt525$5qb$1@gioia.aioe.org>
<vs2adi-543.ln1@iapetus.dgold.eu> <stu0ko$1a5b$1@gioia.aioe.org>
Reply-To: dgold <news@dgold.eu>
Injection-Info: reader02.eternal-september.org; posting-host="e13ca43b0bfb78a0053b59b6fbba93f2";
logging-data="18437"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QB2URA1vQ2/icdALl10zo"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tDX1mETNrud9iZdRC/czGZBUpi8=
 by: Daniel Goldsmith - Tue, 8 Feb 2022 15:36 UTC

On 2022-02-08, Martin <martin@datapulp.de> wrote:
> I always asked myself, why we do markup not using ASCII characters? Did
> we forget about our roots? ;-)
>
mainly because ascii control chars are

- obscure, as in people don't know them
- obscure, as in they're not present in an editor
- obscure, as in they're not easily identified

Don't underestimate the simplicity and accessibility created by the use of
simple direct formatting.

--
dgold <news@dgold.eu>

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<87mtj143qj.fsf@news.gerikson.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=154&group=comp.infosystems.gemini#154

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: gerikson@gmial.com (Gustaf Erikson)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Tue, 08 Feb 2022 19:23:16 +0100
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <87mtj143qj.fsf@news.gerikson.com>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<87r18f3r12.fsf@news.gerikson.com> <stt525$5qb$1@gioia.aioe.org>
<vs2adi-543.ln1@iapetus.dgold.eu> <stu0ko$1a5b$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="782661f9ddc7621bd23584fea0ef8e70";
logging-data="10911"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FtWqB9pcBq9PR7/dxMkQPpN1aPNwa0Is="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Cancel-Lock: sha1:q34rkwTnC2DtamFEk4x2OU5+VX0=
sha1:aDIdgIQfyc3xZrACTLRzhsY+5gk=
 by: Gustaf Erikson - Tue, 8 Feb 2022 18:23 UTC

Martin <martin@datapulp.de> writes:

> I always asked myself, why we do markup not using ASCII characters?
> Did we forget about our roots? ;-)
>
> For emphasis e.g. there are ASCII characters 14 + 15. Once upon a time
> it was implemented by exchanging a black color ribbon with a red one
> for emphasis.
>
> https://en.wikipedia.org/wiki/Shift_Out_and_Shift_In_characters
>
> "Emphasis" would ~ be what in HTML may be called <strong>.
>
> HTML could have be done with ASCII Control Codes 17 - 20 instead of
> <xxx> and </xxx>. These control codes are especially thought out for
> these kind of "flexible usage". And making use of them would have
> given a better integration as inserting another level of meta-usage of
> normal characters with all their problems, like escaping for
> displaying control strings again in readable text and so on
>
> ... just some rebel thoughts
>
> Martin

We should bring back Wordstar formatting.

http://justsolve.archiveteam.org/wiki/WordStar

Or why not ROFF?

/g.

--
Just another old hacker

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<1644349376.bystand@zzo38computer.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=155&group=comp.infosystems.gemini#155

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!aioe.org!P703Hxu1m1uplaQVJzdzug.user.46.165.242.75.POSTED!not-for-mail
From: news@zzo38computer.org.invalid
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Tue, 08 Feb 2022 12:00:44 -0800
Organization: Aioe.org NNTP Server
Message-ID: <1644349376.bystand@zzo38computer.org>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me> <87r18f3r12.fsf@news.gerikson.com> <stt525$5qb$1@gioia.aioe.org> <vs2adi-543.ln1@iapetus.dgold.eu>
Mime-Version: 1.0
Injection-Info: gioia.aioe.org; logging-data="15420"; posting-host="P703Hxu1m1uplaQVJzdzug.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: bystand/1.3.0pre
X-Notice: Filtered by postfilter v. 0.9.2
 by: news@zzo38computer.org.invalid - Tue, 8 Feb 2022 20:00 UTC

Daniel Goldsmith <dgold@dgold.invalid> wrote:
> Oh, very much this. Using unicode chars is the inverse of what I always
> understood to be the purpose of gemini. The use of a "magic string" to denote
> a link was specifically chosen to avoid the issue of non-standard characters
> having impact on the protocol, your ability to write it, and your ability to
> read it.

I really dislike Unicode, anyways.

> Having said that, and _pace_ the question of accessibility, I'm coming to the
> conclusion that some form of acceptance of the two primary span elements,
> <em> and <strong>, need to inform future development in the gemini protocol.
> They are necessary for all sorts of reasons (inline quotes, titles of books,
> plays, music, for poetry), there is a clear demand for them, they are being
> *hacked* into people's capsules no matter what the spec says, and they offer
> clear and unambiguous advantages for those using screenreaders.

Yes, there are some advantages, but it results in some extra complexity, and
possible confusion if they are used for something other than formatting. (I
mention below, a possible solution).

(However, I agree this is one deficiency of Gemini format; these are many of
the kind of things which should be wanted in text. Yes, <em> and <strong> are
probably the important ones, and possibly <code> as well, and also footnotes.)

> I don't know what shape they should take, but I'd note that newsreaders have
> been doing this for a not insignificant period, using essentially the same
> characters as markdown.

Whatever they should take, if extensions are made to the format, then I might
suggest to follow the principles (in order to avoid breaking compatibility,
and to ensure that files that have text that would otherwise be confused for
the extended formatting, will still be displayed correctly):

* A extra parameter of the MIME type indicates that this extended formatting
is being used.

* Clients MUST or SHOULD (I am not sure which should be appropriate here)
ignore unrecognized parameters in the MIME type and treat it like the same
MIME type without the extra parameter.

* Servers that serve files using this extended formatting MUST include that
parameter and files that don't use it MUST NOT have this parameter.

* Clients MAY implement the extended formatting specification. If they do,
then it SHOULD have an option for the end user to turn on/off this option
regardless of the MIME type of the response.

This is one possible solution; maybe you have other ideas. (Another idea
is a special command inside of the file itself.)

Regardless, the specification must be made clear about how it is working,
and make available reference implementations that you can compare with,
and to confirm that the file is interpreted in the intended way.

(I also have many other ideas, and will try to figure out more details
and then to see what it will be, too.)

--
Don't laugh at the moon when it is day time in France.

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<slrnt0b8lh.2ofh.vlad@happy.dwarf7.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=165&group=comp.infosystems.gemini#165

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!aioe.org!eVyHPIzTgeXWPM3ahz5L6g.user.46.165.242.75.POSTED!not-for-mail
From: vlad@happy.dwarf7.net (Vlad Markov)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Thu, 10 Feb 2022 23:41:37 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <slrnt0b8lh.2ofh.vlad@happy.dwarf7.net>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<ydwni6918h.fsf@UBEblock.psr.com> <ydsfsu90tm.fsf@UBEblock.psr.com>
Injection-Info: gioia.aioe.org; logging-data="28048"; posting-host="eVyHPIzTgeXWPM3ahz5L6g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: slrn/1.0.3 (FreeBSD)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Vlad Markov - Thu, 10 Feb 2022 23:41 UTC

On 2022-02-07, Winston <wbe@UBEBLOCK.psr.com.invalid> wrote:
> Winston <wbe@UBEBLOCK.psr.com.invalid> writes:
>> "*SURPRISE*!!" would match (assuming word separation),
>> "Please be _very_ careful." would contain <u>very</u>.
>
> As I used Gnus to view the article I just posted, I see that Emacs shows
> the "*SURPRISE*" in bold with the asterisks, and shows the _very_ as
> underlined without its leading and trailing underscores. It did
> not, however, show the *a*b*c*d* in bold, so that differs from what I
> suggested.
>
> So another alternative would be to adopt what Emacs does.
> -WBE

I do not think any more rendering directives should be added to gemini.
If more advanced rendering is required then use a pdf document A gemini
URL can point to a pdf document. There is little value in recreating
HTML in gemini.

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<87iltlv66q.fsf@cassilda.carcosa.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=166&group=comp.infosystems.gemini#166

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jmcbray@carcosa.net (Jason McBrayer)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Fri, 11 Feb 2022 09:17:17 -0500
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <87iltlv66q.fsf@cassilda.carcosa.net>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<ydwni6918h.fsf@UBEblock.psr.com> <ydsfsu90tm.fsf@UBEblock.psr.com>
<slrnt0b8lh.2ofh.vlad@happy.dwarf7.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="212b7ee5afb176f1b5290e23fb879030";
logging-data="17049"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jPbgUSRHh4eVBwWmoGhz3"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Cancel-Lock: sha1:EQOhcEnArOJiL5HcEzbN3QLHxio=
sha1:FwXfawLQaGaaPf5nhZyqHEC6HHM=
 by: Jason McBrayer - Fri, 11 Feb 2022 14:17 UTC

Vlad Markov <vlad@happy.dwarf7.net> writes:

> On 2022-02-07, Winston <wbe@UBEBLOCK.psr.com.invalid> wrote:
> I do not think any more rendering directives should be added to gemini.
> If more advanced rendering is required then use a pdf document A gemini
> URL can point to a pdf document. There is little value in recreating
> HTML in gemini.

I do think gemtext should be declared "done", and no extensions
added. But it's perfectly reasonable to serve other content-types over
Gemini. I'm strongly considering serving org-mode text.

--
Jason McBrayer | “Strange is the night where black stars rise,
jmcbray@carcosa.net | and strange moons circle through the skies,
| but stranger still is lost Carcosa.”
| ― Robert W. Chambers,The King in Yellow

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<ydleyh8ifq.fsf@UBEblock.psr.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=167&group=comp.infosystems.gemini#167

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!paganini.bofh.team!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!F27FZjotXSOprNc+aWsnFA.user.46.165.242.75.POSTED!not-for-mail
From: wbe@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Fri, 11 Feb 2022 11:41:13 -0500
Organization: Aioe.org NNTP Server
Message-ID: <ydleyh8ifq.fsf@UBEblock.psr.com>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<ydwni6918h.fsf@UBEblock.psr.com> <ydsfsu90tm.fsf@UBEblock.psr.com>
<slrnt0b8lh.2ofh.vlad@happy.dwarf7.net>
<87iltlv66q.fsf@cassilda.carcosa.net>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="18243"; posting-host="F27FZjotXSOprNc+aWsnFA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix)
X-Notice: Filtered by postfilter v. 0.9.2
Mail-Copies-To: never
Cancel-Lock: sha1:iOGPNFvoOVDtxGgkno8/8GFjhsg=
 by: Winston - Fri, 11 Feb 2022 16:41 UTC

Jason McBrayer <jmcbray@carcosa.net> posted:
> Vlad Markov <vlad@happy.dwarf7.net> writes:
>
===[No]=== >> On 2022-02-07, Winston <wbe@UBEBLOCK.psr.com.invalid> wrote:
>> I do not think any more rendering directives should be added to gemini.
>> If more advanced rendering is required then use a pdf document A gemini
>> URL can point to a pdf document. There is little value in recreating
>> HTML in gemini.

For the record, that was Vlad's comment, not mine.
-WBE

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<sur1fi$ljt$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=180&group=comp.infosystems.gemini#180

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!aioe.org!g2+u9F6yMlZOYAT5r2B3Xg.user.46.165.242.75.POSTED!not-for-mail
From: reidrac@minibox.invalid
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Sat, 19 Feb 2022 15:13:54 +0000
Organization: Aioe.org NNTP Server
Message-ID: <sur1fi$ljt$1@gioia.aioe.org>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<ydwni6918h.fsf@UBEblock.psr.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="22141"; posting-host="g2+u9F6yMlZOYAT5r2B3Xg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: reidrac@minibox.invalid - Sat, 19 Feb 2022 15:13 UTC

On 07/02/2022 14:53, Winston wrote:
> Gustaf Erikson posted:
> [...]
>
> So, then,
> "*SURPRISE*!!" would match (assuming word separation),
> "*a*b*c*d*" would (with word separation) unambiguously be <em>a*b*c*d</em>,
> "*a*b*c*d" would not match (be rendered as written), and
> "Please be _very_ careful." would contain <u>very</u>.

Thunderbird seems to render these correctly (as expected at least;
*a*b*c*d" is rendered as written.

Also TB doesn't remove characters, only adds string, underling or
italics as /required/.

Isn't this a subset of textile? https://textile-lang.com/

It was supported in a number of forums around 2000s. Or maybe it has a
different name, I don't know.

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<87r17yq23c.fsf@news.gerikson.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=181&group=comp.infosystems.gemini#181

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: gerikson@gmial.com (Gustaf Erikson)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Sat, 19 Feb 2022 16:59:35 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <87r17yq23c.fsf@news.gerikson.com>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<ydwni6918h.fsf@UBEblock.psr.com> <sur1fi$ljt$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="f61caed3655ad0c263b4f3ac94386682";
logging-data="8218"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181EqkdnByFdybGXA1Hg3kGTPiWm8eLmFE="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Cancel-Lock: sha1:8nhdX6GnOBfeTzJT9egrCVBWiWo=
sha1:xWar7ovfsDSQ0VUChzBAoCNXX/w=
 by: Gustaf Erikson - Sat, 19 Feb 2022 15:59 UTC

reidrac@minibox.invalid writes:

> On 07/02/2022 14:53, Winston wrote:
>
> Isn't this a subset of textile? https://textile-lang.com/
>
> It was supported in a number of forums around 2000s. Or maybe it has a
> different name, I don't know.

All the early 2000 simple text formatters inspired each other.

Markdown won out, big, so it's the game in town right now.

/g.

--
send lawyers, guns, and money
the shit has hit the fan

Re: Gemini markup extensions [Was: Re: a solution for emphasis]

<j7cmccFjqdrU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=182&group=comp.infosystems.gemini#182

  copy link   Newsgroups: comp.infosystems.gemini
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.infosystems.gemini
Subject: Re: Gemini markup extensions [Was: Re: a solution for emphasis]
Date: Sat, 19 Feb 2022 17:06:18 +0000
Lines: 8
Message-ID: <j7cmccFjqdrU1@mid.individual.net>
References: <87v8xu4450.fsf@news.gerikson.com> <stppj8$j6u$1@dont-email.me>
<ydwni6918h.fsf@UBEblock.psr.com> <sur1fi$ljt$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 5BcuoSfENDIAKTHsIzfDVAeXphW8ArDueaFaXVLajK8YoRoz9n
Cancel-Lock: sha1:v0+gXzIet9LeuB6k7Juw78JkUnY=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.1
Content-Language: en-GB
In-Reply-To: <sur1fi$ljt$1@gioia.aioe.org>
 by: Andy Burns - Sat, 19 Feb 2022 17:06 UTC

reidrac@minibox.invalid wrote:

>
> Also TB doesn't remove characters, only adds string, underling or italics as
> /required/.

With the Quote Colors add-on you can hide what it calls
the "font effect delimiters"

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor