From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Compilation warnings from building latest git source Date: Sat, 22 Aug 2009 15:54:05 +0800 Organization: cyberhut.org Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1250928182 31109 80.91.229.12 (22 Aug 2009 08:03:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 08:03:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 22 10:02:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MelYr-00054Q-Bz for ged-emacs-devel@m.gmane.org; Sat, 22 Aug 2009 10:02:54 +0200 Original-Received: from localhost ([127.0.0.1]:44220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MelYq-0000gh-8r for ged-emacs-devel@m.gmane.org; Sat, 22 Aug 2009 04:02:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MelYf-0000fI-Q8 for emacs-devel@gnu.org; Sat, 22 Aug 2009 04:02:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MelYa-0000cN-Qz for emacs-devel@gnu.org; Sat, 22 Aug 2009 04:02:40 -0400 Original-Received: from [199.232.76.173] (port=34875 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MelYa-0000cA-KH for emacs-devel@gnu.org; Sat, 22 Aug 2009 04:02:36 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:36899) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MelYZ-0003eu-4A for emacs-devel@gnu.org; Sat, 22 Aug 2009 04:02:36 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MelYX-0002EP-7A for emacs-devel@gnu.org; Sat, 22 Aug 2009 04:02:33 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MelYU-0004rc-96 for emacs-devel@gnu.org; Sat, 22 Aug 2009 10:02:30 +0200 Original-Received: from 122.192.42.59 ([122.192.42.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Aug 2009 10:02:30 +0200 Original-Received: from chenggao by 122.192.42.59 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Aug 2009 10:02:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 513 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 122.192.42.59 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) Cancel-Lock: sha1:5gC6hAeru+pCFWOB6pVYpaAKZxQ= X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114507 Archived-At: --=-=-= Content-Type: text/plain The attached file shows all compilation warnings from building latest git source. Most of them are about (mis)use of goto-lines. Other warnings are most from ucs-normalize.el (undefined vars) and Org Mode files. So what's the orthodoxical way to rewrite goto-line? Doc about goto-line suggests: ,---- | (goto-char (point-min)) (forward-line (1- N)) `---- If it's confirmed, every user can submit patchs when we see these kind of warnings. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=compilation-warnings.txt In command-line-1: startup.el:2295:39:Warning: `goto-line' used from Lisp code That command is designed for interactive use only startup.el:2317:19:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In ns-open-file-select-line: ns-win.el:730:14:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In bs--redisplay: bs.el:580:11:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In calc-do: calc.el:1616:32:Warning: `goto-line' used from Lisp code That command is designed for interactive use only calc.el:1621:17:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In calc-trail-buffer: calc.el:2024:3:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In custom-redraw: cus-edit.el:2198:29:Warning: `goto-line' used from Lisp code That command is designed for interactive use only cus-edit.el:2197:30:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In diff-find-source-location: diff-mode.el:1617:18:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In vi-goto-line: vi.el:641:11:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In gnus-button-patch: gnus-art.el:7910:6:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In gnus-pick-mouse-pick-region: gnus-salt.el:278:30:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In ibuffer-bury-buffer: ibuffer.el:1095:21:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In end of data: ucs-normalize.el:621:1:Warning: the following functions might not be defined at runtime: nfd, decomposition-char-recursively, alist-list-to-vector, decomposition-translation-alist, quick-check-list, quick-check-list-to-regexp In org-agenda-undo: org-agenda.el:1570:18:Warning: `goto-line' used from Lisp code That command is designed for interactive use only Wrote /Users/cg/src/repo-git/emacs/lisp/org/org-archive.elc In org-agenda-get-restriction-and-command: org-agenda.el:1836:31:Warning: `goto-line' used from Lisp code That command is designed for interactive use only Compiling /Users/cg/src/repo-git/emacs/lisp/org/org-attach.el In org-agenda-add-entry-text: org-agenda.el:2280:36:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-get-entries-from-diary: org-agenda.el:3398:11:Warning: `fancy-diary-buffer' is an obsolete variable (as of Emacs 23.1); use `diary-fancy-buffer' instead. In org-agenda-redo: org-agenda.el:4715:32:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-agenda-goto-calendar: org-agenda.el:6229:11:Warning: `view-calendar-holidays-initially' is an obsolete variable (as of Emacs 23.1); use `calendar-view-holidays-initially-flag' instead. org-agenda.el:6230:11:Warning: `view-diary-entries-initially' is an obsolete variable (as of Emacs 23.1); use `calendar-view-diary-initially-flag' instead. In org-columns: org-colview.el:696:24:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-columns-redo: org-colview.el:961:30:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-agenda-columns: org-colview.el:1305:24:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-export-number-lines: org-exp.el:2376:17:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-cycle-list-bullet: org-list.el:763:4:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-renumber-ordered-list: org-list.el:836:12:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-fix-bullet-type: org-list.el:874:12:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-edit-src-code: org-src.el:189:20:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-src.el:198:14:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-edit-fixed-width-region: org-src.el:263:34:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-src.el:301:12:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-edit-src-exit: org-src.el:452:18:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-align: org-table.el:740:37:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:745:41:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-insert-column: org-table.el:1134:35:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-delete-column: org-table.el:1175:8:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-move-column: org-table.el:1219:8:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-sort-lines: org-table.el:1429:60:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-copy-region: org-table.el:1466:39:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-paste-rectangle: org-table.el:1502:8:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-wrap-region: org-table.el:1591:55:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-get-specials: org-table.el:1996:13:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-rotate-recalc-marks: org-table.el:2092:14:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2095:74:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2101:52:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2099:40:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-get-range: org-table.el:2380:32:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2371:45:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2384:14:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-recalculate: org-table.el:2577:10:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2570:59:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2580:44:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2581:43:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:2593:51:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-edit-formulas: org-table.el:2746:10:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-fedit-convert-buffer: org-table.el:2840:31:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-show-reference: org-table.el:3084:41:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:3088:47:Warning: `goto-line' used from Lisp code That command is designed for interactive use only org-table.el:3105:61:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-table-highlight-rectangle: org-table.el:3233:36:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-open-file: org.el:8352:27:Warning: `goto-line' used from Lisp code That command is designed for interactive use only Wrote /Users/cg/src/repo-git/emacs/lisp/pgg-def.elc Compiling /Users/cg/src/repo-git/emacs/lisp/pgg-gpg.el In cvs-mode-find-file: pcvs.el:2056:68:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-priority: org.el:10447:53:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-change-tag-in-region: org.el:11086:22:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-fast-tag-show-exit: org.el:11135:32:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In org-read-date: org.el:12274:11:Warning: `view-diary-entries-initially' is an obsolete variable (as of Emacs 23.1); use `calendar-view-diary-initially-flag' instead. org.el:12276:11:Warning: `view-calendar-holidays-initially' is an obsolete variable (as of Emacs 23.1); use `calendar-view-holidays-initially-flag' instead. In org-goto-calendar: org.el:13284:10:Warning: `view-diary-entries-initially' is an obsolete variable (as of Emacs 23.1); use `calendar-view-diary-initially-flag' instead. org.el:13282:10:Warning: `view-calendar-holidays-initially' is an obsolete variable (as of Emacs 23.1); use `calendar-view-holidays-initially-flag' instead. In gamegrid-add-score-insecure: gamegrid.el:588:6:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In ada-compile-goto-error: ada-mode.el:797:42:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In ada-xref-find-in-modified-ali: ada-xref.el:1934:33:Warning: `goto-line' used from Lisp code That command is designed for interactive use only ada-xref.el:1939:25:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In ada-xref-change-buffer: ada-xref.el:2168:6:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In cperl-xsub-scan: cperl-mode.el:6911:24:Warning: `imenu-example--name-and-position' is an obsolete function (as of Emacs 23.2); use your own function instead. cperl-mode.el:6909:11:Warning: `imenu-example--name-and-position' is an obsolete function (as of Emacs 23.2); use your own function instead. In cperl-time-fontification: cperl-mode.el:8763:11:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In ebrowse-toggle-file-name-display: ebrowse.el:1339:6:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In etags-goto-tag-location: etags.el:1351:15:Warning: `goto-line' used from Lisp code That command is designed for interactive use only etags.el:1355:17:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In flymake-highlight-line: flymake.el:805:40:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In ebrowse-select-1st-to-9nth: ebrowse.el:4319:16:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In flymake-goto-file-and-line: flymake.el:1271:16:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In flymake-goto-line: flymake.el:1444:27:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In gdb-mouse-until: gdb-mi.el:903:19:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In gdb-mouse-jump: gdb-mi.el:923:19:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In gud-display-line: gud.el:2715:27:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In gdb-goto-breakpoint: gdb-mi.el:3317:21:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In idlwave-shell-goto-frame: idlw-shell.el:2318:58:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In idlwave-shell-display-line: idlw-shell.el:2411:58:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In idlwave-shell-move-to-bp: idlw-shell.el:2791:22:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In makefile-browser-toggle: make-mode.el:1489:16:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In makefile-browser-insert-selection: make-mode.el:1529:4:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In inferior-prolog-mode: prolog.el:277:8:Warning: assignment to free variable `compilation-error-regexp-alist' In end of data: prolog.el:412:1:Warning: the function `compilation-forget-errors' is not known to be defined. In python-find-function: python.el:2206:18:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In python-pdbtrack-track-stack-file: python.el:2616:14:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In verilog-surelint-off: verilog-mode.el:4072:56:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In vhdl-speedbar-find-file: vhdl-mode.el:15154:17:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In vhdl-speedbar-port-copy: vhdl-mode.el:15173:57:Warning: `goto-line' used from Lisp code That command is designed for interactive use only vhdl-mode.el:15179:67:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In vhdl-compose-components-package: vhdl-mode.el:15922:54:Warning: `goto-line' used from Lisp code That command is designed for interactive use only vhdl-mode.el:15932:28:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In server-goto-line-column: server.el:1100:9:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In strokes-xpm-for-stroke: strokes.el:1191:57:Warning: `goto-line' used from Lisp code That command is designed for interactive use only strokes.el:1194:51:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In term-display-buffer-line: term.el:3465:19:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In bibtex-validate: bibtex.el:3847:14:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In bibtex-validate-globally: bibtex.el:3904:14:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In picture-draw-rectangle: picture.el:572:44:Warning: `goto-line' used from Lisp code That command is designed for interactive use only picture.el:582:6:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In reftex-index-goto-letter: reftex-index.el:1097:18:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In reftex-toc: reftex-toc.el:237:62:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In reftex-find-start-point: reftex-sel.el:364:26:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In reftex-select-jump-to-previous: reftex-sel.el:527:22:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In reftex-toc-restore-region: reftex-toc.el:631:7:Warning: `goto-line' used from Lisp code That command is designed for interactive use only reftex-toc.el:634:7:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In rst-promote-region: rst.el:1402:35:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In rst-straighten-decorations: rst.el:1467:55:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In rst-straighten-deco-spacing: rst.el:1500:25:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In rst-section-tree: rst.el:1632:50:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In rst-toc: rst.el:2019:55:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In rst-forward-section: rst.el:2138:14:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In tex-compilation-parse-errors: tex-mode.el:2249:18:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In 2C-associated-buffer: two-column.el:540:6:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In url-file: url-file.el:164:14:Warning: assignment to free variable `filename' url-file.el:169:74:Warning: reference to free variable `filename' In vc-rcs-annotate-command: vc-rcs.el:678:22:Warning: `goto-line' used from Lisp code That command is designed for interactive use only Compiling /Users/cg/src/repo-git/emacs/lisp/vc.el vc-rcs.el:718:26:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In View-goto-line: view.el:819:4:Warning: `goto-line' used from Lisp code That command is designed for interactive use only --=-=-= Content-Type: text/plain -- Ubi bene, ibi patria --=-=-=--