Bug#713038: yorick: emacs "\\.i$" pattern

Thibaut Paumard thibaut.paumard at gmail.com
Mon Jun 24 08:07:45 UTC 2013


Thanks,

I'm forwarding this upstream and make sure it's fixed in the next upload.

Kind regards, Thibaut.

Le 22/06/2013 01:30, Kevin Ryde a écrit :
> Package: yorick
> Version: 2.2.02+dfsg-6
> Severity: minor
> File: /etc/emacs/site-start.d/50yorick-auto.el
> 
> 50yorick-auto.el sets up pattern
> 
>     "\\.i$"
> 
> in auto-mode-alist.  Usually entries there should be
> 
>     "\\.i\\'"
> 
> to match only end-of-string, not a newline.  Of course filenames
> shouldn't normally have newlines, but it's end-of-string which is
> wanted.
> 
> The assoc test for an existing ".i" entry in particular should be
> "\\.i\\'" since that's what emacs23 and up has built-in.  I'm not sure
> if it's a good idea to modify an existing entry.  As a suggestion
> perhaps simply an unconditional
> 
>     (add-to-list 'auto-mode-alist '("\\.i\\'" . yorick-mode))
> 
> The first entry for ".i" will have precedence and an expert user will be
> able to see the choices.
> 
> 
> -- System Information:
> Debian Release: 7.0
>   APT prefers unstable
>   APT policy: (990, 'unstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.32-5-486
> Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages yorick depends on:
> ii  debconf       1.5.50
> ii  dpkg          1.16.4.2
> ii  install-info  5.1.dfsg.1-3
> ii  libc6         2.13-10
> ii  libx11-6      2:1.5.0-1
> ii  yorick-data   2.2.02+dfsg-6
> 
> Versions of packages yorick recommends:
> pn  rlwrap    <none>
> pn  yorick-z  <none>
> 
> Versions of packages yorick suggests:
> ii  curl                                    7.30.0-1
> ii  emacs21 [emacsen]                       21.4a+1-5.7
> ii  emacs22-gtk [emacsen]                   22.3+1-1.2
> ii  emacs23-lucid [emacsen]                 23.4+1-4
> ic  emacs24 [emacsen]                       24.3+1-1
> ii  emacs24-lucid [emacsen]                 24.3+1-1
> ii  xemacs21-mule [emacsen]                 21.4.22-4
> pn  yorick-dbg                              <none>
> pn  yorick-full                             <none>
> pn  yorick-mpy-openmpi | yorick-mpy-mpich2  <none>
> 
> -- no debconf information
> 



More information about the debian-science-maintainers mailing list