lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Text format change in latest version


From: Chuck Martin
Subject: Re: [Lynx-dev] Text format change in latest version
Date: Mon, 15 Oct 2018 10:42:16 +0000
User-agent: Mutt/1.9.1 (2017-09-22)

On Mon, Oct 15, 2018 at 06:33:28AM -0400, Chuck Martin wrote:
> I somehow accidentally deleted the original message I'm replying to,
> and have manually copied it from the archive at lists.nongnu.org.
> I've also copied the message-id into my headers, so hopefully it
> will thread properly.
 
Sorry, I started by replying to another message from the the lynx-dev
mailing list when I sent that reply, and I forgot to change the subject
to match the thread I was replying to.  Here's a repeat of the message
with the proper subject line.

On Thu, Sep 20, 2018 at 04:07:13AM -0400, dan d. wrote:
> With the new version a minor change was introduced with the = intro current
> document page in lynx.  Here is an example:
>
> Linkname:World - The New York Times
>      URL:https://www.nytimes.com/section/world
>
> There is no longer a space following the :.
>
> This makes it cumbersom for a copy and paste of the info because the name
> > and/or url are not isolated from the label. as before.
>
> Using a screen reader one must start at the left and then character by
> character move past the : to start the copy.
> I make use of the info page frequently when making reference to a page for
> someone's attention.

I've just installed the newest stable version and found the same issue,
so I looked into it.  Here is a patch that will fix the problem:

===================================================================================
--- lynx2.8.9rel.1.orig/src/LYShowInfo.c        2018-05-11 16:43:26.000000000 
-0400
+++ lynx2.8.9rel.1/src/LYShowInfo.c     2018-10-15 00:40:16.127178358 -0400
@@ -87,9 +87,9 @@
     while (need++ < label_columns)
        fprintf(fp, "&nbsp;");
     if (LYwideLines && allow_wide)
-       fprintf(fp, "<em>%s</em><pre>%s</pre>\n", the_label, the_value);
+       fprintf(fp, "<em>%s</em> <pre>%s</pre>\n", the_label, the_value);
     else
-       fprintf(fp, "<em>%s</em>%s\n", the_label, the_value);
+       fprintf(fp, "<em>%s</em> %s\n", the_label, the_value);

     FREE(the_label);
     FREE(the_value);
===================================================================================

-- 
My address uses a whitelist.  If you aren't in my whitelist, you can
only send me e-mail if you send to an appropriately tagged address (it
includes +sometag between the username and @).  Finger my untagged e-mail
address for a tag guaranteed good for 24 hours if you're unsure.  If I've
sent you mail recently, you're temporarily whitelisted automatically.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]