renice.el version 2
I made an M-x renice which uses the "renice" program to decrease priority of a sub-process in Emacs. http://user42.tuxfamily.org/renice/index.html I use it to lower a compilation-mode program which is taking a long time, so it's below other jobs. Also works in an M-x list-processes. Not much more than run "renice", but picks out pid for process, and current priority is shown if possible. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: tex-increase.el version 6
Thorsten Bonowwrites: > > "Nothing more for \\Huge" Thanks, I think previously the string to show was without backslash. > It would be nice if the functions were able to change matching parens > together: > > \bigl(...\bigr) -> \Bigl(...\Bigr) Hmm. Yes could be handy. Might be tricky to identify the pairing if the document is a dog's dinner while editing. Yatex does some bits for that I think -- I'm more minimal :). Perhaps when close enough together. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
tex-increase.el version 6
I made a couple of interactive functions to increase or decrease TeX sizes like \Bigl to \biggl etc. http://user42.tuxfamily.org/tex-increase/index.html There's some tex, latex and amsmath spacings, font sizes and maths styles, but no configurability. I find it convenient for adjusting when previewing, and because I never really remember the sizes available or exactly what order. YaTeX mode has a vaguely similar paren changer which queries for a new size. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
upstr.el v.3 -- up-list out of a string or TeX maths too
This version adds going up out of TeX $...$. Various sexp commands like forward-sexp or kill-sexp act on pairs of those, but not up-list and backward-up-list. I've found it convenient for interactive use to have them do so too. Dunno about programmatic use. Perhaps not, for compatibility. upstr.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1 iD8DBQBUjTfxLFMCIV9q3ToRAkQtAKC4HZb26RTvmIwbCSkRcLHSJEKjAQCfU1Rk 7fwpD5iKMoRydyfiHomnFLo= =wKdX -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
ffap-pod-F.el v.5 -- M-x ffap on perl pod Ffilename
This is a couple of lines I've used for a while but don't think I ever posted. It lets M-x ffap act on perl pod filename markup like F/etc/passwd I imagine and as non-filename chars would get almost the same effect, though ffap-pod-F.el also works with point on the F and it understands pod E and Z escapes potentially in such markup. ffap-pod-F.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1 iD8DBQBUfj8OLFMCIV9q3ToRAqSdAKCctW52p0a8LaB0luE8gySvBKM6ugCgjFJw VpKGKYIjfjs9HmuWjkJ12LI= =zOOs -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
oeis.el v.4
This is a few lines I use for browsing and searching the OEIS, http://oeis.org. There's local downloads and grep, and remote access. The local grep requires the big stripped file of sequence sample values. When you find numbers or perhaps names in the OEIS there's often interesting cross-connections to other mathematical areas. oeis.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1 iD8DBQBUF/y/LFMCIV9q3ToRAoxSAJ9t0hQvxaMOwqbYuccrWWh2mf2LngCfYXwP 5brAiTM2x4pSae7ebH0qKiU= =oB9R -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: nobreak-fade.el v.8
Emanuel Berg embe8...@student.uu.se writes: {\bf boldface} and stuff like that I don't think I've ever been emboldened to write \bf. A bit of \rm perhaps. :-) -- It's a long way to the shop if you want a sausage roll. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
nobreak-fade.el v.8
This is some miscellaneous funcs I use in fill-nobreak-predicate. The latest addition is TeX maths to prevent line breaks when a short symbol is at the start or end of something like $x \blah\blah y$ nobreak-fade.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1 iD8DBQBTlVg4LFMCIV9q3ToRAm45AKCqTecUrXfTHmdclVroUD0+pegy/wCfcmrE Hh2qpTZfGbKk7Jm9VpLq2c0= =o3D0 -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
ispell-stopwords.el v.8
This is a couple of lines I've used to set ispell per-file local words to the =for stopwords used by perl Pod::Spell. Ispell and Pod::Spell have slightly different notions of a word so there's a slightly nasty hack to suppress punctuation characters in the stopwords needed for Pod::Spell but which ispell doesn't like. ispell-stopwords.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) iD8DBQBSYZmSLFMCIV9q3ToRAhY7AJwJdzAn4egyHDSPbqEjkyuW32f2eQCcCwc/ 1Bapkq8s9D+W3Lz85HuRAUk= =AZow -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
mailcap-mode.el v.2
This is a mode for editing RFC 1524 /etc/mailcap. It's rather basic, but there's a cute tie-in to auto-complete.el for completion of keywords and mime types. mailcap-mode.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) iD8DBQBSYb9SLFMCIV9q3ToRAlj+AJ0SMiuYfIdmLkiGKPdR+lTMzpWKOgCfVja0 OJlNy5N8xL8czdaW9coyJj4= =2NNh -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
aumix-mode.el v.6 - running aumix in a buffer
This is a new version of my aumix-mode.el. The latest feeping creature is inter-operation with desktop.el. The latest fix is unset DISPLAY to ensure the curses interface if aumix is built with the gtk option too. aumix-mode.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQBR7IRWLFMCIV9q3ToRAntLAKCraDk8b2HYb2B++yXDcHjtxD1CaQCglbSo hPsB4WMHcNNKQZuh8fgJaz4= =SvOk -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: Cut and paste to Linux console
chipschap chipsc...@gmail.com writes: I'd like to cut and paste between X-windows and EMACS in a Linux console (as in a Ctrl-Alt-F1 console). I put together the following small hack, which seems to work for my environment. But my question is, surely this has been done before? I use a daemon to paste from X to gpm, or rather listen for a button press using gpm and paste into the console ioctl. Works into anything on the console, such as a shell prompt etc. In Emacs must turn off gpm-mouse-mode so it doesn't take over the normal gpm operation. http://user42.tuxfamily.org/x2gpm/index.html ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
dired-visit-history.el
This is a spot of code I've used to make dired file visits go into the usual file-name-history. It's a good way to make that history more like all the recent files you visited -- though perhaps whether you want that or only explicit find-files is a personal preference :). dired-visit-history.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQBO3WOrLFMCIV9q3ToRAiyKAKCdWaypyQobUI0DqaJTtfHZ9SQgfQCdF/a/ sOm3y6dC1Htsb01Cjuuxl20= =nNf1 -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
weblint.el
This is a few lines I've been using to run the weblint html syntax checker whenever saving a .html file. It's fast enough to run every time and keeps you out of trouble when hand editing html. Rumour has it the big sgml tools can run fancy checks against a declared dtd or whatever. But if like me you're not smart enough for all such stuff then give this a try instead :). weblint.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQBO+QElLFMCIV9q3ToRAsbqAKCZg5ryXhtykC8o4jfzxngq3M5O9ACgmRuM 2wuD+drJ/TkmKVq9kUxwVf4= =QSLn -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
unicode-disp.el v.5
This is a bit of a window display table hack I've used for a while to mangle unicode chars to something viewable on a latin1 tty. It's very limited but might inspire other or similar things. Exactly what you want to see for undisplayables tends to be a matter of personal preference and/or how often you strike offending chars. The quote marks are probably the most common nonsense encountered. Multi-char replacements tend to make a mess of table columns etc. unicode-disp.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQBPKwjkLFMCIV9q3ToRAgw/AJ0T3u+q3TAEkdtGDZ+xPqpHGJwPCgCfSj+G h3Aghb/nLjrRAZ/ffH1ddD4= =r33R -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
help-xref-elfiles.el v.3
This is a couple of lines I made to buttonize .emacs and foo.el in docstrings, going to those those files either user-init-file for .emacs or the usual locate-library for .el files. .el filenames in docstrings are usually in add-on libraries mentioning related things etc. Within emacs itself of course cross references are usually to a symbol, mode name, etc. The buttonizing matches anything filename-like since there's no specific delimiters. I suppose demanding quotes like `foo.el' or `.emacs' could be sure to make them unambiguous, though words ending .el are close enough in practice. help-xref-elfiles.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQBPCKprLFMCIV9q3ToRAkETAJ9OCotXOGoCrpFpZHA5gEQOcypaLgCdHeVp w+a0X0R3xw3+SiL77Q3dzwU= =3wGh -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: elisp-docstring-preview.el v.1
Uwe Brauer o...@mat.ucm.es writes: but what is the function suppose to do? I can't see any effect (Xemacs 21.5.29 or GNU emacs 23.1.1) maybe some screenshot in some place would be a good idea. That particular apropos-describe-plist? It dumps the symbol-plist. Handy on a (put ...) form sometimes. The whole thing though is supposed to be as simple as C-M-x eval and C-h f describe function or C-h v describe variable, etc, with some bells and whistles. That is a joke or the sad truth? Have a look at a documentary called The Games which followed sydney olympics supremo John Clarke and his team ... incredible. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
wx-look.el v.1
This is a couple of lines adapted from my gtk-look to lookup classes and methods in the wxwidgets html manual. It's got some name mangling for wxperl, a little more might be needed for wxpython but it's already quite close. wx-look.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQBOhmg+LFMCIV9q3ToRArqcAJ4lFPc3SXISFZh8GAc6uLW71QztAACguxtP nXgKhZGbf6B6oGu+JGT6NPw= =68x3 -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
compilation-onewin.el v.3 -- compilation buffer in one-window
This is a spot of code I've used to have an M-x compile window start as one window in the frame, ie. a whole frame window. It remembers whether the buffer was last viewed one-window or the usual split-window style and does that again on the next M-x compile. I find it handy when re-running compiles that have bigger output than compilation-window-height can usefully accommodate. If I went to one-window last run then I want one-window again! I suspect there's a more general kind of rule lurking, maybe things like maybe C-h i info-lookup-symbol similarly remember how you last looked, but the compilation is the only one that's mattered to me. compilation-onewin.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMu28FLFMCIV9q3ToRAtDKAKCypYNZImZr/P6DUMgId9QdEAq6jQCeOIh6 uvJs5wgPRf1piky/qCh/NyY= =SX73 -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
accjournal.el v.3
This is a few lines I've had on the go for a long time for a bit of minimal double-entry accounting. It's elisp-only and does enough for some personal tax accounting or the like. It's a bit rough, but being text file based at least means not too much can go wrong with the data. It started out as literally a few lines of code to post/accumulate transactions in to and from accounts, then grew a bit. The source dist has some examples/ files which might make it clearer ftp://download.tuxfamily.org/user42/accjournal-3.tar.gz If you like the idea of text file accounting you might prefer the ledger program, which does a lot more (and comes with a bit of an emacs mode). accjournal.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMYKkrLFMCIV9q3ToRAmV/AJ9vGb5EOpIlW+qFNC0egDJFkXXIoQCgi1hF AcAeg9cJgzSO/DR1MkkMu1w= =MqFD -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
do-not-edit.el v.7
It's been a while since I posted this. The changes are incremental. do-not-edit.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMThBBLFMCIV9q3ToRAoDuAKCGOit4aTq6dZmSaU8aFu05rPWoewCcDHDw 0zhFrovVg4JvPcfeh8c0HIA= =ZDcm -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
align-let.el v.11
This version adds aligning of multi-var setqs like (setq foo 1 xyzzy 2) It's jigged up so M-x align-let (whatever key binding) automatically notices when it's in a multi-var setq rather than let-bindings. align-let.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMRNY9LFMCIV9q3ToRAr6oAJ9HfPB10RS67biaZaE5TIrt3H7qhgCbBNPB JMgHtBRbQGaumbfGbCfAoj8= =WTgZ -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
man-completion.el v.27
It's been many versions of incremental changes since I last posted this. man-completion.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMThX1LFMCIV9q3ToRAjbJAKCaQGX/9gO93+EL4PyTT0QZHfEyjwCeLSIe OTjHhGDvENq4WaIXIYN9crQ= =lpU/ -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: man-completion.el v.27
Oops, that was v.26, this is v.27 man-completion.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMXJn5LFMCIV9q3ToRAjboAJ9lPrSdxTl7Sj1G9jjp0eOcTf7noQCePGoR /R1QzxuWbd2ITS3LpaVcEAc= =iF7p -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
bytecomp-simplify.el v.11
This few lines has grown progressively, though not by very much. I still think the byte compiler has the best info to report these, and is used often so you see the checks, yet at the same time programming style is a little outside the scope of compiling, or alternately they could be candidates for automatic byte-opt. At any rate for now it works out handy. bytecomp-simplify.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMUNQXLFMCIV9q3ToRAuQSAJ9n+mAcWGvEAFDPmzZ1jejcs6RuBwCfTCHe derDc83NtAjQFWGIU0CjnRE= =jqei -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
checkdoc-autoload.el v.2
This is a few lines I've been using to look at ;;;###autoload cookies under M-x checkdoc. The things it advises tend to be easily enough remembered once you know, but a mechanical check is handy if going over old code or cutting and pasting. checkdoc-autoload.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMUNJ9LFMCIV9q3ToRAkSOAJ9YSRNe3qh+Ndyh0n7XDOq2cvmhVACfY3lu LmJSawNEzl0Q83Qz+WucCBY= =qiv/ -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
compile-command-default.el v.9
This is a few lines I use to generate a compile-command for specific types of files. The included bits are just for running perl .pl, .pl.gz and .t, but it's supposed to be general. compile-command-default.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMUNHRLFMCIV9q3ToRApXuAJ9u8GwqZ56PNmo7QdGigbHXccX2SgCaAwP9 UC3T1UPKd5QfMKpwohyBWqI= =9ZPJ -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
checkdoc-batch.el v.3
This spot of code runs M-x checkdoc in batch style, giving a report of problems instead of going through interactively fixing them. The implementation is diabolical, but it's very handy for checking a big set of lisp files in one go. A happy side effect is that it avoids the way for interactive M-x checkdoc an n means next docstring not no I don't want to fix this thing. Answering n can make you miss subsequent problems if you don't want to fix the first. checkdoc-batch.el Description: application/emacs-lisp #!/bin/sh # emacs-checkdoc-batch -- run checkdoc-batch.el on lisp files # # Copyright 2010 Kevin Ryde # # emacs-checkdoc-batch 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 3, or (at your option) # any later version. # # emacs-checkdoc-batch 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 can get a copy of the GNU General Public License online at # http://www.gnu.org/licenses/. # set -x # Normally in -batch mode .emacs is not read, make that happen by passing # -u by default. # lispfile=checkdoc-batch.el args= user=-u `whoami` while [ $# -gt 0 ] do case $1 in --lispdir=*) lispfile=`echo $1 | sed s/^--lispdir=//` lispfile=$lispfile/checkdoc-batch.el shift ;; --lispdir) lispfile=$1/checkdoc-batch.el shift ;; -q|-Q) user= args=$args $1 shift ;; -u) user=$1 $2 shift 2 ;; --user=*) user=$1 shift ;; --) shift break ;; -*) args=$args $1 shift ;; *) break ;; esac done if [ $# -eq 0 ] then cat 12 'HERE' Usage: emacs-checkdoc-batch [-options] [--] filename... Run checkdoc-batch.el on each given filename. By default ~/.emacs and site-start.el is loaded. The usual Emacs options can control this, -q don't load .emacs -Q don't load .emacs or site-start.el -u username load this user's .emacs -- end options, only filenames follow other options are passed through to Emacs too. Read more in the emacs-checkdoc-batch(1) man page. The checkdoc-batch home page is http://user42.tuxfamily.org/checkdoc-batch/index.html HERE exit 1 fi exec emacs -batch $user $args -l $lispfile -f checkdoc-batch-commandline $@ .\ Copyright 2010 Kevin Ryde .\ .\ emacs-checkdoc-batch 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 3, or (at your option) .\ any later version. .\ .\ emacs-checkdoc-batch 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 can get a copy of the GNU General Public License online at .\ http://www.gnu.org/licenses/. .\ .\ .TH EMACS-CHECKDOC-BATCH 1 .SH NAME emacs-checkdoc-batch \- run checkdoc-batch.el over elisp source files .SH SYNOPSIS emacs-checkdoc-batch [--emacs-options] foo.el ... .SH DESCRIPTION \fBemacs-checkdoc-batch\fR runs checkdoc-batch.el over Lisp files given on the command line. A report of problems found is printed to the standard output. .P By default the usual \fI~/.emacs\fR startup is loaded. This is not normally done for Emacs batch mode, but \fBemacs-checkdoc-batch\fR does it to get customizations and additions to checkdoc. The usual Emacs \fB-q\fR or \fB-Q\fR options can prevent that. . .SH FILES .I ~/.emacs . .SH SEE ALSO .BR emacs (1), .BR checkdoc-batch.el . .SH HOME PAGE .\ when output is to groff grohtml use .URL from www.tmac .ie '\*[.T]'html' \{\ .mso www.tmac .URL http://user42.tuxfamily.org/checkdoc-batch/index.html http://user42.tuxfamily.org/checkdoc-batch/index.html .\} .el http://user42.tuxfamily.org/checkdoc-batch/index.html . .SH LICENCE Copyright 2010 Kevin Ryde .PP emacs-checkdoc-batch 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 3, or (at your option) any later version. .PP emacs-checkdoc-batch 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. .PP You should have received a copy of the GNU General Public License along with emacs-checkdoc-batch; see the file \fICOPYING\fR. Failing that, goto .ie '\*[.T]'html' \{\ .URL http://www.gnu.org/licenses/ http://www.gnu.org/licenses/ .\} .el http://www.gnu.org/licenses/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU
parasep.el v.2 -- some paragraph-separate setup funcs
This is a few lines of paragraph separator stuff I've used in various forms for a long time. The dashes separator is good in text files, and I apply empty-comments separator almost everywhere since I prefer `comment-empty-lines'. I suppose if the paragraph start/separate mechanism was more sophisticated than a pair of regexps it could look dynamically at comment-empty-lines, but a mode-hook setup of the regexps is enough for me. parasep.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLluq4LFMCIV9q3ToRAu9HAJ9MHU9dkU74dgVyH8M+eDTWbQ2R9wCfTY1b zG2pashjHy1tRGOMBtc5j/8= =S7cY -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
bytecomp-simplify v.5 -- simplification warns when byte compiling
This is where I got to for what I mentioned on emacs-devel about the byte compiler perhaps warning of possible simplifications in the code. It's a bit inconvenient having to work in a -l bytecomp-simplify.el when batch byte compiling, but if you only do it during development it's not too bad. I suppose elint.el could also do this sort of thing, but the byte compiler seems a bit easier and has a bit better information about what's actually code etc. I suppose also each source simplification is an opportunity for a byte-optimize too. The downgrade of re-search-forward to fixed string search-forward would probably be safe, though maybe dropping a function call like (point-max) from such a form could miss defadvice or other redefinition if someone was doing something very hairy. bytecomp-simplify.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLmVhGLFMCIV9q3ToRAiOZAJ9usDTGtF0/Ys0Bjl0eKrWkq3IzBwCfeVnT P4+Gxjq1mxaysUFs7tQKMC0= =t35T -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
nobreak-fade.el v.3
This is some little functions I use for nobreaks in paragraph filling. nobreak-fade-single-letter-p is a variation on fill-single-word-nobreak-p, making a nobreak only for single-letter words like A or I. I find the all-words action of fill-single-word-nobreak-p a bit too much, but I like the idea for little ones. Two-letter An or whatnot would be an obvious possibility too, but I find that still reasonable on the eye. nobreak-fade.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLR7nOLFMCIV9q3ToRAi06AJsH79nZscaJmsAuOkUw28KcSn0E1QCgnlFO cIZ18RQ3FXikG4BWn+shf7M= =ofoj -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: sqlite-dump.el
Stefan Monnier monn...@iro.umontreal.ca writes: Why not just (let ((write-region-post-annotation-function nil)) ,@body) Looks a bit excessive, doesn't it. It's meant act only on the badness in the current buffer, not all buffers. Not that I'm expecting any writes from other buffers, perhaps except a temp buffer of my own, but just in case. I probably should confine the fixup to when post-annotation is set to kill-buffer, just in case in the future there's a value there that's actually wanted. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
sqlite-dump.el
This few lines lets you view sqlite database files as SQL .dump from the sqlite or sqlite3 program, using the format-alist mechanism. You can edit and save, if you trust .dump is round-trip safe on your database. There's no auto-mode-alist entries yet, though *.sqlite is one possibility. It's used by recent mozilla (under ~/.mozilla) for bookmarks, history, etc. The code has a workaround for the write-region-post-annotation-function problem (the one that turns make-temp-file into kill-buffer), but as usual I'm not 100% certain of the unibyte/multibyte handling - except it works for me, at least with underlying file-coding-system-alist set for raw-text-unix on the file. sqlite-dump.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLP86vLFMCIV9q3ToRApfnAJ4g8A+CWERPITygR4VlRnhL1A6bDQCeI22Z xserFJu9D3Rcyz3eBemecwg= =KPRS -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
filladapt-pat.el
This is some stuff I've had on the go for a long time to prune or extend the patterns in filladapt.el. Most of the time filladapt's all patterns at once is a very good mode-agnostic way of filling, but sometimes things like postscript % or supercite XX can be wrong more often than right. When that happens I get rid of it with say (add-hook 'perl-mode-hook 'filladapt-pat-no-postscript) The wild looking setups are supposed to defer the filladapt variable settings until and unless actually loading filladapt, so filladapt-pat bits in hooks don't drag in filladapt.el every time. Not yet sure how much value there is in that, but it adds a bit of flexibility if you don't always have filladapt.el on-hand. filladapt-pat.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLMBceLFMCIV9q3ToRAmfsAJ96nKR9OLX7lpd2/u5JnmD0qbZkRQCfZp9g cObcOTfjE8oEpByRpSemZDk= =ol+X -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
align-let.el v.6 -- aligning values in a let form
It's been a while since I posted this spot of code. This version does more of its motion by sexps, which biggens the code a touch, but should cope better with odd lisp variants, or unusual commenting or code layout. align-let.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLEZGhLFMCIV9q3ToRAjJ2AKCiDLU7COAyiZAtsQgIqqd3V8XTpgCdE5Bk 3dxWS6EDpfqMmdyon067KJo= =NewU -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
ffap-makefile-vars.el -- expand $(FOO)
This couple of lines gets M-x ffap to expand $(FOO) macros in makefiles (per the todo list in the ffap.el commentary). The way it hooks into ffap is nasty (like my other ffap bits!), but the effect is good. Gnu make assignment forms are recognised, but their special behaviours like += for concatenating aren't yet followed, since so far I only use it on very basic makefiles. ffap-makefile-vars.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLCER4LFMCIV9q3ToRAkDdAJ91YwHOxTzYKEcPkIwc/R72wo0ZuQCggnbF nP3yg3T4SnhULljtQX/9Sh4= =oDYH -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
aumix-mode.el
This is a couple of lines for running the aumix program in a buffer. I started it a while ago and only lately got it to work properly. The key bit is to ensure term-char-mode. (volume.el is also good. It uses aumix as a back-end, with a one-line display instead of a whole buffer.) aumix-mode.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKd4jFLFMCIV9q3ToRAiHqAJ98MAQ8JeVAagQL2U74tTjryYH3SwCfTfGT n7jJEQG0lt4pKGDKIZRuf0E= =NEfk -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
do-not-edit.el
This is a couple of lines I've used to keep myself from myself by going read-only on generated files. It looks for DO NOT EDIT or DO NOT MODIFY in the first 10 lines, but perhaps it that will be configurable in the future, or at least extended to some other likely forms. do-not-edit.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKdON0LFMCIV9q3ToRAnryAJ9Ta1PDf1vrqzPtIqUQmi9V0eW5aACfY1mn bU+4Mc0Wb6Ylcgc66ksdeh8= =mibt -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: perl-quote.el v.1
Ilya Zakharevich nospam-ab...@ilyaz.org writes: I would find the opposite conversion more often useful... It's there too :). Incidentally even when there's no backslashing to de-mangle I quite like having the two quotes changed in one keystroke. Parens are added for __ and N__ because __'' doesn't work, a quote there is the old-style package name separator, it must be __(''). Do not know: would not SPACE (instead of parens) be a better alternative? Personal preference no doubt :). When I started it I think I found parens clearer, and I don't think I knew __ was prototyped. N__ might be prototyped only in the next upcoming Locale::TextDomain, which could be a compatibility consideration if still using an older one. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
perl-quote.el v.1
This is a bit of code I've been using to convert perl strings between single quotes 'foo' and double quote foo. I use it mostly to automatically flip the backslashing needed, so 'xxyy' - xx\yy or vice versa. I've also found the gettext style __ - __('') good because adding parens manually is a bit tedious. The q{} and qq{} support may be a bit superfluous, and might be imperfect too. perl-quote.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKKGmxLFMCIV9q3ToRAsO5AJ9RSelyGtKDK8PZ/oG1TNSQBk3KZgCfbT5R h6nonw/IgEzo3M/yKvVPTko= =rfTa -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
ffap-perl-module.el
This spot of code extends M-x ffap to go to the source file for a perl module. The best feature is extending or pruning the module name to help on abbreviations, subpackages and variables. I've slightly wondered if this sort of thing stretches ffap beyond what it was really meant for, but the target is a file, and when you're on a use Foo::Bar line such a find isn't a million miles away from what ffap already does for a C #include. ffap-perl-module.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJZ+a6LFMCIV9q3ToRAqfqAJ9jFxUKaTvnSYC8HbiMOtSwLl2LTgCfeaU2 5YR31AbF49z+GvTeUyrIveA= =efBN -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
man-completion.el v.3
This version adds a hook scheme for manipulating the default at point offered. Included funcs mangle a perl module name to get a page name from a possible abbreviation, subpackage or variable, the same sort of way my ffap-perl-module.el does. I'm not sure if a whole hookable thing is really needed. The perl nonsense was the only thing I could think of to massage the default. Perhaps that's not surprising if perl is the only big user of man pages left :-). man-completion.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJZ+32LFMCIV9q3ToRArzBAKCGG74Syq3AeUCwirf9w57Qz8QmQACeJUbu M3sS1HmezGoX1DIQlOlId8E= =IuQl -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
xtide.el v.7
I haven't posted my xtide.el for a while, this is the newest. It's still just meant to be M-x xtide to see whether you should stop noodling around on the computer because there's enough water to get out across the bar. :) xtide.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJY9g+LFMCIV9q3ToRAuOUAJ9pg1WV7XD2HhpWmIf0JEEcslHaIACfW5/M MNzVc68aowjnhiqUtixnBqU= =RnYo -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
compilation-emacs21-batch.el
This is a compile regexp I've been using for emacs21 batch-byte-compile output, when still giving that a run ... or rather it's a compile regexp plus 100 lines of verbiage and backwards compatibility. :-) compilation-emacs21-batch.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJY/NILFMCIV9q3ToRAgUyAKCnWQguqGwkKiuQcp0b7e4a0H/LvgCePP0K 9xhsOvIET+lIlk75rqPB9X0= =Y5TA -END PGP SIGNATURE- -- The Copenhagen Interpretation elucidated for the layman: You can't be sure until you see for yourself. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: man-completion.el
Martin Fischer [EMAIL PROTECTED] writes: woman ... which has such a feature already ? Yep, remarks in the file. In fact I put up the defadvice on the wiki for pressing it into service on M-x man. (defadvice man (before my-woman-prompt activate) (interactive (progn (require 'woman) (list (woman-file-name nil) The better question would actually be why not iman.el! :-) ... in the end I found neither to be exactly what I wanted. Roland Winkler [EMAIL PROTECTED] writes: it would make sense if both genders could share such code, There's normally a subtle difference in that man parses the pages for aliases (lexgrog), so its database has the occasional extra. (I guess further discussion to gnu-emacs-help rather than here ...) ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
man-completion.el
This is a bit of code I started to add completion to M-x man. The filename bit might be slightly preliminary, I'm not too well up on the best way to do filename completion tied in with other possibilities. man-completion.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIG7deLFMCIV9q3ToRAnqLAJ9dOP7PYf1sxn2BMOGsZdWMrY2/QwCgoNTQ 4GYC2k6yfmhosuCkQ9LiKKE= =/oZF -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
tty-format.el v.3
This version turns backspacing with unicode U+203E overline char into a face. Recent groff seems to give that in utf-8 output modes, I struck it for instance in the current debian man-db manual. tty-format.el Description: application/emacs-lisp ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
compilation-perl.el v5
This version adds Test::Builder as used by Test::More, plus a hack to turn down the gnu pattern of Emacs 22 so it doesn't mismatch Glib::Log messages (Emacs 21 is already ok). compilation-perl.el Description: application/emacs-lisp ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
perl-pod-gt.el -- perl pod markup bits
This is a couple of bits I've been using with perl pod markup: smart Egt insertion, no breaks around C , and some font lock warnings on dodgy bits like C$foo-bar. It's slightly at concept stage, and probably a matter of personal preference, but I find it good. The nobreak of C foo is actually a little like fill-french-nobreak-p does for double angle quotes. perl-pod-gt.el Description: application/emacs-lisp ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
makeinfo-info.el v4
This is a new version of my makeinfo-buffer using info. It notices emacs22, and there adds just the TeX-master feature, for operation on multi-file documents (like the emacs manual itself for instance). I still don't know if a variable like that is actually the best way. It's a risky-local-variable (with good reason) so setting it is a bit irritating, but you definitely need something for a multi-file document. tex-mode looks for a tex-main-file variable then does some clever guessing, and reftex has something similar. I guess texinfo isn't quite the same as tex, but re-using some of that could be good, if only I knew which bit. makeinfo-info.el Description: application/emacs-lisp ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
perl-pod-preview.el
This is a perl POD documentation formatting previewer I started on. It only uses pod2man, which means trouble with non-ascii (explained in the comments) and though other formatters could be used, pod2man has the advantage of being pretty much the most basic tool. perl-pod-preview.el Description: application/emacs-lisp ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
ffap rfc directories and space
This is a couple of tiny (to the point of miniscule) bits I've been using with ffap and RFCs. Firstly adding a path of directories to search before offering to download an rfc, which is good if you keep some local copies (vital when offline). I know there's at least four full-blown rfc download/manager packages, but this is intentionally minimal. Secondly getting RFC 1234 recognised by M-x ffap, instead of only RFC-1234. A space is found a lot, and the ffap dispatch part already handles it, but not the matching in the buffer. I'm not at all sure if munging ffap-string-at-point is the right way to do this, but it gets the desired result. ffap-rfc-directories.el Description: application/emacs-lisp ffap-rfc-space.el Description: application/emacs-lisp ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
tty-format.el -- ANSI SGR and backspace overstriking
This is another idea I've had bouncing around and hadn't until now worked up properly. I struck a few text files with backspace overstriking (to make bold on a line printer) and some ANSI escapes (likewise) and wanted a nice way to view them, so this is a couple of format-alist entries to do that. I know ansi-color.el can apply overlays, but I made text properties so in theory you can cut and paste into another formatted document. Dunno quite how often that would arise though. The ansi would almost be a sensible format to save, perhaps with some marker sequence at the start of the file, but I suspect its time has passed. You'd have thought backspace overstriking definitely would have died with the printers it was for, yet it's still found in for instance the current debian groff meintro.txt documentation. The foo.txt below is a sample showing what happens on decode (if it hasn't been mangled by the mail). M-x format-decode-buffer ansi-sgr and/or M-x format-decode-buffer backspace-overstrike The `tty-format-guess' function is my best idea to automate detection of this sort of thing. Far from ideal, but works ok in practice. tty-format.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGQ7QrLFMCIV9q3ToRAnYGAJ4iLAoOXbx9K6Dca0ZrxAekHxbXGACgsz7z Dzj08Lbu7iTbWP8EEEcLWv0= =o8Ca -END PGP SIGNATURE- _BB_oo_ll_dd_++_uu_nn_dd_ee_rr_ll_ii_nn_ee_ _bb_yy_ _oo_vv_ee_rr_ss_tt_rr_ii_kk_ee. BBoolldd bbyy oovveerrssttrriikkee. _U_n_d_e_r_l_i_n_e _b_y _o_v_e_r_s_t_r_i_k_e. Overstruck bullet: +o bold bullet ++oo ANSI attributes [1mbold[0;10m [4munderline[0;10m [1m[4mbold+underline[0;10m ANSI foreground colours: normal: [31m red [32m green [33m yellow [34m blue [35m magenta [36m cyan [37m white[0;10m bold: [1m[31m red [32m green [33m yellow [34m blue [35m magenta [36m cyan [37m white[0;10m ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
xtide.el v.4 -- view tide times from XTide
This is a new version of my tide times viewer. The changes from past posting are mostly incremental. The latest feeping creature is C-u d in the location bufer to sort by distance from your calendar-latitude / longitude, as a way to find places near home. xtide.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGP60vLFMCIV9q3ToRAt03AJ9YTNIcrenHxCeg3d2KueMAhIWOwwCfQz7r x/4GrYSBFgGPBKzQlyGOZ/o= =RtrR -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
compilation-recenter-end.el -- full window of text when compile ends
This is a spot of code I've been using (for a fair while, in different forms) to move the window position in compilation-mode windows when the compile ends, so that the end of the text is at the end of the window, thus maximizing the visible part. The effect is most noticable if you've got a largish window (and the default scrolling policy). compilation-recenter-end.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGNnqvLFMCIV9q3ToRAteKAKCILQVNgWO1PT8/OJ534dfxgRJnSQCfZ2Pf 0+JW5GSZpLqEvJmTMRwJazI= =rplM -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
arc-lzh-exe.el -- archive-mode on lzh self-extracting exes
This is a spot of code to add some support in archive-mode for LZH (LHa) format self-extracting executables. Plain .lzh works already, but not the .exe ones with the DOS extracting header. Only viewing works, not creating or modifying, but that was all I've needed. I'm not sure the unix lha program can create the executable format anyway. Current or future versions of the code (such as there might be) at http://www.geocities.com/user42_kevin/arc-lzh-exe/index.html arc-lzh-exe.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGHXsoLFMCIV9q3ToRAseAAJ9tf4XVCIHh8/TPj5aNeVmwkp/KbQCfdCu8 yne9KxIaatDk6AUbcKJVbVA= =kav0 -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
xtide.el - view XTide output in Emacs
This is some code for looking at XTide (http://www.flaterco.com/xtide) graphs and tables in a buffer. The grooviest feature is a T key tie-in to M-x calendar, so you can bring up the tides for the selected day, a bit like S for sunrise and M for phases of the moon. XTide's own gui does more than this interface, but if you're on a tty where the gui can't run, or just want to stay in emacs then xtide.el is a nice way to quickly see tide times. You need to set your location in the XTIDE_DEFAULT_LOCATION environment variable. If not then M-x xtide just shows the list of locations available (but there's no interactive selection from that list ... yet). xtide.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBFiG0VLFMCIV9q3ToRAvl0AJ42bcKpJUDWF/EEM4U6Dxs2qUNenQCgtbIA hUpviel5ZIOi6DHaa7PtWqg= =S/Z+ -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Re: tex-math-preview.el
Uwe Brauer [EMAIL PROTECTED] writes: I just tried to use it for wikipedia files since the documentation states it will work also for wikipedia markup. Yep. It should be in _one_ line, math\int /math Thanks, I only used it with one-line stuff (longlines.el). I think this new regexp can match multiple lines (let ((re \\$+\\(\\(?:\\$\\|[^$]\\)+?\\)\\$+\\|math\\(\\(?:.\\|\n\\)*?\\)/math\\|@math{\\([^}]+?\\)})) The same error occurred for $\int$ You might have to be careful where you've got point. If it's just before or just after a $ then I take that $ as the start of the maths. That's an imperfect rule, but $ as both start and end makes the syntax a bit ambiguous. Perhaps immediately before a $ should be taken to be the end, ie. point on the inside, if you know what I mean. ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
tex-math-preview.el
This is some code I've been using to look at how TeX maths come out. I know tex-mode has printing and previewing, but I wanted something both a little less and a little more -- automatically pick out the maths at point, and then only show the image or an error (don't keep a running tex and don't create any files). Sophisticated tex users won't be impressed, but if you're unsophisticated like me then it's all you want. :) The .asc signature is against my key at savannah http://savannah.gnu.org/people/viewgpg.php?user_id=2403 tex-math-preview.el Description: application/emacs-lisp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEa8rQLFMCIV9q3ToRAlGqAJ4vyLiaSXI81EgJDi+BLYPGMEDwTgCdEni8 gbAT+vMR2XUiTDHIh/bW7p8= =of3F -END PGP SIGNATURE- ___ gnu-emacs-sources mailing list gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
Chart version 4 - chart.el stock and commodity quotes
Chart is a Guile+Gtk program for displaying stock and commodity graphs and quotes. It includes an Emacs interface for quotes and the favourites watchlist. The Chart home page is http://www.geocities.com/user42_kevin/chart/index.html If you read financial news in emacs M-x chart-quote is a good way to see a current price for one symbol (eg. CL.NYMEX for crude oil or GM for general motors). For tracking a set of stocks M-x chart-watchlist brings up a favourites watchlist of quotes in a buffer for viewing or editing. This is the same as the watchlist in the main Chart GUI, but it's within emacs and it works on a text mode terminal (where the Chart Gtk GUI cannot run). All this is still at personal project level and a bit rough around the edges, but the aims are serious. ___ Gnu-emacs-sources mailing list Gnu-emacs-sources@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources