GNU bug report logs - #20345
print-length ellipsis should be expandable in more cases

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: m.pontus@HIDDEN; merged with #20344; dated Thu, 16 Apr 2015 02:36:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 20345 <at> debbugs.gnu.org:


Received: (at 20345) by debbugs.gnu.org; 16 Apr 2015 14:59:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 16 10:59:06 2015
Received: from localhost ([127.0.0.1]:58202 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YilFy-000348-0T
	for submit <at> debbugs.gnu.org; Thu, 16 Apr 2015 10:59:06 -0400
Received: from mtaout20.012.net.il ([80.179.55.166]:57071)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1YilFu-00033T-Ru
 for 20345 <at> debbugs.gnu.org; Thu, 16 Apr 2015 10:59:04 -0400
Received: from conversion-daemon.a-mtaout20.012.net.il by
 a-mtaout20.012.net.il (HyperSendmail v2007.08) id
 <0NMW00K00MTWX400@HIDDEN> for 20345 <at> debbugs.gnu.org;
 Thu, 16 Apr 2015 17:58:56 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0NMW00KLPMY7XB00@HIDDEN>;
 Thu, 16 Apr 2015 17:58:56 +0300 (IDT)
Date: Thu, 16 Apr 2015 17:59:13 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#20345: 24.4; Ellipsis no longer expands abbreviated form
In-reply-to: <87oamo3ioa.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: m.pontus@HIDDEN
Message-id: <838uds9l1a.fsf@HIDDEN>
References: <87oamo3ioa.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 20345
Cc: 20345 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> From: m.pontus@HIDDEN
> Date: Thu, 16 Apr 2015 05:34:29 +0300
> 
> 1. I launch emacs-24 -Q and insert following form in scratch buffer:
> 
>     (let ((print-length 2) (print-level 3))
>       (pp load-history (current-buffer)))
> 
> 2. I navigate to a new line and press C-x e
> 
>     (("/usr/share/emacs/24.4/lisp/emacs-lisp/pp.elc" pp-escape-newlines ...)
>      ("/usr/share/emacs/24.4/lisp/calendar/time-date.elc"
>       (defun . with-decoded-time-value)
>       ...)
>      ...)
> 
> 3. I navigate to previous line and place cursor between "." and "..)"
> 4. I press <RET> and ellipsis splits in two instead of expanding abbreviation

I don't think this ever worked as you expect.  I checked as far back
as Emacs 21.4, and they all behave like you describe.

The following does behave as you describe:

  . emacs -Q
  . type into the *scratch* buffer "exec-path" (without the quotes)
  . move after the 'h' in "exec-path" and type "C-j"

In the result, you can type RET or click mouse-2 on the ellipsis, and
it will behave as you expect.  But 'pp' doesn't, and seems like it
never did.  You will see in pp.el that it does nothing special to make
the ellipsis be sensitive to clicks or other keys.

I suspect that your memories are about the recipe I show above, not
about 'pp'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#20345; Package emacs. Full text available.
Changed bug title to 'print-length ellipsis should be expandable in more cases' from '24.4; Ellipsis no longer expands abbreviated form' Request was from Stefan Monnier <monnier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Stefan Monnier <monnier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Forcibly Merged 20344 20345. Request was from Stefan Monnier <monnier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Apr 2015 02:35:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 15 22:35:11 2015
Received: from localhost ([127.0.0.1]:57596 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YiZe3-0005Ii-3A
	for submit <at> debbugs.gnu.org; Wed, 15 Apr 2015 22:35:11 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56501)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <m.pontus@HIDDEN>) id 1YiZe1-0005IT-IH
 for submit <at> debbugs.gnu.org; Wed, 15 Apr 2015 22:35:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <m.pontus@HIDDEN>) id 1YiZdv-0004Xj-96
 for submit <at> debbugs.gnu.org; Wed, 15 Apr 2015 22:35:04 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57881)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <m.pontus@HIDDEN>) id 1YiZdv-0004XY-6F
 for submit <at> debbugs.gnu.org; Wed, 15 Apr 2015 22:35:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41769)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <m.pontus@HIDDEN>) id 1YiZdu-00027x-1i
 for bug-gnu-emacs@HIDDEN; Wed, 15 Apr 2015 22:35:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <m.pontus@HIDDEN>) id 1YiZdo-0004T2-Vh
 for bug-gnu-emacs@HIDDEN; Wed, 15 Apr 2015 22:35:02 -0400
Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:34841)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <m.pontus@HIDDEN>) id 1YiZdo-0004Sv-I3
 for bug-gnu-emacs@HIDDEN; Wed, 15 Apr 2015 22:34:56 -0400
Received: by lbbuc2 with SMTP id uc2so48174289lbb.2
 for <bug-gnu-emacs@HIDDEN>; Wed, 15 Apr 2015 19:34:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type;
 bh=3+xKiM5mxdookr8dxqVLZPvhfaaKbwcJEykOsBlRVa4=;
 b=gtENYXLCdRfGeiXJrNK0uAz5cA2gjlGIkUEJrZBAo+4MPOlv/KbL6dcmDnHv35yV65
 rVn+F7n9/EkaoQ/gJE+DLXRF9KZjzfgQTGkWD9qVGHf/gIICnwRtfakPopjduIPSyfk6
 rdnCWlKvaidQ8z4r8xqwT3fvgLTBcC2WDHRfD4kBFEuMj5k7TltPwCBx+UTGxUMPR9rB
 Yi0Ojiko9IMtJH0yQw5/SpGeWx1m6Nq60YLQUDxUEWG4BXu2euESdrFaZ/D1cIvVLcXO
 vh5MUniRJzf/hPLrT2hQq7/EMgOXU3y94h8+Ye6wYonP5gY3qmn/ql2HHOO2W5egdycl
 sxkA==
X-Received: by 10.112.218.40 with SMTP id pd8mr26202789lbc.71.1429151695763;
 Wed, 15 Apr 2015 19:34:55 -0700 (PDT)
Received: from gentoo (broadband-77-37-140-14.nationalcablenetworks.ru.
 [77.37.140.14])
 by mx.google.com with ESMTPSA id i9sm1330900lbs.26.2015.04.15.19.34.55
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 15 Apr 2015 19:34:55 -0700 (PDT)
From: m.pontus@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 24.4; Ellipsis no longer expands abbreviated form
Date: Thu, 16 Apr 2015 05:34:29 +0300
Message-ID: <87oamo3ioa.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


=====

1. I launch emacs-24 -Q and insert following form in scratch buffer:

    (let ((print-length 2) (print-level 3))
      (pp load-history (current-buffer)))

2. I navigate to a new line and press C-x e

    (("/usr/share/emacs/24.4/lisp/emacs-lisp/pp.elc" pp-escape-newlines ...)
     ("/usr/share/emacs/24.4/lisp/calendar/time-date.elc"
      (defun . with-decoded-time-value)
      ...)
     ...)

3. I navigate to previous line and place cursor between "." and "..)"
4. I press <RET> and ellipsis splits in two instead of expanding abbreviation

=====




In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.27)
 of 2015-03-28 on gentoo
Windowing system distributor `The X.Org Foundation', version 11.0.11604000
Configured using:
 `configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --disable-dependency-tracking
 --disable-silent-rules --libdir=/usr/lib64 --program-suffix=-emacs-24
 --infodir=/usr/share/info/emacs-24 --localstatedir=/var
 --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
 --with-gameuser=:gamestat --without-compress-install
 --with-file-notification=inotify --enable-acl --with-dbus
 --without-gnutls --with-gpm --without-hesiod --without-kerberos
 --without-kerberos5 --with-xml2 --without-selinux --without-wide-int
 --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf
 --without-gsettings --without-toolkit-scroll-bars --with-gif
 --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm
 --with-imagemagick --with-xft --without-libotf --without-m17n-flt
 --with-x-toolkit=gtk2 GENTOO_PACKAGE=app-editors/emacs-24.4-r4
 'CFLAGS=-O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed''

Important settings:
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-y C-j C-p C-p C-p C-p C-p C-p C-p C-f C-f C-f <return> 
C-/ C-/ C-n <return> C-x C-e C-p C-f C-f <return> C-/ 
C-a C-/ C-a C-p C-p C-p C-p C-o C-/ C-p C-p C-SPC C-n 
C-n M-w C-x 3 M-2 M-x r e p o r t - e - b <tab> <r
eturn>

Recent messages:
End of buffer
"((\"/usr/share/emacs/24.4/lisp/emacs-lisp/pp.elc\" pp-escape-newlines ...)
 (\"/usr/share/emacs/24.4/lisp/calendar/time-date.elc\"
  (defun . with-decoded-time-value)
  ...)
 ...)
"
Undo!
Redo!
Undo!

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils pp time-date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind inotify dynamic-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)

Memory information:
((conses 16 71676 4420)
 (symbols 48 17558 0)
 (miscs 40 45 138)
 (strings 32 9213 4272)
 (string-bytes 1 254530)
 (vectors 16 8943)
 (vector-slots 8 383831 17614)
 (floats 8 67 202)
 (intervals 56 285 22)
 (buffers 960 11)
 (heap 1024 13119 818))




Acknowledgement sent to m.pontus@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#20345; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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