debian/0000755000000000000000000000000012200205573007162 5ustar debian/watch0000644000000000000000000000011512176430432010216 0ustar version=3 https://github.com/immerrr/lua-mode/releases .*/rel-(.*)\.tar\.gz debian/compat0000644000000000000000000000000212176421510010363 0ustar 7 debian/changelog0000644000000000000000000001155012200205417011033 0ustar lua-mode (20130419-3) unstable; urgency=low * Don't build for emacs21, xemacs21 (Closes: #718826, #718827) -- Hilko Bengen Tue, 06 Aug 2013 16:41:04 +0200 lua-mode (20130419-2) unstable; urgency=low * Fixed install file (Closes: #718811) -- Hilko Bengen Mon, 05 Aug 2013 22:26:40 +0200 lua-mode (20130419-1) unstable; urgency=low * Adopted package (Closes: #628938) * New upstream version - No longer uses last-command-char which has been deprecated since Emacs 19.34 (Closes: #705634) - Correctly indents/aligns multi-line conditions (Closes: #546467) - Correctly highlights multi-line comments (Closes: #602301) * Updated watch file * Various cleanups - Bumped Standards-Version, updated Homepage, stripped build-dependencies - Simplified debian/rules -- Hilko Bengen Thu, 01 Aug 2013 18:26:00 +0200 lua-mode (20110121-1) unstable; urgency=low * New upstream version, which includes patch multiline-strings.diff. * Upstream has apparently moved to github. -- Jens Peter Secher Tue, 22 Mar 2011 07:06:01 +0100 lua-mode (20100617-1) experimental; urgency=low * New upstream version. (Closes: #601678) * Removed a keybinding patch and some open bugs because they seem to be obsoleted by the new uptream version, but it is somewhat hard to tell in the absence of changelogs and release notes, but here we go: (Closes: #546465,#546463) * Added Lua 5.1 to the enhancement list. (Closes: #574519) -- Jens Peter Secher Sat, 30 Oct 2010 10:30:35 +0200 lua-mode (20071122-4) unstable; urgency=low * Converted to dpkg-source format 3.0 (quilt). * Use mercurial-buildpackage for repository maintenance, so old repository does not exist any more. * Include ${misc:Depends} so that debhelper can inject items into the dependency list. * Bumped Standards-Version to 3.9.1, no change. -- Jens Peter Secher Sat, 30 Oct 2010 09:49:01 +0200 lua-mode (20071122-3) unstable; urgency=low * Leave elisp source file links next to byte-compiled files so that info system can locate the source code. (Closes: #543492) * Fontify multiline strings. (Closes: #466130) * Use quilt instead of dpatch for patches. * Use debhelper 7. * Upgraded to Standards-Version 3.8.3. + Added a Homepage control field. + Added a Vcs-Hg control filed to indicate the location of the public repository. + Describe how to use quilt in Debian.source (thanks to Russ Allbery). * Do not load site/init files during byte compilation. -- Jens Peter Secher Sun, 30 Aug 2009 17:20:20 +0200 lua-mode (20071122-2) unstable; urgency=low * Changed unusual keyboard binding to standard ones, thanks to Trent W. Buck. (Closes: bug#468298) * Bumped Standards-Version to 3.7.3. -- Jens Peter Secher Sun, 02 Mar 2008 10:32:36 +0100 lua-mode (20071122-1) unstable; urgency=low * New upstream release. * Bumped debhelper compatibility version to 5. -- Jens Peter Secher Sun, 02 Dec 2007 13:24:50 +0100 lua-mode (20070703-2) unstable; urgency=low * Use autoload instead of load, thanks to Trent W. Buck. (Closes: bug#446234) -- Jens Peter Secher Mon, 15 Oct 2007 22:05:28 +0200 lua-mode (20070703-1) unstable; urgency=low * New upstream release. * Simplify install, removal, and load-path by using symlinks instead of copying source files. -- Jens Peter Secher Sun, 22 Jul 2007 23:17:59 +0200 lua-mode (20061208-1) unstable; urgency=low * New upstream release. (Closes: bug#402133) - which fixes typo in docstring. (Closes: bug#394206) - which obsoletes my patch for multiline comments, so dpatch is no longer needed. * Include a watch file. -- Jens Peter Secher Sun, 10 Dec 2006 13:30:39 +0100 lua-mode (20060625-1) unstable; urgency=low * New upstream release. (Closes: bug#390588) * Bumped Standards-Version to 3.7.2. -- Jens Peter Secher Wed, 4 Oct 2006 22:56:21 +0200 lua-mode (1.74-2) unstable; urgency=low * Show commented out multiline comments as non-comments... 'mkay! (Closes: bug#350277) -- Jens Peter Secher Thu, 9 Feb 2006 21:55:57 +0100 lua-mode (1.74-1) unstable; urgency=low * New upstream version. + Fixes broken indentation. (Closes: bug#345316) * Use the right path to the lua executable. * Automatically turn on lua-mode for lua files. * Make sure that Emacs Help can find the source code by including the location in load-path. -- Jens Peter Secher Mon, 2 Jan 2006 22:25:57 +0100 lua-mode (1.26-1) unstable; urgency=low * Initial release. (Closes: bug#266160) -- Jens Peter Secher Tue, 2 Nov 2004 21:26:59 +0100 debian/source/0000755000000000000000000000000012176421510010465 5ustar debian/source/format0000644000000000000000000000001412176421510011673 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000275312176421510011127 0ustar This package was debianised by Jens Peter Secher on Mon, 16 Aug 2004 23:57 +0200. It was downloaded from http://lua-users.org/files/wiki_insecure/editors/lua-mode.el Upstream Author: 2006 Juergen Hoetzel 2004 various (support for Lua 5 and byte compilation) 2001 Christian Vogler 1997 Bret Mogilefsky starting from tcl-mode by Gregor Schmid with tons of assistance from Paul Du Bois and Aaron Smith . Copyright (C) 1997, 2001, 2004, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. The full GNU General Public License is located in the file /usr/share/common-licenses/GPL-2 on a Debian system. debian/rules0000755000000000000000000000003612176507332010253 0ustar #!/usr/bin/make -f %: dh $@ debian/emacsen-remove0000644000000000000000000000040012176421510012010 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/lua-mode FLAVOR=$1 PACKAGE=lua-mode if [ ${FLAVOR} != emacs ]; then echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi exit 0 debian/control0000644000000000000000000000107012176507351010576 0ustar Source: lua-mode Section: editors Priority: optional Maintainer: Hilko Bengen Build-Depends: debhelper (>= 7), Standards-Version: 3.9.4 Homepage: https://github.com/immerrr/lua-mode Package: lua-mode Architecture: all Depends: emacs24 | emacsen, ${misc:Depends} Enhances: lua50, lua5.1, lua5.2 Description: Emacs mode for editing Lua programs This emacs mode provides syntax highlighting and automatic indentation for Lua, as well as sending lines/regions/files to a lua interpreter. You will need this if you write Lua programs using Emacs. debian/emacsen-install0000744000000000000000000000157512200205065012171 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/install/lua-mode FLAVOR=$1 PACKAGE=lua-mode # Do nothing if generic flavor. case ${FLAVOR} in emacs|emacs21|xemacs*) exit 0 ;; esac echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} # The byte-compiled files goes into the site-lisp directory. BCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} install -m 755 -d ${BCDIR} # The elisp source files are in the generic site-list directory. SRCDIR=/usr/share/emacs/site-lisp/${PACKAGE} SRC=`find ${SRCDIR} -name '*.el' -exec basename '{}' ';'` # Prepare for byte-compiling the source files. cd ${BCDIR} ln -sf ${SRCDIR}/*.el . cat << EOF > path.el (setq load-path (cons "." load-path) byte-compile-warnings nil) EOF # Byte-compile elisp files. FLAGS="--no-site-file --no-init-file --batch -l path.el -f batch-byte-compile" ${FLAVOR} ${FLAGS} ${SRC} rm -f path.el exit 0 debian/install0000644000000000000000000000005712200005075010550 0ustar lua-mode.el usr/share/emacs/site-lisp/lua-mode debian/emacsen-startup0000644000000000000000000000131412176421510012222 0ustar ;; -*-emacs-lisp-*- (if (not (file-exists-p "/usr/share/emacs/site-lisp/lua-mode")) (message "Package lua-mode removed but not purged. Skipping setup.") ;; The lua-mode package follows the Debian/GNU Linux 'emacsen' policy ;; and byte-compiles its elisp files for each 'emacs flavor'. The compiled ;; code is then installed in a subdirectory of the respective site-lisp ;; directory. (debian-pkg-add-load-path-item (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/lua-mode")) ;; Automatically start lua files in lua-mode. (add-to-list (quote auto-mode-alist) (quote ("\\.lua\\'" . lua-mode))) (autoload 'lua-mode "lua-mode" "Major mode for editing Lua code." t))