Commit Graph

269 Commits (066866c539b874d0682754e5effe48b78184b09a)

Author SHA1 Message Date
Björn Lindqvist d05363e1e8 FUEL: need to catch and handle scan-error that forward-sexp can emit if there is no closing bracket 2013-12-12 08:24:02 -08:00
Björn Lindqvist b1b146e709 FUEL: fixed font-locking of SYMBOLS 2013-12-12 08:24:02 -08:00
Björn Lindqvist 084e3e98f1 FUEL: correct font-locking of nested stack effect declarations.
The new matcher function isn't "fooled" by stack effect declarations
like: ( ... seq quot: ( ... elt index -- ... ) i -- ... )
2013-12-01 06:51:48 -08:00
Björn Lindqvist d5568986b2 FUEL: improved font-locking of DESTRUCTOR and FORGET 2013-12-01 06:51:48 -08:00
Björn Lindqvist 0e1d454e66 FUEL: correct highlighting of GENERIC# and MACRO: 2013-12-01 06:51:48 -08:00
Björn Lindqvist d93a444c4c FUEL: improved regexps for setters and getters, now they arent fooled by the parsing words << and >> 2013-12-01 06:51:48 -08:00
Björn Lindqvist 4d56a136a1 FUEL: correct colorizing for FROM and EXCLUDE 2013-12-01 06:51:48 -08:00
Björn Lindqvist 85098e0e49 FUEL: fixed regexp for C-GLOBAL and RENAME 2013-12-01 06:51:48 -08:00
Björn Lindqvist e1bf75cc68 FUEL: colorizing for PROTOCOL and some uncommon parsing words 2013-12-01 06:51:48 -08:00
Björn Lindqvist f21d634a13 FUEL: highlight predicates 2013-12-01 06:51:48 -08:00
Björn Lindqvist a2c7b7c82c FUEL: font-lock ENUMs 2013-12-01 06:51:48 -08:00
Björn Lindqvist 08cf1b3567 FUEL: fix regexp for number literals 2013-09-20 13:42:50 -07:00
Björn Lindqvist 9f8648e1e7 FUEL: highlight alien callbacks identical to functions 2013-09-20 13:42:50 -07:00
Björn Lindqvist 05b18519f6 FUEL: improve handling of whitespace in regexps 2013-09-20 13:42:50 -07:00
Björn Lindqvist 86712433cd FUEL: Improved highlighting of stack effect declarations for alien functions. Types are highlighted bold using the new face factor-font-lock-type-in-stack-effect. 2013-09-20 13:42:50 -07:00
Björn Lindqvist ccda289400 FUEL: better matching for hex numbers, eg. 0xDeadBeefBabe 2013-09-20 13:42:50 -07:00
Björn Lindqvist 85c02e0e0d FUEL: improved highlighting of alien syntax; TYPEDEF, C-TYPE, STRUCT and UNION-STRUCT 2013-09-20 13:42:50 -07:00
Björn Lindqvist 0ac088ccfc FUEL: Correct font-locking of tuples with initial values. 2013-08-19 11:44:41 -07:00
Björn Lindqvist 9ac1522daa FUEL: Tables in help buffers must be plain ascii to be correctly rendered everywhere. 2013-08-14 18:21:58 +02:00
Björn Lindqvist 23e3bcd9ff FUEL: Make fuel-help (C-c C-d d) work for vocabularies too. 2013-08-14 18:04:18 +02:00
Björn Lindqvist f35795f415 FUEL: Correct regexp to work with multiline USING: 2013-08-14 18:02:32 +02:00
Björn Lindqvist 365a790eba FUEL: Put several more characters that can be used in word names in the symbols class 2013-08-14 17:41:36 +02:00
Björn Lindqvist ec74afdd23 FUEL: Error message is now shown if word can't be found. 2013-08-14 13:21:19 +02:00
Björn Lindqvist 13945c4252 FUEL: Exterminating the evil tabs. Also highlight them so they get easier to kill. 2013-08-07 23:53:24 +02:00
Björn Lindqvist 9fae604546 FUEL: One + less... 2013-08-07 18:35:07 +02:00
Björn Lindqvist 3fea81d7cc FUEL: Improve font-locking of constructs that span multiple lines. 2013-08-07 18:27:59 +02:00
Björn Lindqvist 830637c84d FUEL: Improved font-locking. Colors for USING expressions, hexadecimal numbers and tuple slots. 2013-08-05 11:16:23 -07:00
Björn Lindqvist 1358a9eb55 FUEL: Compatibility functions for Emacs 24.2. 2013-07-13 19:13:39 +02:00
Samuel Tardieu 13389a8400 FUEL: unmask `fuel-refresh-all`
`fuel-refresh-all` is documented as mapped onto "\C-c\C-r", but this was
masked by an undocumented mapping for `fuel-eval-region` (which is
already bound to "\C-c\C-e\C-r").
2013-06-07 00:11:21 +02:00
Erik Charlebois 7ab88c8b9d FUEL: Tweak package description 2013-05-12 13:22:41 -04:00
Erik Charlebois 8aa55dff52 FUEL: fuel-pkg.el file for MELPA metadata 2013-05-11 17:02:27 -04:00
Erik Charlebois 9b0989a901 FUEL: Documentation fixes 2013-05-07 22:28:42 -04:00
Erik Charlebois ba02db8485 FUEL: Fix Emacs package metadata for MELPA recipe 2013-05-07 02:03:26 -04:00
Erik Charlebois deb0ceaa9c Large reorg of FUEL codebase
* Modernize the FUEL elisp code for Emacs 24.3. Emacs 24.3 deprecated
the old 'cl lib and standardized a new 'cl-lib lib to put the name
clash issues to rest once and for all. This version of FUEL now requires
24.3.
* Move FUEL code that was needed by factor-mode into factor-mode and
rename appropriately. factor-mode and FUEL are now clearly separated
and FUEL depends on factor-mode.
* Set up FUEL with appropriate autoloads so that it's Emacs 24 package
manager friendly. FUEL can now be uploaded to MELPA or some similar
package manager.
* Changed the Factor faces for font locking to inherit from the default
Emacs faces rather than defaulting to other colors. This means that
Emacs themes will work for Factor code out of the box. Further
tailoring of Factor-specific faces can be done by users themselves.
* Cleaned up a lot of code to use Emacs conventions
(define-defined-mode, define-minor-mode, indent-function, etc) and added
a propery syntax table so that paren matching works, and word/symbol
skipping works.
* Added a new minor mode, fuel-autohelp-mode, that displays the help for
the symbol under point in another window. A fusion of fuel-autodoc-mode
and fuel-help-mode that's quite handy for reading Factor code.
2013-05-07 01:41:12 -04:00
mcandre 946b18fde3 preparing FUEL for MELPA 2013-04-24 06:56:43 -07:00
John Benediktsson 2d68c470ea misc/fuel: try and fix autodoc bug report. 2013-03-08 14:34:43 -08:00
Joe Groff 72de75b881 let's pretend BIN: HEX: OCT: never happened 2011-11-23 19:22:37 -08:00
Doug Coleman 2551dd0e4e Handle auto-user in fuel-connection.el. Fix suggested by Eungju Park. 2011-11-02 18:14:10 -07:00
Doug Coleman 6c15e97597 Fix the fuel "No prompt found" bug using eungju's better fix; otherwise would just pull the patch. 2011-11-02 09:28:29 -07:00
Jose A. Ortega Ruiz 0c5a0ee058 FUEL: Menus for factor, listener, doc and debug buffers. 2010-08-13 04:25:57 +02:00
Jose A. Ortega Ruiz 5d8495aa5a FUEL: Remove key bindings of the form C-c <alphabetic>
Bindings of the form C-c <alphabetic> (e.g. C-c z) are traditionally
reserved in Emacs for user-defined keymaps, and shouldn't be used by
packages.

This patch removes all bindings of that form, replacing them by C-c
C-<alphabetic> (or simply preserving a previously existing binding).
E.g., C-c z becomes C-c C-z. In most cases, the binding with two C's
was already present.

The only change not following the above rule is C-c h in the listener,
which has become C-c C-w (because the C-h suffix is also 'taken' by
Emacs conventions).
2010-08-12 03:14:44 +02:00
Jose A. Ortega Ruiz 5fd5ed4afe FUEL: fix for listener's misbehaviour in the presence of output. 2010-07-31 23:39:21 +02:00
Jose A. Ortega Ruiz a4c37338fa FUEL: New option to make listener's prompt non-readonly.
By setting fuel-listener-prompt-read-only-p to nil, you'll be able to
delete (portions of) the prompt in the listener. This doesn't have
much value by itself, except that, moreover, a non-read-only prompt
makes some i/o operations work. E.g.:

 "input x:" print flush readln

will work with the new variable set to nil.
2010-07-31 20:11:36 +02:00
Dmitry Shubin 221fb87fae FUEL: improve highlighting and indentation for ERROR: 2010-06-12 06:42:58 +04:00
Dmitry Shubin d24ffe8346 FUEL: improve syntax highlighting: C-TYPE:, FUNCTION-ALIAS: and more 2010-05-13 22:50:26 +04:00
Dmitry Shubin 9e2fab61ef FUEL: syntax highlighting for DESTRUCTOR: and C-GLOBAL: 2010-05-13 20:20:16 +04:00
Erik Charlebois baab8c060d Remove ENUM: f and replace uses with CONSTANTs.
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00
Erik Charlebois 04d947ef1a Merge branch 'master' of git://factorcode.org/git/factor 2010-04-17 17:48:40 -07:00
Dmitry Shubin a540ffdc36 FUEL: do not fail if there is no file associated with current buffer 2010-04-17 03:27:00 +04:00
Erik Charlebois d387947033 FUEL: Syntax highlight CONSULT: and PROTOCOL: 2010-04-16 13:41:16 -07:00