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
Erik Charlebois
26a55bbb16
Syntax highlighting for TYPED::
2010-04-06 12:58:37 -07:00
Erik Charlebois
77e63550a7
Add syntax highlighting for BEFORE: and AFTER:
2010-04-02 00:47:37 -07:00
Erik Charlebois
98da7ac16e
FUEL syntax updates
2010-03-02 19:32:07 -08:00
Erik Charlebois
0142d46688
Add scaffolding for platforms.txt, add option to fuel-scaffold-vocab
2010-02-22 20:17:49 -08:00
Erik Charlebois
4f8a6a032c
Syntax highlighting for COM-INTERFACE:
2010-02-22 19:34:54 -08:00
Erik Charlebois
52a8c3ebc9
FUEL: Add UNION-STRUCT: to syntax highlighting.
2010-02-21 16:42:31 -08:00
Erik Charlebois
9b8fd8d160
Fix parse error in elisp file
2010-02-21 04:39:44 -08:00
Erik Charlebois
a452966af9
FUEL: Add prefix key behavior to fuel-test-vocab so that it is similar to other FUEL interactive functions.
2010-02-21 03:35:15 -08:00
Erik Charlebois
ffddca36b7
Add scaffolding words for tags, summary and authors and hook these up to FUEL. Modified fuel-scaffold-vocab to prompt the user for tags, summary and whether to create help and test files immediately.
2010-02-21 03:34:08 -08:00
Erik Charlebois
bb3665f37e
FUEL: Flip the default behavior of visit-other-file so that it does not try to create -docs or -tests files if they do not exist by default. This is the more common case when spelunking in code and in general you want to scaffold those files anyway.
2010-02-21 03:27:16 -08:00
Erik Charlebois
a19c5f5663
Update FUEL font coloring for new syntactic keywords
2010-02-10 22:03:39 -08:00
erikc
c4bd780bff
Add fuel-test-vocab to FUEL (C-ct default) to run unit tests on a vocab
2010-02-08 15:58:40 -08:00
erikc
e3c3739624
Add brace matching for parse time quotes $\[
2010-02-05 15:52:55 -08:00
erikc
3e2f848101
Make TUPLE: indent, which seems to be the common indentation.
2010-01-27 15:31:08 -08:00
erikc
b2db8c4492
Add struct, struct-union and tag indent words.
2010-01-26 22:00:25 -08:00
Joe Groff
8f0321a0b1
remove [wlet ]
2009-10-26 23:17:40 -05:00
Phil Dawes
4ba2c5edaf
fuel: help subsections now work again
2009-10-14 19:04:16 +01:00
Jose A. Ortega Ruiz
e006b5f844
FUEL: additional debug level for, well, debugging purposes.
2009-07-31 17:45:46 +02:00
Jose A. Ortega Ruiz
5f4df2d661
FUEL: Bug fix: parenthesis matching when ( belongs to a word.
2009-07-29 00:29:43 +02:00
Jose A. Ortega Ruiz
69c82bc980
FUEL: Font lock/indentation for M::.
2009-07-10 01:00:06 +02:00
Jose A. Ortega Ruiz
4a6ee34ec4
FUEL: Bug fix: indentation of consecutive setter lines.
2009-06-14 20:29:27 +02:00
Jose A. Ortega Ruiz
7639afb0d7
FUEL: Tiny refactoring.
2009-06-02 05:02:39 +02:00
Jose A. Ortega Ruiz
09b08a0924
FUEL: Better looking tables in help buffers and a fix for in-cell links.
2009-06-02 04:34:40 +02:00
Jose A. Ortega Ruiz
a381d12b6d
FUEL: Automatic insertion of scaffolding in docs and test upon file creation.
2009-06-02 03:21:35 +02:00
Jose A. Ortega Ruiz
577c450db9
FUEL: When creating foo-docs.factor, optionally insert scaffold.
2009-06-02 00:55:53 +02:00
Jose A. Ortega Ruiz
2675533bed
FUEL: Use by default Factor's developer-name in scaffolds.
2009-06-01 23:24:05 +02:00
Jose A. Ortega Ruiz
45e6683c62
FUEL: developer-name is not overriden in scaffolds if so desired.
2009-06-01 23:09:30 +02:00
Jose A. Ortega Ruiz
1f0bd22365
FUEL: Support for SYNTAX: parsing word.
2009-06-01 22:32:47 +02:00
Slava Pestov
0432b00336
Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor
2009-04-30 21:16:37 -05:00
Jose A. Ortega Ruiz
9b19b34126
FUEL: Fix for C-cC-eC-l (make factor command ( -- )).
2009-04-24 22:15:20 +02:00
Jose A. Ortega Ruiz
e4055005ea
FUEL: Fixes for string highlighting.
2009-04-24 22:03:38 +02:00
Nicholas Seckar
7f88f86f84
Merge branch 'master' of git://factorcode.org/git/factor into autouse-existing-usings
2009-04-22 15:10:21 -07:00
Jose A. Ortega Ruiz
425be6a414
FUEL: modify directly use/in to set up evaluation context
2009-04-19 20:35:54 +02:00
Nicholas Seckar
8806a0b18b
Make fuel auto-use the existing using in fuel-debug--uses-for-file.
2009-04-15 16:12:31 -07:00
Jose A. Ortega Ruiz
5c6bc3f85e
FUEL: Fixes for POSTPONE: forms font-lock.
2009-04-15 08:13:56 +02:00
Jose A. Ortega Ruiz
69017ce41f
FUEL: fix for call( indentation.
2009-04-14 01:56:06 +02:00
Jose A. Ortega Ruiz
b549bd6cc9
FUEL: More robust extract word refactoring (catching empty region case).
2009-04-04 22:34:21 +02:00
Jose A. Ortega Ruiz
408d592c3e
FUEL: Font lock and no indentation for EBNF: ... ;EBNF forms.
2009-04-01 05:03:28 +02:00
Jose A. Ortega Ruiz
5519e44550
FUEL: Fix indentation in presence of trailing whitespace.
2009-03-19 01:20:00 +01:00
Jose A. Ortega Ruiz
577aceb7fc
FUEL: Fix for syntax highlighting of SYMBOLS: and SINGLETONS:.
2009-03-19 00:55:14 +01:00
Jose A. Ortega Ruiz
22ee146b60
FUEL: () and (()) are paren syntax only when surronded by word boundaries.
2009-03-13 23:17:31 +01:00
Jose A. Ortega Ruiz
e248615afc
FUEL: Fix highlighting for lines containing 'CHAR: "' plus other string literals.
2009-03-13 22:53:26 +01:00
Jose A. Ortega Ruiz
42fc636abc
FUEL: fix vocabulary list tables.
2009-03-07 14:21:23 +01:00
Jose A. Ortega Ruiz
87d70e9523
FUEL: Autoloads for customization groups.
2009-02-28 02:56:38 +01:00
Jose A. Ortega Ruiz
473095b6d5
FUEL: Persistent listener history.
2009-02-28 02:29:35 +01:00
Jose A. Ortega Ruiz
90dac6f881
FUEL: C-uC-co won't ask for file creation while cycling.
2009-02-22 20:20:46 +01:00
Jose A. Ortega Ruiz
989912cb47
FUEL: Support for $or markup (still elisp-based, sorry).
2009-02-20 16:55:08 +01:00
Jose A. Ortega Ruiz
3bd573fe13
FUEL: New refactoring command: fuel-refactor-make-generic.
2009-02-20 01:02:24 +01:00
Jose A. Ortega Ruiz
08113cd741
FUEL: Don't load vocabs in USING: form by default.
2009-02-19 01:33:47 +01:00
Jose A. Ortega Ruiz
0f6598d95c
FUEL: Recognised parenthesised forms (e.g., stack effects) as syntactic constructs.
2009-02-14 13:44:12 +01:00
Jose A. Ortega Ruiz
08ad6ca116
FUEL: use factor.com instead of factor.exe as default binary under Windows.
2009-02-08 23:22:23 +01:00
Jose A. Ortega Ruiz
84846e21d8
FUEL: Small nits.
2009-02-05 10:45:44 +01:00
Jose A. Ortega Ruiz
9fd675a632
FUEL: Accept '?' in prompts for word and vocabs.
2009-02-05 10:28:57 +01:00
Jose A. Ortega Ruiz
23d4699d5c
FUEL: Fix the previous fix.
2009-01-30 22:32:20 +01:00
Jose A. Ortega Ruiz
16c1f210a6
FUEL: Fix for $vocab-link markup.
2009-01-30 22:24:53 +01:00
Jose A. Ortega Ruiz
ba3c188b3c
FUEL: Small refactoring.
2009-01-30 00:48:24 +01:00
Jose A. Ortega Ruiz
8d522caa82
FUEL: $synopsis markup implemented.
2009-01-30 00:44:15 +01:00
Jose A. Ortega Ruiz
a950bc0d76
FUEL: Even better $see handling in help browser.
2009-01-30 00:40:17 +01:00
Jose A. Ortega Ruiz
2ea9d0bce1
FUEL: Better handling of $see in help browser.
2009-01-30 00:20:58 +01:00
Jose A. Ortega Ruiz
3cd8fbc683
FUEL: Note about .factor-boot-rc added.
2009-01-28 21:32:19 +01:00
Jose A. Ortega Ruiz
3ad52dd85b
FUEL: New refactoring: extract region as ARTICLE: (C-cC-xa).
2009-01-28 21:23:21 +01:00
Jose A. Ortega Ruiz
dceae3df93
FUEL: Better handling of scaped characters inside strings.
2009-01-27 23:15:08 +01:00
Jose A. Ortega Ruiz
508f9ca5fe
FUEL: string font lock fix.
2009-01-26 22:00:09 +01:00
Jose A. Ortega Ruiz
40382f9c5f
FUEL: Font lock and indent support for alien parsing words.
2009-01-25 13:49:10 +01:00
Jose A. Ortega Ruiz
f64303a3c8
FUEL: Better $snippet handling.
2009-01-25 11:57:27 +01:00
Jose A. Ortega Ruiz
8d943b9625
FUEL: Better, if hackish, to fix the f problem.
2009-01-25 11:42:35 +01:00
Jose A. Ortega Ruiz
91460f5479
FUEL: Pretty print f as 'f' instead of 'nil'.
2009-01-25 10:22:53 +01:00
Jose A. Ortega Ruiz
b6b3e4fb54
FUEL: README update.
2009-01-23 20:52:35 +01:00
Jose A. Ortega Ruiz
742241e881
FUEL: Fix for stack effect recognition.
2009-01-23 00:23:11 +01:00
Jose A. Ortega Ruiz
ae2e9b4192
FUEL: New refactoring: rename word.
2009-01-22 23:25:17 +01:00
Jose A. Ortega Ruiz
a654fac19e
FUEL: Cross-reference for vocabs (uses/usage).
2009-01-22 21:13:38 +01:00
Jose A. Ortega Ruiz
d3cbb62851
FUEL: fuel.xref subvocabulary factored out.
2009-01-22 16:11:44 +01:00
Jose A. Ortega Ruiz
4a5d8f5344
FUEL: New option fuel-xref-follow-link-method (current buffer, new window or frame).
2009-01-22 09:55:39 +01:00
Jose A. Ortega Ruiz
01acbddd9f
FUEL: Small tweak in regexps.
2009-01-21 20:39:10 +01:00
Jose A. Ortega Ruiz
28cfe0fe63
FUEL: small fix.
2009-01-21 03:22:37 +01:00
Jose A. Ortega Ruiz
e81c392706
FUEL: Fix for regression in constructor indentation.
2009-01-21 03:03:03 +01:00
Jose A. Ortega Ruiz
5b785d2f38
FUEL: In word extraction, ask for word name before stack effect.
2009-01-21 02:46:50 +01:00
Jose A. Ortega Ruiz
f34f7298ee
FUEL: remote connections.
2009-01-21 02:37:32 +01:00
Jose A. Ortega Ruiz
db63d9d324
FUEL: Fix bug in usings update doing the wrong thing for empty USING:.
2009-01-21 00:44:22 +01:00
Jose A. Ortega Ruiz
b9f323c350
FUEL: Font lock for field-less TUPLE: forms.
2009-01-20 09:44:25 +01:00
Jose A. Ortega Ruiz
52f89b717b
FUEL: new command: fuel-refresh-all (C-cr in factor code and listener buffers)
2009-01-19 21:59:46 +01:00
Jose A. Ortega Ruiz
e27daf5daf
FUEL: New fuel-switch-to-buffer command family.
2009-01-19 05:10:47 +01:00