From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.bugs Subject: bug#17905: 24.3.50; writing with a giant font triggers RTL text entry Date: Wed, 02 Jul 2014 23:30:33 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1404340345 2302 80.91.229.3 (2 Jul 2014 22:32:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 22:32:25 +0000 (UTC) To: 17905@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 03 00:32:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X2T4c-0001kS-9y for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jul 2014 00:32:18 +0200 Original-Received: from localhost ([::1]:56816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2T4b-0006Jo-PP for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Jul 2014 18:32:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2T4T-0006Iq-3X for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2014 18:32:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2T4N-0004XB-0L for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2014 18:32:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2T4M-0004X7-T2 for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2014 18:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X2T4M-0007V6-DS for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2014 18:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joe Corneli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Jul 2014 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17905 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140434027028706 (code B ref -1); Wed, 02 Jul 2014 22:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Jul 2014 22:31:10 +0000 Original-Received: from localhost ([127.0.0.1]:40831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2T3V-0007Sv-2Q for submit@debbugs.gnu.org; Wed, 02 Jul 2014 18:31:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43892) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2T3O-0007SB-Fh for submit@debbugs.gnu.org; Wed, 02 Jul 2014 18:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2T3D-0004EY-3x for submit@debbugs.gnu.org; Wed, 02 Jul 2014 18:30:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2T3D-0004EU-10 for submit@debbugs.gnu.org; Wed, 02 Jul 2014 18:30:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2T36-0006Fh-Vl for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2014 18:30:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2T2z-0004DH-I3 for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2014 18:30:44 -0400 Original-Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:35465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2T2z-0004D8-1w for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2014 18:30:37 -0400 Original-Received: by mail-we0-f175.google.com with SMTP id k48so12007031wev.20 for ; Wed, 02 Jul 2014 15:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:from:to:subject:date:message-id:mime-version :content-type; bh=awtAFEJbpC16076oYrYul4poJsmLA4b8Tgve2ZVTbT8=; b=1HqOht83V0s8zIwHpaKZKEvdifANcKRS78RlttghQKZWMugTYuI1RdASM6xcXjHfgu ukpH0iBiKkJm9x5uj+IH/6+KoGaT/sFokeZgKTjJdlLTjJJnEPVS0cd7JGcO0vorg3jE v/ckrX3YbINU4gM9p1Hn+zw0OXw3RguFg6YIPL46BkJoMBnkinzX8bSpd4bz1sS+LV8w EaazL7uVLGABKqTo1AxG6A25cTzqdddkQpXzyPKzSWrgaIf9LvCLwAkBxwqqu4dIRh/o 4m+3lMst+hyRiha2W5bckbn23K1XAUWmVRtMyPqxxNrSOhFwt717uNlH1F8g6KxOtM+G hjBg== X-Received: by 10.194.62.110 with SMTP id x14mr644207wjr.15.1404340235735; Wed, 02 Jul 2014 15:30:35 -0700 (PDT) Original-Received: from Tempest.local (cpc20-flit3-2-0-cust95.9-1.cable.virginm.net. [81.111.147.96]) by mx.google.com with ESMTPSA id u10sm59857235wix.11.2014.07.02.15.30.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Jul 2014 15:30:35 -0700 (PDT) User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.2 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91121 Archived-At: My eyesight is very bad without my glasses, and I was experimenting with a giant font on my laptop that I could comfortably read without them. To replicate my set-up: shift+click and select "Increase Buffer Text Size" several times, to get letters that are about an inch tall! The buffer is in fundamental mode. Emacs is compiled with Xft support. I was able to replicate the following weird behavior by following the above recipe with emacs -q --no-site-file, using the font that is the default there. Here's a sample text generated by simply typing with a giant-sized font: SAMPLE: Maybe it's when the lines are particularly long, like if I keep writing after a ?seog rosruc eht erehw fo yltnednepedni ,elihw (DECRYPTED): Maybe it's when the lines are particularly long, like if I keep writing after a while, independently of where the cursor goes? It seems that quite reliably, with this giant font, the lines will flip to RTL after writing for a while. If I write in the same buffer in a window that doesn't have the giant font set, it doesn't trigger RTL. Here's a text I wrote, starting in window in which the buffer is normal-sized, and then switching, back to the giant sized buffer after a while: SAMPLE: Is it true even if the font size is a bit smaller, I wonder, or does it only happen with my glasses off? Is there a particular point when it hits, or does it only happen if I get going with some particular word in the way? ...ezis tnof yb dereggirt eb ot yletinifed smees tI Finally, here's a text written in the giant-sized buffer that can be used to estimate where it switches: SAMPLE: a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e f g h i j k l m n u t s r q p o ... hm, it seems to flip at EXACTLY AT 80 CHARACTERS! (That matches the first sample text above, too.) In GNU Emacs 24.3.50.2 (x86_64-apple-darwin13.1.0, X toolkit, Xaw scroll bars) of 2014-04-19 on Joes-MacBook-Pro.local Repository revision: 116800 lekktu@gmail.com-20140319022451-z8fp3icgftf8zjg6 Windowing system distributor `The X.Org Foundation', version 11.0.11406000 Configured using: `configure --with-x-toolkit=lucid CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib' Important settings: locale-coding-system: nil Major mode: Fundamental Minor modes in effect: show-paren-mode: t TeX-PDF-mode: t shell-dirtrack-mode: t global-hl-line-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: 1 Recent input: i n g SPC q u i t e SPC l i k e SPC i t SPC b e f o r e , SPC c e r t a i n l y . SPC SPC A n d SPC i t SPC d o e s n ' t SPC h a p p e n SPC e v e r y SPC t i m e C-e C-e C-e C-e M-> M a y b e SPC i t ' s SPC w h e n SPC t h e SPC l i n e s SPC a r e SPC p a r t i c u l a r l y SPC l o n g , SPC l i k e SPC i f SPC t h e SPC SPC I S-SPC k e e p SPC w r i t i n g SPC a f t e r SPC a SPC w h i l e , SPC i n d e p e n d e n t l y SPC o f SPC w h e r e SPC t h e SPC c u r s o r SPC g o e s ? C-e C-e C-SPC M-w M-x C-g C-x C-w b i g M-x s w - b u - f s m a l l C-y C-SPC M-> M-w M-x r e p o r Recent messages: Saved text until "osruc eht erehw fo yltnednepedni ,elihw " Quit Saving file /Users/joe/big... Wrote /Users/joe/big Making completion list... Mark set End of buffer Mark activated Making completion list... [2 times] Load-path shadows: /Users/joe/.emacs.d/elpa/mediawiki-2.2.3/mediawiki hides ~/thesis.git/config/elisp/mediawiki ~/diaspora.el/libraries/markdown-mode hides ~/thesis.git/config/elisp/markdown-mode ~/thesis.git/config/elisp/tex-mode hides /usr/local/share/emacs/24.3.50/lisp/textmodes/tex-mode ~/elisp/emms/lisp/tq hides /usr/local/share/emacs/24.3.50/lisp/emacs-lisp/tq Features: (shadow emacsbug align rect novice etags tutorial grep scheme js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs plain-tex tex-buf python mmm-cmds eieio-opt texmathp pp url-queue bibtex shr-color timezone parse-time dabbrev ispell qp network-stream starttls mailalias mail-extr sort face-remap sh-script smie executable pcmpl-unix vc-git font-latex latexenc misearch multi-isearch dired-aux help-mode paren cus-start cus-load w3m-load w3m-proc w3m-util mule-util dired-x info-look info tex-mode latex tex-style tex crm compile compare-w org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs tramp tramp-compat tramp-loaddefs trampver shell pcomplete eww google-translate ert find-func ewoc debug diaspora diaspora-bookmark diaspora-stream-mode diaspora-misc diaspora-main diaspora-messages htmlr sgml-mode diaspora-contacts diaspora-aspects diaspora-notifications diaspora-stream diaspora-comments diaspora-post diaspora-http-errors diaspora-post-edit-mode skeleton diaspora-new diaspora-urls diaspora-mode markdown-translator json mmm-mode mmm-class mmm-region mmm-utils mmm-univ mmm-auto mmm-vars mmm-compat gnutls shr mu4e mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-view epa epg epg-config browse-url comint ansi-color mu4e-headers mu4e-compose mu4e-draft mu4e-actions ido rfc2368 mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view jka-compr image-mode mu4e-lists mu4e-about mu4e-vars message rfc822 mailabbrev gmm-utils mailheader mu4e-meta smtpmail-multi smtpmail sendmail load-theme-buffer-local highlight-indentation poly-markdown markdown-mode derived thingatpt edmacro kmacro polymode pcase poly-base polymode-weave polymode-export polymode-methods polymode-classes polymode-common cl-macs gv format-spec eieio-custom eieio-base color jabber-autoloads package apropos emms-mark emms-history emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc advice emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file dired emms-setup emms emms-compat emstar cl hl-line mediawiki url-cache ring mm-url gnus gnus-ems nnheader mail-utils wid-edit cl-loaddefs cl-lib mml easymenu mml-sec mm-decode mm-bodies mm-encode url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-gw url-vars outline-magic noutline outline easy-mmode tex-site auto-loads time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs)