From unknown Sun Jun 22 17:10:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44329 <44329@debbugs.gnu.org> To: bug#44329 <44329@debbugs.gnu.org> Subject: Status: 28.0.50; Crash in bidi_mirror_char on view-hello-file when no bidi-display-reordering (harfbuzz) Reply-To: bug#44329 <44329@debbugs.gnu.org> Date: Mon, 23 Jun 2025 00:10:03 +0000 retitle 44329 28.0.50; Crash in bidi_mirror_char on view-hello-file when no= bidi-display-reordering (harfbuzz) reassign 44329 emacs submitter 44329 Kevin Brubeck Unhammer severity 44329 normal tag 44329 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 10:57:00 2020 Received: (at submit) by debbugs.gnu.org; 30 Oct 2020 14:57:00 +0000 Received: from localhost ([127.0.0.1]:59240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYVpr-0006bD-4n for submit@debbugs.gnu.org; Fri, 30 Oct 2020 10:56:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:59348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYVpp-0006b6-IG for submit@debbugs.gnu.org; Fri, 30 Oct 2020 10:56:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYVpn-0007Wy-Of for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 10:56:57 -0400 Received: from wforward3-smtp.messagingengine.com ([64.147.123.22]:48741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYVpj-0004WU-V5 for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 10:56:54 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailforward.west.internal (Postfix) with ESMTP id 5915C3FD; Fri, 30 Oct 2020 10:56:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 30 Oct 2020 10:56:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=LTlIl3M/HWx1+fftWkZJy/v6XV9el qenTfvqCDLCAi4=; b=EHW8B03OZMgUsynDq6uB/+cSs9gaQTkCDyL9+xZWzy6Pp /n5FmQlNshtLqOxV0rd/EsAPecvZNMgfxyNRs2oNYnLd3AZA1WD9tKfbu/mZEKwl 6dJ4k/lbCdlI2RqayD+mcjVIlrGCXbq2LLiL0ODx55irGyq1LSsoVe7P77aCU/jm NIDggIyRmirhAWun8ifA519BOMFlUB+XwSpueSJAFH5kZzUbft8oJHmcYHwDVX8X 9VLO/bSrhsy7X8JdxXD7CBtbMbqL01A17woXDSGgjHb2Mq/Fcb5Ax1SlcRS5tGtr fPonEfSOF9/cK4hB3n9Yd/gHr8+34AxysFsgF2U1Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleehgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesghdtreertddtje enucfhrhhomhepmfgvvhhinhcuuehruhgsvggtkhcufghnhhgrmhhmvghruceouhhnhhgr mhhmvghrsehfshhfvgdrohhrgheqnecuggftrfgrthhtvghrnhepfeduueduhfdvffdtue fhveduvdejteduveduuefhteduteejjeelfeekheefkeevnecuffhomhgrihhnpehgnhhu rdhorhhgpdhgnhhomhgvrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepuhhnhhgrmhhmvghrsehfshhfvgdrohhrgh X-ME-Proxy: From: Kevin Brubeck Unhammer To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Crash in bidi_mirror_char on view-hello-file when no bidi-display-reordering (harfbuzz) Date: Fri, 30 Oct 2020 15:56:43 +0100 Message-ID: <87a6w3sqxg.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: softfail client-ip=64.147.123.22; envelope-from=unhammer@fsfe.org; helo=wforward3-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/30 10:56:47 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I'm seeing a crash in displaying hebrew characters when I have bidi-display-reordering set to nil. I had to set it to t to be able to write this email :) Possibly related to these two: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44113 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41627 though I'm running with their patches (0f1f795fc8b72bfa0381089d1ff60f8801e394b0 built today). $ cat ~/.emacs.d/chartab-bug-init.el (setq-default bidi-display-reordering nil) $ cat ~/.emacs.d/chartab-fail.el ; "=D7=A9=D6=B8=D7=81=D7=9C=D7=95=D6=B9=D7=9D" $ gdb emacs GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from emacs... SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from te= rminal] DISPLAY =3D :0.0 TERM =3D tmux Breakpoint 1 at 0x1aefa0: file emacs.c, line 377. Breakpoint 2 at 0x176134: file xterm.c, line 10151. (gdb) run --fg-daemon -Q -l ~/.emacs.d/chartab-bug-init.el Starting program: /home/unhammer/src/emacs-nonative/src/emacs --fg-daemon -= Q -l ~/.emacs.d/chartab-bug-init.el [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Warning: due to a long standing Gtk+ bug https://gitlab.gnome.org/GNOME/gtk/issues/221 Emacs might crash when run in daemon mode and the X11 connection is unexpec= tedly lost. Using an Emacs configured with --with-x-toolkit=3Dlucid does not have this = problem. [New Thread 0x7ffff1377700 (LWP 2219216)] Starting Emacs daemon. [New Thread 0x7ffff095a700 (LWP 2220385)] [New Thread 0x7fffebfff700 (LWP 2220386)] [Detaching after vfork from child process 2220387] [Detaching after vfork from child process 2220389] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x000055555568bc54 in char_table_ref (table=3DXIL(0), c=3D1513) at chartab.= c:237 237 val =3D tbl->contents[CHARTAB_IDX (c, 0, 0)]; (gdb) bt #0 0x000055555568bc54 in char_table_ref (table=3DXIL(0), c=3D1513) at char= tab.c:237 #1 0x000055555568f3ca in CHAR_TABLE_REF (ct=3DXIL(0), idx=3D1513) at lisp.= h:2024 #2 0x000055555568fa15 in bidi_mirror_char (c=3D1513) at bidi.c:382 #3 0x0000555555873a98 in uni_mirroring (funcs=3D0x55555679c620, ch=3D1513,= user_data=3D0x0) at hbfont.c:347 #4 0x00007ffff74f088e in () at /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 #5 0x00007ffff74fe1b4 in hb_shape_plan_execute () at /usr/lib/x86_64-linux= -gnu/libharfbuzz.so.0 #6 0x00007ffff74fe69a in hb_shape_full () at /usr/lib/x86_64-linux-gnu/lib= harfbuzz.so.0 #7 0x0000555555873f7b in hbfont_shape (lgstring=3DXIL(0x7ffff203f27d), dir= ection=3DXIL(0x2640)) at hbfont.c:494 #8 0x00005555557ef6d9 in Ffont_shape_gstring (gstring=3DXIL(0x7ffff203f27d= ), direction=3DXIL(0x2640)) at font.c:4482 #9 0x00005555557cbc4b in funcall_subr (subr=3D0x555555c81820 , numargs=3D2, args=3D0x7fffffff5030) at eval.c:2884 #10 0x00005555557cb7e5 in Ffuncall (nargs=3D3, args=3D0x7fffffff5028) at ev= al.c:2809 #11 0x000055555581b0fe in exec_byte_code (bytestr=3DXIL(0x7ffff1f93134), ve= ctor=3DXIL(0x7ffff1cea0d5), maxdepth=3Dmake_fixnum(7), args_template=3DXIL(= 0), nargs=3D0, args=3D0x0) at bytecode.c:632 #12 0x00005555557cbed6 in fetch_and_exec_byte_code (fun=3DXIL(0x7ffff1cea0a= d), syms_left=3DXIL(0), nargs=3D0, args=3D0x0) at eval.c:2931 #13 0x00005555557cc61d in funcall_lambda (fun=3DXIL(0x7ffff1cea0ad), nargs= =3D2, arg_vector=3D0x0) at eval.c:3081 #14 0x00005555557cb829 in Ffuncall (nargs=3D3, args=3D0x7fffffff5818) at ev= al.c:2811 #15 0x000055555581b0fe in exec_byte_code (bytestr=3DXIL(0x7ffff203f1ec), ve= ctor=3DXIL(0x7ffff203ef2d), maxdepth=3Dmake_fixnum(6), args_template=3DXIL(= 0), nargs=3D0, args=3D0x0) at bytecode.c:632 #16 0x00005555557cbed6 in fetch_and_exec_byte_code (fun=3DXIL(0x7ffff203eef= d), syms_left=3DXIL(0), nargs=3D0, args=3D0x0) at eval.c:2931 #17 0x00005555557cc61d in funcall_lambda (fun=3DXIL(0x7ffff203eefd), nargs= =3D6, arg_vector=3D0x0) at eval.c:3081 #18 0x00005555557cb829 in Ffuncall (nargs=3D7, args=3D0x7fffffff5d40) at ev= al.c:2811 #19 0x00005555557c7e58 in internal_condition_case_n (bfun=3D0x5555557cb665 = , nargs=3D7, args=3D0x7fffffff5d40, handlers=3DXIL(0x30), hfun=3D= 0x5555555c9e33 ) at eval.c:1439 #20 0x00005555555ca0ef in safe__call (inhibit_quit=3Dfalse, nargs=3D7, func= =3DXIL(0x2aaa9c35b768), ap=3D0x7fffffff5e20) at xdisp.c:2982 #21 0x00005555555ca1ea in safe_call (nargs=3D7, func=3DXIL(0x2aaa9c35b768))= at xdisp.c:2997 #22 0x0000555555857df1 in autocmp_chars (rule=3DXIL(0x7ffff203e60d), charpo= s=3D12, bytepos=3D12, limit=3D15, win=3D0x5555562ff518, face=3D0x5555566169= 00, string=3DXIL(0), direction=3DXIL(0x2640)) at composite.c:939 #23 0x0000555555858c36 in composition_reseat_it (cmp_it=3D0x7fffffff7f80, c= harpos=3D12, bytepos=3D12, endpos=3D21, w=3D0x5555562ff518, bidi_level=3D0 = '\000', face=3D0x555556616900, string=3DXIL(0)) at composite.c:1250 #24 0x00005555555d9c9d in next_element_from_buffer (it=3D0x7fffffff7700) at= xdisp.c:8938 #25 0x00005555555d609f in get_next_display_element (it=3D0x7fffffff7700) at= xdisp.c:7476 #26 0x0000555555604379 in display_line (it=3D0x7fffffff7700, cursor_vpos=3D= 3) at xdisp.c:23426 #27 0x00005555555f794f in try_window (window=3DXIL(0x5555562ff51d), pos=3D.= .., flags=3D1) at xdisp.c:19363 #28 0x00005555555f4de6 in redisplay_window (window=3DXIL(0x5555562ff51d), j= ust_this_one_p=3Dfalse) at xdisp.c:18781 #29 0x00005555555ed29b in redisplay_window_0 (window=3DXIL(0x5555562ff51d))= at xdisp.c:16495 #30 0x00005555557c7cd8 in internal_condition_case_1 (bfun=3D0x5555555ed255 , arg=3DXIL(0x5555562ff51d),= handlers=3DXIL(0x7ffff202336b), hfun=3D0x5555555ed219 ) at eval.c:1383 #31 0x00005555555ed1eb in redisplay_windows (window=3DXIL(0x5555562ff51d)) = at xdisp.c:16475 #32 0x00005555555ebfe1 in redisplay_internal () at xdisp.c:15943 #33 0x00005555555ecb69 in redisplay_preserve_echo_area (from_where=3D12) at= xdisp.c:16296 #34 0x000055555582d7b8 in wait_reading_process_output (time_limit=3D0, nsec= s=3D0, read_kbd=3D-1, do_display=3Dtrue, wait_for_cell=3DXIL(0), wait_proc= =3D0x0, just_wait_proc=3D0) at process.c:5818 #35 0x0000555555710729 in kbd_buffer_get_event (kbp=3D0x7fffffffcc10, used_= mouse_menu=3D0x7fffffffd21d, end_time=3D0x0) at keyboard.c:3874 #36 0x000055555570c55c in read_event_from_main_queue (end_time=3D0x0, local= _getcjmp=3D0x7fffffffd020, used_mouse_menu=3D0x7fffffffd21d) at keyboard.c:= 2160 #37 0x000055555570c879 in read_decoded_event_from_main_queue (end_time=3D0x= 0, local_getcjmp=3D0x7fffffffd020, prev_event=3DXIL(0), used_mouse_menu=3D0= x7fffffffd21d) at keyboard.c:2224 #38 0x000055555570e09e in read_char (commandflag=3D1, map=3DXIL(0x555555e93= 293), prev_event=3DXIL(0), used_mouse_menu=3D0x7fffffffd21d, end_time=3D0x0= ) at keyboard.c:2834 #39 0x000055555571d0cd in read_key_sequence (keybuf=3D0x7fffffffd400, prompt=3DXIL(0), dont_downcase_last=3Dfalse, = can_return_switch_frame=3Dtrue, fix_current_buffer=3Dtrue, prevent_redispla= y=3Dfalse) at keyboard.c:9552 #40 0x000055555570a178 in command_loop_1 () at keyboard.c:1354 #41 0x00005555557c7c29 in internal_condition_case (bfun=3D0x555555709d10 , handlers=3DXIL(0x90), hfun=3D0x555555709441 ) at= eval.c:1359 #42 0x00005555557099ad in command_loop_2 (ignore=3DXIL(0)) at keyboard.c:10= 95 #43 0x00005555557c742f in internal_catch (tag=3DXIL(0xd710), func=3D0x55555= 570997c , arg=3DXIL(0)) at eval.c:1120 #44 0x0000555555709948 in command_loop () at keyboard.c:1074 #45 0x0000555555708ff2 in recursive_edit_1 () at keyboard.c:718 #46 0x000055555570917d in Frecursive_edit () at keyboard.c:790 #47 0x0000555555705912 in main (argc=3D5, argv=3D0x7fffffffd888) at emacs.c= :2047 Lisp Backtrace: "font-shape-gstring" (0xffff5030) "hebrew-shape-gstring" (0xffff5820) "auto-compose-chars" (0xffff5d48) "redisplay_internal (C function)" (0x0) (gdb) up 10 #10 0x00005555557cb7e5 in Ffuncall (nargs=3D3, args=3D0x7fffffff5028) at ev= al.c:2809 2809 val =3D funcall_subr (XSUBR (fun), numargs, args + 1); (gdb) p *args $1 =3D XIL(0x2aaa9c2af820) (gdb) pr font-shape-gstring (gdb) p args[1] $2 =3D XIL(0x7ffff203f27d) (gdb) pr [[# 1513 1464 1473] nil [0 0 1513 1005 11 0 11 11 0 nil]= [1 1 1464 967 0 1 5 -1 4 nil] [2 2 1473 976 0 5 7 12 -10 nil] nil nil nil = nil nil] (gdb) p args[2] $3 =3D XIL(0x2640) (gdb) pr L2R (gdb) q In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, c= airo version 1.16.0) of 2020-10-30 built on vengepadda Repository revision: 0f1f795fc8b72bfa0381089d1ff60f8801e394b0 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 20.04.1 LTS Configured using: 'configure --prefix=3D/home/unhammer/PREFIX/emacs-nonative --with-libsystemd --with-pop=3Dyes --with-sound=3Dalsa --without-gconf --with-mailutils --with-json --with-cairo --enable-check-lisp-object-type --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-O0 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 Important settings: value of $LANG: nn_NO.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t evil-mode: t evil-local-mode: t tooltip-mode: t global-eldoc-mode: t 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 Load-path shadows: ~/src/evil/evil-common hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-= common ~/src/evil/evil-search hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-= search ~/src/evil/evil-keybindings hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/= evil-keybindings ~/src/evil/evil-development hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/= evil-development ~/src/evil/evil-states hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-= states ~/src/evil/evil-vars hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-va= rs ~/src/evil/evil-commands hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evi= l-commands ~/src/evil/evil hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil ~/src/evil/evil-command-window hides /home/unhammer/.emacs.d/elpa/evil-1.14= .0/evil-command-window ~/src/evil/evil-integration hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/= evil-integration ~/src/evil/evil-types hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-t= ypes ~/src/evil/evil-digraphs hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evi= l-digraphs ~/src/evil/evil-core hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-co= re ~/src/evil/evil-repeat hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-= repeat ~/src/evil/evil-pkg hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-pkg ~/src/evil/evil-maps hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-ma= ps ~/src/evil/evil-macros hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-= macros ~/src/evil/evil-ex hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-ex ~/src/evil/evil-jumps hides /home/unhammer/.emacs.d/elpa/evil-1.14.0/evil-j= umps /home/unhammer/.emacs.d/elpa/hierarchy-0.7.0/hierarchy hides /home/unhammer= /PREFIX/emacs-nonative/share/emacs/28.0.50/lisp/emacs-lisp/hierarchy Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils evil evil-keybindings evil-integration evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-types evil-search evil-ex shell pcomplete comint ansi-color evil-macros evil-repeat evil-states evil-core advice evil-common windmove thingatpt rect evil-digraphs evil-vars ring finder-inf csv-mode-autoloads edmacro kmacro minimap-autoloads rx url-auth info package easymenu browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 138012 9411) (symbols 48 15127 1) (strings 32 48525 2377) (string-bytes 1 1693551) (vectors 16 20401) (vector-slots 8 254917 9835) (floats 8 34 15) (intervals 56 237 0) (buffers 992 10)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEq9A0PxCu5rIo7lbX/DwefQCTFmcFAl+cKasACgkQ/DwefQCT FmePxg/+KK+YnzLRhu3LBi5pDBloIpgcuH5jIebh4VE30DSyyZgOS1MJVceXKHqs Fg615cOO2OrKs/5F0PWPfZxS4SWzHH27ZzYspiREGrXSmrqXuyCFeDs1jGBuUYCc IavLiU5FwT0XIAl6dpBp2Ieh0wy3lGMfujn3Pinyfs1wJyCK36RRy9PsFJXR97iV X15ugXWx2XzkqmqULRoPpHpg4ws/HZUJezkDNHmTzmbj7EvB/rS/uwJSYZTycbTf z3isD0Xdks6qr2DVLasfWxgAzcPvjTCOeMEirHyHXil1EUKoNcKaKImbb8qZh7ku pz9p3oEpM7xx5qph0jO+Hh80wEQr3YXGBZ4m0gNVaOCEgOTnJh/tzDxDnZV3dqBS O+ufM7P6AFbN77kOuBP5a/v+x1nDkprQsPqWOXwoN+BqmaE4PcfqgU8P0odkV/rB ihWNKEfHMJ2r1dhLB0CP7j+3+kF63moTpj2LGKBmKjXtwrtYr2sEZo/B+HIg7HUI CEok+Z+INY3rVt8IFODIYElqgNxDEkYqjEunJjpOdw28/9FxAQvoIHicRT5HjQL8 VtlmkfmYR8Xky3p2jb0IZ/t+GL8VKk2EoFpV6C9aw8GI3HnyQ2l76P9kJJqpcS4h VB6vOpBgLdr3+gls8PZEIC2KCAD2nAnn4pbB0m3BmfN6faQP8aQ= =YcZx -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 11:42:52 2020 Received: (at 44329) by debbugs.gnu.org; 30 Oct 2020 15:42:52 +0000 Received: from localhost ([127.0.0.1]:59338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWYG-0003ay-AQ for submit@debbugs.gnu.org; Fri, 30 Oct 2020 11:42:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWYE-0003ag-AK; Fri, 30 Oct 2020 11:42:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46814) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYWY8-0002QE-F5; Fri, 30 Oct 2020 11:42:44 -0400 Received: from [176.228.60.248] (port=2132 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYWY6-0008KI-Lr; Fri, 30 Oct 2020 11:42:44 -0400 Date: Fri, 30 Oct 2020 17:42:24 +0200 Message-Id: <83k0v7affj.fsf@gnu.org> From: Eli Zaretskii To: Kevin Brubeck Unhammer In-Reply-To: <87a6w3sqxg.fsf@fastmail.com> (message from Kevin Brubeck Unhammer on Fri, 30 Oct 2020 15:56:43 +0100) Subject: Re: bug#44329: 28.0.50; Crash in bidi_mirror_char on view-hello-file when no bidi-display-reordering (harfbuzz) References: <87a6w3sqxg.fsf@fastmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44329 Cc: 44329@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: -3.3 (---) tags 44329 wontfix thanks > From: Kevin Brubeck Unhammer > Date: Fri, 30 Oct 2020 15:56:43 +0100 > > I'm seeing a crash in displaying hebrew characters when I have > bidi-display-reordering set to nil. I had to set it to t to be able to > write this email :) > > Possibly related to these two: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44113 > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41627 > though I'm running with their patches > (0f1f795fc8b72bfa0381089d1ff60f8801e394b0 built today). > > $ cat ~/.emacs.d/chartab-bug-init.el > (setq-default bidi-display-reordering nil) This isn't supported: that variable is not supposed to be set nil, except for debugging display problems. > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x000055555568bc54 in char_table_ref (table=XIL(0), c=1513) at chartab.c:237 > 237 val = tbl->contents[CHARTAB_IDX (c, 0, 0)]; > (gdb) bt > #0 0x000055555568bc54 in char_table_ref (table=XIL(0), c=1513) at chartab.c:237 I cannot reproduce this, but the problem is obviously caused by not having the uni-mirrored.el data loaded into Emacs. Like I said: this mode of using Emacs is not supported. Please don't do that. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 12:05:05 2020 Received: (at 44329-done) by debbugs.gnu.org; 30 Oct 2020 16:05:05 +0000 Received: from localhost ([127.0.0.1]:59391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWtl-0006JR-Fo for submit@debbugs.gnu.org; Fri, 30 Oct 2020 12:05:05 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:41320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWti-0006Ic-ER for 44329-done@debbugs.gnu.org; Fri, 30 Oct 2020 12:05:04 -0400 Received: by mail-ed1-f44.google.com with SMTP id l24so7184479edj.8 for <44329-done@debbugs.gnu.org>; Fri, 30 Oct 2020 09:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=mufYXGssdBponTOzoHauR75Fse3mxqnSIrGcygFDH4o=; b=bHl+Trz1u9N1obl+lhJXDSpLC/ps7b+w5/Z8bd0SSESjENGT8pA/hbrGovO+TG23ml YlhsSo8yz13zaUl6pYo390fcVaBd9phFKgxPaEXkIjZOvPYQsAFJoSXwju9teMwWNo5r kKyxS1AuyKRalwWYyMlthmsCm/PAVFhxbVrPl60MeI3v7vkm3IJabvg/HvAM5N0/GmrU TKOn4trLRdtJf3+rI6OX9vMOEFCiZBLGFYhnjtSUxh7bxUCoZaeN3xZ5XEd7J3nxYsfP GJjbzLJoKmCLpUGW8YyJZAeCLfmnB+3HwY2BoNGyaBxTjc5/3h8/shGUza6jcCTHqp/I qGhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=mufYXGssdBponTOzoHauR75Fse3mxqnSIrGcygFDH4o=; b=ibwvKCOJC8fcNSnz0WBhphdW4Y4rC6NlXxpbxWFy0Epe1OmjCxKbj36sGhWzANUz6h toA7KSYficECuLilNtkOf7rd8jkaqYK4Xt//HlFTlQGZ39Q8v+Esg5yqWieCS4S0zpcH QqS3smZH3WzgisNgo11tZjL2pRF+8eIEtXa37OO4sHj3TaEFloxZhzMyuXxNrjLK98Kk 00AuknTfe1WiPdeRxGw53KhenJJCx1geGM6ssgp/q69k3a8Nlcb28euLCgFZplZ5pu7D GcDaRTPYrtf0/eK5vtH0pmhcNXCfi6FRgcJpM4rRecWmMc3ulSlRqywyBBbQ+Xlp4hBZ cuFg== X-Gm-Message-State: AOAM5327NcRXZ82fbXp0cBHDRvHaWQcyB1Lvpmwduz7sxFyu+ypC5eXl hcC11IXH66QjRB7wpQ//LgYKhV2PU2qoPwPzSkw= X-Google-Smtp-Source: ABdhPJxe2wOLFV4X+DExdVE6De9V+Xtu68iiI2cCrFxpxCn330+gs6ikCz9jA1HLBpNxy7nXb/TRU0Aen8uXAtaplx8= X-Received: by 2002:aa7:c694:: with SMTP id n20mr3273084edq.160.1604073894197; Fri, 30 Oct 2020 09:04:54 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 30 Oct 2020 16:04:53 +0000 From: Stefan Kangas In-Reply-To: <83k0v7affj.fsf@gnu.org> References: <87a6w3sqxg.fsf@fastmail.com> <83k0v7affj.fsf@gnu.org> MIME-Version: 1.0 Date: Fri, 30 Oct 2020 16:04:53 +0000 Message-ID: Subject: Re: bug#44329: 28.0.50; Crash in bidi_mirror_char on view-hello-file when no bidi-display-reordering (harfbuzz) To: Eli Zaretskii , Kevin Brubeck Unhammer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44329-done Cc: 44329-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: -1.0 (-) Eli Zaretskii writes: > tags 44329 wontfix > thanks > >> I'm seeing a crash in displaying hebrew characters when I have >> bidi-display-reordering set to nil. I had to set it to t to be able to >> write this email :) > > This isn't supported: that variable is not supposed to be set nil, > except for debugging display problems. The doc string of `bidi-display-reordering' says: Don=E2=80=99t set to nil in normal sessions, as that is not supported. I believe this was added in Emacs 27.1. I'm therefore also closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 16:42:57 2020 Received: (at 44329) by debbugs.gnu.org; 30 Oct 2020 20:42:57 +0000 Received: from localhost ([127.0.0.1]:59892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYbEf-0000px-BI for submit@debbugs.gnu.org; Fri, 30 Oct 2020 16:42:57 -0400 Received: from forward3-smtp.messagingengine.com ([66.111.4.237]:58673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYbEe-0000pl-IW for 44329@debbugs.gnu.org; Fri, 30 Oct 2020 16:42:56 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailforward.nyi.internal (Postfix) with ESMTP id 5A9601942A9A; Fri, 30 Oct 2020 16:42:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 30 Oct 2020 16:42:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=RRHLWxpxeIAJMWSSUZrKiM3lbX1d6/Km66C5ngUmc Qw=; b=BlDe5RgfXSQ/cCVzxUiFoOuSem/qqnrSswZssLxDTMq5xg9AHn6eO28b9 5Vg6zlx8dre4DI24LjNOFAr0kW6OXwnmEzl51Qgby0zn44FoYWbAsZOKjQTRF53J yRJHXspnkfZpr+qv6510kmKW1zO50ks5I32OFoGButuibzEwEjyQ/vI5hh2rXyK1 YAQyKDpn4l99Hct/pUIvNlzCmSvIZ4YU1HwJTb0uBwiZIs2rRuFiqlfMDIaok+2D stJaTKTqiiJnafMLi/9/qsYFeI3hXCzdiRjKF69IOErXZ5/OxpTw7cWrXYcaX8ZX ES4fyRB1NHbjtb3/LoZvIj12PiVww== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleehgddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfggtgfgsehtqhertddttdejnecuhfhrohhmpefmvghvihhn uceurhhusggvtghkucgfnhhhrghmmhgvrhcuoehunhhhrghmmhgvrhesfhhsfhgvrdhorh hgqeenucggtffrrghtthgvrhhnpeevhffhkedutedvieeufffgvdefuddvledutdelvdel keetvdehgfduvdfhjeeitdenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhsthgrtg hkvgigtghhrghnghgvrdgtohhmpdhgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepuhhnhhgrmhhmvghrsehfshhfvgdrohhrgh X-ME-Proxy: From: Kevin Brubeck Unhammer To: Eli Zaretskii Subject: Re: bug#44329: 28.0.50; Crash in bidi_mirror_char on view-hello-file when no bidi-display-reordering (harfbuzz) References: <87a6w3sqxg.fsf@fastmail.com> <83k0v7affj.fsf@gnu.org> Date: Fri, 30 Oct 2020 21:42:45 +0100 In-Reply-To: <83k0v7affj.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 30 Oct 2020 17:42:24 +0200") Message-ID: <87h7qbqwca.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 44329 Cc: 44329@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 (/) Eli Zaretskii =C4=8D=C3=A1lii: [...] > This isn't supported: that variable is not supposed to be set nil, > except for debugging display problems. Is there something like make-obsolete-variable for this case that would give a warning in init.el on this variable? I am not the only one setting it to nil https://github.com/search?q=3Dsetq+bidi-display-reordering+nil&type=3Dcode https://emacs.stackexchange.com/a/21761/730 :) so a warning might stop some other poor user from wasting half a day on a pointless debugging mission. (The manual also mentions the variable's effect without saying you shouldn't set it https://www.gnu.org/software/emacs/manual/html_node/emacs/Bidirectional-Edi= ting.html ) From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 17:01:30 2020 Received: (at 44329) by debbugs.gnu.org; 30 Oct 2020 21:01:30 +0000 Received: from localhost ([127.0.0.1]:59923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYbWc-0001KJ-8L for submit@debbugs.gnu.org; Fri, 30 Oct 2020 17:01:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYbWa-0001K7-W1 for 44329@debbugs.gnu.org; Fri, 30 Oct 2020 17:01:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53936) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYbWU-0004Jw-LH; Fri, 30 Oct 2020 17:01:22 -0400 Received: from [176.228.60.248] (port=1695 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYbWR-0006au-LN; Fri, 30 Oct 2020 17:01:21 -0400 Date: Fri, 30 Oct 2020 23:01:03 +0200 Message-Id: <83361va0og.fsf@gnu.org> From: Eli Zaretskii To: Kevin Brubeck Unhammer In-Reply-To: <87h7qbqwca.fsf@fastmail.com> (message from Kevin Brubeck Unhammer on Fri, 30 Oct 2020 21:42:45 +0100) Subject: Re: bug#44329: 28.0.50; Crash in bidi_mirror_char on view-hello-file when no bidi-display-reordering (harfbuzz) References: <87a6w3sqxg.fsf@fastmail.com> <83k0v7affj.fsf@gnu.org> <87h7qbqwca.fsf@fastmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44329 Cc: 44329@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: -3.3 (---) > From: Kevin Brubeck Unhammer > Cc: 44329@debbugs.gnu.org > Date: Fri, 30 Oct 2020 21:42:45 +0100 > > > This isn't supported: that variable is not supposed to be set nil, > > except for debugging display problems. > > Is there something like make-obsolete-variable for this case that would > give a warning in init.el on this variable? The doc string already does warn. The variable is not obsolete, it is useful for debugging the display code. > I am not the only one setting it to nil > https://github.com/search?q=setq+bidi-display-reordering+nil&type=code > https://emacs.stackexchange.com/a/21761/730 :) so a warning might stop > some other poor user from wasting half a day on a pointless debugging > mission. I make a point of warning against that every time I see such advice, but my abilities are limited. > (The manual also mentions the variable's effect without saying you > shouldn't set it > https://www.gnu.org/software/emacs/manual/html_node/emacs/Bidirectional-Editing.html You assume people who do this read the manual... From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 19:30:06 2020 Received: (at 44329) by debbugs.gnu.org; 30 Oct 2020 23:30:06 +0000 Received: from localhost ([127.0.0.1]:60148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYdqQ-00055t-IP for submit@debbugs.gnu.org; Fri, 30 Oct 2020 19:30:06 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:35530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYdqP-000541-8J for 44329@debbugs.gnu.org; Fri, 30 Oct 2020 19:30:05 -0400 Received: by mail-ed1-f43.google.com with SMTP id w25so8385119edx.2 for <44329@debbugs.gnu.org>; Fri, 30 Oct 2020 16:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=lrz6+hUmD7yCYLlKJ8r4lQvMGO5CTb2zoPS6CO/x98M=; b=nYtESIpzYbVmYLzYzdLYGmfHux4zHyPPPPZE2/9iFSH/foryb3XZHb07Ide9L7Y/6V +NDnT9JaM5Cv7OZW14iUF6FzdyZSHCdlm5c1qfPgQC+ZyiFv4DpQLIbsr3Mz5A3a+GlR u6H4emvIfdAOe9FnpsVJsdLJq697wILpzIjDCvWaXu+2X5apgi5OjkZVo9A3u2pcE+ts dfRmElvFZQILt94pFB5aLkU9IvGOGrckEzKepqqNVQljdkAChwFN1QwpyZU5lrvVBOSD rQpaqMPlPEYPh83PTazhvJKSZUGbGdGkMP3mTao03CaofN0sIxo0VM8b53BNgXnm7lFG CxUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=lrz6+hUmD7yCYLlKJ8r4lQvMGO5CTb2zoPS6CO/x98M=; b=kFeM4G6nRh6/JIFxIZ+ebXPC0xvQQ1ryE0k1VZJWoxuMalmhxcEHG3ht80u7s8THCK iONlHsOrptHktTQmUiRZ+s9+unjHIcdNHSHFj5FpkzzFFv80jjjVRGtKa6LHfozYluBC sAzgFmjkc2zklk9pMslQx5MbNMP3pjtnrZVA+wkCqeezCFmHYUcApsEafKNzgav3nd+9 vmwiVGPzRc3ONSGIzwln2Oxvg4jxLgfiMXbWGoO/+J9Vj8hnJ+Q58W072vxYGhQ9f0K2 qhzsDNlcMjnR7dCVzfsJRq1vbnVRAQq3J3OdOTUCSoYaJEDhIXn/ljXGdR/AI1wrWT73 tapQ== X-Gm-Message-State: AOAM532h1yOqgKL6iyD8DYSeouMeYTISt6Y6KHmNmaY8khbTvBlWyVo6 rOxaIbqgGRqxDwh0qMc0VRUsrBcFf6rOyGOwdHU= X-Google-Smtp-Source: ABdhPJxghe1siklV+JuKqrneuR8i54ZLiiY/Crx+plycuDlUHLDP5ZsITPjP94sai/lw6A4XpOxSc0Ly14gAkST3ghE= X-Received: by 2002:aa7:d783:: with SMTP id s3mr5183686edq.214.1604100599589; Fri, 30 Oct 2020 16:29:59 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 30 Oct 2020 23:29:58 +0000 From: Stefan Kangas In-Reply-To: <83361va0og.fsf@gnu.org> References: <87a6w3sqxg.fsf@fastmail.com> <83k0v7affj.fsf@gnu.org> <87h7qbqwca.fsf@fastmail.com> <83361va0og.fsf@gnu.org> MIME-Version: 1.0 Date: Fri, 30 Oct 2020 23:29:58 +0000 Message-ID: Subject: Re: bug#44329: 28.0.50; Crash in bidi_mirror_char on view-hello-file when no bidi-display-reordering (harfbuzz) To: Eli Zaretskii , Kevin Brubeck Unhammer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44329 Cc: 44329@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: -1.0 (-) Eli Zaretskii writes: >> Is there something like make-obsolete-variable for this case that would >> give a warning in init.el on this variable? > > The doc string already does warn. The variable is not obsolete, it is > useful for debugging the display code. It sure would be helpful if the byte-compiler could warn about it though. Not sure if we have the facilities for that. > You assume people who do this read the manual... Some kind of warning does seem to be warranted, though. The text now seems to almost encourage users to set it: The buffer-local variable =E2=80=98bidi-display-reordering=E2=80=99 = controls whether text in the buffer is reordered for display. If its value is non-=E2= =80=98nil=E2=80=99, Emacs reorders characters that have right-to-left directionality when they are displayed. The default value is =E2=80=98t=E2=80=99. Should we just remove it from the manual, if it's only useful for debugging? Or add a warning similar to the one in the docstring? From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 03:32:31 2020 Received: (at 44329) by debbugs.gnu.org; 31 Oct 2020 07:32:31 +0000 Received: from localhost ([127.0.0.1]:60456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYlNG-0002IO-RU for submit@debbugs.gnu.org; Sat, 31 Oct 2020 03:32:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYlNF-0002IA-Dz for 44329@debbugs.gnu.org; Sat, 31 Oct 2020 03:32:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34913) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYlN9-0002Yb-3B; Sat, 31 Oct 2020 03:32:23 -0400 Received: from [176.228.60.248] (port=4310 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYlN8-0002WN-5F; Sat, 31 Oct 2020 03:32:22 -0400 Date: Sat, 31 Oct 2020 09:32:07 +0200 Message-Id: <83sg9u97go.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Fri, 30 Oct 2020 23:29:58 +0000) Subject: Re: bug#44329: 28.0.50; Crash in bidi_mirror_char on view-hello-file when no bidi-display-reordering (harfbuzz) References: <87a6w3sqxg.fsf@fastmail.com> <83k0v7affj.fsf@gnu.org> <87h7qbqwca.fsf@fastmail.com> <83361va0og.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44329 Cc: unhammer@fsfe.org, 44329@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: -3.3 (---) > From: Stefan Kangas > Date: Fri, 30 Oct 2020 23:29:58 +0000 > Cc: 44329@debbugs.gnu.org > > The buffer-local variable ‘bidi-display-reordering’ controls whether > text in the buffer is reordered for display. If its value is non-‘nil’, > Emacs reorders characters that have right-to-left directionality when > they are displayed. The default value is ‘t’. > > Should we just remove it from the manual, if it's only useful for > debugging? Or add a warning similar to the one in the docstring? I don't think it will matter either way. The Internet is full of advice to turn it off, and nothing we do at this point can change that. Better stop wasting our own resources on this. From unknown Sun Jun 22 17:10:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Nov 2020 12: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