From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Raoul Comninos" Newsgroups: gmane.emacs.bugs Subject: bug#47974: 27.2; doc-view-mode freezes when used together with global-linum-mode Date: Fri, 23 Apr 2021 18:15:27 +0200 Message-ID: <6082F29F.24569.2DE3A47@revrari.mweb.co.za> Reply-To: revrari@mweb.co.za Mime-Version: 1.0 Content-Type: Multipart/Alternative; boundary="Alt-Boundary-4960.48118343" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18601"; mail-complaints-to="usenet@ciao.gmane.io" To: 47974@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 23 18:21:17 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZyYP-0004S9-NT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 18:21:17 +0200 Original-Received: from localhost ([::1]:49762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZyYO-00079K-Qy for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 12:21:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZyYA-00079B-58 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 12:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZyY9-00029f-Tk for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 12:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZyY9-0001Qa-No for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 12:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Raoul Comninos" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Apr 2021 16:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47974 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16191948555455 (code B ref -1); Fri, 23 Apr 2021 16:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2021 16:20:55 +0000 Original-Received: from localhost ([127.0.0.1]:38659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZyY2-0001Pu-Tp for submit@debbugs.gnu.org; Fri, 23 Apr 2021 12:20:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZyY1-0001Pn-A2 for submit@debbugs.gnu.org; Fri, 23 Apr 2021 12:20:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZyY1-000787-49 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 12:20:53 -0400 Original-Received: from securemail-y27.synaq.com ([196.35.198.32]:59583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZyXx-000254-3M for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 12:20:52 -0400 Authentication-Results: synaq.com; iprev=fail smtp.remote-ip=197.95.154.214; arc=none Original-Received: from [197.95.154.214] (helo=[192.168.56.1]) by securemail-pl-omx5.synaq.com with esmtp (Exim 4.93.0.4-30-5edf9c7) (envelope-from ) id 1lZySu-00075g-1I for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 18:15:36 +0200 Priority: normal X-mailer: Pegasus Mail for Windows (4.73.639) X-SYNAQ-Pinpoint-Information: Please contact SYNAQ for more information X-SYNAQ-Pinpoint-ID: 1lZySu-00075g-1I X-SYNAQ-Pinpoint: No virus infections found X-SYNAQ-Pinpoint-SpamCheck: not spam, SpamAssassin (not cached, score=-0.699, required 7, autolearn=disabled, DCC_REPUT_00_12 -0.80, HTML_MESSAGE 0.00, RDNS_NONE 0.10) X-Pinpoint-From: revrari@mweb.co.za Received-SPF: pass client-ip=196.35.198.32; envelope-from=revrari@mweb.co.za; helo=securemail-y27.synaq.com X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204747 Archived-At: --Alt-Boundary-4960.48118343 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body When trying to view documents using `doc-view-mode' Emacs slows down and eventually freezes. I traced this problem to `global-linum-mode' which was set to `t' in my init.el file. I tested this with Emacs -Q and I am able to replicate it. `global-linum-mode' does not work with `doc-view-mode'. Emacs does not crash but freezes. One has then to quit Emacs through the Windows task manager. In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) of 2021-03-26 built on fv-az68-192 Repository revision: 4e952a7445daa0fb9df229ea61b69ccee3264d4a Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.19041 System Description: Microsoft Windows 10 Pro (v10.0.2004.19041.928) Recent messages: Loading savehist...done Loading paren...done Loading winner...done Loading c:/rari/.emacs.d/recentf...done Loading c:/rari/.emacs.d/.session...done (org-roam) total: 381, files-modified: 0, ids: 0, links: 0, tags: 0, titles: 0, refs: 0, deleted: 0 Initializing Hyperbole...done Hyperbole 7.1.4 is ready for action. For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Configured using: 'configure --prefix=3D/mingw64 --build=3Dx86_64-w64-mingw32 --with-modules --without-dbus --without-compress-install 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe' CPPFLAGS=3D-D__USE_MINGW_ANSI_STDIO=3D1 'LDFLAGS=3D-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image- base-high'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Org Minor modes in effect: winner-mode: t show-paren-mode: t savehist-mode: t save-place-mode: t delete-selection-mode: t recentf-mode: t persistent-scratch-autosave-mode: t org-roam-mode: t hyperbole-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail session winner paren savehist saveplace grep elec-pair delsel cus-start cus-load two-column remember recentf tree-widget dired+ w32-browser image-dired image-file bookmark+ bookmark+-key edmacro kmacro bookmark+-1 bookmark+-bmu bookmark+-lit bookmark dired-x dired-aux cl-extra ol-eww eww mm-url thingatpt url-queue ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util url-parse auth-source json map url-vars svg gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec password-cache epa epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m persistent-scratch icomplete-vertical icomplete org-roam org-roam-link org-roam-graph xml org-roam-doctor org-roam-dailies org-roam-capture org-roam-db emacsql-sqlite3 emacsql emacsql-compiler org-capture org-roam-completion org-roam-buffer org-roam-faces org-roam-macs org-roam-compat rx f s dash org-id org-refile showkey hyperbole hinit hibtypes hib-doc-id klink hib-kbd hib-debbugs hib-social hsys-www hib-org hsys-org org-element avl-tree org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities time-date org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec hypb-ert ert pp ewoc debug backtrace hui-mini hui hactypes hui-mouse hmouse-key hargs hmouse-tag etags fileloop generator xref cl-seq project eieio eieio-core eieio-loaddefs find-func hmouse-info info hui-menu hyrolo-menu hui-jmenu hpath subr-x noutline outline hmouse-sh hmouse-drv windmove hypb locate compile comint ansi-color ring hui-window pulse hycontrol easy-mmode hsettings hui-em-but hyrolo hmail hbut view hact pcase hhist hbdata hbmap hmoccur derived help-mode cl-macs browse-url htz cal-julian cal-menu calendar cal-loaddefs hui-select rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns easymenu nxml-mode nxml-outln nxml-rap nxml-util nxml-enc xmltok sgml-mode seq byte-opt gv bytecomp byte-compile cconv dom cl-loaddefs cl-lib hvar set hversion hload-path xah-dired dired dired-loaddefs tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win 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 loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 363094 26634) (symbols 48 32020 1) (strings 32 101337 4094) (string-bytes 1 3406457) (vectors 16 44015) (vector-slots 8 488103 35304) (floats 8 321 37) (intervals 56 672 0) (buffers 1000 13)) --Alt-Boundary-4960.48118343 Content-type: text/html; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body =
When trying to view documents using `doc-view-mode' Emacs slows down and eventually freezes. I traced this problem to `global-linum-mode' which was set to `t' in my init.el file. I tested this with Emacs -Q and I am able to replicate it. `global-linum-mode' does not work with `doc-view-mode'. Emacs does not crash but freezes. One has then to quit Emacs through the
Windows task manager.

In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 built on fv-az68-192
Repository revision: 4e952a7445daa0fb9df229ea61b69ccee3264d4a
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.19041
System Description: Microsoft Windows 10 Pro (v10.0.2004.19041.928)

Recent messages:
Loading savehist...done
Loading paren...done
Loading winner...done
Loading c:/rari/.emacs.d/recentf...done
Loading c:/rari/.emacs.d/.session...done
(org-roam) total: Δ381, files-modified: Δ0, ids: &De= lta;0, links: Δ0, tags: Δ0, titles: Δ0, refs: Δ0, deleted: Δ0
Initializing Hyperbole...done
Hyperbole 7.1.4 is ready for action.
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Configured using:
 'configure --prefix=3D/mingw64 --build=3Dx86_64-w64-mingw3= 2 --with-modules
 --without-dbus --without-compress-install 'CFLAGS=3D-march=3Dx86-64
 -mtune=3Dgeneric -O2 -pipe' CPPFLAGS=3D-D__USE_MINGW_ANSI_STDIO=3D1
 'LDFLAGS=3D-pipe
  -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high''=

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER GMP

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: Org

Minor modes in effect:
  winner-mode: t
  show-paren-mode: t
  savehist-mode: t
  save-place-mode: t
  delete-selection-mode: t
  recentf-mode: t
  persistent-scratch-autosave-mode: t
  org-roam-mode: t
  hyperbole-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail session winner paren savehist
saveplace grep elec-pair delsel cus-start cus-load two-column remember
recentf tree-widget dired+ w32-browser image-dired image-file bookmark+
bookmark+-key edmacro kmacro bookmark+-1 bookmark+-bmu bookmark+-lit
bookmark dired-x dired-aux cl-extra ol-eww eww mm-url thingatpt<= /span>
url-queue ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum u= rl
url-proxy url-privacy url-expand url-methods url-history mailcap= shr
url-cookie url-domsuf url-util url-parse auth-source json map url-vars
svg gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message
rmc puny rfc822 mml mml-sec password-cache epa epg epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045
ietf-drums text-property-search mail-utils mm-util mail-prsvr wid-edit
ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb
ol-w3m persistent-scratch icomplete-vertical icomplete org-roam<= /span>
org-roam-link org-roam-graph xml org-roam-doctor org-roam-dailies
org-roam-capture org-roam-db emacsql-sqlite3 emacsql emacsql-compiler
org-capture org-roam-completion org-roam-buffer org-roam-faces
org-roam-macs org-roam-compat rx f s dash org-id org-refile showkey
hyperbole hinit hibtypes hib-doc-id klink hib-kbd hib-debbugs hib-social
hsys-www hib-org hsys-org org-element avl-tree org ob ob-tangle ob-ref
ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint<= /span>
org-pcomplete pcomplete org-list org-faces org-entities time-dat= e
org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys<= /span>
org-compat advice org-macs org-loaddefs format-spec hypb-ert ert pp ewoc
debug backtrace hui-mini hui hactypes hui-mouse hmouse-key hargs
hmouse-tag etags fileloop generator xref cl-seq project eieio eieio-core
eieio-loaddefs find-func hmouse-info info hui-menu hyrolo-menu hui-jmenu
hpath subr-x noutline outline hmouse-sh hmouse-drv windmove hypb locate
compile comint ansi-color ring hui-window pulse hycontrol easy-mmode
hsettings hui-em-but hyrolo hmail hbut view hact pcase hhist hbdata
hbmap hmoccur derived help-mode cl-macs browse-url htz cal-julian
cal-menu calendar cal-loaddefs hui-select rng-nxml rng-valid rng-loc
rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn= nxml-ns
easymenu nxml-mode nxml-outln nxml-rap nxml-util nxml-enc xmltok
sgml-mode seq byte-opt gv bytecomp byte-compile cconv dom cl-loaddefs
cl-lib hvar set hversion hload-path xah-dired dired dired-loadde= fs
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-t= ype
mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars
term/common-win 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 loaddefs
button faces cus-face macroexp files text-properties overlay sha= 1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads w32notify w32 multi-tty make-network-process emacs)

Memory information:
((conses 16 363094 26634)
 (symbols 48 32020 1)
 (strings 32 101337 4094)
 (string-bytes 1 3406457)
 (vectors 16 44015)
 (vector-slots 8 488103 35304)
 (floats 8 321 37)
 (intervals 56 672 0)
 (buffers 1000 13))

  
--Alt-Boundary-4960.48118343--