GNU bug report logs - #27797
25.2; text-quoting-style interferes with tree-widget

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sun, 23 Jul 2017 08:20:03 UTC

Severity: minor

Found in version 25.2

Fixed in version 26.0.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27797 in the body.
You can then email your comments to 27797 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27797; Package emacs. (Sun, 23 Jul 2017 08:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Liu <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 23 Jul 2017 08:20:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2; text-quoting-style interferes with tree-widget
Date: Sun, 23 Jul 2017 16:18:35 +0800
tree widget in the terminal uses ` in the lower-left corner of a
rectangle, for example

   |
   |
   `--

This is now shown ugly in emacs 25+:

   |
   |
   ‘--

Here is a real example:

[-]Small, fast, modern
 ‘-[-]<101.316.0>
    ‘-[-]<101.317.0>
       ‘-[-]x_sup
          ‘-x_clock

I think this change makes tree-widget look horrible.

Leo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27797; Package emacs. (Mon, 24 Jul 2017 17:09:01 GMT) Full text and rfc822 format available.

Message #8 received at 27797 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 27797 <at> debbugs.gnu.org
Subject: Re: bug#27797: 25.2; text-quoting-style interferes with tree-widget
Date: Mon, 24 Jul 2017 13:08:39 -0400
Your horror prevented you giving a reproducible test-case from emacs -Q,
but I guess this should fix it:

--- a/lisp/tree-widget.el
+++ b/lisp/tree-widget.el
@@ -504,7 +504,7 @@ 'tree-widget-guide
 
 (define-widget 'tree-widget-end-guide 'item
   "End of a vertical guide line."
-  :tag       " `"
+  :tag       " \\=`"
   ;;:tag-glyph (tree-widget-find-image "end-guide")
   :format    "%t"
   )




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27797; Package emacs. (Mon, 24 Jul 2017 17:29:02 GMT) Full text and rfc822 format available.

Message #11 received at 27797 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Glenn Morris <rgm <at> gnu.org>, Leo Liu <sdl.web <at> gmail.com>
Cc: 27797 <at> debbugs.gnu.org
Subject: RE: bug#27797: 25.2; text-quoting-style interferes with tree-widget
Date: Mon, 24 Jul 2017 10:28:40 -0700 (PDT)
> Your horror prevented you giving a reproducible test-case from emacs -Q,
> but I guess this should fix it:
> 
>  (define-widget 'tree-widget-end-guide 'item
>    "End of a vertical guide line."
> -  :tag       " `"
> +  :tag       " \\=`"

Seriously?  We now have to escape ` in :tag too, if we don't
want transformation to crazy quotes?

If so, shouldn't this be documented in the Elisp manual?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27797; Package emacs. (Wed, 26 Jul 2017 03:56:02 GMT) Full text and rfc822 format available.

Message #14 received at 27797 <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 27797 <at> debbugs.gnu.org
Subject: Re: bug#27797: 25.2; text-quoting-style interferes with tree-widget
Date: Wed, 26 Jul 2017 11:55:37 +0800
On 2017-07-24 13:08 -0400, Glenn Morris wrote:
> Your horror prevented you giving a reproducible test-case from emacs -Q,
> but I guess this should fix it:

That looks like the correct fix.

Leo




bug marked as fixed in version 26.0.91, send any further explanations to 27797 <at> debbugs.gnu.org and Leo Liu <sdl.web <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 27 Nov 2017 18:53:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 26 Dec 2017 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.