From unknown Sat Aug 16 21:02:13 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#11999 <11999@debbugs.gnu.org> To: bug#11999 <11999@debbugs.gnu.org> Subject: Status: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Reply-To: bug#11999 <11999@debbugs.gnu.org> Date: Sun, 17 Aug 2025 04:02:13 +0000 retitle 11999 24.1.50; New Info file suffix ".info" breaks `Info-find-node-= 2' reassign 11999 emacs submitter 11999 "Drew Adams" severity 11999 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 12:20:10 2012 Received: (at submit) by debbugs.gnu.org; 20 Jul 2012 16:20:10 +0000 Received: from localhost ([127.0.0.1]:52729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsFvz-0001S8-OM for submit@debbugs.gnu.org; Fri, 20 Jul 2012 12:20:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58490) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsFvt-0001Re-PZ for submit@debbugs.gnu.org; Fri, 20 Jul 2012 12:20:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsFpj-0002An-S4 for submit@debbugs.gnu.org; Fri, 20 Jul 2012 12:13:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsFpj-0002Ai-OJ for submit@debbugs.gnu.org; Fri, 20 Jul 2012 12:13:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsFpf-0003Ea-LG for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2012 12:13:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsFpa-00029o-TH for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2012 12:13:35 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:44220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsFpa-00029j-GF for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2012 12:13:30 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6KGDSXb000923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 20 Jul 2012 16:13:29 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6KGDSND026782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 20 Jul 2012 16:13:28 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6KGDSWV023489 for ; Fri, 20 Jul 2012 11:13:28 -0500 Received: from dradamslap1 (/10.159.80.190) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jul 2012 09:13:26 -0700 From: "Drew Adams" To: Subject: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Fri, 20 Jul 2012 09:13:22 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac1mkpVrCcUYkUAwS/yhfx2CphsP2A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) I do not have a recipe from emacs -Q. But here are two debug traces = from a build of 7/16, where there is a problem, and from Emacs 24.1, where there is no problem. =20 The code does exactly the same thing, step by step. But when `info-insert-file-contents' is called in the 7/16 build it returns nil instead of t, because it is looking for file "c:/Emacs-24.1/info/emacs" and there is no such file. There is now only a file "c:/Emacs-24.1/info/emacs.info". =20 IOW, changing the info files to have suffix ".info" breaks (at least) this code (i.e., at least `Info-find-node-2'). =20 ----------------------------------------------------------------- Emacs 24 built on 7/16: =20 Debugger entered--returning value: nil info-file-exists-p("c:/Emacs-24-2012-07-16/info/emacs") * info-insert-file-contents("c:/Emacs-24-2012-07-16/info/emacs" nil) * (cond ((eq filename t) (Info-insert-dir nomsg)) ((eq filename (quote = apro=3D pos)) (insert-buffer-substring " *info-apropos*")) ((eq filename (quote = his=3D tory)) (insert-buffer-substring " *info-history*")) ((eq filename (quote = to=3D c)) (insert-buffer-substring " *info-toc*")) (t = (info-insert-file-contents =3D filename nil) (setq default-directory (file-name-directory filename)))) * (let ((inhibit-read-only t)) (when (and (boundp (quote = Info-current-node-=3D virtual)) Info-current-node-virtual) (set (make-local-variable (quote = Info-=3D current-node-virtual)) nil) (unless filename (setq filename = Info-current-fi=3D le))) (setq Info-current-file nil Info-current-subfile nil = Info-current-fil=3D e-completions nil buffer-file-name nil) (erase-buffer) (cond ((eq = filename =3D t) (Info-insert-dir nomsg)) ((eq filename (quote apropos)) = (insert-buffer-s=3D ubstring " *info-apropos*")) ((eq filename (quote history)) = (insert-buffer-=3D substring " *info-history*")) ((eq filename (quote toc)) = (insert-buffer-sub=3D string " *info-toc*")) (t (info-insert-file-contents filename nil) (setq = de=3D fault-directory (file-name-directory filename)))) (set-buffer-modified-p = ni=3D l) (set (make-local-variable (quote Info-file-supports-index-cookies)) = (Inf=3D o-file-supports-index-cookies filename)) (goto-char (point-max)) = (forward-l=3D ine -8) (if (not (or (string-equal nodename "*") (not (search-forward = "=3D1F\=3D nEnd tag table\n" nil t)))) (let (pos) (search-backward "\nTag = table:\n") (=3D setq pos (point)) (if (save-excursion (forward-line 2) (looking-at = "(Indire=3D ct)\n")) (let ((buf (current-buffer)) (tagbuf (or Info-tag-table-buffer = ...=3D ))) (setq Info-tag-table-buffer tagbuf) (with-current-buffer tagbuf = (buffer=3D -disable-undo (current-buffer)) (setq case-fold-search t) (erase-buffer) = (i=3D nsert-buffer-substring buf)) (set-marker Info-tag-table-marker = (match-end 0=3D ) tagbuf)) (set-marker Info-tag-table-marker pos))) (set-marker = Info-tag-ta=3D ble-marker nil)) (setq Info-current-file filename)) * (cond ((functionp virtual-fun) (let ((filename (or filename = Info-current-=3D file))) (setq buffer-read-only nil Info-current-file filename = Info-current-=3D subfile nil Info-current-file-completions nil buffer-file-name nil) = (erase-=3D buffer) (Info-virtual-call virtual-fun filename nodename no-going-back) = (se=3D t-marker Info-tag-table-marker nil) (setq buffer-read-only t) = (set-buffer-m=3D odified-p nil) (set (make-local-variable (quote = Info-current-node-virtual))=3D t))) ((not (and (or (not (boundp (quote Info-current-node-virtual))) = (not =3D Info-current-node-virtual)) (or (null filename) (equal Info-current-file = fi=3D lename)))) (let ((inhibit-read-only t)) (when (and (boundp (quote = Info-curr=3D ent-node-virtual)) Info-current-node-virtual) (set (make-local-variable = (qu=3D ote Info-current-node-virtual)) nil) (unless filename (setq filename = Info-c=3D urrent-file))) (setq Info-current-file nil Info-current-subfile nil = Info-cu=3D rrent-file-completions nil buffer-file-name nil) (erase-buffer) (cond = ((eq =3D filename t) (Info-insert-dir nomsg)) ((eq filename (quote apropos)) = (insert=3D -buffer-substring " *info-apropos*")) ((eq filename (quote history)) = (inser=3D t-buffer-substring " *info-history*")) ((eq filename (quote toc)) = (insert-b=3D uffer-substring " *info-toc*")) (t (info-insert-file-contents filename = nil)=3D (setq default-directory (file-name-directory filename)))) = (set-buffer-modi=3D fied-p nil) (set (make-local-variable (quote = Info-file-supports-index-cooki=3D es)) (Info-file-supports-index-cookies filename)) (goto-char = (point-max)) (=3D forward-line -8) (if (not (or (string-equal nodename "*") (not = (search-forw=3D ard "=3D1F\nEnd tag table\n" nil t)))) (let (pos) (search-backward = "\nTag tab=3D le:\n") (setq pos (point)) (if (save-excursion (forward-line 2) = (looking-at=3D "(Indirect)\n")) (let (... ...) (setq Info-tag-table-buffer tagbuf) = (with-=3D current-buffer tagbuf ... ... ... ...) (set-marker Info-tag-table-marker = ..=3D . tagbuf)) (set-marker Info-tag-table-marker pos))) (set-marker = Info-tag-ta=3D ble-marker nil)) (setq Info-current-file filename)))) * (let ((case-fold-search t) (virtual-fun (and (fboundp (quote = Info-virtual=3D -fun)) (Info-virtual-fun (quote find-node) (or filename = Info-current-file) =3D nodename))) anchorpos) (cond ((functionp virtual-fun) (let ((filename = (or f=3D ilename Info-current-file))) (setq buffer-read-only nil = Info-current-file f=3D ilename Info-current-subfile nil Info-current-file-completions nil = buffer-f=3D ile-name nil) (erase-buffer) (Info-virtual-call virtual-fun filename = nodena=3D me no-going-back) (set-marker Info-tag-table-marker nil) (setq = buffer-read-=3D only t) (set-buffer-modified-p nil) (set (make-local-variable (quote = Info-c=3D urrent-node-virtual)) t))) ((not (and (or (not (boundp ...)) (not = Info-curr=3D ent-node-virtual)) (or (null filename) (equal Info-current-file = filename)))=3D ) (let ((inhibit-read-only t)) (when (and (boundp (quote = Info-current-node-=3D virtual)) Info-current-node-virtual) (set (make-local-variable (quote = Info-=3D current-node-virtual)) nil) (unless filename (setq filename = Info-current-fi=3D le))) (setq Info-current-file nil Info-current-subfile nil = Info-current-fil=3D e-completions nil buffer-file-name nil) (erase-buffer) (cond ((eq = filename =3D t) (Info-insert-dir nomsg)) ((eq filename (quote apropos)) = (insert-buffer-s=3D ubstring " *info-apropos*")) ((eq filename (quote history)) = (insert-buffer-=3D substring " *info-history*")) ((eq filename (quote toc)) = (insert-buffer-sub=3D string " *info-toc*")) (t (info-insert-file-contents filename nil) (setq = de=3D fault-directory (file-name-directory filename)))) (set-buffer-modified-p = ni=3D l) (set (make-local-variable (quote Info-file-supports-index-cookies)) = (Inf=3D o-file-supports-index-cookies filename)) (goto-char (point-max)) = (forward-l=3D ine -8) (if (not (or (string-equal nodename "*") (not ...))) (let (pos) = (se=3D arch-backward "\nTag table:\n") (setq pos (point)) (if (save-excursion = ... =3D ...) (let ... ... ... ...) (set-marker Info-tag-table-marker pos))) = (set-ma=3D rker Info-tag-table-marker nil)) (setq Info-current-file filename)))) = (if (=3D string-equal nodename "*") (progn (setq Info-current-node nodename) = (Info-s=3D et-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node:\\|Ref=3D :\\) *\\(" (if (stringp nodename) (regexp-quote nodename) "") "\\) *[, = \n=7F]=3D "))) (catch (quote foo) (when (marker-position Info-tag-table-marker) = (let*=3D ((m Info-tag-table-marker) (found ...)) (when found (setq guesspos ...) = (u=3D nless ... ...) (when ... ... ...)))) (goto-char (max (point-min) (- = (byte-t=3D o-position guesspos) 1000))) (let ((pos (Info-find-node-in-buffer = regexp)))=3D (when pos (goto-char pos) (throw (quote foo) t))) (when (string-match = "\\(=3D [^.]+\\)\\." nodename) (let (Info-point-loc) (Info-find-node-2 filename = (ma=3D tch-string 1 nodename) no-going-back nomsg)) (widen) (throw (quote foo) = t))=3D (error "No such node or anchor: %s" nodename)) (Info-select-node) = (goto-ch=3D ar (point-min)) (forward-line 1) (when (and (not (fboundp (quote = Info-bread=3D crumbs))) Info-breadcrumbs-in-header-flag (> Info-breadcrumbs-depth 0)) = (fo=3D rward-line 1)) (cond (anchorpos (let ((new-history ...)) (setq = Info-history=3D -list (cons new-history ...))) (goto-char anchorpos)) ((numberp = Info-point-=3D loc) (forward-line (- Info-point-loc 2)) (setq Info-point-loc nil)) = ((strin=3D gp Info-point-loc) (Info-find-index-name Info-point-loc) (setq = Info-point-l=3D oc nil))))) (when (and (one-window-p t) (not (window-minibuffer-p)) = (fbound=3D p (quote fit-frame)) Info-fit-frame-flag) (fit-frame))) * (unwind-protect (let ((case-fold-search t) (virtual-fun (and (fboundp = (qu=3D ote Info-virtual-fun)) (Info-virtual-fun (quote find-node) (or filename = Inf=3D o-current-file) nodename))) anchorpos) (cond ((functionp virtual-fun) = (let =3D ((filename (or filename Info-current-file))) (setq buffer-read-only nil = Inf=3D o-current-file filename Info-current-subfile nil = Info-current-file-completi=3D ons nil buffer-file-name nil) (erase-buffer) (Info-virtual-call = virtual-fun=3D filename nodename no-going-back) (set-marker Info-tag-table-marker nil) = (s=3D etq buffer-read-only t) (set-buffer-modified-p nil) (set = (make-local-variab=3D le (quote Info-current-node-virtual)) t))) ((not (and (or (not ...) (not = In=3D fo-current-node-virtual)) (or (null filename) (equal Info-current-file = file=3D name)))) (let ((inhibit-read-only t)) (when (and (boundp ...) = Info-current-=3D node-virtual) (set (make-local-variable ...) nil) (unless filename (setq = fi=3D lename Info-current-file))) (setq Info-current-file nil = Info-current-subfil=3D e nil Info-current-file-completions nil buffer-file-name nil) = (erase-buffer=3D ) (cond ((eq filename t) (Info-insert-dir nomsg)) ((eq filename ...) = (inser=3D t-buffer-substring " *info-apropos*")) ((eq filename ...) = (insert-buffer-su=3D bstring " *info-history*")) ((eq filename ...) (insert-buffer-substring = " *=3D info-toc*")) (t (info-insert-file-contents filename nil) (setq = default-dire=3D ctory ...))) (set-buffer-modified-p nil) (set (make-local-variable = (quote I=3D nfo-file-supports-index-cookies)) (Info-file-supports-index-cookies = filenam=3D e)) (goto-char (point-max)) (forward-line -8) (if (not (or ... ...)) = (let (=3D pos) (search-backward "\nTag table:\n") (setq pos ...) (if ... ... ...)) = (s=3D et-marker Info-tag-table-marker nil)) (setq Info-current-file = filename)))) =3D (if (string-equal nodename "*") (progn (setq Info-current-node nodename) = (I=3D nfo-set-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node:\=3D \|Ref:\\) *\\(" (if ... ... "") "\\) *[, \n=7F]"))) (catch (quote foo) = (when =3D (marker-position Info-tag-table-marker) (let* (... ...) (when found ... = ...=3D ...))) (goto-char (max (point-min) (- ... 1000))) (let ((pos ...)) = (when p=3D os (goto-char pos) (throw ... t))) (when (string-match "\\([^.]+\\)\\." = nod=3D ename) (let (Info-point-loc) (Info-find-node-2 filename ... = no-going-back n=3D omsg)) (widen) (throw (quote foo) t)) (error "No such node or anchor: = %s" n=3D odename)) (Info-select-node) (goto-char (point-min)) (forward-line 1) = (when=3D (and (not (fboundp ...)) Info-breadcrumbs-in-header-flag (> = Info-breadcrum=3D bs-depth 0)) (forward-line 1)) (cond (anchorpos (let (...) (setq = Info-histo=3D ry-list ...)) (goto-char anchorpos)) ((numberp Info-point-loc) = (forward-lin=3D e (- Info-point-loc 2)) (setq Info-point-loc nil)) ((stringp = Info-point-loc=3D ) (Info-find-index-name Info-point-loc) (setq Info-point-loc nil))))) = (when=3D (and (one-window-p t) (not (window-minibuffer-p)) (fboundp (quote = fit-fram=3D e)) Info-fit-frame-flag) (fit-frame))) (or Info-current-node = no-going-back =3D (null Info-history) (let ((hist (car Info-history))) (setq Info-history = (cd=3D r Info-history)) (Info-find-node (nth 0 hist) (nth 1 hist) t nomsg) = (goto-c=3D har (nth 2 hist))))) Info-find-node-2("c:/Emacs-24-2012-07-16/info/emacs" "Top" t nil) * Info-find-node("c:/Emacs-24-2012-07-16/info/emacs" "Top" t nil) (let ((hist (car Info-history))) (setq Info-history (cdr = Info-history)) (=3D Info-find-node (nth 0 hist) (nth 1 hist) t nomsg) (goto-char (nth 2 = hist))) * (or Info-current-node no-going-back (null Info-history) (let ((hist = (car =3D Info-history))) (setq Info-history (cdr Info-history)) (Info-find-node = (nth=3D 0 hist) (nth 1 hist) t nomsg) (goto-char (nth 2 hist)))) * signal(error ("No such node or anchor: Index for `ibuffer'")) * error("No such node or anchor: %s" "Index for `ibuffer'") * (catch (quote foo) (when (marker-position Info-tag-table-marker) (let* = ((=3D m Info-tag-table-marker) (found (Info-find-in-tag-table m regexp))) = (when f=3D ound (setq guesspos (nth 1 found)) (unless (eq (nth 2 found) (quote = Info-mo=3D de)) (setq guesspos (Info-read-subfile guesspos))) (when (nth 0 found) = (got=3D o-char (setq anchorpos guesspos)) (throw (quote foo) t))))) (goto-char = (max=3D (point-min) (- (byte-to-position guesspos) 1000))) (let ((pos = (Info-find-n=3D ode-in-buffer regexp))) (when pos (goto-char pos) (throw (quote foo) = t))) (=3D when (string-match "\\([^.]+\\)\\." nodename) (let (Info-point-loc) = (Info-f=3D ind-node-2 filename (match-string 1 nodename) no-going-back nomsg)) = (widen)=3D (throw (quote foo) t)) (error "No such node or anchor: %s" nodename)) * (let ((guesspos (point-min)) (regexp (concat "\\(Node:\\|Ref:\\) *\\(" = (i=3D f (stringp nodename) (regexp-quote nodename) "") "\\) *[, \n=7F]"))) = (catch (=3D quote foo) (when (marker-position Info-tag-table-marker) (let* ((m = Info-tag=3D -table-marker) (found (Info-find-in-tag-table m regexp))) (when found = (setq=3D guesspos (nth 1 found)) (unless (eq (nth 2 found) (quote Info-mode)) = (setq=3D guesspos (Info-read-subfile guesspos))) (when (nth 0 found) (goto-char = (se=3D tq anchorpos guesspos)) (throw (quote foo) t))))) (goto-char (max = (point-mi=3D n) (- (byte-to-position guesspos) 1000))) (let ((pos = (Info-find-node-in-buf=3D fer regexp))) (when pos (goto-char pos) (throw (quote foo) t))) (when = (stri=3D ng-match "\\([^.]+\\)\\." nodename) (let (Info-point-loc) = (Info-find-node-2=3D filename (match-string 1 nodename) no-going-back nomsg)) (widen) (throw = (q=3D uote foo) t)) (error "No such node or anchor: %s" nodename)) = (Info-select-n=3D ode) (goto-char (point-min)) (forward-line 1) (when (and (not (fboundp = (quo=3D te Info-breadcrumbs))) Info-breadcrumbs-in-header-flag (> = Info-breadcrumbs-=3D depth 0)) (forward-line 1)) (cond (anchorpos (let ((new-history (list = Info-=3D current-file (substring-no-properties nodename)))) (setq = Info-history-list =3D (cons new-history (delete new-history Info-history-list)))) (goto-char = anch=3D orpos)) ((numberp Info-point-loc) (forward-line (- Info-point-loc 2)) = (setq=3D Info-point-loc nil)) ((stringp Info-point-loc) (Info-find-index-name = Info-=3D point-loc) (setq Info-point-loc nil)))) * (if (string-equal nodename "*") (progn (setq Info-current-node = nodename) =3D (Info-set-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node=3D :\\|Ref:\\) *\\(" (if (stringp nodename) (regexp-quote nodename) "") = "\\) *=3D [, \n=7F]"))) (catch (quote foo) (when (marker-position = Info-tag-table-marker=3D ) (let* ((m Info-tag-table-marker) (found (Info-find-in-tag-table m = regexp)=3D )) (when found (setq guesspos (nth 1 found)) (unless (eq ... ...) (setq = gue=3D sspos ...)) (when (nth 0 found) (goto-char ...) (throw ... t))))) = (goto-cha=3D r (max (point-min) (- (byte-to-position guesspos) 1000))) (let ((pos = (Info-=3D find-node-in-buffer regexp))) (when pos (goto-char pos) (throw (quote = foo) =3D t))) (when (string-match "\\([^.]+\\)\\." nodename) (let = (Info-point-loc) (=3D Info-find-node-2 filename (match-string 1 nodename) no-going-back = nomsg)) (=3D widen) (throw (quote foo) t)) (error "No such node or anchor: %s" = nodename)=3D ) (Info-select-node) (goto-char (point-min)) (forward-line 1) (when (and = (n=3D ot (fboundp (quote Info-breadcrumbs))) Info-breadcrumbs-in-header-flag = (> I=3D nfo-breadcrumbs-depth 0)) (forward-line 1)) (cond (anchorpos (let = ((new-his=3D tory (list Info-current-file ...))) (setq Info-history-list (cons = new-histo=3D ry (delete new-history Info-history-list)))) (goto-char anchorpos)) = ((numbe=3D rp Info-point-loc) (forward-line (- Info-point-loc 2)) (setq = Info-point-loc=3D nil)) ((stringp Info-point-loc) (Info-find-index-name Info-point-loc) = (set=3D q Info-point-loc nil))))) * (let ((case-fold-search t) (virtual-fun (and (fboundp (quote = Info-virtual=3D -fun)) (Info-virtual-fun (quote find-node) (or filename = Info-current-file) =3D nodename))) anchorpos) (cond ((functionp virtual-fun) (let ((filename = (or f=3D ilename Info-current-file))) (setq buffer-read-only nil = Info-current-file f=3D ilename Info-current-subfile nil Info-current-file-completions nil = buffer-f=3D ile-name nil) (erase-buffer) (Info-virtual-call virtual-fun filename = nodena=3D me no-going-back) (set-marker Info-tag-table-marker nil) (setq = buffer-read-=3D only t) (set-buffer-modified-p nil) (set (make-local-variable (quote = Info-c=3D urrent-node-virtual)) t))) ((not (and (or (not (boundp ...)) (not = Info-curr=3D ent-node-virtual)) (or (null filename) (equal Info-current-file = filename)))=3D ) (let ((inhibit-read-only t)) (when (and (boundp (quote = Info-current-node-=3D virtual)) Info-current-node-virtual) (set (make-local-variable (quote = Info-=3D current-node-virtual)) nil) (unless filename (setq filename = Info-current-fi=3D le))) (setq Info-current-file nil Info-current-subfile nil = Info-current-fil=3D e-completions nil buffer-file-name nil) (erase-buffer) (cond ((eq = filename =3D t) (Info-insert-dir nomsg)) ((eq filename (quote apropos)) = (insert-buffer-s=3D ubstring " *info-apropos*")) ((eq filename (quote history)) = (insert-buffer-=3D substring " *info-history*")) ((eq filename (quote toc)) = (insert-buffer-sub=3D string " *info-toc*")) (t (info-insert-file-contents filename nil) (setq = de=3D fault-directory (file-name-directory filename)))) (set-buffer-modified-p = ni=3D l) (set (make-local-variable (quote Info-file-supports-index-cookies)) = (Inf=3D o-file-supports-index-cookies filename)) (goto-char (point-max)) = (forward-l=3D ine -8) (if (not (or (string-equal nodename "*") (not ...))) (let (pos) = (se=3D arch-backward "\nTag table:\n") (setq pos (point)) (if (save-excursion = ... =3D ...) (let ... ... ... ...) (set-marker Info-tag-table-marker pos))) = (set-ma=3D rker Info-tag-table-marker nil)) (setq Info-current-file filename)))) = (if (=3D string-equal nodename "*") (progn (setq Info-current-node nodename) = (Info-s=3D et-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node:\\|Ref=3D :\\) *\\(" (if (stringp nodename) (regexp-quote nodename) "") "\\) *[, = \n=7F]=3D "))) (catch (quote foo) (when (marker-position Info-tag-table-marker) = (let*=3D ((m Info-tag-table-marker) (found ...)) (when found (setq guesspos ...) = (u=3D nless ... ...) (when ... ... ...)))) (goto-char (max (point-min) (- = (byte-t=3D o-position guesspos) 1000))) (let ((pos (Info-find-node-in-buffer = regexp)))=3D (when pos (goto-char pos) (throw (quote foo) t))) (when (string-match = "\\(=3D [^.]+\\)\\." nodename) (let (Info-point-loc) (Info-find-node-2 filename = (ma=3D tch-string 1 nodename) no-going-back nomsg)) (widen) (throw (quote foo) = t))=3D (error "No such node or anchor: %s" nodename)) (Info-select-node) = (goto-ch=3D ar (point-min)) (forward-line 1) (when (and (not (fboundp (quote = Info-bread=3D crumbs))) Info-breadcrumbs-in-header-flag (> Info-breadcrumbs-depth 0)) = (fo=3D rward-line 1)) (cond (anchorpos (let ((new-history ...)) (setq = Info-history=3D -list (cons new-history ...))) (goto-char anchorpos)) ((numberp = Info-point-=3D loc) (forward-line (- Info-point-loc 2)) (setq Info-point-loc nil)) = ((strin=3D gp Info-point-loc) (Info-find-index-name Info-point-loc) (setq = Info-point-l=3D oc nil))))) (when (and (one-window-p t) (not (window-minibuffer-p)) = (fbound=3D p (quote fit-frame)) Info-fit-frame-flag) (fit-frame))) * (unwind-protect (let ((case-fold-search t) (virtual-fun (and (fboundp = (qu=3D ote Info-virtual-fun)) (Info-virtual-fun (quote find-node) (or filename = Inf=3D o-current-file) nodename))) anchorpos) (cond ((functionp virtual-fun) = (let =3D ((filename (or filename Info-current-file))) (setq buffer-read-only nil = Inf=3D o-current-file filename Info-current-subfile nil = Info-current-file-completi=3D ons nil buffer-file-name nil) (erase-buffer) (Info-virtual-call = virtual-fun=3D filename nodename no-going-back) (set-marker Info-tag-table-marker nil) = (s=3D etq buffer-read-only t) (set-buffer-modified-p nil) (set = (make-local-variab=3D le (quote Info-current-node-virtual)) t))) ((not (and (or (not ...) (not = In=3D fo-current-node-virtual)) (or (null filename) (equal Info-current-file = file=3D name)))) (let ((inhibit-read-only t)) (when (and (boundp ...) = Info-current-=3D node-virtual) (set (make-local-variable ...) nil) (unless filename (setq = fi=3D lename Info-current-file))) (setq Info-current-file nil = Info-current-subfil=3D e nil Info-current-file-completions nil buffer-file-name nil) = (erase-buffer=3D ) (cond ((eq filename t) (Info-insert-dir nomsg)) ((eq filename ...) = (inser=3D t-buffer-substring " *info-apropos*")) ((eq filename ...) = (insert-buffer-su=3D bstring " *info-history*")) ((eq filename ...) (insert-buffer-substring = " *=3D info-toc*")) (t (info-insert-file-contents filename nil) (setq = default-dire=3D ctory ...))) (set-buffer-modified-p nil) (set (make-local-variable = (quote I=3D nfo-file-supports-index-cookies)) (Info-file-supports-index-cookies = filenam=3D e)) (goto-char (point-max)) (forward-line -8) (if (not (or ... ...)) = (let (=3D pos) (search-backward "\nTag table:\n") (setq pos ...) (if ... ... ...)) = (s=3D et-marker Info-tag-table-marker nil)) (setq Info-current-file = filename)))) =3D (if (string-equal nodename "*") (progn (setq Info-current-node nodename) = (I=3D nfo-set-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node:\=3D \|Ref:\\) *\\(" (if ... ... "") "\\) *[, \n=7F]"))) (catch (quote foo) = (when =3D (marker-position Info-tag-table-marker) (let* (... ...) (when found ... = ...=3D ...))) (goto-char (max (point-min) (- ... 1000))) (let ((pos ...)) = (when p=3D os (goto-char pos) (throw ... t))) (when (string-match "\\([^.]+\\)\\." = nod=3D ename) (let (Info-point-loc) (Info-find-node-2 filename ... = no-going-back n=3D omsg)) (widen) (throw (quote foo) t)) (error "No such node or anchor: = %s" n=3D odename)) (Info-select-node) (goto-char (point-min)) (forward-line 1) = (when=3D (and (not (fboundp ...)) Info-breadcrumbs-in-header-flag (> = Info-breadcrum=3D bs-depth 0)) (forward-line 1)) (cond (anchorpos (let (...) (setq = Info-histo=3D ry-list ...)) (goto-char anchorpos)) ((numberp Info-point-loc) = (forward-lin=3D e (- Info-point-loc 2)) (setq Info-point-loc nil)) ((stringp = Info-point-loc=3D ) (Info-find-index-name Info-point-loc) (setq Info-point-loc nil))))) = (when=3D (and (one-window-p t) (not (window-minibuffer-p)) (fboundp (quote = fit-fram=3D e)) Info-fit-frame-flag) (fit-frame))) (or Info-current-node = no-going-back =3D (null Info-history) (let ((hist (car Info-history))) (setq Info-history = (cd=3D r Info-history)) (Info-find-node (nth 0 hist) (nth 1 hist) t nomsg) = (goto-c=3D har (nth 2 hist))))) Info-find-node-2("*Indexed*" "Index for `ibuffer'" nil nil) * Info-find-node("*Indexed*" "Index for `ibuffer'") Info-index-entries-across-manuals("ibuffer" ("emacs" "elisp") nil) =20 ----------------------------------------------------------------- Emacs 24.1: =20 Debugger entered--returning value: t info-file-exists-p("c:/Emacs-24.1/info/emacs") * info-insert-file-contents("c:/Emacs-24.1/info/emacs" nil) * (cond ((eq filename t) (Info-insert-dir nomsg)) ((eq filename (quote = apro=3D pos)) (insert-buffer-substring " *info-apropos*")) ((eq filename (quote = his=3D tory)) (insert-buffer-substring " *info-history*")) ((eq filename (quote = to=3D c)) (insert-buffer-substring " *info-toc*")) (t = (info-insert-file-contents =3D filename nil) (setq default-directory (file-name-directory filename)))) * (let ((inhibit-read-only t)) (when (and (boundp (quote = Info-current-node-=3D virtual)) Info-current-node-virtual) (set (make-local-variable (quote = Info-=3D current-node-virtual)) nil) (unless filename (setq filename = Info-current-fi=3D le))) (setq Info-current-file nil Info-current-subfile nil = Info-current-fil=3D e-completions nil buffer-file-name nil) (erase-buffer) (cond ((eq = filename =3D t) (Info-insert-dir nomsg)) ((eq filename (quote apropos)) = (insert-buffer-s=3D ubstring " *info-apropos*")) ((eq filename (quote history)) = (insert-buffer-=3D substring " *info-history*")) ((eq filename (quote toc)) = (insert-buffer-sub=3D string " *info-toc*")) (t (info-insert-file-contents filename nil) (setq = de=3D fault-directory (file-name-directory filename)))) (set-buffer-modified-p = ni=3D l) (set (make-local-variable (quote Info-file-supports-index-cookies)) = (Inf=3D o-file-supports-index-cookies filename)) (goto-char (point-max)) = (forward-l=3D ine -8) (if (not (or (string-equal nodename "*") (not (search-forward = "=3D1F\=3D nEnd tag table\n" nil t)))) (let (pos) (search-backward "\nTag = table:\n") (=3D setq pos (point)) (if (save-excursion (forward-line 2) (looking-at = "(Indire=3D ct)\n")) (let ((buf (current-buffer)) (tagbuf (or Info-tag-table-buffer = ...=3D ))) (setq Info-tag-table-buffer tagbuf) (with-current-buffer tagbuf = (buffer=3D -disable-undo (current-buffer)) (setq case-fold-search t) (erase-buffer) = (i=3D nsert-buffer-substring buf)) (set-marker Info-tag-table-marker = (match-end 0=3D ) tagbuf)) (set-marker Info-tag-table-marker pos))) (set-marker = Info-tag-ta=3D ble-marker nil)) (setq Info-current-file filename)) * (cond ((functionp virtual-fun) (let ((filename (or filename = Info-current-=3D file))) (setq buffer-read-only nil Info-current-file filename = Info-current-=3D subfile nil Info-current-file-completions nil buffer-file-name nil) = (erase-=3D buffer) (Info-virtual-call virtual-fun filename nodename no-going-back) = (se=3D t-marker Info-tag-table-marker nil) (setq buffer-read-only t) = (set-buffer-m=3D odified-p nil) (set (make-local-variable (quote = Info-current-node-virtual))=3D t))) ((not (and (or (not (boundp (quote Info-current-node-virtual))) = (not =3D Info-current-node-virtual)) (or (null filename) (equal Info-current-file = fi=3D lename)))) (let ((inhibit-read-only t)) (when (and (boundp (quote = Info-curr=3D ent-node-virtual)) Info-current-node-virtual) (set (make-local-variable = (qu=3D ote Info-current-node-virtual)) nil) (unless filename (setq filename = Info-c=3D urrent-file))) (setq Info-current-file nil Info-current-subfile nil = Info-cu=3D rrent-file-completions nil buffer-file-name nil) (erase-buffer) (cond = ((eq =3D filename t) (Info-insert-dir nomsg)) ((eq filename (quote apropos)) = (insert=3D -buffer-substring " *info-apropos*")) ((eq filename (quote history)) = (inser=3D t-buffer-substring " *info-history*")) ((eq filename (quote toc)) = (insert-b=3D uffer-substring " *info-toc*")) (t (info-insert-file-contents filename = nil)=3D (setq default-directory (file-name-directory filename)))) = (set-buffer-modi=3D fied-p nil) (set (make-local-variable (quote = Info-file-supports-index-cooki=3D es)) (Info-file-supports-index-cookies filename)) (goto-char = (point-max)) (=3D forward-line -8) (if (not (or (string-equal nodename "*") (not = (search-forw=3D ard "=3D1F\nEnd tag table\n" nil t)))) (let (pos) (search-backward = "\nTag tab=3D le:\n") (setq pos (point)) (if (save-excursion (forward-line 2) = (looking-at=3D "(Indirect)\n")) (let (... ...) (setq Info-tag-table-buffer tagbuf) = (with-=3D current-buffer tagbuf ... ... ... ...) (set-marker Info-tag-table-marker = ..=3D . tagbuf)) (set-marker Info-tag-table-marker pos))) (set-marker = Info-tag-ta=3D ble-marker nil)) (setq Info-current-file filename)))) * (let ((case-fold-search t) (virtual-fun (and (fboundp (quote = Info-virtual=3D -fun)) (Info-virtual-fun (quote find-node) (or filename = Info-current-file) =3D nodename))) anchorpos) (cond ((functionp virtual-fun) (let ((filename = (or f=3D ilename Info-current-file))) (setq buffer-read-only nil = Info-current-file f=3D ilename Info-current-subfile nil Info-current-file-completions nil = buffer-f=3D ile-name nil) (erase-buffer) (Info-virtual-call virtual-fun filename = nodena=3D me no-going-back) (set-marker Info-tag-table-marker nil) (setq = buffer-read-=3D only t) (set-buffer-modified-p nil) (set (make-local-variable (quote = Info-c=3D urrent-node-virtual)) t))) ((not (and (or (not (boundp ...)) (not = Info-curr=3D ent-node-virtual)) (or (null filename) (equal Info-current-file = filename)))=3D ) (let ((inhibit-read-only t)) (when (and (boundp (quote = Info-current-node-=3D virtual)) Info-current-node-virtual) (set (make-local-variable (quote = Info-=3D current-node-virtual)) nil) (unless filename (setq filename = Info-current-fi=3D le))) (setq Info-current-file nil Info-current-subfile nil = Info-current-fil=3D e-completions nil buffer-file-name nil) (erase-buffer) (cond ((eq = filename =3D t) (Info-insert-dir nomsg)) ((eq filename (quote apropos)) = (insert-buffer-s=3D ubstring " *info-apropos*")) ((eq filename (quote history)) = (insert-buffer-=3D substring " *info-history*")) ((eq filename (quote toc)) = (insert-buffer-sub=3D string " *info-toc*")) (t (info-insert-file-contents filename nil) (setq = de=3D fault-directory (file-name-directory filename)))) (set-buffer-modified-p = ni=3D l) (set (make-local-variable (quote Info-file-supports-index-cookies)) = (Inf=3D o-file-supports-index-cookies filename)) (goto-char (point-max)) = (forward-l=3D ine -8) (if (not (or (string-equal nodename "*") (not ...))) (let (pos) = (se=3D arch-backward "\nTag table:\n") (setq pos (point)) (if (save-excursion = ... =3D ...) (let ... ... ... ...) (set-marker Info-tag-table-marker pos))) = (set-ma=3D rker Info-tag-table-marker nil)) (setq Info-current-file filename)))) = (if (=3D string-equal nodename "*") (progn (setq Info-current-node nodename) = (Info-s=3D et-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node:\\|Ref=3D :\\) *\\(" (if (stringp nodename) (regexp-quote nodename) "") "\\) *[, = \n=7F]=3D "))) (catch (quote foo) (when (marker-position Info-tag-table-marker) = (let*=3D ((m Info-tag-table-marker) (found ...)) (when found (setq guesspos ...) = (u=3D nless ... ...) (when ... ... ...)))) (goto-char (max (point-min) (- = (byte-t=3D o-position guesspos) 1000))) (let ((pos (Info-find-node-in-buffer = regexp)))=3D (when pos (goto-char pos) (throw (quote foo) t))) (when (string-match = "\\(=3D [^.]+\\)\\." nodename) (let (Info-point-loc) (Info-find-node-2 filename = (ma=3D tch-string 1 nodename) no-going-back nomsg)) (widen) (throw (quote foo) = t))=3D (error "No such node or anchor: %s" nodename)) (Info-select-node) = (goto-ch=3D ar (point-min)) (forward-line 1) (when (and (not (fboundp (quote = Info-bread=3D crumbs))) Info-breadcrumbs-in-header-flag (> Info-breadcrumbs-depth 0)) = (fo=3D rward-line 1)) (cond (anchorpos (let ((new-history ...)) (setq = Info-history=3D -list (cons new-history ...))) (goto-char anchorpos)) ((numberp = Info-point-=3D loc) (forward-line (- Info-point-loc 2)) (setq Info-point-loc nil)) = ((strin=3D gp Info-point-loc) (Info-find-index-name Info-point-loc) (setq = Info-point-l=3D oc nil))))) (when (and (one-window-p t) (not (window-minibuffer-p)) = (fbound=3D p (quote fit-frame)) Info-fit-frame-flag) (fit-frame))) * (unwind-protect (let ((case-fold-search t) (virtual-fun (and (fboundp = (qu=3D ote Info-virtual-fun)) (Info-virtual-fun (quote find-node) (or filename = Inf=3D o-current-file) nodename))) anchorpos) (cond ((functionp virtual-fun) = (let =3D ((filename (or filename Info-current-file))) (setq buffer-read-only nil = Inf=3D o-current-file filename Info-current-subfile nil = Info-current-file-completi=3D ons nil buffer-file-name nil) (erase-buffer) (Info-virtual-call = virtual-fun=3D filename nodename no-going-back) (set-marker Info-tag-table-marker nil) = (s=3D etq buffer-read-only t) (set-buffer-modified-p nil) (set = (make-local-variab=3D le (quote Info-current-node-virtual)) t))) ((not (and (or (not ...) (not = In=3D fo-current-node-virtual)) (or (null filename) (equal Info-current-file = file=3D name)))) (let ((inhibit-read-only t)) (when (and (boundp ...) = Info-current-=3D node-virtual) (set (make-local-variable ...) nil) (unless filename (setq = fi=3D lename Info-current-file))) (setq Info-current-file nil = Info-current-subfil=3D e nil Info-current-file-completions nil buffer-file-name nil) = (erase-buffer=3D ) (cond ((eq filename t) (Info-insert-dir nomsg)) ((eq filename ...) = (inser=3D t-buffer-substring " *info-apropos*")) ((eq filename ...) = (insert-buffer-su=3D bstring " *info-history*")) ((eq filename ...) (insert-buffer-substring = " *=3D info-toc*")) (t (info-insert-file-contents filename nil) (setq = default-dire=3D ctory ...))) (set-buffer-modified-p nil) (set (make-local-variable = (quote I=3D nfo-file-supports-index-cookies)) (Info-file-supports-index-cookies = filenam=3D e)) (goto-char (point-max)) (forward-line -8) (if (not (or ... ...)) = (let (=3D pos) (search-backward "\nTag table:\n") (setq pos ...) (if ... ... ...)) = (s=3D et-marker Info-tag-table-marker nil)) (setq Info-current-file = filename)))) =3D (if (string-equal nodename "*") (progn (setq Info-current-node nodename) = (I=3D nfo-set-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node:\=3D \|Ref:\\) *\\(" (if ... ... "") "\\) *[, \n=7F]"))) (catch (quote foo) = (when =3D (marker-position Info-tag-table-marker) (let* (... ...) (when found ... = ...=3D ...))) (goto-char (max (point-min) (- ... 1000))) (let ((pos ...)) = (when p=3D os (goto-char pos) (throw ... t))) (when (string-match "\\([^.]+\\)\\." = nod=3D ename) (let (Info-point-loc) (Info-find-node-2 filename ... = no-going-back n=3D omsg)) (widen) (throw (quote foo) t)) (error "No such node or anchor: = %s" n=3D odename)) (Info-select-node) (goto-char (point-min)) (forward-line 1) = (when=3D (and (not (fboundp ...)) Info-breadcrumbs-in-header-flag (> = Info-breadcrum=3D bs-depth 0)) (forward-line 1)) (cond (anchorpos (let (...) (setq = Info-histo=3D ry-list ...)) (goto-char anchorpos)) ((numberp Info-point-loc) = (forward-lin=3D e (- Info-point-loc 2)) (setq Info-point-loc nil)) ((stringp = Info-point-loc=3D ) (Info-find-index-name Info-point-loc) (setq Info-point-loc nil))))) = (when=3D (and (one-window-p t) (not (window-minibuffer-p)) (fboundp (quote = fit-fram=3D e)) Info-fit-frame-flag) (fit-frame))) (or Info-current-node = no-going-back =3D (null Info-history) (let ((hist (car Info-history))) (setq Info-history = (cd=3D r Info-history)) (Info-find-node (nth 0 hist) (nth 1 hist) t nomsg) = (goto-c=3D har (nth 2 hist))))) Info-find-node-2("c:/Emacs-24.1/info/emacs" "Top" t nil) * Info-find-node("c:/Emacs-24.1/info/emacs" "Top" t nil) (let ((hist (car Info-history))) (setq Info-history (cdr = Info-history)) (=3D Info-find-node (nth 0 hist) (nth 1 hist) t nomsg) (goto-char (nth 2 = hist))) (or Info-current-node no-going-back (null Info-history) (let ((hist = (car =3D Info-history))) (setq Info-history (cdr Info-history)) (Info-find-node = (nth=3D 0 hist) (nth 1 hist) t nomsg) (goto-char (nth 2 hist)))) * signal(error ("No such node or anchor: Index for `ibuffer'")) * error("No such node or anchor: %s" "Index for `ibuffer'") * (catch (quote foo) (when (marker-position Info-tag-table-marker) (let* = ((=3D m Info-tag-table-marker) (found (Info-find-in-tag-table m regexp))) = (when f=3D ound (setq guesspos (nth 1 found)) (unless (eq (nth 2 found) (quote = Info-mo=3D de)) (setq guesspos (Info-read-subfile guesspos))) (when (nth 0 found) = (got=3D o-char (setq anchorpos guesspos)) (throw (quote foo) t))))) (goto-char = (max=3D (point-min) (- (byte-to-position guesspos) 1000))) (let ((pos = (Info-find-n=3D ode-in-buffer regexp))) (when pos (goto-char pos) (throw (quote foo) = t))) (=3D when (string-match "\\([^.]+\\)\\." nodename) (let (Info-point-loc) = (Info-f=3D ind-node-2 filename (match-string 1 nodename) no-going-back nomsg)) = (widen)=3D (throw (quote foo) t)) (error "No such node or anchor: %s" nodename)) * (let ((guesspos (point-min)) (regexp (concat "\\(Node:\\|Ref:\\) *\\(" = (i=3D f (stringp nodename) (regexp-quote nodename) "") "\\) *[, \n=7F]"))) = (catch (=3D quote foo) (when (marker-position Info-tag-table-marker) (let* ((m = Info-tag=3D -table-marker) (found (Info-find-in-tag-table m regexp))) (when found = (setq=3D guesspos (nth 1 found)) (unless (eq (nth 2 found) (quote Info-mode)) = (setq=3D guesspos (Info-read-subfile guesspos))) (when (nth 0 found) (goto-char = (se=3D tq anchorpos guesspos)) (throw (quote foo) t))))) (goto-char (max = (point-mi=3D n) (- (byte-to-position guesspos) 1000))) (let ((pos = (Info-find-node-in-buf=3D fer regexp))) (when pos (goto-char pos) (throw (quote foo) t))) (when = (stri=3D ng-match "\\([^.]+\\)\\." nodename) (let (Info-point-loc) = (Info-find-node-2=3D filename (match-string 1 nodename) no-going-back nomsg)) (widen) (throw = (q=3D uote foo) t)) (error "No such node or anchor: %s" nodename)) = (Info-select-n=3D ode) (goto-char (point-min)) (forward-line 1) (when (and (not (fboundp = (quo=3D te Info-breadcrumbs))) Info-breadcrumbs-in-header-flag (> = Info-breadcrumbs-=3D depth 0)) (forward-line 1)) (cond (anchorpos (let ((new-history (list = Info-=3D current-file (substring-no-properties nodename)))) (setq = Info-history-list =3D (cons new-history (delete new-history Info-history-list)))) (goto-char = anch=3D orpos)) ((numberp Info-point-loc) (forward-line (- Info-point-loc 2)) = (setq=3D Info-point-loc nil)) ((stringp Info-point-loc) (Info-find-index-name = Info-=3D point-loc) (setq Info-point-loc nil)))) * (if (string-equal nodename "*") (progn (setq Info-current-node = nodename) =3D (Info-set-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node=3D :\\|Ref:\\) *\\(" (if (stringp nodename) (regexp-quote nodename) "") = "\\) *=3D [, \n=7F]"))) (catch (quote foo) (when (marker-position = Info-tag-table-marker=3D ) (let* ((m Info-tag-table-marker) (found (Info-find-in-tag-table m = regexp)=3D )) (when found (setq guesspos (nth 1 found)) (unless (eq ... ...) (setq = gue=3D sspos ...)) (when (nth 0 found) (goto-char ...) (throw ... t))))) = (goto-cha=3D r (max (point-min) (- (byte-to-position guesspos) 1000))) (let ((pos = (Info-=3D find-node-in-buffer regexp))) (when pos (goto-char pos) (throw (quote = foo) =3D t))) (when (string-match "\\([^.]+\\)\\." nodename) (let = (Info-point-loc) (=3D Info-find-node-2 filename (match-string 1 nodename) no-going-back = nomsg)) (=3D widen) (throw (quote foo) t)) (error "No such node or anchor: %s" = nodename)=3D ) (Info-select-node) (goto-char (point-min)) (forward-line 1) (when (and = (n=3D ot (fboundp (quote Info-breadcrumbs))) Info-breadcrumbs-in-header-flag = (> I=3D nfo-breadcrumbs-depth 0)) (forward-line 1)) (cond (anchorpos (let = ((new-his=3D tory (list Info-current-file ...))) (setq Info-history-list (cons = new-histo=3D ry (delete new-history Info-history-list)))) (goto-char anchorpos)) = ((numbe=3D rp Info-point-loc) (forward-line (- Info-point-loc 2)) (setq = Info-point-loc=3D nil)) ((stringp Info-point-loc) (Info-find-index-name Info-point-loc) = (set=3D q Info-point-loc nil))))) * (let ((case-fold-search t) (virtual-fun (and (fboundp (quote = Info-virtual=3D -fun)) (Info-virtual-fun (quote find-node) (or filename = Info-current-file) =3D nodename))) anchorpos) (cond ((functionp virtual-fun) (let ((filename = (or f=3D ilename Info-current-file))) (setq buffer-read-only nil = Info-current-file f=3D ilename Info-current-subfile nil Info-current-file-completions nil = buffer-f=3D ile-name nil) (erase-buffer) (Info-virtual-call virtual-fun filename = nodena=3D me no-going-back) (set-marker Info-tag-table-marker nil) (setq = buffer-read-=3D only t) (set-buffer-modified-p nil) (set (make-local-variable (quote = Info-c=3D urrent-node-virtual)) t))) ((not (and (or (not (boundp ...)) (not = Info-curr=3D ent-node-virtual)) (or (null filename) (equal Info-current-file = filename)))=3D ) (let ((inhibit-read-only t)) (when (and (boundp (quote = Info-current-node-=3D virtual)) Info-current-node-virtual) (set (make-local-variable (quote = Info-=3D current-node-virtual)) nil) (unless filename (setq filename = Info-current-fi=3D le))) (setq Info-current-file nil Info-current-subfile nil = Info-current-fil=3D e-completions nil buffer-file-name nil) (erase-buffer) (cond ((eq = filename =3D t) (Info-insert-dir nomsg)) ((eq filename (quote apropos)) = (insert-buffer-s=3D ubstring " *info-apropos*")) ((eq filename (quote history)) = (insert-buffer-=3D substring " *info-history*")) ((eq filename (quote toc)) = (insert-buffer-sub=3D string " *info-toc*")) (t (info-insert-file-contents filename nil) (setq = de=3D fault-directory (file-name-directory filename)))) (set-buffer-modified-p = ni=3D l) (set (make-local-variable (quote Info-file-supports-index-cookies)) = (Inf=3D o-file-supports-index-cookies filename)) (goto-char (point-max)) = (forward-l=3D ine -8) (if (not (or (string-equal nodename "*") (not ...))) (let (pos) = (se=3D arch-backward "\nTag table:\n") (setq pos (point)) (if (save-excursion = ... =3D ...) (let ... ... ... ...) (set-marker Info-tag-table-marker pos))) = (set-ma=3D rker Info-tag-table-marker nil)) (setq Info-current-file filename)))) = (if (=3D string-equal nodename "*") (progn (setq Info-current-node nodename) = (Info-s=3D et-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node:\\|Ref=3D :\\) *\\(" (if (stringp nodename) (regexp-quote nodename) "") "\\) *[, = \n=7F]=3D "))) (catch (quote foo) (when (marker-position Info-tag-table-marker) = (let*=3D ((m Info-tag-table-marker) (found ...)) (when found (setq guesspos ...) = (u=3D nless ... ...) (when ... ... ...)))) (goto-char (max (point-min) (- = (byte-t=3D o-position guesspos) 1000))) (let ((pos (Info-find-node-in-buffer = regexp)))=3D (when pos (goto-char pos) (throw (quote foo) t))) (when (string-match = "\\(=3D [^.]+\\)\\." nodename) (let (Info-point-loc) (Info-find-node-2 filename = (ma=3D tch-string 1 nodename) no-going-back nomsg)) (widen) (throw (quote foo) = t))=3D (error "No such node or anchor: %s" nodename)) (Info-select-node) = (goto-ch=3D ar (point-min)) (forward-line 1) (when (and (not (fboundp (quote = Info-bread=3D crumbs))) Info-breadcrumbs-in-header-flag (> Info-breadcrumbs-depth 0)) = (fo=3D rward-line 1)) (cond (anchorpos (let ((new-history ...)) (setq = Info-history=3D -list (cons new-history ...))) (goto-char anchorpos)) ((numberp = Info-point-=3D loc) (forward-line (- Info-point-loc 2)) (setq Info-point-loc nil)) = ((strin=3D gp Info-point-loc) (Info-find-index-name Info-point-loc) (setq = Info-point-l=3D oc nil))))) (when (and (one-window-p t) (not (window-minibuffer-p)) = (fbound=3D p (quote fit-frame)) Info-fit-frame-flag) (fit-frame))) * (unwind-protect (let ((case-fold-search t) (virtual-fun (and (fboundp = (qu=3D ote Info-virtual-fun)) (Info-virtual-fun (quote find-node) (or filename = Inf=3D o-current-file) nodename))) anchorpos) (cond ((functionp virtual-fun) = (let =3D ((filename (or filename Info-current-file))) (setq buffer-read-only nil = Inf=3D o-current-file filename Info-current-subfile nil = Info-current-file-completi=3D ons nil buffer-file-name nil) (erase-buffer) (Info-virtual-call = virtual-fun=3D filename nodename no-going-back) (set-marker Info-tag-table-marker nil) = (s=3D etq buffer-read-only t) (set-buffer-modified-p nil) (set = (make-local-variab=3D le (quote Info-current-node-virtual)) t))) ((not (and (or (not ...) (not = In=3D fo-current-node-virtual)) (or (null filename) (equal Info-current-file = file=3D name)))) (let ((inhibit-read-only t)) (when (and (boundp ...) = Info-current-=3D node-virtual) (set (make-local-variable ...) nil) (unless filename (setq = fi=3D lename Info-current-file))) (setq Info-current-file nil = Info-current-subfil=3D e nil Info-current-file-completions nil buffer-file-name nil) = (erase-buffer=3D ) (cond ((eq filename t) (Info-insert-dir nomsg)) ((eq filename ...) = (inser=3D t-buffer-substring " *info-apropos*")) ((eq filename ...) = (insert-buffer-su=3D bstring " *info-history*")) ((eq filename ...) (insert-buffer-substring = " *=3D info-toc*")) (t (info-insert-file-contents filename nil) (setq = default-dire=3D ctory ...))) (set-buffer-modified-p nil) (set (make-local-variable = (quote I=3D nfo-file-supports-index-cookies)) (Info-file-supports-index-cookies = filenam=3D e)) (goto-char (point-max)) (forward-line -8) (if (not (or ... ...)) = (let (=3D pos) (search-backward "\nTag table:\n") (setq pos ...) (if ... ... ...)) = (s=3D et-marker Info-tag-table-marker nil)) (setq Info-current-file = filename)))) =3D (if (string-equal nodename "*") (progn (setq Info-current-node nodename) = (I=3D nfo-set-mode-line)) (let ((guesspos (point-min)) (regexp (concat = "\\(Node:\=3D \|Ref:\\) *\\(" (if ... ... "") "\\) *[, \n=7F]"))) (catch (quote foo) = (when =3D (marker-position Info-tag-table-marker) (let* (... ...) (when found ... = ...=3D ...))) (goto-char (max (point-min) (- ... 1000))) (let ((pos ...)) = (when p=3D os (goto-char pos) (throw ... t))) (when (string-match "\\([^.]+\\)\\." = nod=3D ename) (let (Info-point-loc) (Info-find-node-2 filename ... = no-going-back n=3D omsg)) (widen) (throw (quote foo) t)) (error "No such node or anchor: = %s" n=3D odename)) (Info-select-node) (goto-char (point-min)) (forward-line 1) = (when=3D (and (not (fboundp ...)) Info-breadcrumbs-in-header-flag (> = Info-breadcrum=3D bs-depth 0)) (forward-line 1)) (cond (anchorpos (let (...) (setq = Info-histo=3D ry-list ...)) (goto-char anchorpos)) ((numberp Info-point-loc) = (forward-lin=3D e (- Info-point-loc 2)) (setq Info-point-loc nil)) ((stringp = Info-point-loc=3D ) (Info-find-index-name Info-point-loc) (setq Info-point-loc nil))))) = (when=3D (and (one-window-p t) (not (window-minibuffer-p)) (fboundp (quote = fit-fram=3D e)) Info-fit-frame-flag) (fit-frame))) (or Info-current-node = no-going-back =3D (null Info-history) (let ((hist (car Info-history))) (setq Info-history = (cd=3D r Info-history)) (Info-find-node (nth 0 hist) (nth 1 hist) t nomsg) = (goto-c=3D har (nth 2 hist))))) Info-find-node-2("*Indexed*" "Index for `ibuffer'" nil nil) * Info-find-node("*Indexed*" "Index for `ibuffer'") Info-index-entries-across-manuals("ibuffer" ("emacs" "elisp") nil) =20 ----------------------------------------------------------------- =20 In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600) of 2012-07-16 on MARVIN Bzr revision: 109106 fabian@anue.biz-20120716171839-0dv19ib9h6vfggfn Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' =20 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 14:36:41 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 18:36:41 +0000 Received: from localhost ([127.0.0.1]:52838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsI47-0004TS-FC for submit@debbugs.gnu.org; Fri, 20 Jul 2012 14:36:41 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:35704) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsI45-0004TK-72 for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 14:36:38 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Wf1086NTJz4KKQN; Fri, 20 Jul 2012 20:31:52 +0200 (CEST) X-Auth-Info: t/BY4JHstc0sSzZ4Oi+5ew5e/6/K4ahGgdfFkKVGJL8= Received: from igel.home (ppp-93-104-154-45.dynamic.mnet-online.de [93.104.154.45]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Wf0yK1Mr5zbbhb; Fri, 20 Jul 2012 20:30:17 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id CE822CA2A2; Fri, 20 Jul 2012 20:30:16 +0200 (CEST) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' References: X-Yow: I just had my entire INTESTINAL TRACT coated with TEFLON! Date: Fri, 20 Jul 2012 20:30:16 +0200 In-Reply-To: (Drew Adams's message of "Fri, 20 Jul 2012 09:13:22 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) "Drew Adams" writes: > The code does exactly the same thing, step by step. But when > `info-insert-file-contents' is called in the 7/16 build it returns nil > instead of t info-insert-file-contents doesn't return a boolean (in fact it doesn't return any useful value at all). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 14:52:06 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 18:52:06 +0000 Received: from localhost ([127.0.0.1]:52861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsIJ3-0004qd-Bd for submit@debbugs.gnu.org; Fri, 20 Jul 2012 14:52:05 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:26972) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsIJ0-0004q1-Fo for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 14:52:03 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6KIjfAS009264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Jul 2012 18:45:42 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6KIje33022261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2012 18:45:41 GMT Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6KIjeFP025059; Fri, 20 Jul 2012 13:45:40 -0500 Received: from dradamslap1 (/10.159.80.190) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jul 2012 11:45:40 -0700 From: "Drew Adams" To: "'Andreas Schwab'" References: Subject: RE: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Fri, 20 Jul 2012 11:45:33 -0700 Message-ID: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac1mpbg5XWQcJ+PeSn6WtkXf8TzrdAAAcesQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > The code does exactly the same thing, step by step. But when > > `info-insert-file-contents' is called in the 7/16 build it > > returns nil instead of t > > info-insert-file-contents doesn't return a boolean (in fact it doesn't > return any useful value at all). Look at the two backtraces. Contrast their first lines. It should be clear that I meant `info-file-exists-p', not `info-insert-file-contents'. This is the problem - there is no such file: info-file-exists-p("c:/Emacs-24-2012-07-16/info/emacs") From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 15:25:55 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 19:25:55 +0000 Received: from localhost ([127.0.0.1]:52914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsIpk-0005c4-JJ for submit@debbugs.gnu.org; Fri, 20 Jul 2012 15:25:54 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:51236) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsIph-0005bw-EP for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 15:25:50 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Wf2555kgLz3hhZt; Fri, 20 Jul 2012 21:21:13 +0200 (CEST) X-Auth-Info: c21IMRZenC/ymYnhQcwf4d49pBNy/rp00t89VNgm6hs= Received: from igel.home (ppp-93-104-154-45.dynamic.mnet-online.de [93.104.154.45]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Wf2355nCQzbbhd; Fri, 20 Jul 2012 21:19:29 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 73A83CA2A2; Fri, 20 Jul 2012 21:19:29 +0200 (CEST) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> X-Yow: Is this ANYWHERE, USA? Date: Fri, 20 Jul 2012 21:19:29 +0200 In-Reply-To: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> (Drew Adams's message of "Fri, 20 Jul 2012 11:45:33 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) "Drew Adams" writes: >> > The code does exactly the same thing, step by step. But when >> > `info-insert-file-contents' is called in the 7/16 build it >> > returns nil instead of t >> >> info-insert-file-contents doesn't return a boolean (in fact it doesn't >> return any useful value at all). > > Look at the two backtraces. Contrast their first lines. > > It should be clear that I meant `info-file-exists-p', not > `info-insert-file-contents'. Neither of which makes sense in the context of the bug report, so I had to take your description literally. > This is the problem - there is no such file: > > info-file-exists-p("c:/Emacs-24-2012-07-16/info/emacs") Thus info-file-exists-p correctly returns nil. What is the problem? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 16:10:25 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 20:10:25 +0000 Received: from localhost ([127.0.0.1]:52984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsJWr-0006db-Ea for submit@debbugs.gnu.org; Fri, 20 Jul 2012 16:10:25 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:43531) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsJWp-0006dT-7L for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 16:10:23 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6KK41UP005618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Jul 2012 20:04:02 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6KK40gB008475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2012 20:04:01 GMT Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6KK407u005373; Fri, 20 Jul 2012 15:04:00 -0500 Received: from dradamslap1 (/10.159.80.190) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jul 2012 13:04:00 -0700 From: "Drew Adams" To: "'Andreas Schwab'" References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> Subject: RE: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Fri, 20 Jul 2012 13:03:55 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac1mrJfAxOXy0A/MQWKDk167zHX63wABYZmw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > This is the problem - there is no such file: > > info-file-exists-p("c:/Emacs-24-2012-07-16/info/emacs") > > Thus info-file-exists-p correctly returns nil. What is the problem? This Emacs code still expects the Emacs Info file to have no suffix - it does not look for a file named with a suffix. But Emacs Dev has changed the file names now so that they do have a suffix. Emacs thus cannot find the Info files that Emacs Dev provides. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 16:14:44 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 20:14:44 +0000 Received: from localhost ([127.0.0.1]:52990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsJb0-0006jQ-W1 for submit@debbugs.gnu.org; Fri, 20 Jul 2012 16:14:43 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:55848) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsJaz-0006jJ-8s for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 16:14:42 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Wf39J4dGpz4KK3Z; Fri, 20 Jul 2012 22:09:56 +0200 (CEST) X-Auth-Info: WpQWGtHWs/ebswX76MPSGFxEHXCQi/+mFAmcJZ5cVZM= Received: from igel.home (ppp-93-104-154-45.dynamic.mnet-online.de [93.104.154.45]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Wf37S52g4zbbhP; Fri, 20 Jul 2012 22:08:20 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 1BBF3CA2A2; Fri, 20 Jul 2012 22:08:19 +0200 (CEST) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> X-Yow: Why was I BORN? Date: Fri, 20 Jul 2012 22:08:19 +0200 In-Reply-To: (Drew Adams's message of "Fri, 20 Jul 2012 13:03:55 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) "Drew Adams" writes: > This Emacs code still expects the Emacs Info file to have no suffix - it does > not look for a file named with a suffix. Why do you think so? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 16:16:02 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 20:16:02 +0000 Received: from localhost ([127.0.0.1]:52995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsJcI-0006lb-3x for submit@debbugs.gnu.org; Fri, 20 Jul 2012 16:16:02 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:41930) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsJcF-0006lQ-NG for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 16:16:00 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6KK9cEv011157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Jul 2012 20:09:39 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6KK9bX6005857 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2012 20:09:38 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6KK9bVt010588; Fri, 20 Jul 2012 15:09:37 -0500 Received: from dradamslap1 (/10.159.80.190) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jul 2012 13:09:37 -0700 From: "Drew Adams" To: "'Andreas Schwab'" References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> Subject: RE: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Fri, 20 Jul 2012 13:09:32 -0700 Message-ID: <8C5C1A2810CA48EEBCF25EE0FFCA7E98@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac1ms2rD9s0R4KI9Qxinb6WWr8iGUQAAB41A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > This Emacs code still expects the Emacs Info file to have > > no suffix - it does not look for a file named with a suffix. > > Why do you think so? Why do you ask? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 16:17:35 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 20:17:35 +0000 Received: from localhost ([127.0.0.1]:52999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsJdm-0006nz-LD for submit@debbugs.gnu.org; Fri, 20 Jul 2012 16:17:35 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:47744) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsJdl-0006ns-03 for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 16:17:33 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Wf3Dd6Vr0z4KK3h; Fri, 20 Jul 2012 22:12:49 +0200 (CEST) X-Auth-Info: mK3t9e9JfcQ0XknrxBOuj9MrlkviOi1YB6MjOYHUBO4= Received: from igel.home (ppp-93-104-154-45.dynamic.mnet-online.de [93.104.154.45]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Wf3Bn71sZzbbhP; Fri, 20 Jul 2012 22:11:13 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 625F2CA2A2; Fri, 20 Jul 2012 22:11:13 +0200 (CEST) From: Andreas Schwab To: "Drew Adams" Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <8C5C1A2810CA48EEBCF25EE0FFCA7E98@us.oracle.com> X-Yow: Life is a POPULARITY CONTEST! I'm REFRESHINGLY CANDID!! Date: Fri, 20 Jul 2012 22:11:13 +0200 In-Reply-To: <8C5C1A2810CA48EEBCF25EE0FFCA7E98@us.oracle.com> (Drew Adams's message of "Fri, 20 Jul 2012 13:09:32 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) "Drew Adams" writes: >> > This Emacs code still expects the Emacs Info file to have >> > no suffix - it does not look for a file named with a suffix. >> >> Why do you think so? > > Why do you ask? Because you failed to describe the problem. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 16:49:43 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 20:49:43 +0000 Received: from localhost ([127.0.0.1]:53032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsK8t-0007YB-67 for submit@debbugs.gnu.org; Fri, 20 Jul 2012 16:49:43 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:35563) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsK8p-0007Y1-RV for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 16:49:41 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M7H00C007RC4X00@a-mtaout21.012.net.il> for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 23:43:18 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7H00BDW886SFB0@a-mtaout21.012.net.il>; Fri, 20 Jul 2012 23:43:18 +0300 (IDT) Date: Fri, 20 Jul 2012 23:43:19 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <831uk688pk.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: "Drew Adams" > Date: Fri, 20 Jul 2012 11:45:33 -0700 > Cc: 11999@debbugs.gnu.org > > > > The code does exactly the same thing, step by step. But when > > > `info-insert-file-contents' is called in the 7/16 build it > > > returns nil instead of t > > > > info-insert-file-contents doesn't return a boolean (in fact it doesn't > > return any useful value at all). > > Look at the two backtraces. Contrast their first lines. > > It should be clear that I meant `info-file-exists-p', not > `info-insert-file-contents'. > > This is the problem - there is no such file: > > info-file-exists-p("c:/Emacs-24-2012-07-16/info/emacs") You will need to explain more, because info-insert-file-contents first tests for the argument FILENAME, and if that does not exist, it tries FILENAME with every extension in Info-suffix-list, which includes ".info". In particular, this works for me on MS-Windows: M-: (info-insert-file-contents "d:/path/to/emacs/info/emacs") RET and loads emacs.info. Why doesn't it work for you? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 16:54:07 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 20:54:07 +0000 Received: from localhost ([127.0.0.1]:53036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsKD9-0007eL-1B for submit@debbugs.gnu.org; Fri, 20 Jul 2012 16:54:07 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:35743) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsKD6-0007eE-U9 for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 16:54:05 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M7H00C008A25Q00@a-mtaout21.012.net.il> for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 23:47:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7H00C7B8FL4Z20@a-mtaout21.012.net.il>; Fri, 20 Jul 2012 23:47:45 +0300 (IDT) Date: Fri, 20 Jul 2012 23:47:45 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83zk6u6txq.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: "Drew Adams" > Date: Fri, 20 Jul 2012 13:03:55 -0700 > Cc: 11999@debbugs.gnu.org > > > > This is the problem - there is no such file: > > > info-file-exists-p("c:/Emacs-24-2012-07-16/info/emacs") > > > > Thus info-file-exists-p correctly returns nil. What is the problem? > > This Emacs code still expects the Emacs Info file to have no suffix - it does > not look for a file named with a suffix. It does for me. If it doesn't for you, perhaps you have a stale info.el lurking on your load-path. Or maybe some of your local customizations prevent that suffix test from happening. The code is right there in info-insert-file-contents, just look at it. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 17:14:40 2012 Received: (at 11999) by debbugs.gnu.org; 20 Jul 2012 21:14:40 +0000 Received: from localhost ([127.0.0.1]:53047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsKWz-00085g-S2 for submit@debbugs.gnu.org; Fri, 20 Jul 2012 17:14:39 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:23430) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsKWw-00085X-Bk for 11999@debbugs.gnu.org; Fri, 20 Jul 2012 17:14:36 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6KL8DSN002543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Jul 2012 21:08:14 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6KL8DAR019996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2012 21:08:13 GMT Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6KL8Cbt010805; Fri, 20 Jul 2012 16:08:13 -0500 Received: from dradamslap1 (/10.159.80.190) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jul 2012 14:08:12 -0700 From: "Drew Adams" To: "'Eli Zaretskii'" References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> Subject: RE: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Fri, 20 Jul 2012 14:08:07 -0700 Message-ID: <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <831uk688pk.fsf@gnu.org> Thread-Index: Ac1muE1F+VxMB6U2T7uTTElg7xsLYgAADVAA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) > You will need to explain more, because info-insert-file-contents first > tests for the argument FILENAME, and if that does not exist, it tries > FILENAME with every extension in Info-suffix-list, which includes > ".info". > > In particular, this works for me on MS-Windows: > M-: (info-insert-file-contents "d:/path/to/emacs/info/emacs") RET > and loads emacs.info. Why doesn't it work for you? My bad. The difference turned out to be the use now of `user-error' instead of `error'. Where I previously just saw a message saying there was no such node, now Emacs puts me in the debugger, because I have non-nil `debug-on-error'. This bug could be closed. However, maybe it should not (you decide): Going only by the doc string of `user-error', it seems that at least some of the many changes from `error' to `user-error' in info.el (and beyond?) are inappropriate. An index lookup of a term that is not in the index is in general NOT a "pilot error". It is normal behavior on the part of users to look up terms in the index, whether they happen to be there or not. An index lookup that finds no hit is NOT "expected to be the result of an incorrect manipulation on the part of the user, rather than the result of an actual problem." It is preposterous to have such an expectation or interpretation of user interaction. (Furthermore, even errors that are not user errors do not necessarily indicate "an actual problem".) There is no "incorrect manipulation" or misunderstanding of Emacs on the part of a user who looks up `iterate' - or for that matter `user-error' (!) - in the Elisp index. These terms just happen not to be indexed. Something seems misguided in the present classification/handling of errors in info.el. I will leave it to you to decide whether you want to (a) do nothing, (b) use this bug to fix some of the inappropriately classified "user" errors, or (c) open a new bug for such a fix. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 21 04:54:21 2012 Received: (at 11999) by debbugs.gnu.org; 21 Jul 2012 08:54:21 +0000 Received: from localhost ([127.0.0.1]:53794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsVS8-0006u1-Qf for submit@debbugs.gnu.org; Sat, 21 Jul 2012 04:54:21 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:40585) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsVS5-0006ts-OT for 11999@debbugs.gnu.org; Sat, 21 Jul 2012 04:54:19 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7I003005KVSN00@a-mtaout20.012.net.il> for 11999@debbugs.gnu.org; Sat, 21 Jul 2012 11:47:55 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7I003TV5RTMJ40@a-mtaout20.012.net.il>; Sat, 21 Jul 2012 11:47:54 +0300 (IDT) Date: Sat, 21 Jul 2012 11:47:55 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> X-012-Sender: halo1@inter.net.il To: Drew Adams , Stefan Monnier Message-id: <83sjcl7b5w.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.5 (/) > From: "Drew Adams" > Cc: , <11999@debbugs.gnu.org> > Date: Fri, 20 Jul 2012 14:08:07 -0700 > > > You will need to explain more, because info-insert-file-contents first > > tests for the argument FILENAME, and if that does not exist, it tries > > FILENAME with every extension in Info-suffix-list, which includes > > ".info". > > > > In particular, this works for me on MS-Windows: > > M-: (info-insert-file-contents "d:/path/to/emacs/info/emacs") RET > > and loads emacs.info. Why doesn't it work for you? > > My bad. The difference turned out to be the use now of `user-error' instead of > `error'. Where I previously just saw a message saying there was no such node, > now Emacs puts me in the debugger, because I have non-nil `debug-on-error'. So how is one supposed to avoid entering the debugger on user-error, when debug-on-error is non-nil? > Going only by the doc string of `user-error', it seems that at least some of the > many changes from `error' to `user-error' in info.el (and beyond?) are > inappropriate. The doc string IMO does not tell enough, and there's no other documentation about user-error, neither in the ELisp manual nor in NEWS (which only mentions its existence). Stefan, could you perhaps provide some insight? What is a "pilot error" in this context, and how should Lisp programs use this new facility to (supposedly) provide better diagnostics and/or better error handling? > An index lookup of a term that is not in the index is in general NOT a "pilot > error". It is normal behavior on the part of users to look up terms in the > index, whether they happen to be there or not. I agree. But then it's unclear to me whether using 'error' in this case would be better. If you think it is, please tell why. > An index lookup that finds no hit is NOT "expected to be the result of an > incorrect manipulation on the part of the user, rather than the result of an > actual problem." Agree again, but again unsure how 'error' would be better. Maybe we need yet a 3rd kind of errors? From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 21 10:05:01 2012 Received: (at 11999) by debbugs.gnu.org; 21 Jul 2012 14:05:01 +0000 Received: from localhost ([127.0.0.1]:55164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsaIm-0007Le-Ay for submit@debbugs.gnu.org; Sat, 21 Jul 2012 10:05:00 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:30652) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsaIj-0007LV-By for 11999@debbugs.gnu.org; Sat, 21 Jul 2012 10:04:58 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6LDwWDS032711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 21 Jul 2012 13:58:33 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6LDwV8u020242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Jul 2012 13:58:31 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6LDwUmd009692; Sat, 21 Jul 2012 08:58:31 -0500 Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 21 Jul 2012 06:58:30 -0700 From: "Drew Adams" To: "'Eli Zaretskii'" , "'Stefan Monnier'" References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> Subject: RE: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Sat, 21 Jul 2012 06:58:21 -0700 Message-ID: <37539CC71A35413F81B33BB95A60C446@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83sjcl7b5w.fsf@gnu.org> Thread-Index: Ac1nHYeUa+1cLHiERAGFoG34G+11cQAJoNzQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > My bad. The difference turned out to be the use now of > > `user-error' instead of `error'. Where I previously just saw > > a message saying there was no such node, now Emacs puts me in > > the debugger, because I have non-nil `debug-on-error'. > > So how is one supposed to avoid entering the debugger on user-error, > when debug-on-error is non-nil? No idea. And I am not saying that the debugger should or should be entered here (dunno). I am saying: 1. In Emacs 24.1, 23,..., the debugger is not entered in this case, even though I have non-nil debug-on-error. Perhaps there was an `ignore-errors' or something. Dunno. 2. The point of the bug report (after realizing what is really happening - apologies for the mistaken initial description, including Subject line) is that this particular use case (and perhaps others? it seems that `error' was nearly systematically replaced with `user-error' in info.el) is inappropriate. At least according to the stated purpose of `user-error' - this is not at all "pilot error". > > Going only by the doc string of `user-error', it seems that > > at least some of the many changes from `error' to `user-error' in > > info.el (and beyond?) are inappropriate. > > The doc string IMO does not tell enough, and there's no other > documentation about user-error, neither in the ELisp manual nor in > NEWS (which only mentions its existence). > > Stefan, could you perhaps provide some insight? What is a "pilot > error" in this context, and how should Lisp programs use this new > facility to (supposedly) provide better diagnostics and/or better > error handling? And specifically in the context of this bug report, what do you think is the correct way to signal to a user that the term s?he tried to look up is not in the index? Is it `message'? `message' + `ding'? `error' (as always, previously)? `user-error'? something else? If it is `user-error' then I think the doc needs to be changed to correct the stated aim of `user-error'. If it is not `user-error' then maybe the code needs to be checked generally for additional places where the purpose of `user-error' might not have been respected. > > An index lookup of a term that is not in the index is in general > > NOT a "pilot error". It is normal behavior on the part of users > > to look up terms in the index, whether they happen to be there or not. > > I agree. But then it's unclear to me whether using 'error' in this > case would be better. If you think it is, please tell why. See above. What `error' or `user-error' does is not so much the problem. Or rather, the previous behavior here, where the debugger was not entered, was not a problem (for me). Whether that behavior actually corresponds to what `error' or `user-error' is meant to be used for, I don't know. In the past, `error' has been used for many different purposes. (Most (>99%) uses of `error' have had nothing to do with trying to signal a problem of the code itself. IOW, `error' is not used often just for this-should-never-happen errors (debugging). But that's the impression I get from the `user-error' doc: that `user-error' is not intended to signal a programming problem, which suggests that `error' might be intended for that.) Two things matter: (1) what the actual behavior is in a given context, and whether it is useful/appropriate, (2) what the stated use of `user-error' is, and whether actual uses correspond to it. To me, #1 is generally more important. In this particular case, and some others that I've noticed recently (but do not remember), what is appropriate is some signal to the user, preferably a signal that s?he will notice. `message' messages sometimes get overlooked or lost. And very often in such a situation we do also want to return control to top level, i.e., stop the execution. So what `error' does is usually pretty much what we want. But in some cases we do not want to stop the dialog/execution and just want to point something out to the user. In that case, `message' + `ding', or perhaps a message that requires confirmation (e.g. message box) could be in order. Wrt this particular case again, I'd suggest mabye returning to the _behavior_ (or similar) of Emacs 24.1 and prior: `error' was used, I believe, but the debugger was not entered, even with non-nil `debug-on-error'. IOW, the execution & user interaction was interrupted with a message stating that the sought term is not in the index. How we get that behavior again is less important (to me). And I do not insist that it was better to ignore `debug-on-error'. To be clear, it's OK by me if you end up keeping the behavior of entering the debugger. Mostly I was surprised (and clearly confused, as shown by my initial bug description). > > An index lookup that finds no hit is NOT "expected to be > > the result of an incorrect manipulation on the part of the user, > > rather than the result of an actual problem." > > Agree again, but again unsure how 'error' would be better. Maybe we > need yet a 3rd kind of errors? There are two different things: (1) the behavior (what is best here) and (2) whether such a use of `user-error' fits its description. As for the behavior, IMO the previous behavior was OK. But no doubt there should also be some simple way for a programmer to enter the debugger here. So maybe the current behavior is better - dunno. As for #2, let's please try to first characterize just what the purpose of `user-error' is, and then let's try to be sure it is used that way. Otherwise, the purpose will end up being flouted generally, and it will have no distinct meaning. It _looks_ (with just a glance) like someone blanket-replaced `error' with `user-error' in info.el (and elsewhere?). That cannot be right, _if_ the stated purpose of `user-error' is correct. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 05:57:03 2012 Received: (at 11999) by debbugs.gnu.org; 22 Jul 2012 09:57:03 +0000 Received: from localhost ([127.0.0.1]:56903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SssuN-0002jU-4s for submit@debbugs.gnu.org; Sun, 22 Jul 2012 05:57:03 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:54369) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SssuK-0002j6-RP for 11999@debbugs.gnu.org; Sun, 22 Jul 2012 05:57:01 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6M9oUnD027408; Sun, 22 Jul 2012 05:50:31 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 98CDFAE17C; Sun, 22 Jul 2012 05:50:29 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> Date: Sun, 22 Jul 2012 05:50:29 -0400 In-Reply-To: <83sjcl7b5w.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Jul 2012 11:47:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.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 RV4286=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4286> : streams <788659> : uri <1171816> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > The doc string IMO does not tell enough, and there's no other > documentation about user-error, neither in the ELisp manual nor in > NEWS (which only mentions its existence). Can you be specific about what additional info you need? > Stefan, could you perhaps provide some insight? What is a "pilot > error" in this context, A error of the user rather than of the author of the code. > and how should Lisp programs use this new facility to (supposedly) > provide better diagnostics and/or better error handling? user-error is just a standard "debug-ignored-error". So instead of using error plus adding the text of the error to debug-ignored-errors, you can just user user-error. If Drew gets a user-error that drops him in the debugger, it's because he removed` user-error' from debug-ignored-errors. >> An index lookup that finds no hit is NOT "expected to be the result of an >> incorrect manipulation on the part of the user, rather than the result of an >> actual problem." By "actual problem", I meant "a bug in the code", i.e. a problem that can be fixed by correcting the code. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 10:41:19 2012 Received: (at 11999) by debbugs.gnu.org; 22 Jul 2012 14:41:19 +0000 Received: from localhost ([127.0.0.1]:57752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsxLS-0001Z4-MO for submit@debbugs.gnu.org; Sun, 22 Jul 2012 10:41:19 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:43182) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsxLP-0001Yv-Qy for 11999@debbugs.gnu.org; Sun, 22 Jul 2012 10:41:16 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6MEYh8Z000712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 Jul 2012 14:34:44 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6MEYg8Z028904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 Jul 2012 14:34:43 GMT Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6MEYgHd026867; Sun, 22 Jul 2012 09:34:42 -0500 Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 22 Jul 2012 07:34:42 -0700 From: "Drew Adams" To: "'Stefan Monnier'" , "'Eli Zaretskii'" References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com><831uk688pk.fsf@gnu.org><35D365A3D0D0487CB7928FB2A672541D@us.oracle.com><83sjcl7b5w.fsf@gnu.org> Subject: RE: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Sun, 22 Jul 2012 07:34:29 -0700 Message-ID: <1B7EF119D99541B6ABAFC4FB523F494A@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac1n73KIZvAuxA1jTWyUD7qNN5DJvAAIuWqA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > Stefan, could you perhaps provide some insight? What is a "pilot > > error" in this context, > > A error of the user rather than of the author of the code. Yes, that's what I understood by "pilot error" (the former part: an error by the user). That is not what is going on when a user looks up a term that does not happen to be in the index (which is what this bug report was about). The user is doing nothing wrong there. And I'm guessing, without checking in detail and based only on the fact that so many calls to `error' were changed to `user-error' in info.el, that there might be additional inappropriate uses of `user-error' in info.el - perhaps many of them. And perhaps other files were also subjected to such a wholesale replacement. This kind of change requires time, analysis, & judgment. The person making the change at any given occurrence needs to read, understand the code, and (especially) think of the user. > > and how should Lisp programs use this new facility to (supposedly) > > provide better diagnostics and/or better error handling? > > user-error is just a standard "debug-ignored-error". So instead of > using error plus adding the text of the error to debug-ignored-errors, > you can just user user-error. > > If Drew gets a user-error that drops him in the debugger, it's because > he removed` user-error' from debug-ignored-errors. Not really. C-h v debug-ignored-errors: ,---- | debug-ignored-errors is a variable defined in `C source code'. | Its value is | (search-failed "^Invalid face:? " beginning-of-line beginning-of-buffer end-of-line end-of-buffer end-of-file buffer-read-only file-supersession user-error) | | Original value was | (beginning-of-line beginning-of-buffer end-of-line end-of-buffer end-of-file buffer-read-only file-supersession user-error) | ... `---- [BTW, as you can see, that value is printed too wide - 158 chars wide!. It should be limited (pretty-printed with filling to the usual max width), in line with the rest of a *Help* buffer.] And a quick test shows that use of `user-error' does not enter the debugger for me, whereas use of `error' does. So there must be something else going on here. But I just tried the original recipe again, and now it does not enter the debugger. I've tried to see what I might have changed locally in the meantime, but I haven't found anything yet. I have not changed `debug-ignored-errors', of that I am certain. At any rate, let's not worry for this bug about whether the debugger is entered. That can be discussed later if necessary, and I have already said that I do not have an opinion about whether it should be entered for such an error (i.e., like this one in Info). The real questions for this bug are (1) whether all of the occurrences of `user-error' in info.el are appropriate (in particular, the one for index lookup) and (2) whether the doc about `user-error' is accurate and clear. > >> An index lookup that finds no hit is NOT "expected to be > >> the result of an incorrect manipulation on the part of > >> the user, rather than the result of an actual problem." > > By "actual problem", I meant "a bug in the code", i.e. a problem that > can be fixed by correcting the code. That too is what I guessed, at least the latter part: a coding mistake. But that description is a false, binary choice. The same false choice is presented by "A error of the user rather than of the author of the code." There are uses of error signaling (and more generally, alerting the user and perhaps returning to top level) that are neither. IOW, there is a lot that is neither an error by the user nor a mistake in the code. Without clarifying the doc & design wrt this middle ground, we will continue to (a) confuse users and (b) have inappropriate uses of either `error' or `user-error'. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 11:23:07 2012 Received: (at 11999) by debbugs.gnu.org; 22 Jul 2012 15:23:07 +0000 Received: from localhost ([127.0.0.1]:57763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ssxzu-0002U0-Fj for submit@debbugs.gnu.org; Sun, 22 Jul 2012 11:23:06 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:42028) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ssxzr-0002Ti-Pj for 11999@debbugs.gnu.org; Sun, 22 Jul 2012 11:23:04 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M7K00100I1GFG00@a-mtaout21.012.net.il> for 11999@debbugs.gnu.org; Sun, 22 Jul 2012 18:16:33 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7K001NWIFK42B0@a-mtaout21.012.net.il>; Sun, 22 Jul 2012 18:16:32 +0300 (IDT) Date: Sun, 22 Jul 2012 18:16:34 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83eho325d9.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: Drew Adams , 11999@debbugs.gnu.org > Date: Sun, 22 Jul 2012 05:50:29 -0400 > > > The doc string IMO does not tell enough, and there's no other > > documentation about user-error, neither in the ELisp manual nor in > > NEWS (which only mentions its existence). > > Can you be specific about what additional info you need? Just what you wrote below. (Thanks.) > > Stefan, could you perhaps provide some insight? What is a "pilot > > error" in this context, > > A error of the user rather than of the author of the code. What about an error condition that is neither of these two? Or are you saying that an error must be one of these two, and nothing else? > >> An index lookup that finds no hit is NOT "expected to be the result of an > >> incorrect manipulation on the part of the user, rather than the result of an > >> actual problem." > > By "actual problem", I meant "a bug in the code", i.e. a problem that > can be fixed by correcting the code. But it isn't a user error, either. Perhaps we should find a better name for that, as long as it isn't too late. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 04:59:44 2012 Received: (at 11999) by debbugs.gnu.org; 23 Jul 2012 08:59:44 +0000 Received: from localhost ([127.0.0.1]:58837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StEUR-0003Bc-Kc for submit@debbugs.gnu.org; Mon, 23 Jul 2012 04:59:43 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:54594) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StEUQ-0003BV-Cs for 11999@debbugs.gnu.org; Mon, 23 Jul 2012 04:59:42 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6N8r6a8016337; Mon, 23 Jul 2012 04:53:07 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id CE828AE3BA; Mon, 23 Jul 2012 04:53:05 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> Date: Mon, 23 Jul 2012 04:53:05 -0400 In-Reply-To: <83eho325d9.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jul 2012 18:16:34 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.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 RV4287=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4287> : streams <789196> : uri <1172501> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> > Stefan, could you perhaps provide some insight? What is a "pilot >> > error" in this context, >> A error of the user rather than of the author of the code. > What about an error condition that is neither of these two? Or are > you saying that an error must be one of these two, and nothing else? Either you get a backtrace, or you don't. Currently, there's no in-between choice, so there are only two possibilities. > But it isn't a user error, either. Perhaps we should find a better > name for that, as long as it isn't too late. Since it hasn't yet been released, it's not too late to change. And since it's only visible to the Elisp programmer, its name does not matter that much. I.e. I'm open to suggestions, but I don't think it's worth spending too much time on it. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 10:01:47 2012 Received: (at 11999) by debbugs.gnu.org; 23 Jul 2012 14:01:47 +0000 Received: from localhost ([127.0.0.1]:60766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StJCl-0005MM-6S for submit@debbugs.gnu.org; Mon, 23 Jul 2012 10:01:47 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:47802) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StJCh-0005ME-S4 for 11999@debbugs.gnu.org; Mon, 23 Jul 2012 10:01:45 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6NDt7eJ012693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jul 2012 13:55:08 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6NDt6lb008712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jul 2012 13:55:07 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6NDt6HX004880; Mon, 23 Jul 2012 08:55:06 -0500 Received: from dradamslap1 (/10.159.218.129) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Jul 2012 06:55:06 -0700 From: "Drew Adams" To: "'Stefan Monnier'" , "'Eli Zaretskii'" References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com><831uk688pk.fsf@gnu.org><35D365A3D0D0487CB7928FB2A672541D@us.oracle.com><83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> Subject: RE: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Mon, 23 Jul 2012 06:54:50 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: Thread-Index: Ac1osJlae7VswWeIRCKVIrVy5uvbRgAJmv4g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > What about an error condition that is neither of these two? Or are > > you saying that an error must be one of these two, and nothing else? > > Either you get a backtrace, or you don't. Currently, there's no > in-between choice, so there are only two possibilities. For now then, one of the two should be defined clearly and operationally (i.e., easy to understand and distinguish). And the other should be defined as the complement. If we add more cases in the future, we should continue to keep one case as "otherwise". Probably `error' should be that fallback (always). > > But it isn't a user error, either. Perhaps we should find a better > > name for that, as long as it isn't too late. > > Since it hasn't yet been released, it's not too late to change. > And since it's only visible to the Elisp programmer, its name does not > matter that much. The name and the definition are important precisely because it is visible to Elisp programmers. It is they who create the effective meaning, by putting the name and definition (= a spec) into practice, i.e., by defining real behavior. And this bug report (including the part about an apparent wholesale replacement of `error' in info.el) is a good example of the importance of getting the name & definition right. Whatever this new case is that we are carving out from the formerly single catchall, `error', it should be defined clearly, so that it is used accordingly. It should be made clear (via the doc) to Elisp programmers (starting with Emacs Dev) that the new error function should be used only when its specific defining characteristics hold, and that `error' should be used otherwise (always). > I.e. I'm open to suggestions, but I don't think it's worth > spending too much time on it. I will try to help with the name, once you make clear what the defining characteristics are: in what cases should this be used? Whatever is not included in those characteristics should fall to plain `error'. IOW, do not try to define both the new function and `error' explicitly (risk of contradiction/overlap, gaps) - define the new one, and define `error' as the complement: all other error cases. No junk, no confusion. What should not be done is what has been done so far: define two categories that leave a gap between them or that overlap. Try to make the definition of the new function clear and simple, and state explicitly in the doc that if its qualifying conditions do not apply then use `error'. That will help ensure that programmers implement that spec correctly and so end up realizing the intended behavior in practice. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 19:35:01 2012 Received: (at 11999) by debbugs.gnu.org; 23 Jul 2012 23:35:01 +0000 Received: from localhost ([127.0.0.1]:34108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StS9U-0007nN-Nf for submit@debbugs.gnu.org; Mon, 23 Jul 2012 19:35:01 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:38156) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StS9T-0007nH-9v for 11999@debbugs.gnu.org; Mon, 23 Jul 2012 19:34:59 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6NNSK8S014114; Mon, 23 Jul 2012 19:28:21 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 5B81CAE323; Mon, 23 Jul 2012 19:28:20 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> Date: Mon, 23 Jul 2012 19:28:20 -0400 In-Reply-To: (Drew Adams's message of "Mon, 23 Jul 2012 06:54:50 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.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 RV4288=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4288> : streams <789530> : uri <1173036> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 'Eli Zaretskii' , 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > I will try to help with the name, once you make clear what the defining > characteristics are: in what cases should this be used? Whatever is not > included in those characteristics should fall to plain `error'. I already explained it: user-error is for errors which are not caused by bugs in the code (i.e. they're caused by manipulation mistakes, or problems in the environment such as missing files, ...). Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 21:37:25 2012 Received: (at 11999) by debbugs.gnu.org; 24 Jul 2012 01:37:25 +0000 Received: from localhost ([127.0.0.1]:34277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StU3w-0004dY-Ph for submit@debbugs.gnu.org; Mon, 23 Jul 2012 21:37:25 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:44420) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StU3u-0004dE-2r for 11999@debbugs.gnu.org; Mon, 23 Jul 2012 21:37:22 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6O1UgpC027552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 24 Jul 2012 01:30:43 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6O1Ufas006566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Jul 2012 01:30:42 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6O1UfH3030130; Mon, 23 Jul 2012 20:30:41 -0500 Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Jul 2012 18:30:40 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com><831uk688pk.fsf@gnu.org><35D365A3D0D0487CB7928FB2A672541D@us.oracle.com><83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> Subject: RE: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Mon, 23 Jul 2012 18:30:38 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac1pKtxZGbF0JyuvSTOnZ+xrCzYnmwAD+HLg X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11999 Cc: 'Eli Zaretskii' , 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > > I will try to help with the name, once you make clear what > > the defining characteristics are: in what cases should this > > be used? Whatever is not included in those characteristics > > should fall to plain `error'. > > I already explained it: user-error is for errors which are > not caused by bugs in the code (i.e. they're caused by > manipulation mistakes, or problems in the environment such > as missing files, ...). I see. So it is instead the behavior of `error' that you are defining in a clear way, and `user-error' that is the catchall: everything else. I think that is a mistake, for the reason I gave earlier: If you need later to carve out a new class, it logically would come from the catch-all, which according to your classification is what you have called `user-error': anything that is not a code error. It makes much more sense, IMHO, for `error' to be the catchall. But you're the boss. Given that approach, I would propose these names: * `code-error': errors that indicate a bug in the code * `other-error': any other error `code-error' errors should presumably never happen. That is, we normally try to implement code that we do not _expect_ will ever throw a `code-error' error. Given such a renaming, you need to decide how to handle the traditional `error'. Would it be defaliased to `code-error', thus limiting the traditional scope considerably, or defaliased to `other-error', which is more in line with what it has been. IOW, given your characterization, I do not think it is a narrow category of "user" error that is new. What is new, it seems to me, is the narrow category of code errors. HTH. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 05:09:30 2012 Received: (at 11999) by debbugs.gnu.org; 24 Jul 2012 09:09:30 +0000 Received: from localhost ([127.0.0.1]:34683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Stb7Q-0003VO-L6 for submit@debbugs.gnu.org; Tue, 24 Jul 2012 05:09:30 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:32941) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Stb7O-0003VH-Rx for 11999@debbugs.gnu.org; Tue, 24 Jul 2012 05:09:27 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6O92jae002621; Tue, 24 Jul 2012 05:02:46 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 6AD6EAE323; Tue, 24 Jul 2012 05:02:43 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> Date: Tue, 24 Jul 2012 05:02:43 -0400 In-Reply-To: (Drew Adams's message of "Mon, 23 Jul 2012 18:30:38 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4288=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4288> : streams <789714> : uri <1173363> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 'Eli Zaretskii' , 11999@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > I think that is a mistake, for the reason I gave earlier: You're over-thinking it. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 12:46:27 2012 Received: (at 11999) by debbugs.gnu.org; 24 Jul 2012 16:46:27 +0000 Received: from localhost ([127.0.0.1]:36468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StiFf-0007MM-7g for submit@debbugs.gnu.org; Tue, 24 Jul 2012 12:46:27 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:37770) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StiFb-0007MB-Kq for 11999@debbugs.gnu.org; Tue, 24 Jul 2012 12:46:24 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M7O00000BFF6D00@a-mtaout23.012.net.il> for 11999@debbugs.gnu.org; Tue, 24 Jul 2012 19:38:57 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7O00NVUBKX1FC0@a-mtaout23.012.net.il>; Tue, 24 Jul 2012 19:38:57 +0300 (IDT) Date: Tue, 24 Jul 2012 19:38:57 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83obn5ktb2.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: drew.adams@oracle.com, 11999@debbugs.gnu.org > Date: Mon, 23 Jul 2012 04:53:05 -0400 > > >> > Stefan, could you perhaps provide some insight? What is a "pilot > >> > error" in this context, > >> A error of the user rather than of the author of the code. > > What about an error condition that is neither of these two? Or are > > you saying that an error must be one of these two, and nothing else? > > Either you get a backtrace, or you don't. Currently, there's no > in-between choice, so there are only two possibilities. > > > But it isn't a user error, either. Perhaps we should find a better > > name for that, as long as it isn't too late. > > Since it hasn't yet been released, it's not too late to change. > And since it's only visible to the Elisp programmer, its name does not > matter that much. > > I.e. I'm open to suggestions, but I don't think it's worth spending too > much time on it. How about renaming 'user-error' into 'error-no-backtrace'? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 17:59:53 2012 Received: (at 11999) by debbugs.gnu.org; 24 Jul 2012 21:59:53 +0000 Received: from localhost ([127.0.0.1]:37338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Stn8z-0006tQ-1F for submit@debbugs.gnu.org; Tue, 24 Jul 2012 17:59:53 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:48848) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Stn8w-0006tH-T2 for 11999@debbugs.gnu.org; Tue, 24 Jul 2012 17:59:51 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6OLr6bG015820; Tue, 24 Jul 2012 17:53:07 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 76A7DAE2FE; Tue, 24 Jul 2012 17:53:06 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> Date: Tue, 24 Jul 2012 17:53:06 -0400 In-Reply-To: <83obn5ktb2.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 Jul 2012 19:38:57 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4289=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4289> : streams <789863> : uri <1173941> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> I.e. I'm open to suggestions, but I don't think it's worth spending too >> much time on it. > How about renaming 'user-error' into 'error-no-backtrace'? I'd rather have a name that reflects the intention (and also user-error is significantly shorter). Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 25 12:13:19 2012 Received: (at 11999) by debbugs.gnu.org; 25 Jul 2012 16:13:19 +0000 Received: from localhost ([127.0.0.1]:39269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Su4D9-0007yb-IK for submit@debbugs.gnu.org; Wed, 25 Jul 2012 12:13:19 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:36059) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Su4D7-0007yN-5I for 11999@debbugs.gnu.org; Wed, 25 Jul 2012 12:13:18 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7Q000004NVWR00@a-mtaout20.012.net.il> for 11999@debbugs.gnu.org; Wed, 25 Jul 2012 19:06:02 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7Q000DK4Q2WU00@a-mtaout20.012.net.il>; Wed, 25 Jul 2012 19:06:02 +0300 (IDT) Date: Wed, 25 Jul 2012 19:06:04 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83a9ynltar.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: drew.adams@oracle.com, 11999@debbugs.gnu.org > Date: Tue, 24 Jul 2012 17:53:06 -0400 > > >> I.e. I'm open to suggestions, but I don't think it's worth spending too > >> much time on it. > > How about renaming 'user-error' into 'error-no-backtrace'? > > I'd rather have a name that reflects the intention (and also user-error > is significantly shorter). There's nothing wrong with user-error, except that it is..., well, wrong. It is simply a convenience feature to signal an error that will not (by default) enter the debugger. I see nothing there that would justify the current name. My suggestion describes what it really does. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 25 20:00:31 2012 Received: (at 11999) by debbugs.gnu.org; 26 Jul 2012 00:00:31 +0000 Received: from localhost ([127.0.0.1]:39869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuBVG-0001fL-E7 for submit@debbugs.gnu.org; Wed, 25 Jul 2012 20:00:31 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:53252) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuBVE-0001fD-5X for 11999@debbugs.gnu.org; Wed, 25 Jul 2012 20:00:28 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6PNrb0t018170; Wed, 25 Jul 2012 19:53:38 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7A048AECAF; Wed, 25 Jul 2012 19:53:37 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> Date: Wed, 25 Jul 2012 19:53:37 -0400 In-Reply-To: <83a9ynltar.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Jul 2012 19:06:04 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.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 RV4290=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4290> : streams <790339> : uri <1174952> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> >> I.e. I'm open to suggestions, but I don't think it's worth spending too >> >> much time on it. >> > How about renaming 'user-error' into 'error-no-backtrace'? >> I'd rather have a name that reflects the intention (and also user-error >> is significantly shorter). > There's nothing wrong with user-error, except that it is..., well, > wrong. It is simply a convenience feature to signal an error that > will not (by default) enter the debugger. I see nothing there that > would justify the current name. My suggestion describes what it > really does. I'd prefer something like error-dont-debug, because the issue is not whether it should show a backtrace but whether it is worth trying to debug the error. Note that most uses of `user-error' are correct in that they signal conditions which are usually simply due to a mistaken manipulation (such as trying to move past the EOB), so I'm only willing to change the name if it's really significantly better without too many drawbacks. E.g. `error-dont-debug' is not really a serious candidate. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 25 23:14:15 2012 Received: (at 11999) by debbugs.gnu.org; 26 Jul 2012 03:14:15 +0000 Received: from localhost ([127.0.0.1]:40040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuEWl-000623-EN for submit@debbugs.gnu.org; Wed, 25 Jul 2012 23:14:15 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:46650) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuEWj-00061v-5s for 11999@debbugs.gnu.org; Wed, 25 Jul 2012 23:14:14 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M7Q00E00Z84WX00@a-mtaout22.012.net.il> for 11999@debbugs.gnu.org; Thu, 26 Jul 2012 06:06:46 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7Q00EL1ZBAIU80@a-mtaout22.012.net.il>; Thu, 26 Jul 2012 06:06:46 +0300 (IDT) Date: Thu, 26 Jul 2012 06:06:50 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83zk6njk51.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: drew.adams@oracle.com, 11999@debbugs.gnu.org > Date: Wed, 25 Jul 2012 19:53:37 -0400 > > I'd prefer something like error-dont-debug, because the issue is not > whether it should show a backtrace but whether it is worth trying to > debug the error. OK. > Note that most uses of `user-error' are correct in that they signal > conditions which are usually simply due to a mistaken manipulation > (such as trying to move past the EOB) That's a coincidence: we tend to want the no-debug behavior for user errors. Bu the feature is not about user errors, it's about not entering the debugger. > so I'm only willing to change the name if it's really significantly > better without too many drawbacks. E.g. `error-dont-debug' is not > really a serious candidate. user-error is simply misleading, so it's unfortunate that you insist on keeping it in preference to error-dont-debug. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 26 19:25:43 2012 Received: (at 11999) by debbugs.gnu.org; 26 Jul 2012 23:25:43 +0000 Received: from localhost ([127.0.0.1]:42055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuXR8-000366-6o for submit@debbugs.gnu.org; Thu, 26 Jul 2012 19:25:42 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:37057) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuXR5-00035z-RL for 11999@debbugs.gnu.org; Thu, 26 Jul 2012 19:25:40 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6QNIi5o028082; Thu, 26 Jul 2012 19:18:45 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id EA0A3AECB1; Thu, 26 Jul 2012 19:18:43 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> <83zk6njk51.fsf@gnu.org> Date: Thu, 26 Jul 2012 19:18:43 -0400 In-Reply-To: <83zk6njk51.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 26 Jul 2012 06:06:50 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.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 RV4291=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4291> : streams <790672> : uri <1175899> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> Note that most uses of `user-error' are correct in that they signal >> conditions which are usually simply due to a mistaken manipulation >> (such as trying to move past the EOB) > That's a coincidence: we tend to want the no-debug behavior for user > errors. Bu the feature is not about user errors, it's about not > entering the debugger. No, it's not just a coincidence: if the problem is not due to the author of the code having made a mistake, then it can basically only be due to a mistake of the user in its larger sense (which includes the steps the user or his sysadmin did to set up the system). Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 27 02:55:55 2012 Received: (at 11999) by debbugs.gnu.org; 27 Jul 2012 06:55:55 +0000 Received: from localhost ([127.0.0.1]:42713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SueSo-0004w0-OM for submit@debbugs.gnu.org; Fri, 27 Jul 2012 02:55:55 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:45473) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SueSl-0004vs-Ou for 11999@debbugs.gnu.org; Fri, 27 Jul 2012 02:55:52 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M7T00J0047G5A00@a-mtaout23.012.net.il> for 11999@debbugs.gnu.org; Fri, 27 Jul 2012 09:48:55 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7T00IX949JZX60@a-mtaout23.012.net.il>; Fri, 27 Jul 2012 09:48:55 +0300 (IDT) Date: Fri, 27 Jul 2012 09:49:01 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83fw8dk8bm.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> <83zk6njk51.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: drew.adams@oracle.com, 11999@debbugs.gnu.org > Date: Thu, 26 Jul 2012 19:18:43 -0400 > > >> Note that most uses of `user-error' are correct in that they signal > >> conditions which are usually simply due to a mistaken manipulation > >> (such as trying to move past the EOB) > > That's a coincidence: we tend to want the no-debug behavior for user > > errors. Bu the feature is not about user errors, it's about not > > entering the debugger. > > No, it's not just a coincidence: if the problem is not due to the author > of the code having made a mistake, then it can basically only be due to > a mistake of the user in its larger sense (which includes the steps the > user or his sysadmin did to set up the system). Let's take the use case of typing "i foobar" and getting "No 'foobar' in index." in response. Whose fault/mistake is this? From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 28 17:43:18 2012 Received: (at 11999) by debbugs.gnu.org; 28 Jul 2012 21:43:18 +0000 Received: from localhost ([127.0.0.1]:47302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvEn7-0005sx-Ol for submit@debbugs.gnu.org; Sat, 28 Jul 2012 17:43:18 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:33234) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvEn4-0005so-IY for 11999@debbugs.gnu.org; Sat, 28 Jul 2012 17:43:16 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6SLa8g9013662; Sat, 28 Jul 2012 17:36:08 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7C195AE2A2; Sat, 28 Jul 2012 17:36:07 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> <83zk6njk51.fsf@gnu.org> <83fw8dk8bm.fsf@gnu.org> Date: Sat, 28 Jul 2012 17:36:07 -0400 In-Reply-To: <83fw8dk8bm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Jul 2012 09:49:01 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.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 RV4293=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4293> : streams <791226> : uri <1177666> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> >> Note that most uses of `user-error' are correct in that they signal >> >> conditions which are usually simply due to a mistaken manipulation >> >> (such as trying to move past the EOB) >> > That's a coincidence: we tend to want the no-debug behavior for user >> > errors. Bu the feature is not about user errors, it's about not >> > entering the debugger. >> No, it's not just a coincidence: if the problem is not due to the author >> of the code having made a mistake, then it can basically only be due to >> a mistake of the user in its larger sense (which includes the steps the >> user or his sysadmin did to set up the system). > Let's take the use case of typing "i foobar" and getting "No 'foobar' > in index." in response. Whose fault/mistake is this? I think it is clearly a "user error". Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 28 22:57:52 2012 Received: (at 11999) by debbugs.gnu.org; 29 Jul 2012 02:57:53 +0000 Received: from localhost ([127.0.0.1]:47407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvJhY-0004Hz-NM for submit@debbugs.gnu.org; Sat, 28 Jul 2012 22:57:52 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:60662) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvJhX-0004Hs-HD for 11999@debbugs.gnu.org; Sat, 28 Jul 2012 22:57:52 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7W00100I5MLY00@a-mtaout20.012.net.il> for 11999@debbugs.gnu.org; Sun, 29 Jul 2012 05:50:44 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7W00173IKKCX70@a-mtaout20.012.net.il>; Sun, 29 Jul 2012 05:50:44 +0300 (IDT) Date: Sun, 29 Jul 2012 05:50:54 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83hasrgu0h.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> <83zk6njk51.fsf@gnu.org> <83fw8dk8bm.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: drew.adams@oracle.com, 11999@debbugs.gnu.org > Date: Sat, 28 Jul 2012 17:36:07 -0400 > > > Let's take the use case of typing "i foobar" and getting "No 'foobar' > > in index." in response. Whose fault/mistake is this? > > I think it is clearly a "user error". What could have user done to avoid that "error"? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 29 02:42:54 2012 Received: (at 11999) by debbugs.gnu.org; 29 Jul 2012 06:42:54 +0000 Received: from localhost ([127.0.0.1]:47547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvNDI-0000wd-NV for submit@debbugs.gnu.org; Sun, 29 Jul 2012 02:42:54 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:54680 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvNDF-0000wO-8h for 11999@debbugs.gnu.org; Sun, 29 Jul 2012 02:42:51 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B3A41451CB2B; Sat, 28 Jul 2012 23:35:40 -0700 (PDT) From: Juri Linkov To: Stefan Monnier Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Organization: JURTA References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> <83zk6njk51.fsf@gnu.org> <83fw8dk8bm.fsf@gnu.org> Date: Sun, 29 Jul 2012 09:30:03 +0300 In-Reply-To: (Stefan Monnier's message of "Sat, 28 Jul 2012 17:36:07 -0400") Message-ID: <87394bw5o4.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11999 Cc: Eli Zaretskii , 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> Let's take the use case of typing "i foobar" and getting "No 'foobar' >> in index." in response. Whose fault/mistake is this? I tried to type "i foobar" in the "(dir) Top" node and it entered the debugger with: Debugger entered--Lisp error: (error "The Info directory node has no index; use m to select a manual") signal(error ("The Info directory node has no index; use m to select a manual")) error("The Info directory node has no index; use m to select a manual") (if (equal Info-current-file "dir") (error "The Info directory node has no index; use m to select a manual")) (let ((completion-ignore-case t) ... (list (let ((completion-ignore-case t) ... call-interactively(Info-index nil nil) Then I tried to type "i foobar" in the "(emacs) Top" node and it displayed the message "No `foobar' in index" in the echo area. I wonder why is this difference? I really have no idea how this could be fixed in terms of "user error". > I think it is clearly a "user error". While I think that removing ugly regexps from `debug-ignored-errors' was an improvement, a new function has an unfortunate name. According to http://en.wikipedia.org/wiki/User_error the term "user error" has offensive connotations such as "PEBKAC" and "ID-10T error". For a better name please consider e.g. `error-no-debug'. Or maybe turn the table and use just `error-debug' for errors that require debugging? (I see no harm in having both `error-no-debug' and `error-debug'). From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 30 05:38:18 2012 Received: (at 11999) by debbugs.gnu.org; 30 Jul 2012 09:38:18 +0000 Received: from localhost ([127.0.0.1]:50061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvmQb-0001Kj-Gy for submit@debbugs.gnu.org; Mon, 30 Jul 2012 05:38:17 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:42904) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvmQZ-0001Kd-VY for 11999@debbugs.gnu.org; Mon, 30 Jul 2012 05:38:16 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6U9V0kW000508; Mon, 30 Jul 2012 05:31:01 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 46A8EAE2CD; Mon, 30 Jul 2012 05:30:58 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Message-ID: References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> <83zk6njk51.fsf@gnu.org> <83fw8dk8bm.fsf@gnu.org> <83hasrgu0h.fsf@gnu.org> Date: Mon, 30 Jul 2012 05:30:58 -0400 In-Reply-To: <83hasrgu0h.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 29 Jul 2012 05:50:54 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.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 RV4294=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4294> : streams <792036> : uri <1178835> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> > Let's take the use case of typing "i foobar" and getting "No 'foobar' >> > in index." in response. Whose fault/mistake is this? >> I think it is clearly a "user error". > What could have user done to avoid that "error"? She could have typed something else than "foobar", or should could have installed a different version of the doc which does include "foobar" in the index. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 30 09:43:13 2012 Received: (at 11999) by debbugs.gnu.org; 30 Jul 2012 13:43:13 +0000 Received: from localhost ([127.0.0.1]:50318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvqFd-0000uZ-J2 for submit@debbugs.gnu.org; Mon, 30 Jul 2012 09:43:13 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:63601) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvqFa-0000uR-O7 for 11999@debbugs.gnu.org; Mon, 30 Jul 2012 09:43:11 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M7Z00B006VO8R00@a-mtaout22.012.net.il> for 11999@debbugs.gnu.org; Mon, 30 Jul 2012 16:35:40 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7Z00B1773F9C10@a-mtaout22.012.net.il>; Mon, 30 Jul 2012 16:35:39 +0300 (IDT) Date: Mon, 30 Jul 2012 16:35:53 +0300 From: Eli Zaretskii Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83sjc9fk1y.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> <83sjcl7b5w.fsf@gnu.org> <83eho325d9.fsf@gnu.org> <83obn5ktb2.fsf@gnu.org> <83a9ynltar.fsf@gnu.org> <83zk6njk51.fsf@gnu.org> <83fw8dk8bm.fsf@gnu.org> <83hasrgu0h.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11999 Cc: 11999@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: drew.adams@oracle.com, 11999@debbugs.gnu.org > Date: Mon, 30 Jul 2012 05:30:58 -0400 > > >> > Let's take the use case of typing "i foobar" and getting "No 'foobar' > >> > in index." in response. Whose fault/mistake is this? > >> I think it is clearly a "user error". > > What could have user done to avoid that "error"? > > She could have typed something else than "foobar", or should could have > installed a different version of the doc which does include "foobar" in > the index. I give up. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 07 09:55:25 2012 Received: (at control) by debbugs.gnu.org; 7 Sep 2012 13:55:25 +0000 Received: from localhost ([127.0.0.1]:46291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T9z1o-0004XU-6G for submit@debbugs.gnu.org; Fri, 07 Sep 2012 09:55:24 -0400 Received: from mail-iy0-f172.google.com ([209.85.210.172]:51626) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T9z1m-0004VT-2C for control@debbugs.gnu.org; Fri, 07 Sep 2012 09:55:22 -0400 Received: by iabz21 with SMTP id z21so3164329iab.3 for ; Fri, 07 Sep 2012 06:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=4LUVHXHPJol5eGRt4+T1RGqdHTLFQzSTauXsYY3Jswo=; b=z23ysZRrNadiEoE0JmRQB/KKD27NBxNLvVxdl74ih1UXu2qrq2UaqKhQz/8PRLOWO7 I5b1slIHebVWqCWHy/Pl44ILvl7Fw6HIR6Twa0QorGf3QKM0zVqJoTCEleNec8sCbrWO /8JZ2YDsQ2zR2l9r3DKjOVKRzzfa9uVUGiMioHe1lgj5uSna/6JNH+gTXl0V7ey3pijt CsZUofP7e5+pysM6p7KfKaprYVvl+w9eLYTMFX1MioxLXt84QJXZXvPbMzy3YKLiO1Ia 63p29vhwEx9iJ/FgEEU8CHT4LKXS4rSvBvcf2aZ3b7zScwhNbyiN0ZjQ8fc60FhiHHPh mp1w== Received: by 10.50.187.170 with SMTP id ft10mr28920073igc.36.1347026103798; Fri, 07 Sep 2012 06:55:03 -0700 (PDT) Received: from ulysses (cm162.gamma80.maxonline.com.sg. [202.156.80.162]) by mx.google.com with ESMTPS id qp6sm13062677igc.0.2012.09.07.06.54.58 (version=SSLv3 cipher=OTHER); Fri, 07 Sep 2012 06:55:02 -0700 (PDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 11999 Date: Fri, 07 Sep 2012 21:54:53 +0800 Message-ID: <87627qc502.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) close 11999 thanks From unknown Sat Aug 16 21:02:13 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, 06 Oct 2012 11:24:04 +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