From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#9212: 24.0.50; Selective display broken in Emacs 24 trunk Date: Mon, 1 Aug 2011 09:44:01 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1312184697 22096 80.91.229.12 (1 Aug 2011 07:44:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2011 07:44:57 +0000 (UTC) To: 9212@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 01 09:44:50 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QnnB9-0004QG-Bv for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2011 09:44:47 +0200 Original-Received: from localhost ([::1]:35167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnnB8-0001br-Lt for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2011 03:44:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnnB5-0001bZ-Lc for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 03:44:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QnnB4-0002ud-HA for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 03:44:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnnB4-0002uZ-FW for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 03:44:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QnnBP-0003kF-4p; Mon, 01 Aug 2011 03:45:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Aug 2011 07:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9212 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131218467114336 (code B ref -1); Mon, 01 Aug 2011 07:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Aug 2011 07:44:31 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QnnAt-0003jB-Iu for submit@debbugs.gnu.org; Mon, 01 Aug 2011 03:44:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QnnAp-0003iy-On for submit@debbugs.gnu.org; Mon, 01 Aug 2011 03:44:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QnnAT-0002mU-Fq for submit@debbugs.gnu.org; Mon, 01 Aug 2011 03:44:06 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:59577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnnAT-0002mP-EF for submit@debbugs.gnu.org; Mon, 01 Aug 2011 03:44:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnnAS-0001az-87 for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 03:44:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QnnAR-0002m2-1r for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 03:44:04 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:40865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnnAQ-0002lt-Rh for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 03:44:03 -0400 Original-Received: by vxg38 with SMTP id 38so5186555vxg.0 for ; Mon, 01 Aug 2011 00:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=jE4XP37ui1lBzgB88HoAClhBpEoMPKBf6IMHfNBfnCg=; b=EA058V+ZIpRd9sA/DC3n3umSY9qXw55JJR/6ppFORMkfA4htG58n+MUAxff35UG2wP vw6NpQCV8t3SftJlzKI7g+blYwFhTBVGtKFqF+uyyURYxM763AI7nnxDcLEkeeQJGJoy HZwv9UEMD9Ie5srgNoSP9Gz0OuQ8ffqJeVLMA= Original-Received: by 10.52.77.68 with SMTP id q4mr4227926vdw.40.1312184641508; Mon, 01 Aug 2011 00:44:01 -0700 (PDT) Original-Received: by 10.52.114.133 with HTTP; Mon, 1 Aug 2011 00:44:01 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 01 Aug 2011 03:45:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49751 Archived-At: "Selective display" (i.e. a technique used to hide sections of a buffer, which has been around since, at least, Emacs 18) seems to be broken in the trunk of Emacs 24. Steps to verify this: * Create a new buffer with the following content (where ^M should be the actual Carriage Return character, generated by C-q C-m): alpha^Mbeta^Mgamma delta * Activeate selective display using "(setq selective-display t)". * The following should be displayed: alpha... delta * In the broken Emacs 24 trunk, the following is displayed: alpha...delta I noticed that this worked correctly as late as in early 2011. Note that this will break a number of old, videly used, packaged like "folding.el". Sincerely, Anders Lindgren In GNU Emacs 24.0.50.1 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36) of 2011-07-31 on macpro.local Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t eldoc-mode: t global-auto-revert-mode: t global-cwarn-mode: t minibuffer-electric-file-mode: t recentf-mode: t msb-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-s C-s C-s C-s C-s C-s C-s C-a C-x p C-x C-g C C-x u C-x C-f C h a < C-s s e l e c t i v e - d C-a < C-s d i s p l a y C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a C-x C-f s r C h n C-s s e l e c r t i v e - . * d C-s d i s p l a y C-a < C-s d i s p l a y C-s C-s C-s C-s C-s C-s C-s C-a C-x C-f ~ / t , m p - / s e l e c t i v e - d i s p =F6 a y . t x t V i s i b l 1 a l p h a C-q RET b e t a C-q RET g a m m a C-q C-j d e l t a x d e s e l e c i i C-g ( s e t q SPC s e l e v t v c t i M-- M-- + - d M-- SPC t ) C-e n i l C-x C-s x r e p o r t Recent messages: Mark set Mark saved where search started (New file) Quit Scanning for dabbrevs...100% [2 times] t nil Saving file /Users/anders/tmp/selectivedisp=F6ay.txt... Wrote /Users/anders/tmp/selectivedisp=F6ay.txt Making completion list... Load-path shadows: ~/emacs/lisp/table hides /Volumes/HD3/build/emacs2/trunk/nextstep/Emacs.app/Contents/Resources/lisp/= textmodes/table ~/emacs/lisp/ruby-mode hides /Volumes/HD3/build/emacs2/trunk/nextstep/Emacs.app/Contents/Resources/lisp/= progmodes/ruby-mode ~/emacs/src/asm-mode-new/src/asm-mode hides /Volumes/HD3/build/emacs2/trunk/nextstep/Emacs.app/Contents/Resources/lisp/= progmodes/asm-mode Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug dabbrev pp vc-svn shell pcomplete grep compile multi-isearch follow subword ctypes my-end-of-buffer-log doxygen c-electric-operator c-indent-operator vc-dispatcher vc-bzr add-log help-mode debug eldoc ps-print ps-def lpr autorevert folding-isearch folding view rdebug cwarn prepaint cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs tempo edg-mode tags-extra etags split-nways toggle-file-read-only lockdir uniquify ange-ftp comint regexp-opt ring paren mic-paren iso-insert minibuf-elfile easy-mmode recentf tree-widget wid-edit easymenu msb edmacro kmacro warnings disp-table time advice help-fns advice-preload cl time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs)