From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 02:17:40 2017 Received: (at submit) by debbugs.gnu.org; 21 Apr 2017 06:17:40 +0000 Received: from localhost ([127.0.0.1]:59644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1Rsx-0005uY-RJ for submit@debbugs.gnu.org; Fri, 21 Apr 2017 02:17:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1Rsw-0005uL-8n for submit@debbugs.gnu.org; Fri, 21 Apr 2017 02:17:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1Rso-0008QI-M4 for submit@debbugs.gnu.org; Fri, 21 Apr 2017 02:17:33 -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]:55361) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1Rso-0008QE-Ht for submit@debbugs.gnu.org; Fri, 21 Apr 2017 02:17:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1Rsl-0005e2-IU for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 02:17:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1Rsj-0008Op-4c for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 02:17:27 -0400 Received: from mail-yb0-x235.google.com ([2607:f8b0:4002:c09::235]:35514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1Rsi-0008OT-P3 for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 02:17:25 -0400 Received: by mail-yb0-x235.google.com with SMTP id 6so37719815ybq.2 for ; Thu, 20 Apr 2017 23:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=baRORT529p9EvR6CmAzCigTGlneI78w086eM2L6Mzw8=; b=Htfs9XtVISmf8DT1gKM11Poe1AT8AWvGPlVx7y8fcZCdeIAaFQ5E/2gpcwSBg5EXWM 89nURMPzitMyllNPvR/WLpps5RC/gZhkN0hJlrCal7wO/nhuIuBgm4VSCSpqMbXIRAao jDD3cxpFqUTlS70tdGdENflg7fwex8LnERxiYeiy6L4q9Zh8B2LKJOz+Ewhjpj90wJcU jxN5ubZO7dScMqJkUsVRPU133+W5BC/LKsWUB0GyF6v/bvQN8iSvEcvvnF5bShMRrWG9 x7PjzF9W5+5yddb0tFgswNLfyPmQhJA5qPaWjVB7Dk1F47y7MinLMVWX/WVgU/VJPvVV 4kZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=baRORT529p9EvR6CmAzCigTGlneI78w086eM2L6Mzw8=; b=FYlGUPImqhsa8sQFFuNqvLdxHOvD3r59Pp2vvhxo7q26b5aa8Pintt5B34WrKGo8ZH /YEaqRFlJOyUAH5kTSBRKHURdxkDNQf6BOOKoRrjE6CygnoD6IANpTBUYBxJSTyGWEc7 x/7/yAXQtMWjPEt0FQOaWB9/SwxWZZgSCt5HZ7r4KUrzj74Yi2qr5h9zfKnjMX+MdZ3g HGFB/xHb++5hrazBP41oB1HnYnVnBT4Se16WsvXfARiKzb6nOTFtWgfejkNJm9mdYBJB V4nTNzYtJL89IFgQNWea78/N3B3VRseC440u7xHESWn/Mfr8eTHAsxyoKTVvBMOCXMos GQkA== X-Gm-Message-State: AN3rC/6R5MpIQ0Q4f0e4HHjvKCif8L/ii5LfB/fLhsDqK7Pj1iRYfPtM DM6Ebj7rQKcpC+UIEbKJqKV78UsDVai7/JU= X-Received: by 10.37.87.2 with SMTP id l2mr10228201ybb.142.1492755442995; Thu, 20 Apr 2017 23:17:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.17.6 with HTTP; Thu, 20 Apr 2017 23:17:22 -0700 (PDT) From: Aaron Jensen Date: Thu, 20 Apr 2017 23:17:22 -0700 Message-ID: Subject: 25.1; header-line-format spins cpu To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) With emacs -Q, executing: (setq header-line-format '(#("* [[elisp:(org-projectile:open-project%20\"foobar\")][xxxxxxxxxx]]" 0 1 (face org-indent) 2 51 (wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" htmlize-link (:uri "nil:nil") help-echo "LINK: elisp:(org-projectile:open-project \"foobar\")" font-lock-multiline t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) invisible org-link face org-link fontified t) 51 52 (wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) htmlize-link (:uri "nil:nil") help-echo "LINK: elisp:(org-projectile:open-project \"foobar\")" font-lock-multiline t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) invisible org-link face org-link fontified t) 52 61 (wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" htmlize-link (:uri "nil:nil") help-echo "LINK: elisp:(org-projectile:open-project \"foobar\")" font-lock-multiline t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) face org-link fontified t) 61 62 (wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) htmlize-link (:uri "nil:nil") help-echo "LINK: elisp:(org-projectile:open-project \"foobar\")" font-lock-multiline t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) face org-link fontified t) 62 63 (wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" htmlize-link (:uri "nil:nil") help-echo "LINK: elisp:(org-projectile:open-project \"foobar\")" font-lock-multiline t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) invisible org-link face org-link fontified t) 63 64 (wrap-prefix #("* " 0 2 (face org-indent)) line-prefix "" rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) htmlize-link (:uri "nil:nil") help-echo "LINK: elisp:(org-projectile:open-project \"foobar\")" font-lock-multiline t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) invisible org-link face org-link fontified t)))) Spins the CPU 100% until I kill emacs. Here is the spin log from macos: Command: Emacs Path: /usr/local/Cellar/emacs-plus/25.1/Emacs.app/Contents/MacOS/Emacs 101 main + 5134 (Emacs + 648602) [0x10009e59a] 101 Frecursive_edit + 219 (Emacs + 652636) [0x10009f55c] 101 recursive_edit_1 + 113 (Emacs + 652103) [0x10009f347] 101 command_loop + 156 (Emacs + 652325) [0x10009f425] 101 internal_catch + 54 (Emacs + 1062393) [0x1001035f9] 101 command_loop_2 + 37 (Emacs + 704740) [0x1000ac0e4] 101 internal_condition_case + 70 (Emacs + 1063437) [0x100103a0d] 101 command_loop_1 + 742 (Emacs + 654850) [0x10009fe02] 101 read_key_sequence + 2115 (Emacs + 660591) [0x1000a146f] 101 read_char + 534 (Emacs + 667140) [0x1000a2e04] 101 redisplay_internal + 5154 (Emacs + 156975) [0x10002652f] 101 redisplay_windows + 137 (Emacs + 282089) [0x100044de9] 101 internal_condition_case_1 + 76 (Emacs + 1063535) [0x100103a6f] 101 redisplay_window_0 + 38 (Emacs + 284397) [0x1000456ed] 101 redisplay_window + 16085 (Emacs + 300486) [0x1000495c6] 101 display_mode_lines + 516 (Emacs + 275171) [0x1000432e3] 101 display_mode_line + 248 (Emacs + 109951) [0x10001ad7f] 101 display_mode_element + 1018 (Emacs + 186085) [0x10002d6e5] 101 display_mode_element + 811 (Emacs + 185878) [0x10002d616] 101 display_mode_element + 6667 (Emacs + 191734) [0x10002ecf6] 101 display_string + 1452 (Emacs + 182717) [0x10002c9bd] 101 get_next_display_element + 48 (Emacs + 111816) [0x10001b4c8] 101 next_element_from_string + 447 (Emacs + 269943) [0x100041e77] 101 handle_stop + 104 (Emacs + 256399) [0x10003e98f] 98 handle_invisible_prop + 943 (Emacs + 261063) [0x10003fbc7] 24 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 10 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 2 bidi_cache_search + 59 (Emacs + 561315) [0x1000890a3] (running) Process: Emacs [83600] Path: /usr/local/Cellar/emacs-plus/25.1/Emacs.app/Contents/MacOS/Emacs 101 main + 5134 (Emacs + 648602) [0x10009e59a] 1-101 101 Frecursive_edit + 219 (Emacs + 652636) [0x10009f55c] 1-101 101 recursive_edit_1 + 113 (Emacs + 652103) [0x10009f347] 1-101 101 command_loop + 156 (Emacs + 652325) [0x10009f425] 1-101 101 internal_catch + 54 (Emacs + 1062393) [0x1001035f9] 1-101 101 command_loop_2 + 37 (Emacs + 704740) [0x1000ac0e4] 1-101 101 internal_condition_case + 70 (Emacs + 1063437) [0x100103a0d] 1-101 101 command_loop_1 + 742 (Emacs + 654850) [0x10009fe02] 1-101 101 read_key_sequence + 2115 (Emacs + 660591) [0x1000a146f] 1-101 101 read_char + 534 (Emacs + 667140) [0x1000a2e04] 1-101 101 redisplay_internal + 5154 (Emacs + 156975) [0x10002652f] 1-101 101 redisplay_windows + 137 (Emacs + 282089) [0x100044de9] 1-101 101 internal_condition_case_1 + 76 (Emacs + 1063535) [0x100103a6f] 1-101 101 redisplay_window_0 + 38 (Emacs + 284397) [0x1000456ed] 1-101 101 redisplay_window + 16085 (Emacs + 300486) [0x1000495c6] 1-101 101 display_mode_lines + 516 (Emacs + 275171) [0x1000432e3] 1-101 101 display_mode_line + 248 (Emacs + 109951) [0x10001ad7f] 1-101 101 display_mode_element + 1018 (Emacs + 186085) [0x10002d6e5] 1-101 101 display_mode_element + 811 (Emacs + 185878) [0x10002d616] 1-101 101 display_mode_element + 6667 (Emacs + 191734) [0x10002ecf6] 1-101 101 display_string + 1452 (Emacs + 182717) [0x10002c9bd] 1-101 101 get_next_display_element + 48 (Emacs + 111816) [0x10001b4c8] 1-101 101 next_element_from_string + 447 (Emacs + 269943) [0x100041e77] 1-101 101 handle_stop + 104 (Emacs + 256399) [0x10003e98f] 1-101 1 handle_invisible_prop + 935 (Emacs + 261055) [0x10003fbbf] (running) 1 11 handle_invisible_prop + 943 (Emacs + 261063) [0x10003fbc7] 2-12 1 bidi_move_to_visually_next + 131 (Emacs + 553490) [0x100087212] (running) 2 2 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 3-4 1 bidi_cache_iterator_state + 373 (Emacs + 554408) [0x1000875a8] (running) 3 1 bidi_cache_iterator_state + 23 (Emacs + 554058) [0x10008744a] (running) 4 1 bidi_move_to_visually_next + 52 (Emacs + 553411) [0x1000871c3] (running) 5 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 6 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 7 1 bidi_cache_iterator_state + 451 (Emacs + 554486) [0x1000875f6] (running) 7 1 bidi_line_init + 0 (Emacs + 553176) [0x1000870d8] (running) 8 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 9 1 bidi_cache_iterator_state + 491 (Emacs + 554526) [0x10008761e] (running) 9 3 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 10-12 1 handle_invisible_prop + 935 (Emacs + 261055) [0x10003fbbf] (running) 13 10 handle_invisible_prop + 943 (Emacs + 261063) [0x10003fbc7] 14-23 1 bidi_move_to_visually_next + 421 (Emacs + 553780) [0x100087334] (running) 14 1 bidi_move_to_visually_next + 357 (Emacs + 553716) [0x1000872f4] (running) 15 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 16 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 17 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 17 1 bidi_cache_search + 59 (Emacs + 561315) [0x1000890a3] (running) 17 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 18 1 bidi_cache_search + 1 (Emacs + 561257) [0x100089069] (running) 18 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 19 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 20 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 20 1 bidi_cache_search + 182 (Emacs + 561438) [0x10008911e] (running) 20 1 bidi_move_to_visually_next + 234 (Emacs + 553593) [0x100087279] 21 1 bidi_level_of_next_char + 20 (Emacs + 554555) [0x10008763b] (running) 21 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 22 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 23 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 23 1 bidi_cache_search + 216 (Emacs + 561472) [0x100089140] (running) 23 1 handle_invisible_prop + 935 (Emacs + 261055) [0x10003fbbf] (running) 24 77 handle_invisible_prop + 943 (Emacs + 261063) [0x10003fbc7] 25-101 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 25 1 bidi_cache_iterator_state + 484 (Emacs + 554519) [0x100087617] (running) 25 2 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 26-27 1 bidi_cache_iterator_state + 373 (Emacs + 554408) [0x1000875a8] (running) 26 1 bidi_cache_iterator_state + 121 (Emacs + 554156) [0x1000874ac] (running) 27 1 bidi_level_of_next_char + 1 (Emacs + 554536) [0x100087628] (running) 28 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 29 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 29 1 bidi_cache_search + 139 (Emacs + 561395) [0x1000890f3] (running) 29 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 31 1 bidi_cache_iterator_state + 431 (Emacs + 554466) [0x1000875e2] (running) 31 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 32 1 bidi_move_to_visually_next + 394 (Emacs + 553753) [0x100087319] (running) 33 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 34 1 bidi_move_to_visually_next + 234 (Emacs + 553593) [0x100087279] 35 1 bidi_level_of_next_char + 1766 (Emacs + 556301) [0x100087d0d] (running) 35 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 36 1 bidi_cache_iterator_state + 101 (Emacs + 554136) [0x100087498] (running) 36 2 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 37-38 1 bidi_cache_iterator_state + 141 (Emacs + 554176) [0x1000874c0] (running) 37 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 39 1 bidi_cache_iterator_state + 401 (Emacs + 554436) [0x1000875c4] (running) 39 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 40 1 bidi_cache_iterator_state + 307 (Emacs + 554342) [0x100087566] 40 1 bidi_move_to_visually_next + 234 (Emacs + 553593) [0x100087279] 41 1 bidi_level_of_next_char + 1265 (Emacs + 555800) [0x100087b18] (running) 41 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 42 1 bidi_cache_iterator_state + 133 (Emacs + 554168) [0x1000874b8] (running) 42 1 bidi_move_to_visually_next + 226 (Emacs + 553585) [0x100087271] (running) 43 1 bidi_move_to_visually_next + 584 (Emacs + 553943) [0x1000873d7] (running) 44 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 45 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 45 1 bidi_cache_search + 217 (Emacs + 561473) [0x100089141] (running) 45 1 bidi_move_to_visually_next + 52 (Emacs + 553411) [0x1000871c3] (running) 46 1 bidi_move_to_visually_next + 421 (Emacs + 553780) [0x100087334] 47 2 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 48-49 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 48 1 bidi_cache_search + 59 (Emacs + 561315) [0x1000890a3] (running) 48 1 bidi_cache_iterator_state + 14 (Emacs + 554049) [0x100087441] (running) 49 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 51 1 bidi_cache_iterator_state + 45 (Emacs + 554080) [0x100087460] (running) 51 1 bidi_move_to_visually_next + 226 (Emacs + 553585) [0x100087271] (running) 52 1 bidi_move_to_visually_next + 349 (Emacs + 553708) [0x1000872ec] (running) 53 1 bidi_move_to_visually_next + 28 (Emacs + 553387) [0x1000871ab] (running) 54 2 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 55-56 1 bidi_cache_iterator_state + 422 (Emacs + 554457) [0x1000875d9] (running) 55 1 bidi_cache_iterator_state + 307 (Emacs + 554342) [0x100087566] 56 1 bidi_move_to_visually_next + 449 (Emacs + 553808) [0x100087350] (running) 57 1 bidi_cache_iterator_state + 1 (Emacs + 554036) [0x100087434] (running) 59 1 bidi_move_to_visually_next + 234 (Emacs + 553593) [0x100087279] 60 1 bidi_level_of_next_char + 8 (Emacs + 554543) [0x10008762f] (running) 60 1 bidi_move_to_visually_next + 97 (Emacs + 553456) [0x1000871f0] 61 1 bidi_line_init + 63 (Emacs + 553239) [0x100087117] (running) 61 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 62 1 bidi_cache_iterator_state + 56 (Emacs + 554091) [0x10008746b] (running) 62 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 63 2 bidi_move_to_visually_next + 97 (Emacs + 553456) [0x1000871f0] 64-65 2 bidi_line_init + 174 (Emacs + 553350) [0x100087186] (running) 64-65 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 66 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 66 1 bidi_cache_search + 139 (Emacs + 561395) [0x1000890f3] (running) 66 1 bidi_level_of_next_char + 1 (Emacs + 554536) [0x100087628] (running) 67 1 bidi_cache_iterator_state + 0 (Emacs + 554035) [0x100087433] (running) 68 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 69 1 bidi_cache_iterator_state + 79 (Emacs + 554114) [0x100087482] (running) 69 1 bidi_move_to_visually_next + 97 (Emacs + 553456) [0x1000871f0] 70 1 bidi_line_init + 4 (Emacs + 553180) [0x1000870dc] (running) 70 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 71 2 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 72-73 1 bidi_cache_iterator_state + 299 (Emacs + 554334) [0x10008755e] (running) 72 1 bidi_cache_search + 1 (Emacs + 561257) [0x100089069] (running) 73 1 bidi_move_to_visually_next + 394 (Emacs + 553753) [0x100087319] (running) 74 2 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 75-76 1 bidi_cache_iterator_state + 53 (Emacs + 554088) [0x100087468] (running) 75 1 bidi_cache_iterator_state + 6 (Emacs + 554041) [0x100087439] (running) 76 1 bidi_move_to_visually_next + 97 (Emacs + 553456) [0x1000871f0] 77 1 bidi_line_init + 156 (Emacs + 553332) [0x100087174] (running) 77 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 79 1 bidi_cache_iterator_state + 484 (Emacs + 554519) [0x100087617] (running) 79 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 80 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 81 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 81 1 bidi_cache_search + 12 (Emacs + 561268) [0x100089074] (running) 81 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 82 1 bidi_move_to_visually_next + 234 (Emacs + 553593) [0x100087279] 83 1 bidi_level_of_next_char + 58 (Emacs + 554593) [0x100087661] (running) 83 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 84 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 84 1 bidi_cache_search + 216 (Emacs + 561472) [0x100089140] (running) 84 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 85 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 86 1 bidi_cache_iterator_state + 288 (Emacs + 554323) [0x100087553] (running) 86 1 bidi_move_to_visually_next + 234 (Emacs + 553593) [0x100087279] 87 1 bidi_level_of_next_char + 58 (Emacs + 554593) [0x100087661] (running) 87 1 bidi_move_to_visually_next + 6 (Emacs + 553365) [0x100087195] (running) 88 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 89 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 89 1 bidi_cache_search + 161 (Emacs + 561417) [0x100089109] (running) 89 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 90 1 bidi_cache_iterator_state + 464 (Emacs + 554499) [0x100087603] (running) 90 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 91 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 91 1 bidi_cache_search + 19 (Emacs + 561275) [0x10008907b] (running) 91 1 bidi_move_to_visually_next + 234 (Emacs + 553593) [0x100087279] 92 1 bidi_level_of_next_char + 36 (Emacs + 554571) [0x10008764b] (running) 92 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 93 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 94 1 bidi_move_to_visually_next + 572 (Emacs + 553931) [0x1000873cb] 95 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 95 1 bidi_cache_search + 4 (Emacs + 561260) [0x10008906c] (running) 95 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 96 1 bidi_cache_iterator_state + 50 (Emacs + 554085) [0x100087465] 96 1 bidi_cache_search + 217 (Emacs + 561473) [0x100089141] (running) 96 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 97 1 bidi_move_to_visually_next + 28 (Emacs + 553387) [0x1000871ab] (running) 98 1 bidi_move_to_visually_next + 104 (Emacs + 553463) [0x1000871f7] (running) 99 1 bidi_move_to_visually_next + 146 (Emacs + 553505) [0x100087221] 100 1 bidi_move_to_visually_next + 221 (Emacs + 553580) [0x10008726c] 101 1 bidi_cache_iterator_state + 491 (Emacs + 554526) [0x10008761e] (running) 101 0x100000000 - 0x1001c7fff org.gnu.Emacs Version 25.1 (9.0) <2CC2F7D2-C29A-3D70-BD86-D99A2D410D6A> /usr/local/Cellar/emacs-plus/25.1/Emacs.app/Contents/MacOS/Emacs Parent: Emacs [83600] Responsible: Emacs [83600] Responsible: Emacs [83600] In GNU Emacs 25.1.1 (x86_64-apple-darwin16.6.0, NS appkit-1504.83 Version 10.12.5 (Build 16F60a)) of 2017-04-20 built on aaronmbp.local Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus/25.1/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus/25.1 --with-xml2 --without-dbus --with-gnutls --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-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 messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 195868 7848) (symbols 48 19606 0) (miscs 40 51 204) (strings 32 15069 5484) (string-bytes 1 437664) (vectors 16 32844) (vector-slots 8 650068 5501) (floats 8 160 31) (intervals 56 225 0) (buffers 976 19)) From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 04:07:02 2017 Received: (at 26586) by debbugs.gnu.org; 21 Apr 2017 08:07:02 +0000 Received: from localhost ([127.0.0.1]:59679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1Tao-0008Uj-1K for submit@debbugs.gnu.org; Fri, 21 Apr 2017 04:07:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1Tak-0008UD-75 for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 04:06:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1Tab-0002c7-UP for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 04:06:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1Tab-0002c2-R7; Fri, 21 Apr 2017 04:06:49 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4751 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d1Tab-0006xW-7Q; Fri, 21 Apr 2017 04:06:49 -0400 Date: Fri, 21 Apr 2017 11:07:30 +0300 Message-Id: <831ssmb2v1.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Thu, 20 Apr 2017 23:17:22 -0700) Subject: Re: bug#26586: 25.1; header-line-format spins cpu References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Aaron Jensen > Date: Thu, 20 Apr 2017 23:17:22 -0700 > > With emacs -Q, executing: > > (setq header-line-format '(#("* > [[elisp:(org-projectile:open-project%20\"foobar\")][xxxxxxxxxx]]" 0 1 Can you please show the Lisp code which generates this header-line-format? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 04:14:53 2017 Received: (at 26586-done) by debbugs.gnu.org; 21 Apr 2017 08:14:53 +0000 Received: from localhost ([127.0.0.1]:59685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1TiO-0000E9-VL for submit@debbugs.gnu.org; Fri, 21 Apr 2017 04:14:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1TiN-0000Dw-Om for 26586-done@debbugs.gnu.org; Fri, 21 Apr 2017 04:14:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1TiF-00058x-Dn for 26586-done@debbugs.gnu.org; Fri, 21 Apr 2017 04:14:46 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1TiF-00058s-9w; Fri, 21 Apr 2017 04:14:43 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4765 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d1TiE-0007b2-K9; Fri, 21 Apr 2017 04:14:43 -0400 Date: Fri, 21 Apr 2017 11:15:24 +0300 Message-Id: <83y3uu9nxf.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Thu, 20 Apr 2017 23:17:22 -0700) Subject: Re: bug#26586: 25.1; header-line-format spins cpu References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26586-done Cc: 26586-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Aaron Jensen > Date: Thu, 20 Apr 2017 23:17:22 -0700 > > With emacs -Q, executing: > > (setq header-line-format '(#("* > [[elisp:(org-projectile:open-project%20\"foobar\")][xxxxxxxxxx]]" 0 1 > [...] > Spins the CPU 100% until I kill emacs. You are shooting yourself in the foot by having that "%20" in the header-line-format. Percent sign is special in mode-line and header-line formats: it indicates a %-construct, see the node "%-Constructs" in the ELisp manual. I fixed the code to avoid the infloop in this case, but you should fix your code, because the result will not be what you probably expect. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 10:29:08 2017 Received: (at 26586-done) by debbugs.gnu.org; 21 Apr 2017 14:29:08 +0000 Received: from localhost ([127.0.0.1]:60933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1ZYa-0006PD-LY for submit@debbugs.gnu.org; Fri, 21 Apr 2017 10:29:08 -0400 Received: from mail-yw0-f171.google.com ([209.85.161.171]:36277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1ZYZ-0006Os-1r for 26586-done@debbugs.gnu.org; Fri, 21 Apr 2017 10:29:07 -0400 Received: by mail-yw0-f171.google.com with SMTP id j9so53315944ywj.3 for <26586-done@debbugs.gnu.org>; Fri, 21 Apr 2017 07:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1l0FCN3SG3MhAbjc9AkZIKuqlRzry1GjXa58Xl5q1Vs=; b=sk4+0KbJOq0A9IURm+kvq2NB1naEzBUZ1yXtv+/mZNFFXpW45QZyKWPVQG8WNqTQ0/ BdLfuuQ/Rld71Pkl+go/Z9LaQIR3N0Le2mb/NyAjK1FpifVxldkuDDi3kWoSnqPUkwYG YrtKsIlW4orQSEkylnfPanYSdmnm86jZpoW+rdJq4fJGgykKvdEbslSmMa4kQOq0DpDw sZFD41rC7MFottU1CuNTbzK/fGn1Fkz5cXhVcVX3/3sJ9OZpj/t6PJfT/EghFC+4mmWb lrwOwNKZMNFgSWnWDFEAqg5Vdnn2mEGWfGJbdpkIW/HT9IcQlr77hVJPRzkZIyKHW2EH bkRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1l0FCN3SG3MhAbjc9AkZIKuqlRzry1GjXa58Xl5q1Vs=; b=rjYCuAhQC0FdxtjvjbEt8ViUq0/igNTNFD1GLwk9C8UVLx7jQALErcSXrP0Rx0R9SR lf4HER0yb/3z/+Ljasr+eYA63LorkhMX7dGVP06hl8UpPfuHGaf7PRUta3USLOgkJm6M MFlu/Qm/0UBTgX08sH6ZUSrBDfVKX7oTOzFeYBnvgZR3dAeLlUhTS4i81/ajeD7qaMGd 2p4XvljeLdU0AXCBOnIEZOboUlMm0CULA1muN8ORHvL1Jz8/GAbQdjwcJuz+iF42PfCG bEHIfDbPXv+xm1kBJPraSDPkQnjEW8eJjTOucpBHX2Pz+FoiF2QHJztY90FZttTbzxCT 4AfA== X-Gm-Message-State: AN3rC/4O6gyeKGjrm8cL6H8i8ww9TjnUNYbLKKPqTTFMVC9wn/tfL/Nh yILF3FROyUJ7XIFY5HMZkF0FQGD+4w== X-Received: by 10.129.168.194 with SMTP id f185mr11186405ywh.233.1492784941331; Fri, 21 Apr 2017 07:29:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.17.6 with HTTP; Fri, 21 Apr 2017 07:29:00 -0700 (PDT) In-Reply-To: <83y3uu9nxf.fsf@gnu.org> References: <83y3uu9nxf.fsf@gnu.org> From: Aaron Jensen Date: Fri, 21 Apr 2017 07:29:00 -0700 Message-ID: Subject: Re: bug#26586: 25.1; header-line-format spins cpu To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26586-done Cc: 26586-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Thanks for the quick fix and the info! The code generating it was org-sticky-header https://github.com/alphapapa/org-sticky-header/blob/master/org-sticky-header.el I was investigating and infinite loop reported here: https://github.com/alphapapa/org-sticky-header/issues/4 The org file that triggers the bug is: * [[elisp:(org-projectile:open-project%20"foobar")][xxxxxxxxxx]] which is generated by org-projectile So, I'm guessing that org-sticky-header needs to escape or remove elisp links before turning org headlines into a header? On Fri, Apr 21, 2017 at 1:15 AM, Eli Zaretskii wrote: >> From: Aaron Jensen >> Date: Thu, 20 Apr 2017 23:17:22 -0700 >> >> With emacs -Q, executing: >> >> (setq header-line-format '(#("* >> [[elisp:(org-projectile:open-project%20\"foobar\")][xxxxxxxxxx]]" 0 1 >> [...] >> Spins the CPU 100% until I kill emacs. > > You are shooting yourself in the foot by having that "%20" in the > header-line-format. Percent sign is special in mode-line and > header-line formats: it indicates a %-construct, see the node > "%-Constructs" in the ELisp manual. > > I fixed the code to avoid the infloop in this case, but you should fix > your code, because the result will not be what you probably expect. > > Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 10:50:55 2017 Received: (at 26586) by debbugs.gnu.org; 21 Apr 2017 14:50:55 +0000 Received: from localhost ([127.0.0.1]:60960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1Zte-0000GP-Tp for submit@debbugs.gnu.org; Fri, 21 Apr 2017 10:50:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1Ztd-0000GC-MX for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 10:50:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1ZtU-0004UT-EG for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 10:50:48 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1ZtU-0004UP-At; Fri, 21 Apr 2017 10:50:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2272 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d1ZtT-0002VE-EX; Fri, 21 Apr 2017 10:50:44 -0400 Date: Fri, 21 Apr 2017 17:51:25 +0300 Message-Id: <83efwlak5u.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Fri, 21 Apr 2017 07:29:00 -0700) Subject: Re: bug#26586: 25.1; header-line-format spins cpu References: <83y3uu9nxf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Aaron Jensen > Date: Fri, 21 Apr 2017 07:29:00 -0700 > Cc: 26586-done@debbugs.gnu.org > > The code generating it was org-sticky-header > https://github.com/alphapapa/org-sticky-header/blob/master/org-sticky-header.el > > I was investigating and infinite loop reported here: > > https://github.com/alphapapa/org-sticky-header/issues/4 > > The org file that triggers the bug is: > > * [[elisp:(org-projectile:open-project%20"foobar")][xxxxxxxxxx]] > > which is generated by org-projectile Thanks for the info. > So, I'm guessing that org-sticky-header needs to escape or remove > elisp links before turning org headlines into a header? Yes, definitely. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 11:34:29 2017 Received: (at 26586) by debbugs.gnu.org; 21 Apr 2017 15:34:30 +0000 Received: from localhost ([127.0.0.1]:32781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1aZp-0003Bf-P2 for submit@debbugs.gnu.org; Fri, 21 Apr 2017 11:34:29 -0400 Received: from mail-yb0-f174.google.com ([209.85.213.174]:33402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1aZo-0003BR-5m for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 11:34:28 -0400 Received: by mail-yb0-f174.google.com with SMTP id 81so45668925ybp.0 for <26586@debbugs.gnu.org>; Fri, 21 Apr 2017 08:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ADiUFH2TRV5S2eba722leozI+Q7eamDP1C0Uo+zWWTQ=; b=ZjUiq71j7wPB1f+DPiIhUavp0h6gG6sXghfwSR8fvWQEcPqEWddTqYzXdVdXWfas8i nTSlm67yv7mMHH2fRViOOFlZLUaqYfXtW+zoz4HuBdLpfot1NJJ7liApjpwBrRYPaOKr zt97ptiXik2XKbVIpcmbtHm1V08kLkPLOuhpCywsL9PeGacejF9yymNeSUGO4np7d35B uvEPVlgtC4Nxb4pBiqqyCMPlafZ9zPXHxqwedwYyGAIMJcV7TrLEnQklnzYUumRNUqSe cc+vX9z2AnWulRFwlJkM1cUwq2HeJgpHekcc1H57agns8f4xg2cgJ1JG6LCBdaDt8OGU ZpGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ADiUFH2TRV5S2eba722leozI+Q7eamDP1C0Uo+zWWTQ=; b=WVZ6LAf5je1yJZCjQPluVW35nc25gsfM6I6DRNiXd0T3VhSCa2rRuMcfd+DxpXn4Y3 z955UmstlwTeWPd9Umxt3jUS6lewcHOMdn+qqmT4vrAgcfLT4rGCELnEztE8uYCXGN7o KWRkZ2AYA2CZNK93hzg/NT4bUsE8+D3ADwMfwCPoDRYwdnXm7M986xgPsXR4D7CaOpvV 7S3rgz4ayiE5S1DXGWUL/hS/BbM6LnLVj8KiBbrS5/6WowsUnJU3xg6Kjy++DHE2MD8k lqSu2wh6eiCYTuRTcH0drvsP38vsL7PDd1gK/IRtLR7oUZHmea17zM5oFyMClcDea5QK rdzQ== X-Gm-Message-State: AN3rC/7RnKigJuJMECyNmkpc9bAk8ZJOJ4xb5TdLPD+s7bmgKLPE1ptg QCuzk3knFZtYOoASHIK/gq+oH6xY9A== X-Received: by 10.37.87.2 with SMTP id l2mr12135489ybb.142.1492788862671; Fri, 21 Apr 2017 08:34:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.202.85 with HTTP; Fri, 21 Apr 2017 08:34:21 -0700 (PDT) In-Reply-To: <83efwlak5u.fsf@gnu.org> References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> From: Aaron Jensen Date: Fri, 21 Apr 2017 08:34:21 -0700 Message-ID: Subject: Re: bug#26586: 25.1; header-line-format spins cpu To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Fri, Apr 21, 2017 at 7:51 AM, Eli Zaretskii wrote: >> So, I'm guessing that org-sticky-header needs to escape or remove >> elisp links before turning org headlines into a header? > > Yes, definitely. Thanks. Maybe the author knows how, but for my benefit, how would I escape %'s in a propertized string while maintaining properties? I tried replace-regexp-in-string but that seems like it stripped the properties (so my % became visible in the status line). From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 13:31:21 2017 Received: (at 26586) by debbugs.gnu.org; 21 Apr 2017 17:31:21 +0000 Received: from localhost ([127.0.0.1]:32841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1cOv-0007hr-9F for submit@debbugs.gnu.org; Fri, 21 Apr 2017 13:31:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1cOt-0007hc-FO for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 13:31:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1cOl-0003aE-4u for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 13:31:14 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1cOl-0003a3-1f; Fri, 21 Apr 2017 13:31:11 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2347 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d1cOk-0007Pa-Bv; Fri, 21 Apr 2017 13:31:10 -0400 Date: Fri, 21 Apr 2017 20:31:54 +0300 Message-Id: <83d1c5acqd.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Fri, 21 Apr 2017 08:34:21 -0700) Subject: Re: bug#26586: 25.1; header-line-format spins cpu References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Aaron Jensen > Date: Fri, 21 Apr 2017 08:34:21 -0700 > Cc: 26586@debbugs.gnu.org > > On Fri, Apr 21, 2017 at 7:51 AM, Eli Zaretskii wrote: > >> So, I'm guessing that org-sticky-header needs to escape or remove > >> elisp links before turning org headlines into a header? > > > > Yes, definitely. > > Thanks. Maybe the author knows how, but for my benefit, how would I > escape %'s in a propertized string while maintaining properties? You need to replace % with %%, and then put the property on the result. Or make the replacement string have the property. I think. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 14:02:08 2017 Received: (at 26586) by debbugs.gnu.org; 21 Apr 2017 18:02:08 +0000 Received: from localhost ([127.0.0.1]:32867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1csi-0008Qm-1T for submit@debbugs.gnu.org; Fri, 21 Apr 2017 14:02:08 -0400 Received: from mail-yw0-f182.google.com ([209.85.161.182]:33494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1csg-0008QI-21 for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 14:02:06 -0400 Received: by mail-yw0-f182.google.com with SMTP id 203so53597151ywe.0 for <26586@debbugs.gnu.org>; Fri, 21 Apr 2017 11:02:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=T67GVEvatU2uz24LMNBP4G3qdNE5dr7AaacbxHabj/M=; b=iho8O83GojtO9HxO8u5vetTuEQnpJfn5WwixllJ0OvSbdqTKF7TsMWAW3ZxdSqZnw0 wnMSMJnOL+Cmm/te/FgCvDatWpPcwM0rUpB74IO3HCteORMs3tVXW51H0tu42nDuGWpJ OjpbdysWezF1GiVkR5MzyKtoKGntfXZNET1gmK/a1+FB74edVDaxd+BFw1A+rS7/0hiW wgxIZKkE2DQr+yS8XRT9LiWsmG8plEsozAnSYyz7PmHhvUqZA0OWP3WqEDLYCFPhz394 9GPiys6KYypXRoVOiA/GIeipPXyLELR18+aaSZ0b7D/+CElCO9/l7JMy8NNThDTqvl83 7X1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=T67GVEvatU2uz24LMNBP4G3qdNE5dr7AaacbxHabj/M=; b=X4rnJ9VA7uhqHIht+NZc1t5mbVgp4mUQuCOGhRRz+Q8rQPRqSNn5GBKIB/kLucqwpG FTjnUvk9KTKyQzimPJRBNVdA7VV3H7wA3F5QYbeG09/vkD4yMj/d2k24XUXqIVEpTOXG +zYqDDt3StierAgAI6Ex4Yq/JMvC6ji13LOiBahOLk2a2+EBMZVUOlU65CwH5WWiOxnu C5FcCXk+RtA48YvVPgnocau2BdMiA+n+yhZALTb+IZ8S/x/WaAhzdpSLVeY30BmpzzWn VJTEJZeP77aRhDKPc85/+oy3aWqybThXmshcV/7CadfMA2pW/c/5kNPZj9siX1sg4fML wY8w== X-Gm-Message-State: AN3rC/4v6Z8UG1dZERi4FJLlX0bcsv13wMW9AWuS7Mssp/WmccWQfvFo QB5kGIP6uTdfxOSLgIVmQ9bXpQbepA== X-Received: by 10.129.168.194 with SMTP id f185mr12006081ywh.233.1492797720464; Fri, 21 Apr 2017 11:02:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.17.6 with HTTP; Fri, 21 Apr 2017 11:01:59 -0700 (PDT) In-Reply-To: <83d1c5acqd.fsf@gnu.org> References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> <83d1c5acqd.fsf@gnu.org> From: Aaron Jensen Date: Fri, 21 Apr 2017 11:01:59 -0700 Message-ID: Subject: Re: bug#26586: 25.1; header-line-format spins cpu To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Fri, Apr 21, 2017 at 10:31 AM, Eli Zaretskii wrote: > You need to replace % with %%, and then put the property on the > result. Or make the replacement string have the property. I think. Right, the tricky bit is matching the properties that the % had. It could either be in a link, or a headline itself, or... so we'd need a way of scanning the string and replacing the % while maintaining whatever properties it had. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 14:32:08 2017 Received: (at 26586) by debbugs.gnu.org; 21 Apr 2017 18:32:09 +0000 Received: from localhost ([127.0.0.1]:32880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1dLk-0000fr-NE for submit@debbugs.gnu.org; Fri, 21 Apr 2017 14:32:08 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:57408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1dLi-0000fi-Bo for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 14:32:06 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3w8kq91q3Nz1r550; Fri, 21 Apr 2017 20:32:05 +0200 (CEST) Received: from localhost (dynscan01.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3w8kq90KqKz3jgY3; Fri, 21 Apr 2017 20:32:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan01.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id iq3LYzGWX7p1; Fri, 21 Apr 2017 20:32:04 +0200 (CEST) X-Auth-Info: 2LFmOcG2rz8Adwx6uniR6t8e2kNpHFqyeNiNb/FZrmzN5bjIgnOhT5fHebCQ3D56 Received: from igel.home (ppp-88-217-8-198.dynamic.mnet-online.de [88.217.8.198]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 21 Apr 2017 20:32:04 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id CE4AE2C40B4; Fri, 21 Apr 2017 20:32:03 +0200 (CEST) From: Andreas Schwab To: Aaron Jensen Subject: Re: bug#26586: 25.1; header-line-format spins cpu References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> <83d1c5acqd.fsf@gnu.org> X-Yow: If our behavior is strict, we do not need fun! Date: Fri, 21 Apr 2017 20:32:03 +0200 In-Reply-To: (Aaron Jensen's message of "Fri, 21 Apr 2017 11:01:59 -0700") Message-ID: <87tw5hwr18.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26586 Cc: Eli Zaretskii , 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Apr 21 2017, Aaron Jensen wrote: > Right, the tricky bit is matching the properties that the % had. It > could either be in a link, or a headline itself, or... so we'd need a > way of scanning the string and replacing the % while maintaining > whatever properties it had. It's probably easier to reference the string indirectly through a symbol, since that will suppress % handling. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 14:47:07 2017 Received: (at 26586) by debbugs.gnu.org; 21 Apr 2017 18:47:07 +0000 Received: from localhost ([127.0.0.1]:32884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1daF-000100-2e for submit@debbugs.gnu.org; Fri, 21 Apr 2017 14:47:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1daC-0000zW-Ui for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 14:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1da3-0002iz-NE for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 14:46:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1da3-0002ip-Jj; Fri, 21 Apr 2017 14:46:55 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2384 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d1da2-0003yS-Rw; Fri, 21 Apr 2017 14:46:55 -0400 Date: Fri, 21 Apr 2017 21:47:37 +0300 Message-Id: <83a879a986.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Fri, 21 Apr 2017 11:01:59 -0700) Subject: Re: bug#26586: 25.1; header-line-format spins cpu References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> <83d1c5acqd.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Aaron Jensen > Date: Fri, 21 Apr 2017 11:01:59 -0700 > Cc: 26586@debbugs.gnu.org > > On Fri, Apr 21, 2017 at 10:31 AM, Eli Zaretskii wrote: > > You need to replace % with %%, and then put the property on the > > result. Or make the replacement string have the property. I think. > > Right, the tricky bit is matching the properties that the % had. Doesn't text-properties-at fit the bill? From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 15:04:40 2017 Received: (at 26586) by debbugs.gnu.org; 21 Apr 2017 19:04:40 +0000 Received: from localhost ([127.0.0.1]:32888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1drE-0001PV-KX for submit@debbugs.gnu.org; Fri, 21 Apr 2017 15:04:40 -0400 Received: from mail-yw0-f179.google.com ([209.85.161.179]:32859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1drC-0001PJ-UQ for 26586@debbugs.gnu.org; Fri, 21 Apr 2017 15:04:39 -0400 Received: by mail-yw0-f179.google.com with SMTP id 203so54244995ywe.0 for <26586@debbugs.gnu.org>; Fri, 21 Apr 2017 12:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dtPLKzmyvBBGuRm3S1yM5SMvZQxMXHK/oAwd1etO1oM=; b=CIjveWTUZJArQ95kaUbgpZ5k9/enG5iV+SUV8peSpvaph6QTgJqzm2Q1SaLJWeSL+B S/uxTL7g47/42JJOlai+Mkp8D7GmJjoD1pPuOLBmdGbuwwL21MkYoi2tMA8d3xp4/9Tu Fc/H+JNrdaPL2yqCqDzCJs5wIqIeAWm/Xky0/TNeWgdLtRmc014+kB/tFS6ltgjYtPbm jExYviDfMmE1VKWBPaXbgb72rV4LWmNyjh5YiSoMwGtjh+0LaCeBr6n11KhbyegSjP0x LWqPrauI8rts4FeBodSZTRAk2uzdrVvg4XFDQg2pKPCiSP8g46Tdj8glWquaKxL6+d/d +x7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dtPLKzmyvBBGuRm3S1yM5SMvZQxMXHK/oAwd1etO1oM=; b=CpI2IerpzcCrIHiyzEr97376D49E4EAz9Jrwqp8aZyCbmlkn9lBcavE87hiAruhBS2 eXOkeaWDGWN9hzpmi9lG+qzc/zOFSpYAVOrJ1m5OnG1ee2eMplGDVonr6ZG+1PlPCbvb jn1qtBPwUMbFYPx0he1r9+3lrtmxmFHR28Rcjjtk0dZFQFedeaGMUaILhNtnMuMsZ2Uj NPinoy8eLfWT2Wbe+E+54Lx3xvMSoRKsqv5BOoBOqIpRfFAOoWAGLSGGA5o73AEyeRMb 20RE88LqYsp3Ds9mEXUYonJ1k/LpyKjZBZgBvchNuPwfxmLBBZPDTy5TpjbbbJvEmOZ9 cB5w== X-Gm-Message-State: AN3rC/5Yld81mF7tcQucb1YDFitKX9ompp6i7qB8+aKUMXvNfXyhxcHA 0oQS3+fL5H6sXYRVE00y0JiZyi/BTEFPy5I= X-Received: by 10.129.85.72 with SMTP id j69mr12216422ywb.220.1492801473359; Fri, 21 Apr 2017 12:04:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.17.6 with HTTP; Fri, 21 Apr 2017 12:04:32 -0700 (PDT) In-Reply-To: <83a879a986.fsf@gnu.org> References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> <83d1c5acqd.fsf@gnu.org> <83a879a986.fsf@gnu.org> From: Aaron Jensen Date: Fri, 21 Apr 2017 12:04:32 -0700 Message-ID: Subject: Re: bug#26586: 25.1; header-line-format spins cpu To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Fri, Apr 21, 2017 at 11:47 AM, Eli Zaretskii wrote: >> From: Aaron Jensen >> Date: Fri, 21 Apr 2017 11:01:59 -0700 >> Cc: 26586@debbugs.gnu.org >> >> On Fri, Apr 21, 2017 at 10:31 AM, Eli Zaretskii wrote: >> > You need to replace % with %%, and then put the property on the >> > result. Or make the replacement string have the property. I think. >> >> Right, the tricky bit is matching the properties that the % had. > > Doesn't text-properties-at fit the bill? I'm sure it would, yeah. I'm new to string manipulation in emacs, so I was just having a hard time imagining what it would take to build the equivalent of replace-regexp-in-string that also copied symbols, but I can just look at the source of replace-regexp-in-string and use text-properties-at probably. Any way, I'll probably let the author figure it out :) Thanks! From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 10:40:53 2017 Received: (at 26586) by debbugs.gnu.org; 22 Apr 2017 14:40:53 +0000 Received: from localhost ([127.0.0.1]:34555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1wDV-0005en-FX for submit@debbugs.gnu.org; Sat, 22 Apr 2017 10:40:53 -0400 Received: from mail-yw0-f172.google.com ([209.85.161.172]:36500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1wDT-0005ea-Kl for 26586@debbugs.gnu.org; Sat, 22 Apr 2017 10:40:51 -0400 Received: by mail-yw0-f172.google.com with SMTP id l18so3708177ywh.3 for <26586@debbugs.gnu.org>; Sat, 22 Apr 2017 07:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8GwjVma59EKUMN4V39WNwrlENOn3C8tNj49d6+lghLU=; b=taDVM+uFpcZhUjkv0B4ARYv7QGIcnSOy4XED1/19H9pvVzeJwfVHC1t8FahjOthreI g8ie1TNcZIQr81/m8DPHOBcstMznH2rSEaUkSlrBYY+UOkyCapOa0YtDwNb9rHnlMqcB LwfbffeqH6IRI1ajVDEP16AbmoUAIAzpg4bA/+K6iAF+QWR01or3rpYEHGCmsnLo9K6K 5mZTQue7mcNu5AW9w4lrsoCxLthYaMC0PmSWtm4hiZjW+YsnDkVPszMpWcaiW7M4hVI6 D0V2rliynUOm0YDjzDD84AgloJVxcPNeIEhptZJWrMkLpBjtmNeQT9VayDbxoNtcoqu0 E+pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8GwjVma59EKUMN4V39WNwrlENOn3C8tNj49d6+lghLU=; b=XWA4J0MGF/0UjPCMvK6LUb+OoDfdCHXqCpx90mMgfOihecuP/cZytEu1AUUF/j9/k0 kMlwrMZyMF4WXorxpq7wHF8rqa3LeWvZwrEVVBLsv+uuh7/6W1jgUX0wG+AdSZZtXDc/ OiXhgqWwJdptjdxL+JW1Lsbxz+INnrKnkLnOuxDXr/asxmz/s3e6vBpxthRbFtYGoGjL U9FAm5cglTACHvxsi1WkCk+DjVJS9zC9eFiiwLbiOc9brkO44H6IzXOgQ9uhJN+c1H5G SaNufs6oA5AdOfhW64dU33VxDQAXrVFyonnIgdDGIii4U5XGwSX7M8k2JsdhkEMSuyoo nknQ== X-Gm-Message-State: AN3rC/5liXCU907tMx61kUQ2ZW570osHjmpWosnNsUiQUwFXpVTOO4Js K1/Kd1NrSIsbBc2m/Av6suo40cuaVDYy X-Received: by 10.129.85.72 with SMTP id j69mr1294782ywb.220.1492872046092; Sat, 22 Apr 2017 07:40:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.17.6 with HTTP; Sat, 22 Apr 2017 07:40:45 -0700 (PDT) In-Reply-To: <87tw5hwr18.fsf@linux-m68k.org> References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> <83d1c5acqd.fsf@gnu.org> <87tw5hwr18.fsf@linux-m68k.org> From: Aaron Jensen Date: Sat, 22 Apr 2017 07:40:45 -0700 Message-ID: Subject: Re: bug#26586: 25.1; header-line-format spins cpu To: Andreas Schwab Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26586 Cc: Eli Zaretskii , 26586@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Fri, Apr 21, 2017 at 11:32 AM, Andreas Schwab wrote: > On Apr 21 2017, Aaron Jensen wrote: > >> Right, the tricky bit is matching the properties that the % had. It >> could either be in a link, or a headline itself, or... so we'd need a >> way of scanning the string and replacing the % while maintaining >> whatever properties it had. > > It's probably easier to reference the string indirectly through a > symbol, since that will suppress % handling. Could you give an example of this? I'm not sure how to do this with header-line-format. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 10:49:44 2017 Received: (at 26586) by debbugs.gnu.org; 22 Apr 2017 14:49:44 +0000 Received: from localhost ([127.0.0.1]:34563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1wM3-0005rU-Ux for submit@debbugs.gnu.org; Sat, 22 Apr 2017 10:49:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1wM3-0005rG-3v for 26586@debbugs.gnu.org; Sat, 22 Apr 2017 10:49:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1wLu-0004Z9-Ob for 26586@debbugs.gnu.org; Sat, 22 Apr 2017 10:49:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1wLu-0004Z5-LL; Sat, 22 Apr 2017 10:49:34 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3960 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d1wLt-0007tA-Uz; Sat, 22 Apr 2017 10:49:34 -0400 Date: Sat, 22 Apr 2017 17:50:19 +0300 Message-Id: <834lxgqyxg.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Sat, 22 Apr 2017 07:40:45 -0700) Subject: Re: bug#26586: 25.1; header-line-format spins cpu References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> <83d1c5acqd.fsf@gnu.org> <87tw5hwr18.fsf@linux-m68k.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Aaron Jensen > Date: Sat, 22 Apr 2017 07:40:45 -0700 > Cc: Eli Zaretskii , 26586@debbugs.gnu.org > > On Fri, Apr 21, 2017 at 11:32 AM, Andreas Schwab wrote: > > It's probably easier to reference the string indirectly through a > > symbol, since that will suppress % handling. > > Could you give an example of this? I'm not sure how to do this with > header-line-format. I think you can find many examples in bindings.el, where we set up the mode-line format. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 11:11:59 2017 Received: (at 26586) by debbugs.gnu.org; 22 Apr 2017 15:11:59 +0000 Received: from localhost ([127.0.0.1]:34573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1whb-0006M1-3v for submit@debbugs.gnu.org; Sat, 22 Apr 2017 11:11:59 -0400 Received: from mail-yw0-f177.google.com ([209.85.161.177]:35280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1whZ-0006Lo-Ju for 26586@debbugs.gnu.org; Sat, 22 Apr 2017 11:11:57 -0400 Received: by mail-yw0-f177.google.com with SMTP id u70so63166300ywe.2 for <26586@debbugs.gnu.org>; Sat, 22 Apr 2017 08:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rqlioVHrhO/MKT1cPa/DOk+IKMKq79l2Hul4sKZ8RdE=; b=AXHQjCzGEDa3TV88+SiKD52oa9yxM4/Z6Jqf/5QikEKEy9OF23o/CeebbKjbfFZr7Z 5CXm3jg2px8eZ4E/TIUuBWYihspftbfVgLeP4HndYFrUdJFjNSCvgJ0qcyMGPPIoccWA IPKx48p0+7T7OAUuRTpTyRvynYcNkCTKS3m3aJ8hkYhwb6gvRPTNtfHd2Mh+Zl0Ru5tO HDqozYRPQpI1bFmLg30xR5eykP7JaUXxFCaQYDtpZKesGxDQy420tYKi0TEXhOBxZIzV YV0ngQYSmxfunECTMIaDGyOYAmpxCwWJGVPkegXHRT+re241uiDeD61zrnkDf2wBnxmN y0Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rqlioVHrhO/MKT1cPa/DOk+IKMKq79l2Hul4sKZ8RdE=; b=snwTFHnWFTCIqtpCB+Qtr/UV5CUfAJiQcLlpGESffouxkQBMigl+epvXG8Y+/gegqJ PcoklBIvg6yFAa6IcrM2HEuFIkvm/pPcgjO67lkv6etpbaphnAnE4iLv1QbG9blMVOwI fR16T029EVzbewvVWc+0J1OmkFoOecVftx1kt4Wg7JjHNyUswsKWk8weTqM+WB+MDWEW I9bbSDL2OqyakkyN2TvHiUS0yTwHnfKIOz9rpEggq/WQaWiAtLMJBITvekrSKpFjdwCd JF5m9VCL+7vQhLNO1bFhFikTAdTR+DN/fde5L7jk34xR6SacdQAv1aOUuHdtEl55IYaD xhhg== X-Gm-Message-State: AN3rC/5csTHBg4QHG/rUVRDcQ8G9XqMbLk4UAFwsV3lGJ8vViwmTu8/B UXenLPLE4WWPP5tPynQwipawhPaNZQ== X-Received: by 10.13.215.6 with SMTP id z6mr1469251ywd.170.1492873912184; Sat, 22 Apr 2017 08:11:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.17.6 with HTTP; Sat, 22 Apr 2017 08:11:51 -0700 (PDT) In-Reply-To: <834lxgqyxg.fsf@gnu.org> References: <83y3uu9nxf.fsf@gnu.org> <83efwlak5u.fsf@gnu.org> <83d1c5acqd.fsf@gnu.org> <87tw5hwr18.fsf@linux-m68k.org> <834lxgqyxg.fsf@gnu.org> From: Aaron Jensen Date: Sat, 22 Apr 2017 08:11:51 -0700 Message-ID: Subject: Re: bug#26586: 25.1; header-line-format spins cpu To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26586 Cc: 26586@debbugs.gnu.org, Andreas Schwab X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Sat, Apr 22, 2017 at 7:50 AM, Eli Zaretskii wrote: > I think you can find many examples in bindings.el, where we set up the > mode-line format. Thank you, I was able to get this working and have pull-requested back to org-sticky-header. I appreciate all the help and quick responses! From unknown Mon Jun 23 13:13:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 21 May 2017 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator