From unknown Sun Jun 22 17:16:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7071: 23.2; ld-script-mode grabs .xs, and probably shouldn't Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Sep 2010 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7071 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7071@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128491766817240 (code B ref -1); Sun, 19 Sep 2010 17:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Sep 2010 17:34:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxNmW-0004U1-4T for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:34:28 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxNmS-0004Tw-CL for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:34:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxNoo-0004zL-4G for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:36:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:46832) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxNoo-0004zH-0c for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:36:50 -0400 Received: from [140.186.70.92] (port=54666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxNom-0006EC-FG for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2010 13:36:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxNok-0004yj-Gb for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2010 13:36:48 -0400 Received: from exprod7og107.obsmtp.com ([64.18.2.167]:48657) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OxNok-0004yS-4o for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2010 13:36:46 -0400 Received: from source ([74.125.82.180]) by exprod7ob107.postini.com ([64.18.6.12]) with SMTP ID DSNKTJZKKzB77AEEeLhvka/hkJ6zMivUM/rQ@postini.com; Sun, 19 Sep 2010 10:36:45 PDT Received: by wyb40 with SMTP id 40so3523646wyb.25 for ; Sun, 19 Sep 2010 10:35:53 -0700 (PDT) Received: by 10.216.181.84 with SMTP id k62mr6879158wem.76.1284917753284; Sun, 19 Sep 2010 10:35:53 -0700 (PDT) Received: from canta (93-96-139-152.zone4.bethere.co.uk [93.96.139.152]) by mx.google.com with ESMTPS id k46sm4531293weq.10.2010.09.19.10.35.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 19 Sep 2010 10:35:52 -0700 (PDT) From: Reuben Thomas Date: Sun, 19 Sep 2010 18:35:51 +0100 Message-ID: <87eicpab60.fsf@canta.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.9 (-----) I just found the following in auto-mode-alist: ("\\.x[bdsru]?[cn]?\\'" . ld-script-mode) which explains why when I open a .xs file, it ends up in ld-script-mode. I had never even heard of ld scripts. I=E2=80=99m no Perl programmer, but I= had heard of Perl .xs files (which for the uninitiated are basically C, but with special annotations for writing bindings to Perl). I suggest that .xs should be awarded to perl-mode. In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-06-13 on mord, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-lin= ux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/us= r/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir= =3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs2= 3:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/s= ite-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/sh= are/emacs/23.2/leim' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' '--with-tool= kit-scroll-bars' 'build_alias=3Di486-linux-gnu' 'CFLAGS=3D-DDEBIAN -g -O2' = 'LDFLAGS=3D-g' 'CPPFLAGS=3D'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Help Minor modes in effect: show-paren-mode: t savehist-mode: t minibuffer-electric-default-mode: t iswitchb-mode: t icomplete-mode: t global-auto-revert-mode: t desktop-save-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t view-mode: t Recent input: C-p C-p C-s s e l f M-< C-s L i b X M L _ i n i t _=20 p a r s e r C-a =20 =20 =20 =20 =20 =20 C-x=20 C-SPC C-x C-SPC C-x b C-s p a r s e _ w e=20 l l =20 b a l a n c e d M-< C-s d o m p P a r s=20 e W e l l M-< C-s p w e l l b a l a n c=20 e d C-a =20 =20 =20 =20 =20 C-e x m l D o c P t r SPC d o c=20 ; C-x C-s C-h m C-x C-g C-x b M-x c c - m=20 o d e =20 - m o d e C-h v a=20 u t o - m o d e - a l i s t C-s x s C-s C-s=20 C-s C-s C-s C-s C-a M-< C-s l d - s c r i p t C-a C-k=20 M-x r e p=20 o r t - e m a c s - b u g Recent messages: Mark saved where search started Mark set Mark saved where search started Saving file /home/rrt/repo/XML-LibXML/LibXML.xs... Wrote /home/rrt/repo/XML-LibXML/LibXML.xs Type "q" to restore this window, C-v to scroll help. Mark saved where search started Mark set Mark saved where search started Read only text copied to kill ring Load-path shadows: /home/rrt/local/share/emacs/site-lisp/lua-mode hides /usr/share/emacs23/sit= e-lisp/lua-mode/lua-mode /home/rrt/.emacs.d/elpa/dictionary-1.8.7/link hides /usr/share/emacs23/site= -lisp/dictionary-el/link /home/rrt/.emacs.d/elpa/dictionary-1.8.7/connection hides /usr/share/emacs2= 3/site-lisp/dictionary-el/connection /home/rrt/.emacs.d/elpa/dictionary-1.8.7/dictionary-init hides /usr/share/e= macs23/site-lisp/dictionary-el/dictionary-init /home/rrt/.emacs.d/elpa/dictionary-1.8.7/dictionary hides /usr/share/emacs2= 3/site-lisp/dictionary-el/dictionary /usr/share/emacs23/site-lisp/css-mode/css-mode hides /usr/share/emacs/site-= lisp/css-mode/css-mode /usr/share/emacs/23.2/site-lisp/auctex/tex-info hides /usr/share/emacs/site= -lisp/auctex/tex-info /usr/share/emacs/23.2/site-lisp/auctex/context-nl hides /usr/share/emacs/si= te-lisp/auctex/context-nl /usr/share/emacs/23.2/site-lisp/auctex/context-en hides /usr/share/emacs/si= te-lisp/auctex/context-en /usr/share/emacs/23.2/site-lisp/auctex/latex hides /usr/share/emacs/site-li= sp/auctex/latex /usr/share/emacs/23.2/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-= lisp/auctex/tex-mik /usr/share/emacs23/site-lisp/dictionary-el/lpath hides /usr/share/emacs/sit= e-lisp/auctex/lpath /usr/share/emacs/23.2/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-= lisp/auctex/tex-buf /usr/share/emacs/23.2/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-l= isp/auctex/tex-jp /usr/share/emacs/23.2/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-= lisp/auctex/tex-bar /usr/share/emacs/23.2/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp= /auctex/tex /usr/share/emacs/23.2/site-lisp/auctex/multi-prompt hides /usr/share/emacs/= site-lisp/auctex/multi-prompt /usr/share/emacs/23.2/site-lisp/auctex/tex-fptex hides /usr/share/emacs/sit= e-lisp/auctex/tex-fptex /usr/share/emacs/23.2/site-lisp/auctex/tex-font hides /usr/share/emacs/site= -lisp/auctex/tex-font /usr/share/emacs/23.2/site-lisp/auctex/tex-fold hides /usr/share/emacs/site= -lisp/auctex/tex-fold /usr/share/emacs/23.2/site-lisp/auctex/texmathp hides /usr/share/emacs/site= -lisp/auctex/texmathp /usr/share/emacs/23.2/site-lisp/auctex/context hides /usr/share/emacs/site-= lisp/auctex/context /usr/share/emacs/23.2/site-lisp/auctex/font-latex hides /usr/share/emacs/si= te-lisp/auctex/font-latex /usr/share/emacs/23.2/site-lisp/auctex/bib-cite hides /usr/share/emacs/site= -lisp/auctex/bib-cite /usr/share/emacs/23.2/site-lisp/auctex/toolbar-x hides /usr/share/emacs/sit= e-lisp/auctex/toolbar-x /usr/share/emacs/23.2/site-lisp/auctex/tex-style hides /usr/share/emacs/sit= e-lisp/auctex/tex-style /usr/share/emacs23/site-lisp/psgml/psgml-init hides /usr/share/emacs/site-l= isp/psgml/psgml-init /usr/share/emacs23/site-lisp/psgml/psgml-parse hides /usr/share/emacs/site-= lisp/psgml/psgml-parse /usr/share/emacs23/site-lisp/psgml/psgml-info hides /usr/share/emacs/site-l= isp/psgml/psgml-info /usr/share/emacs23/site-lisp/psgml/psgml-html hides /usr/share/emacs/site-l= isp/psgml/psgml-html /usr/share/emacs23/site-lisp/psgml/psgml-other hides /usr/share/emacs/site-= lisp/psgml/psgml-other /usr/share/emacs23/site-lisp/psgml/psgml hides /usr/share/emacs/site-lisp/p= sgml/psgml /usr/share/emacs23/site-lisp/psgml/psgml-charent hides /usr/share/emacs/sit= e-lisp/psgml/psgml-charent /usr/share/emacs23/site-lisp/psgml/psgml-sysdep hides /usr/share/emacs/site= -lisp/psgml/psgml-sysdep /usr/share/emacs23/site-lisp/psgml/psgml-ids hides /usr/share/emacs/site-li= sp/psgml/psgml-ids /usr/share/emacs23/site-lisp/psgml/psgml-dtd hides /usr/share/emacs/site-li= sp/psgml/psgml-dtd /usr/share/emacs23/site-lisp/psgml/psgml-api hides /usr/share/emacs/site-li= sp/psgml/psgml-api /usr/share/emacs23/site-lisp/psgml/psgml-edit hides /usr/share/emacs/site-l= isp/psgml/psgml-edit /usr/share/emacs/23.2/site-lisp/cdargs hides /usr/share/emacs/site-lisp/cda= rgs /usr/share/emacs/23.2/site-lisp/cscope/xcscope hides /usr/share/emacs/site-= lisp/xcscope /usr/share/emacs/23.2/site-lisp/cmake-data/cmake-mode hides /usr/share/emac= s/site-lisp/cmake-mode /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-= lisp/debian-startup /usr/share/emacs23/site-lisp/css-mode/css-mode hides /usr/share/emacs/23.2/= lisp/textmodes/css-mode /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/= emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/em= acs/23.2/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/23.2/lisp/textmodes/r= st /usr/share/emacs23/site-lisp/ruby1.8-elisp/ruby-mode hides /usr/share/emacs= /23.2/lisp/progmodes/ruby-mode Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug pp help-mode view vc-dispatcher vc-svn tabify ld-script multi-isearch make-mode texmathp cperl-mode longlines vc-git preview prv-emacs byte-opt tex-buf noutline outline font-latex bytecomp byte-compile latex tex-style tex face-remap filladapt flyspell conf-mode newcomment auto-dictionary-autoloads dictionary-autoloads js2-mode-autoloads package reporter completing-help ff-paths uniquify paren savehist minibuf-eldef iswitchb icomplete autorevert time cus-start cus-load desktop server change-mode advice help-fns advice-preload php-mode derived etags cc-langs cl cl-19 cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs speedbar sb-image ezimage dframe easymenu assoc lua-mode regexp-opt comint ring whitespace etags-update smart-quotes easy-mmode edmacro kmacro ispell ffap psgml-init muse-autoloads emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs bbdb-autoloads preview-latex tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) --=20 http://rrt.sc3d.org/ From unknown Sun Jun 22 17:16:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7071: Correction: I meant c-mode, not perl-mode References: <87eicpab60.fsf@canta.dyndns.org> In-Reply-To: <87eicpab60.fsf@canta.dyndns.org> Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Sep 2010 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7071 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7071 <7071@debbugs.gnu.org> Received: via spool by 7071-submit@debbugs.gnu.org id=B7071.128491795917395 (code B ref 7071); Sun, 19 Sep 2010 17:40:02 +0000 Received: (at 7071) by debbugs.gnu.org; 19 Sep 2010 17:39:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxNrD-0004WW-1y for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:39:19 -0400 Received: from exprod7og112.obsmtp.com ([64.18.2.177]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OxNrA-0004WO-Jw for 7071@debbugs.gnu.org; Sun, 19 Sep 2010 13:39:17 -0400 Received: from source ([74.125.82.177]) by exprod7ob112.postini.com ([64.18.6.12]) with SMTP ID DSNKTJZLVhRMnB77lMkAcW3Rs+kEg6EvD0dm@postini.com; Sun, 19 Sep 2010 10:41:49 PDT Received: by wyb38 with SMTP id 38so4631427wyb.22 for <7071@debbugs.gnu.org>; Sun, 19 Sep 2010 10:41:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.146.73 with SMTP id g9mr948105wbv.188.1284918102113; Sun, 19 Sep 2010 10:41:42 -0700 (PDT) Received: by 10.227.138.213 with HTTP; Sun, 19 Sep 2010 10:41:42 -0700 (PDT) Date: Sun, 19 Sep 2010 18:41:42 +0100 Message-ID: From: Reuben Thomas Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -5.7 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.9 (-----) >From what I wrote, it should be obvious that I meant that .xs should be awarded to c-mode, not, as I stupidly said, perl-mode. -- http://rrt.sc3d.org From unknown Sun Jun 22 17:16:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Reuben Thomas Subject: bug#7071: closed (Re: bug#7071: ld-script-mode grabs .xs, and probably shouldn't) Message-ID: References: <87eicpab60.fsf@canta.dyndns.org> X-Gnu-PR-Message: they-closed 7071 X-Gnu-PR-Package: emacs Reply-To: 7071@debbugs.gnu.org Date: Thu, 23 Sep 2010 07:33:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1285227182-2327-1" This is a multi-part message in MIME format... ------------=_1285227182-2327-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7071: 23.2; ld-script-mode grabs .xs, and probably shouldn't which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7071@debbugs.gnu.org. --=20 7071: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7071 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1285227182-2327-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7071-done) by debbugs.gnu.org; 23 Sep 2010 07:32:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OygHp-0000bF-F8 for submit@debbugs.gnu.org; Thu, 23 Sep 2010 03:32:09 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OygHo-0000bA-5G for 7071-done@debbugs.gnu.org; Thu, 23 Sep 2010 03:32:08 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OygKK-00019j-0R; Thu, 23 Sep 2010 03:34:44 -0400 To: 7071-done@debbugs.gnu.org Subject: Re: bug#7071: ld-script-mode grabs .xs, and probably shouldn't References: <87eicpab60.fsf@canta.dyndns.org> From: Glenn Morris X-Spook: target Attorney General assassination Putin Mafia Marxist X-Ran: kUBD5sr(pkvBAJ!C.(L'qcRj;o[ti.pXJN-WOd'F(UJ`i}@Y8`]CT0W}mB}KoC#z&^tp)& X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 23 Sep 2010 03:34:43 -0400 In-Reply-To: (Reuben Thomas's message of "Sun\, 19 Sep 2010 18\:41\:42 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7071-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.2 (------) OK; done. ------------=_1285227182-2327-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Sep 2010 17:34:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxNmW-0004U1-4T for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:34:28 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxNmS-0004Tw-CL for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:34:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxNoo-0004zL-4G for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:36:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:46832) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxNoo-0004zH-0c for submit@debbugs.gnu.org; Sun, 19 Sep 2010 13:36:50 -0400 Received: from [140.186.70.92] (port=54666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxNom-0006EC-FG for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2010 13:36:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxNok-0004yj-Gb for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2010 13:36:48 -0400 Received: from exprod7og107.obsmtp.com ([64.18.2.167]:48657) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OxNok-0004yS-4o for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2010 13:36:46 -0400 Received: from source ([74.125.82.180]) by exprod7ob107.postini.com ([64.18.6.12]) with SMTP ID DSNKTJZKKzB77AEEeLhvka/hkJ6zMivUM/rQ@postini.com; Sun, 19 Sep 2010 10:36:45 PDT Received: by wyb40 with SMTP id 40so3523646wyb.25 for ; Sun, 19 Sep 2010 10:35:53 -0700 (PDT) Received: by 10.216.181.84 with SMTP id k62mr6879158wem.76.1284917753284; Sun, 19 Sep 2010 10:35:53 -0700 (PDT) Received: from canta (93-96-139-152.zone4.bethere.co.uk [93.96.139.152]) by mx.google.com with ESMTPS id k46sm4531293weq.10.2010.09.19.10.35.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 19 Sep 2010 10:35:52 -0700 (PDT) From: Reuben Thomas To: bug-gnu-emacs@gnu.org Subject: 23.2; ld-script-mode grabs .xs, and probably shouldn't Date: Sun, 19 Sep 2010 18:35:51 +0100 Message-ID: <87eicpab60.fsf@canta.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.9 (-----) I just found the following in auto-mode-alist: ("\\.x[bdsru]?[cn]?\\'" . ld-script-mode) which explains why when I open a .xs file, it ends up in ld-script-mode. I had never even heard of ld scripts. I=E2=80=99m no Perl programmer, but I= had heard of Perl .xs files (which for the uninitiated are basically C, but with special annotations for writing bindings to Perl). I suggest that .xs should be awarded to perl-mode. In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-06-13 on mord, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-lin= ux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/us= r/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir= =3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs2= 3:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/s= ite-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/sh= are/emacs/23.2/leim' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' '--with-tool= kit-scroll-bars' 'build_alias=3Di486-linux-gnu' 'CFLAGS=3D-DDEBIAN -g -O2' = 'LDFLAGS=3D-g' 'CPPFLAGS=3D'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Help Minor modes in effect: show-paren-mode: t savehist-mode: t minibuffer-electric-default-mode: t iswitchb-mode: t icomplete-mode: t global-auto-revert-mode: t desktop-save-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t view-mode: t Recent input: C-p C-p C-s s e l f M-< C-s L i b X M L _ i n i t _=20 p a r s e r C-a =20 =20 =20 =20 =20 =20 C-x=20 C-SPC C-x C-SPC C-x b C-s p a r s e _ w e=20 l l =20 b a l a n c e d M-< C-s d o m p P a r s=20 e W e l l M-< C-s p w e l l b a l a n c=20 e d C-a =20 =20 =20 =20 =20 C-e x m l D o c P t r SPC d o c=20 ; C-x C-s C-h m C-x C-g C-x b M-x c c - m=20 o d e =20 - m o d e C-h v a=20 u t o - m o d e - a l i s t C-s x s C-s C-s=20 C-s C-s C-s C-s C-a M-< C-s l d - s c r i p t C-a C-k=20 M-x r e p=20 o r t - e m a c s - b u g Recent messages: Mark saved where search started Mark set Mark saved where search started Saving file /home/rrt/repo/XML-LibXML/LibXML.xs... Wrote /home/rrt/repo/XML-LibXML/LibXML.xs Type "q" to restore this window, C-v to scroll help. Mark saved where search started Mark set Mark saved where search started Read only text copied to kill ring Load-path shadows: /home/rrt/local/share/emacs/site-lisp/lua-mode hides /usr/share/emacs23/sit= e-lisp/lua-mode/lua-mode /home/rrt/.emacs.d/elpa/dictionary-1.8.7/link hides /usr/share/emacs23/site= -lisp/dictionary-el/link /home/rrt/.emacs.d/elpa/dictionary-1.8.7/connection hides /usr/share/emacs2= 3/site-lisp/dictionary-el/connection /home/rrt/.emacs.d/elpa/dictionary-1.8.7/dictionary-init hides /usr/share/e= macs23/site-lisp/dictionary-el/dictionary-init /home/rrt/.emacs.d/elpa/dictionary-1.8.7/dictionary hides /usr/share/emacs2= 3/site-lisp/dictionary-el/dictionary /usr/share/emacs23/site-lisp/css-mode/css-mode hides /usr/share/emacs/site-= lisp/css-mode/css-mode /usr/share/emacs/23.2/site-lisp/auctex/tex-info hides /usr/share/emacs/site= -lisp/auctex/tex-info /usr/share/emacs/23.2/site-lisp/auctex/context-nl hides /usr/share/emacs/si= te-lisp/auctex/context-nl /usr/share/emacs/23.2/site-lisp/auctex/context-en hides /usr/share/emacs/si= te-lisp/auctex/context-en /usr/share/emacs/23.2/site-lisp/auctex/latex hides /usr/share/emacs/site-li= sp/auctex/latex /usr/share/emacs/23.2/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-= lisp/auctex/tex-mik /usr/share/emacs23/site-lisp/dictionary-el/lpath hides /usr/share/emacs/sit= e-lisp/auctex/lpath /usr/share/emacs/23.2/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-= lisp/auctex/tex-buf /usr/share/emacs/23.2/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-l= isp/auctex/tex-jp /usr/share/emacs/23.2/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-= lisp/auctex/tex-bar /usr/share/emacs/23.2/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp= /auctex/tex /usr/share/emacs/23.2/site-lisp/auctex/multi-prompt hides /usr/share/emacs/= site-lisp/auctex/multi-prompt /usr/share/emacs/23.2/site-lisp/auctex/tex-fptex hides /usr/share/emacs/sit= e-lisp/auctex/tex-fptex /usr/share/emacs/23.2/site-lisp/auctex/tex-font hides /usr/share/emacs/site= -lisp/auctex/tex-font /usr/share/emacs/23.2/site-lisp/auctex/tex-fold hides /usr/share/emacs/site= -lisp/auctex/tex-fold /usr/share/emacs/23.2/site-lisp/auctex/texmathp hides /usr/share/emacs/site= -lisp/auctex/texmathp /usr/share/emacs/23.2/site-lisp/auctex/context hides /usr/share/emacs/site-= lisp/auctex/context /usr/share/emacs/23.2/site-lisp/auctex/font-latex hides /usr/share/emacs/si= te-lisp/auctex/font-latex /usr/share/emacs/23.2/site-lisp/auctex/bib-cite hides /usr/share/emacs/site= -lisp/auctex/bib-cite /usr/share/emacs/23.2/site-lisp/auctex/toolbar-x hides /usr/share/emacs/sit= e-lisp/auctex/toolbar-x /usr/share/emacs/23.2/site-lisp/auctex/tex-style hides /usr/share/emacs/sit= e-lisp/auctex/tex-style /usr/share/emacs23/site-lisp/psgml/psgml-init hides /usr/share/emacs/site-l= isp/psgml/psgml-init /usr/share/emacs23/site-lisp/psgml/psgml-parse hides /usr/share/emacs/site-= lisp/psgml/psgml-parse /usr/share/emacs23/site-lisp/psgml/psgml-info hides /usr/share/emacs/site-l= isp/psgml/psgml-info /usr/share/emacs23/site-lisp/psgml/psgml-html hides /usr/share/emacs/site-l= isp/psgml/psgml-html /usr/share/emacs23/site-lisp/psgml/psgml-other hides /usr/share/emacs/site-= lisp/psgml/psgml-other /usr/share/emacs23/site-lisp/psgml/psgml hides /usr/share/emacs/site-lisp/p= sgml/psgml /usr/share/emacs23/site-lisp/psgml/psgml-charent hides /usr/share/emacs/sit= e-lisp/psgml/psgml-charent /usr/share/emacs23/site-lisp/psgml/psgml-sysdep hides /usr/share/emacs/site= -lisp/psgml/psgml-sysdep /usr/share/emacs23/site-lisp/psgml/psgml-ids hides /usr/share/emacs/site-li= sp/psgml/psgml-ids /usr/share/emacs23/site-lisp/psgml/psgml-dtd hides /usr/share/emacs/site-li= sp/psgml/psgml-dtd /usr/share/emacs23/site-lisp/psgml/psgml-api hides /usr/share/emacs/site-li= sp/psgml/psgml-api /usr/share/emacs23/site-lisp/psgml/psgml-edit hides /usr/share/emacs/site-l= isp/psgml/psgml-edit /usr/share/emacs/23.2/site-lisp/cdargs hides /usr/share/emacs/site-lisp/cda= rgs /usr/share/emacs/23.2/site-lisp/cscope/xcscope hides /usr/share/emacs/site-= lisp/xcscope /usr/share/emacs/23.2/site-lisp/cmake-data/cmake-mode hides /usr/share/emac= s/site-lisp/cmake-mode /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-= lisp/debian-startup /usr/share/emacs23/site-lisp/css-mode/css-mode hides /usr/share/emacs/23.2/= lisp/textmodes/css-mode /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/= emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/em= acs/23.2/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/23.2/lisp/textmodes/r= st /usr/share/emacs23/site-lisp/ruby1.8-elisp/ruby-mode hides /usr/share/emacs= /23.2/lisp/progmodes/ruby-mode Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug pp help-mode view vc-dispatcher vc-svn tabify ld-script multi-isearch make-mode texmathp cperl-mode longlines vc-git preview prv-emacs byte-opt tex-buf noutline outline font-latex bytecomp byte-compile latex tex-style tex face-remap filladapt flyspell conf-mode newcomment auto-dictionary-autoloads dictionary-autoloads js2-mode-autoloads package reporter completing-help ff-paths uniquify paren savehist minibuf-eldef iswitchb icomplete autorevert time cus-start cus-load desktop server change-mode advice help-fns advice-preload php-mode derived etags cc-langs cl cl-19 cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs speedbar sb-image ezimage dframe easymenu assoc lua-mode regexp-opt comint ring whitespace etags-update smart-quotes easy-mmode edmacro kmacro ispell ffap psgml-init muse-autoloads emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs bbdb-autoloads preview-latex tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) --=20 http://rrt.sc3d.org/ ------------=_1285227182-2327-1--