From unknown Fri Aug 15 15:33:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17059: 24.3; cannot view extracted text for a pdf Resent-From: John Covici Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Mar 2014 16:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17059@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: covici@ccs.covici.com Received: via spool by submit@debbugs.gnu.org id=B.13954210375348 (code B ref -1); Fri, 21 Mar 2014 16:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Mar 2014 16:57:17 +0000 Received: from localhost ([127.0.0.1]:43810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WR2kr-0001O9-Si for submit@debbugs.gnu.org; Fri, 21 Mar 2014 12:57:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46584) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WR2FW-0007fB-SY for submit@debbugs.gnu.org; Fri, 21 Mar 2014 12:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WR2FU-0000AA-Ko for submit@debbugs.gnu.org; Fri, 21 Mar 2014 12:24:50 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR2FU-0000A6-HN for submit@debbugs.gnu.org; Fri, 21 Mar 2014 12:24:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR2FR-0008C2-TN for bug-gnu-emacs@gnu.org; Fri, 21 Mar 2014 12:24:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WR2FP-00009O-ND for bug-gnu-emacs@gnu.org; Fri, 21 Mar 2014 12:24:45 -0400 Received: from covici-1-pt.tunnel.tserv13.ash1.ipv6.he.net ([2001:470:7:740::2]:56806 helo=ccs.covici.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR2FP-000097-F1 for bug-gnu-emacs@gnu.org; Fri, 21 Mar 2014 12:24:43 -0400 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.8/8.14.7) with ESMTP id s2LFkAbs018129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 21 Mar 2014 11:46:10 -0400 Received: (from covici@localhost) by ccs.covici.com (8.14.8/8.13.7/Submit) id s2LFkAPH018128; Fri, 21 Mar 2014 11:46:10 -0400 From: John Covici Date: Fri, 21 Mar 2014 11:46:10 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Mailman-Approved-At: Fri, 21 Mar 2014 12:57:10 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (----) go into emacs. I will enclose my .emacs or attach. Here is my .emacs -------------------- (setq gnus-inhibit-startup-message t ) (setq default-major-mode 'text-mode) (load "bookmark") (load "saveplace") (setq-default save-place t) (setq history-length t) (add-hook'c-mode-common-hook (function(lambda() (c-toggle-auto-state 1)))) (autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t) (setq auto-mode-alist (append '(("\\.cs$" . csharp-mode)) auto-mode-alist)) (setq auto-mode-alist (append '(("\\.cs$" . csharp-mode)) auto-mode-alist)) (add-hook 'text-mode-hook 'turn-on-auto-fill) (global-set-key [f1] 'help-command) (global-set-key "\C-s" 'nonincremental-re-search-forward) (global-set-key "\C-r" 'nonincremental-re-search-backward) (global-set-key [f6] 'nonincremental-repeat-search-forward) (global-set-key [f7] 'nonincremental-repeat-search-backward) (global-set-key [f8] 'replace-regexp) (global-set-key [f9] 'repeat-matching-complex-command) (global-set-key [home] 'beginning-of-line) (global-set-key [end] 'end-of-line) (column-number-mode 1) ;(autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl programs" t) (add-hook'cperl-mode-hook (function(lambda() (setq cperl-hairy t) (setq cperl-extra-newline-before-brace 1) (setq cperl-auto-newline 1) (setq cperl-auto-newline-after-colon 1) (setq cperl-indent-level 4) (setq cperl-electric-parens-string nil) (setq cperl-continued-statement-offset 0) ))) ;; Add signature at the end of the email. (add-hook 'mh-letter-mode-hook '(lambda () (save-excursion (goto-char (point-max)) (mh-insert-signature)))) (setq-default next-line-add-newlines nil) (setq font-running-xemacs nil) ; (defun turn-off-backup () ; (set (make-local-variable 'version-control) 2)) ;(add-hook 'nnfolder-save-buffer-hook (lambda () (turn-off-backup))) (setq next-screen-context-lines 0) (setq inhibit-startup-message t) (menu-bar-mode -1); turn off those ------- menus (setq browse-url-lynx-input-attempts 1) (setq browse-url-lynx-emacs-args "-showcursor") (defun browse-url-lynx-emacs (url &optional new-buffer) "Ask the Lynx WWW browser to load URL. Default to the URL around or before point. With a prefix argument, run a new Lynx process in a new buffer. When called interactively, if variable `browse-url-new-window-flag' is non-nil, load the document in a new lynx in a new term window, otherwise use any existing one. A non-nil interactive prefix argument reverses the effect of `browse-url-new-window-flag'. When called non-interactively, optional second argument NEW-WINDOW is used instead of `browse-url-new-window-flag'." (interactive (browse-url-interactive-arg "Lynx URL: ")) (let* ((system-uses-terminfo t) ; Lynx uses terminfo ;; (term-term-name "vt100") ; ?? (buf (get-buffer "*lynx*")) (proc (and buf (get-buffer-process buf))) (n browse-url-lynx-input-attempts)) (if (and (browse-url-maybe-new-window new-buffer) buf) ;; Rename away the OLD buffer. This isn't very polite, but ;; term insists on working in a buffer named *lynx* and would ;; choke on *lynx*<1> (progn (set-buffer buf) (rename-uniquely))) (if (or (browse-url-maybe-new-window new-buffer) (not buf) (not proc) (not (memq (process-status proc) '(run stop)))) ;; start a new lynx (progn (setq buf (apply #'make-term `("lynx" "lynx" nil ,@browse-url-lynx-emacs-args ,url))) (switch-to-buffer buf) (term-char-mode) (set-process-sentinel (get-buffer-process buf) ;; Don't leave around a dead one (especially because of its ;; munged keymap.) (lambda (process event) (if (not (memq (process-status process) '(run stop))) (let ((buf (process-buffer process))) (if buf (kill-buffer buf))))))) ;; send the url to lynx in the old buffer (let ((win (get-buffer-window buf t))) (if win (select-window win) (switch-to-buffer buf))) (if (eq (following-char) ?_) (cond ((eq browse-url-lynx-input-field 'warn) (error "Please move out of the input field first")) ((eq browse-url-lynx-input-field 'avoid) (while (and (eq (following-char) ?_) (> n 0)) (term-send-down) ; down arrow (sit-for browse-url-lynx-input-delay)) (if (eq (following-char) ?_) (error "Cannot move out of the input field, sorry"))))) (term-send-string proc (concat "g" ; goto "\C-u" ; kill default url url "\r"))))) (defun forward-word-to-nonblank () "forwards past the blank space where forward-word normally lands" (interactive) (forward-word 2) (forward-word -1) ) (global-set-key [\C-right] 'forward-word-to-nonblank) (global-set-key [\M-right] 'forward-word-to-nonblank) (global-set-key "\M-f" 'forward-word-to-nonblank) (defun eir-fix-articles () "function to replaceeir articles with correct versions and do cleanup" (setq ignore-auto 1) (setq noconfirm 1) (setq preserve-modes 1) (shell-command "ls *.TXT >temp.sc") (shell-command "chmod u+x temp.sc") (find-file "temp.sc") (goto-char (point-min)) (while (re-search-forward "^.*$" nil t) (replace-match "\\& \\&" nil nil)) (goto-char (point-min)) (while (re-search-forward " EIR...\$*" nil t) (replace-match " " nil nil)) (goto-char (point-min)) (while (re-search-forward "\\$" nil t) (replace-match "\\\\$" nil nil)) (goto-char (point-min)) (while (re-search-forward "^" nil t) (replace-match "mv " nil nil)) (beginning-of-line) (kill-line) (save-buffer) (shell-command "./temp.sc") (when (file-exists-p "CON.TXT") (rename-file "CON.TXT" "CONX.TXT")) (shell-command "ls *.TXT >temp.sc") (revert-buffer ignore-auto noconfirm preserve-modes) (goto-char (point-min)) (while (re-search-forward "^" nil t) (replace-match "miles2 " nil nil)) (beginning-of-line) (kill-line) (save-buffer) (shell-command "./temp.sc") (shell-command "ls -1 -F -a .. >temp.sc") (revert-buffer ignore-auto noconfirm preserve-modes) (goto-char (point-min)) (re-search-forward "txt/" nil t) (beginning-of-line) (kill-line) (kill-line) (goto-char (point-min)) (kill-line) (kill-line) (kill-line) (kill-line) (while (re-search-forward "\*" nil t) (replace-match "" nil nil)) (goto-char (point-min)) (while (re-search-forward "^.*$" nil t) (replace-match "\\& \\&" nil nil)) (goto-char (point-min)) (while (re-search-forward "\\..* " nil t) (replace-match ".art ../" nil nil)) (goto-char (point-min)) (while (re-search-forward "^" nil t) (replace-match "mv " nil nil)) (beginning-of-line) (kill-line) (save-buffer) ) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(browse-url-browser-function (quote browse-url-lynx-emacs)) '(browse-url-lynx-emacs-args nil t) '(browse-url-lynx-input-field nil) '(canlock-password "5de3542f3d08b117db60777f7b3f934ff0248a72") '(delete-old-versions t) '(desktop-missing-file-warning nil) '(desktop-path (quote ("."))) '(desktop-save t) '(desktop-save-mode t nil (desktop)) '(dired-kept-versions 1) '(dired-recursive-copies (quote always)) '(dired-recursive-deletes (quote always)) '(doc-view-conversion-refresh-interval 0) '(doc-view-pdftotext-program "pdftotext") '(doc-view-unoconv-program "odt2txt") '(erc-log-channels-directory "~/irclog") '(erc-log-mode t) '(erc-log-write-after-insert t) '(erc-log-write-after-send t) '(erc-nick "covici") '(kept-new-versions 5) '(kept-old-versions 0) '(large-file-warning-threshold 93000000) '(line-number-display-limit 100000000) '(mail-archive-file-name "copy_of_outgoing.txt") '(mail-default-headers nil) '(mail-default-reply-to "covici@ccs.covici.com") '(mail-host-address nil) '(mail-send-nonascii nil) '(mail-signature t) '(mail-use-rfc822 t) '(mail-user-agent (quote message-user-agent)) '(mail-yank-ignored-headers "^via:\\|^mail-from:\\|^origin:\\|^status:\\|^remailed\\|^received:\\|^message-id:\\|^summary-line:\\|^in-reply-to:\\|^return-path:") '(mail-yank-prefix ">") '(mh-compose-space-does-completion-flag t) '(mh-delete-yanked-msg-window-flag t) '(mh-display-buttons-for-alternatives-flag t) '(mh-forward-subject-format "%s: %s (fwd)") '(mh-identity-default nil) '(mh-identity-list (quote (("covici" ((":pgg-default-user-id" . "covici")))))) '(mh-invisible-header-fields (quote ("Organization" "Sender" "User-agent" "X-"))) '(mh-reply-default-reply-to "all") '(mh-yank-behavior (quote autoattrib)) '(next-line-add-newlines nil) '(pgg-query-keyserver t) '(save-place-version-control (quote nospecial)) '(scroll-down-aggressively nil) '(scroll-up-aggressively nil) '(split-width-threshold nil) '(tab-width 5) '(track-eol t) '(undo-ask-before-discard nil) '(undo-limit 30000) '(undo-outer-limit 4000000) '(undo-strong-limit 40000) '(url-automatic-caching t) '(url-keep-history t) '(url-news-server "news.patriot.net") '(url-personal-mail-address "covici@ccs.covici.com") '(url-privacy-level (quote none)) '(user-full-name "John Covici") '(version-control t) '(w3-maximum-line-length 80)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (add-hook 'w3-mode-hook (lambda () (setq truncate-lines nil))) ;;; Emacs-w3 configuration options (autoload 'w3-preview-this-buffer "w3" "WWW Previewer" t) (autoload 'w3-follow-url-at-point "w3" "Find document at pt" t) (autoload 'w3 "w3" "WWW Browser" t) (autoload 'w3-open-local "w3" "Open local file for WWW browsing" t) (autoload 'w3-fetch "w3" "Open remote file for WWW browsing" t) (autoload 'w3-use-hotlist "w3" "Use shortcuts to view WWW docs" t) (autoload 'w3-show-hotlist "w3" "Use shortcuts to view WWW docs" t) (autoload 'w3-follow-link "w3" "Follow a hypertext link." t) (autoload 'w3-batch-fetch "w3" "Batch retrieval of URLs" t) (autoload 'url-get-url-at-point "url" "Find the url under the cursor" nil) (autoload 'url-file-attributes "url" "File attributes of a URL" nil) (autoload 'url-popup-info "url" "Get info on a URL" t) (autoload 'url-retrieve "url" "Retrieve a URL" nil) (autoload 'url-buffer-visiting "url" "Find buffer visiting a URL." nil) (autoload 'gopher-dispatch-object "gopher" "Fetch gopher dir" t) ;;; End of Emacs-w3 configuration options ;;; Emacs-w3 configuration options (autoload 'w3-preview-this-buffer "w3" "WWW Previewer" t) (autoload 'w3-follow-url-at-point "w3" "Find document at pt" t) (autoload 'w3 "w3" "WWW Browser" t) (autoload 'w3-open-local "w3" "Open local file for WWW browsing" t) (autoload 'w3-fetch "w3" "Open remote file for WWW browsing" t) (autoload 'w3-use-hotlist "w3" "Use shortcuts to view WWW docs" t) (autoload 'w3-show-hotlist "w3" "Use shortcuts to view WWW docs" t) (autoload 'w3-follow-link "w3" "Follow a hypertext link." t) (autoload 'w3-batch-fetch "w3" "Batch retrieval of URLs" t) (autoload 'url-get-url-at-point "url" "Find the url under the cursor" nil) (autoload 'url-file-attributes "url" "File attributes of a URL" nil) (autoload 'url-popup-info "url" "Get info on a URL" t) (autoload 'url-retrieve "url" "Retrieve a URL" nil) (autoload 'url-buffer-visiting "url" "Find buffer visiting a URL." nil) (autoload 'gopher-dispatch-object "gopher" "Fetch gopher dir" t) ;;; End of Emacs-w3 configuration options ;;; Emacs/W3 Configuration (setq load-path (cons "/usr/share/emacs/site-lisp" load-path)) (condition-case () (require 'w3-auto "w3-auto") (error nil)) (put 'upcase-region 'disabled nil) (autoload 'vm "vm" "Start VM on your primary inbox." t) (autoload 'vm-visit-folder "vm" "Start VM on an arbitrary folder." t) (autoload 'vm-visit-virtual-folder "vm" "Visit a VM virtual folder." t) (autoload 'vm-mode "vm" "Run VM major mode on a buffer" t) (autoload 'vm-mail "vm" "Send a mail message using VM." t) (autoload 'vm-submit-bug-report "vm" "Send a bug report about VM." t) ---------------------- Then find a pdf with text. In emacs23 you immediately get the unable to render file prompt. In 24, you get the pdf raw. Now do escape-x and type docview-mode. Now you get the unable to render file prompt. When you hit y to the view extracted text instead, you get the following: DocView: process pdf->txt changed status to killed. By the way, this is done from a text console. In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-08-26 on ccs.covici.com System Description: Gentoo Base System release 2.2 Configured using: `configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--disable-dependency-tracking' '--program-suffix=-emacs-24' '--infodir=/usr/share/info/emacs-24' '--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64' '--with-gameuser=games' '--without-compress-info' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--without-gnutls' '--with-xml2' '--without-selinux' '--without-wide-int' '--with-sound' '--with-x' '--without-ns' '--without-gconf' '--without-gsettings' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--without-imagemagick' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk3' 'GENTOO_PACKAGE=app-editors/emacs-24.3-r2' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -mtune=core2 -pipe -ggdb' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Text Minor modes in effect: doc-view-minor-mode: t gpm-mouse-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t Recent input: C-x C-f 1 0 0 0 TAB RET ESC x C-g ESC x d o c TAB - DEL v TAB C-g ESC x d o v DEL c i v DEL DEL v i e w TAB DEL DEL DEL DEL DEL DEL DEL d o c - v i e TAB m o d e RET y ESC x r e p o r t - b u TAB RET Recent messages: Desktop: 0 buffers restored. For information about GNU Emacs and the GNU system, type C-h C-a. Quit Making completion list... Quit No PNG support is available, or some conversion utility for pdf files is missing. Error during redisplay: (eval (number-to-string (doc-view-current-page))) signaled (wrong-type-argument numberp nil) Unable to render file. View extracted text instead? (y or n) y Type C-c C-c to toggle between editing or viewing the document. DocView: process pdf->txt changed status to killed. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr warnings emacsbug message format-spec cl rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode doc-view easymenu jka-compr image-mode dired edmacro pcase kmacro t-mouse time-date desktop easy-mmode cus-start cus-load saveplace bookmark cl-macs gv derived cl-lib pp site-gentoo tooltip 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 register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com From unknown Fri Aug 15 15:33:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17059: 24.3; cannot view extracted text for a pdf Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 May 2014 02:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: John Covici Cc: 17059@debbugs.gnu.org Received: via spool by 17059-submit@debbugs.gnu.org id=B17059.140150198716859 (code B ref 17059); Sat, 31 May 2014 02:07:01 +0000 Received: (at 17059) by debbugs.gnu.org; 31 May 2014 02:06:27 +0000 Received: from localhost ([127.0.0.1]:38198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqYgl-0004Nr-4o for submit@debbugs.gnu.org; Fri, 30 May 2014 22:06:27 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50205) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqYgj-0004NZ-4o for 17059@debbugs.gnu.org; Fri, 30 May 2014 22:06:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVPO+IOj/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBJy8jBQsLNBIUGA0kiAQI0hkXjnoHhDgBA6kZgWqDTCE X-IPAS-Result: ArUGAIDvNVPO+IOj/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBJy8jBQsLNBIUGA0kiAQI0hkXjnoHhDgBA6kZgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="65130020" Received: from 206-248-131-163.dsl.teksavvy.com (HELO pastel.home) ([206.248.131.163]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 May 2014 22:06:19 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1FF44602E6; Fri, 30 May 2014 22:06:19 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Fri, 30 May 2014 22:06:19 -0400 In-Reply-To: (John Covici's message of "Fri, 21 Mar 2014 11:46:10 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) > go into emacs. I will enclose my .emacs or attach. [...] > Then find a pdf with text. What does "with text" mean, here? > In emacs23 you immediately get the unable to render file prompt. Hmm... no I get to see the PDF rendered by ghostscript. > In 24, you get the pdf raw. Hmm... no I get to see the PDF rendered by ghostscript. > By the way, this is done from a text console. Ah, now you tell us. OK, starting over: > In emacs23 you immediately get the unable to render file prompt. Indeed, and it prompts me if I want to see the extracted text (I said yes, and it did show me the text). > In 24, you get the pdf raw. Indeed. I can't remember this being a conscious change, so it looks like a bug. > Now do escape-x and type docview-mode. > Now you get the unable to render file prompt. Yup, I get that too. > When you hit y to the view extracted text instead, you get the > following: DocView: process pdf->txt changed status to killed. Hmmm... I don't see that here (with Debian's "emacs24 -nw -Q foo.pdf"), it shows me the extracted text just fine. Stefan From unknown Fri Aug 15 15:33:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17059: 24.3; cannot view extracted text for a pdf Resent-From: covici@ccs.covici.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 May 2014 07:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 17059@debbugs.gnu.org Received: via spool by 17059-submit@debbugs.gnu.org id=B17059.140152066931571 (code B ref 17059); Sat, 31 May 2014 07:18:02 +0000 Received: (at 17059) by debbugs.gnu.org; 31 May 2014 07:17:49 +0000 Received: from localhost ([127.0.0.1]:38391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqdY4-0008D8-GD for submit@debbugs.gnu.org; Sat, 31 May 2014 03:17:48 -0400 Received: from mail0131.smtp25.com ([75.126.84.131]:43209) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqdY1-0008Cz-1G for 17059@debbugs.gnu.org; Sat, 31 May 2014 03:17:46 -0400 Received: from ccs.covici.com (s-out-001.smtp25.com [67.228.91.90]) by d-out-001.smtp25.com (8.14.2/8.14.2) with ESMTP id s4V7HgrD014355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 31 May 2014 03:17:43 -0400 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.8/8.14.8) with ESMTP id s4V7Hg4J006990; Sat, 31 May 2014 03:17:42 -0400 In-reply-to: References: Comments: In-reply-to Stefan Monnier message dated "Fri, 30 May 2014 22:06:19 -0400." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.4.1 Date: Sat, 31 May 2014 03:17:41 -0400 Message-ID: <6988.1401520661@ccs.covici.com> From: covici@ccs.covici.com X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: d-out-001.smtp25.com-s4V7HgrD014355 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (/) I am not in an X terminal when I do this, I am in an actual virtual console. I also tried this under Ubuntu 14.04 and got the same results. Stefan Monnier wrote: > > go into emacs. I will enclose my .emacs or attach. > [...] > > Then find a pdf with text. > > What does "with text" mean, here? > > > In emacs23 you immediately get the unable to render file prompt. > > Hmm... no I get to see the PDF rendered by ghostscript. > > > In 24, you get the pdf raw. > > Hmm... no I get to see the PDF rendered by ghostscript. > > > By the way, this is done from a text console. > > Ah, now you tell us. OK, starting over: > > > In emacs23 you immediately get the unable to render file prompt. > > Indeed, and it prompts me if I want to see the extracted text (I said > yes, and it did show me the text). > > > In 24, you get the pdf raw. > > Indeed. I can't remember this being a conscious change, so it looks > like a bug. > > > Now do escape-x and type docview-mode. > > Now you get the unable to render file prompt. > > Yup, I get that too. > > > When you hit y to the view extracted text instead, you get the > > following: DocView: process pdf->txt changed status to killed. > > Hmmm... I don't see that here (with Debian's "emacs24 -nw -Q foo.pdf"), > it shows me the extracted text just fine. > > > Stefan -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com From unknown Fri Aug 15 15:33:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17059: bug 17059 still present Resent-From: Alexis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Oct 2014 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17059@debbugs.gnu.org Received: via spool by 17059-submit@debbugs.gnu.org id=B17059.141396328521852 (code B ref 17059); Wed, 22 Oct 2014 07:35:02 +0000 Received: (at 17059) by debbugs.gnu.org; 22 Oct 2014 07:34:45 +0000 Received: from localhost ([127.0.0.1]:59061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgqRQ-0005gM-Va for submit@debbugs.gnu.org; Wed, 22 Oct 2014 03:34:45 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:62803) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgqRO-0005fx-2Y for 17059@debbugs.gnu.org; Wed, 22 Oct 2014 03:34:43 -0400 Received: by mail-pd0-f178.google.com with SMTP id y10so3039328pdj.9 for <17059@debbugs.gnu.org>; Wed, 22 Oct 2014 00:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:date:in-reply-to:message-id:mime-version :content-type; bh=liMFlU/88axwsgxuKGW/FPNevhVzjJCX+47SbvtH+Cw=; b=IEbADU9tO8q9StBL7kVxtBOn4vnact58UZj9adTEcCMaHzAGuZmblcmSXXBQmSsg3o LEbCjz2RypxLQYy/S+Jc3gvWtqGoq8QlFDwcpPdIqAjOOFDSDBB8pjFyfZOwLuNkTSUf OG2FjF4844kJAZ0KEPCphZFhRX0AWg2zMa6YvgM9QtCsVqxDPlKGtH97Q2qjCW+0QQ4D RjMM6xkntcfbeCMGfccI38HqaEt54PTC0zPKJOdb3ancz+mBZZmktKARXfo+/TkYXZ7D XUW0ZBlvj6sUYXgXq4r26FHy84HOt/Z6v/M3nVosQCbqaLCfET+qa//SrkAm823xs/Mf tcHQ== X-Received: by 10.66.245.140 with SMTP id xo12mr40729571pac.54.1413963275725; Wed, 22 Oct 2014 00:34:35 -0700 (PDT) Received: from localhost (ppp118-209-119-125.lns20.mel4.internode.on.net. [118.209.119.125]) by mx.google.com with ESMTPSA id fv6sm13645945pdb.83.2014.10.22.00.34.33 for <17059@debbugs.gnu.org> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 22 Oct 2014 00:34:34 -0700 (PDT) References: <5315.1413844526@ccs.covici.com> From: Alexis Date: Wed, 22 Oct 2014 18:28:21 +1100 In-reply-to: <5315.1413844526@ccs.covici.com> Message-ID: <87vbnczhfe.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) covici@ccs.covici.com writes: > Hi. I am still having the problem of bug 17059 cannot view extracted > text from pdf in at least 24.4-rc1. I wonder if someone could take a > look at this? > > Thanks in advance for any ideas. Initially, i was able to reproduce this, using -nw -Q with 24.4.1, on Debian Wheezy x86_64 - in a console, and in an X terminal (specifically, urxvt) as well. i then instrumented the `doc-view-mode` function, stepping through it line-by-line, and was still able to consistently reproduce the issue. i then instrumented `doc-view-initiate-display` instead, and stepped through it line-by-line .... and when it reached `(doc-view-open-text)` and called it, the text was extracted and displayed in a buffer. i'm now no longer able to reproduce the issue with -nw -Q. What might cause this? From unknown Fri Aug 15 15:33:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17059: bug 17059 still present Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Oct 2014 13:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Cc: 17059@debbugs.gnu.org Received: via spool by 17059-submit@debbugs.gnu.org id=B17059.141398361427994 (code B ref 17059); Wed, 22 Oct 2014 13:14:01 +0000 Received: (at 17059) by debbugs.gnu.org; 22 Oct 2014 13:13:34 +0000 Received: from localhost ([127.0.0.1]:59266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgvjJ-0007HR-7F for submit@debbugs.gnu.org; Wed, 22 Oct 2014 09:13:33 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:1836) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgvjG-0007H7-8B for 17059@debbugs.gnu.org; Wed, 22 Oct 2014 09:13:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNFpY87/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArUGAIDvNVNFpY87/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94824400" Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Oct 2014 09:13:24 -0400 Received: by pastel.home (Postfix, from userid 20848) id 3C02343AB; Wed, 22 Oct 2014 09:13:24 -0400 (EDT) From: Stefan Monnier Message-ID: References: <5315.1413844526@ccs.covici.com> <87vbnczhfe.fsf@gmail.com> Date: Wed, 22 Oct 2014 09:13:24 -0400 In-Reply-To: <87vbnczhfe.fsf@gmail.com> (Alexis's message of "Wed, 22 Oct 2014 18:28:21 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) > i then instrumented `doc-view-initiate-display` instead, and stepped > through it line-by-line .... and when it reached `(doc-view-open-text)` > and called it, the text was extracted and displayed in a buffer. The step-by-step gave the process time to finish before it gets killed. > i'm now no longer able to reproduce the issue with -nw -Q. The process is not needed any more because we reuse the output from earlier Emacs sessions (stashed in /tmp somewhere). Stefan From unknown Fri Aug 15 15:33:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17059: bug 17059 still present Resent-From: Alexis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Oct 2014 07:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17059@debbugs.gnu.org Received: via spool by 17059-submit@debbugs.gnu.org id=B17059.14140494568032 (code B ref 17059); Thu, 23 Oct 2014 07:31:01 +0000 Received: (at 17059) by debbugs.gnu.org; 23 Oct 2014 07:30:56 +0000 Received: from localhost ([127.0.0.1]:60529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XhCrH-00025R-Bt for submit@debbugs.gnu.org; Thu, 23 Oct 2014 03:30:55 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:37707) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XhCrF-00025B-7I for 17059@debbugs.gnu.org; Thu, 23 Oct 2014 03:30:53 -0400 Received: by mail-pd0-f169.google.com with SMTP id w10so870248pde.0 for <17059@debbugs.gnu.org>; Thu, 23 Oct 2014 00:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:date:in-reply-to:message-id:mime-version :content-type; bh=qcJX/wpmdfeMjh3OHLyrx0umofOYBeX+gqYzLOUUopY=; b=qJ69s00WZNs7jY3Ktl7/uKDv1yEJrlBvSZU98zl/4Mah7i9y+kAGDIXAqLCeHJ+1cn GfKwtAnfdHany6W5FpnT8jDFm380itG24vxH70HHg67qt5nwKlBhqSEtiAYmbrd1y7Xc N5gFUFhZnX1/v3ovK9+qXqFgHUAVuQIVDGzyc8Vy/afjbv3tHv5kvQ16f5iBAn/IndRu i0GSeD2RfsBvUvkt2ZO8WDsSWOUNks0dT2nbVE9KE3CwaG1wPn8TnTsvN3CurtFyu7tT kikjbR7GOkUQjfp4AiBsKPtGCAfYCf5ZZMYYA6PJJ3BOrgPvugwfjRgliXqxvybbFFAQ FTJw== X-Received: by 10.68.242.164 with SMTP id wr4mr1942500pbc.148.1414049446751; Thu, 23 Oct 2014 00:30:46 -0700 (PDT) Received: from localhost (ppp118-209-119-125.lns20.mel4.internode.on.net. [118.209.119.125]) by mx.google.com with ESMTPSA id x13sm873990pdk.22.2014.10.23.00.30.44 for <17059@debbugs.gnu.org> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 23 Oct 2014 00:30:45 -0700 (PDT) References: <5315.1413844526@ccs.covici.com> <87vbnczhfe.fsf@gmail.com> From: Alexis Date: Thu, 23 Oct 2014 18:27:29 +1100 In-reply-to: Message-ID: <87oat3z1i7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) Stefan Monnier writes: >> i then instrumented `doc-view-initiate-display` instead, and stepped >> through it line-by-line .... and when it reached `(doc-view-open-text)` >> and called it, the text was extracted and displayed in a buffer. > > The step-by-step gave the process time to finish before it gets killed. > >> i'm now no longer able to reproduce the issue with -nw -Q. > > The process is not needed any more because we reuse the output from > earlier Emacs sessions (stashed in /tmp somewhere). Ah, okay. Thanks for explaining! So: calling `sit-for` in `doc-view-start-process` solves the problem for me: (defun doc-view-start-process (name program args callback) ;; Make sure the process is started in an existing directory, (rather than ;; some file-name-handler-managed dir, for example). (let* ((default-directory (or (unhandled-file-name-directory default-directory) (expand-file-name "~/"))) (proc (apply 'start-process name doc-view-conversion-buffer program args))) (push proc doc-view--current-converter-processes) (setq mode-line-process (list (format ":%s" proc))) (set-process-sentinel proc 'doc-view-sentinel) (sit-for 1) (process-put proc 'buffer (current-buffer)) (process-put proc 'callback callback))) Is this a reasonable solution? Alexis. From unknown Fri Aug 15 15:33:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17059: bug 17059 still present Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Oct 2014 13:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Cc: 17059@debbugs.gnu.org Received: via spool by 17059-submit@debbugs.gnu.org id=B17059.141407035217488 (code B ref 17059); Thu, 23 Oct 2014 13:20:01 +0000 Received: (at 17059) by debbugs.gnu.org; 23 Oct 2014 13:19:12 +0000 Received: from localhost ([127.0.0.1]:60749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XhIIJ-0004Xz-Ks for submit@debbugs.gnu.org; Thu, 23 Oct 2014 09:19:11 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:49559) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XhIII-0004Xs-IH for 17059@debbugs.gnu.org; Thu, 23 Oct 2014 09:19:10 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s9NDJ0x8006008; Thu, 23 Oct 2014 09:19:06 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 2E1E266094; Thu, 23 Oct 2014 09:18:46 -0400 (EDT) From: Stefan Monnier Message-ID: References: <5315.1413844526@ccs.covici.com> <87vbnczhfe.fsf@gmail.com> <87oat3z1i7.fsf@gmail.com> Date: Thu, 23 Oct 2014 09:18:46 -0400 In-Reply-To: <87oat3z1i7.fsf@gmail.com> (Alexis's message of "Thu, 23 Oct 2014 18:27:29 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5103=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5103> : inlines <1423> : streams <1324302> : uri <1827962> X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.8 (--) > So: calling `sit-for` in `doc-view-start-process` solves the problem for > me: [...] > Is this a reasonable solution? No, that just changes the odds of the race-condition, but is only an ugly workaround. IIUC Tassilo installed an actual fix into trunk a few days ago. Stefan From unknown Fri Aug 15 15:33:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17059: bug 17059 still present Resent-From: Alexis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Oct 2014 22:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17059@debbugs.gnu.org Received: via spool by 17059-submit@debbugs.gnu.org id=B17059.141410472514753 (code B ref 17059); Thu, 23 Oct 2014 22:53:01 +0000 Received: (at 17059) by debbugs.gnu.org; 23 Oct 2014 22:52:05 +0000 Received: from localhost ([127.0.0.1]:33344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XhREj-0003pr-AZ for submit@debbugs.gnu.org; Thu, 23 Oct 2014 18:52:05 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:52216) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XhREf-0003pJ-Ki for 17059@debbugs.gnu.org; Thu, 23 Oct 2014 18:52:02 -0400 Received: by mail-pd0-f172.google.com with SMTP id r10so298129pdi.17 for <17059@debbugs.gnu.org>; Thu, 23 Oct 2014 15:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:date:in-reply-to:message-id:mime-version :content-type; bh=jMbcrF4jaeU22fVOX4v9u81edP+yuMl/Junbt5VHczE=; b=BZQEGxE75R6C1rwefg8+t8EtfUTS3DL2n+kND00013DxhsW1yHKdJjJGlB4jUILMiO 0IxmK/EYRDINSIxoRQv7j1A4tnZ6NEEvxOl+DZZAdWW0afAmRoKbVh/e3Wfj3UFidnJ6 1PXPvRK/JzRvgN5zirf8c30qvjVlJH2wvZXfUVHEi+i8zVuGBFZykEULwnfOFwqMw999 BsI23trZqLD4rzk4usA5ysGCgV2TN/v4+NKfigiIhnhMqKEtzUYLlibKbKcbBH733wTo X2ChtqjF/JVQn3s8zKU91UJIkn/XhvH8OaBYUpyUBImgEkt0AiviE+Oa7yAf0Z41Q05C 3Cwg== X-Received: by 10.70.88.174 with SMTP id bh14mr729529pdb.24.1414104715224; Thu, 23 Oct 2014 15:51:55 -0700 (PDT) Received: from localhost (ppp118-209-119-125.lns20.mel4.internode.on.net. [118.209.119.125]) by mx.google.com with ESMTPSA id d9sm2407139pdm.5.2014.10.23.15.51.52 for <17059@debbugs.gnu.org> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 23 Oct 2014 15:51:54 -0700 (PDT) References: <5315.1413844526@ccs.covici.com> <87vbnczhfe.fsf@gmail.com> <87oat3z1i7.fsf@gmail.com> From: Alexis Date: Fri, 24 Oct 2014 09:12:00 +1100 In-reply-to: Message-ID: <87lho6iem3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) Stefan Monnier writes: >> So: calling `sit-for` in `doc-view-start-process` solves the problem for >> me: > [...] >> Is this a reasonable solution? > > No, that just changes the odds of the race-condition, but is only an > ugly workaround. *nod* > IIUC Tassilo installed an actual fix into trunk a few days ago. Ah, okay. Alexis. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 13:19:14 2016 Received: (at control) by debbugs.gnu.org; 19 Jan 2016 18:19:14 +0000 Received: from localhost ([127.0.0.1]:53996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aLas6-0007Gp-HM for submit@debbugs.gnu.org; Tue, 19 Jan 2016 13:19:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35984) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aLas5-0007Gc-Ms for control@debbugs.gnu.org; Tue, 19 Jan 2016 13:19:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLas0-0003cH-0c for control@debbugs.gnu.org; Tue, 19 Jan 2016 13:19:08 -0500 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]:35237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLarz-0003cD-TV for control@debbugs.gnu.org; Tue, 19 Jan 2016 13:19:07 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aLarz-0007SR-Hp for control@debbugs.gnu.org; Tue, 19 Jan 2016 13:19:07 -0500 Subject: control message for bug 17059 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 19 Jan 2016 13:19:07 -0500 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: control 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: -5.0 (-----) close 17059