Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
How about a feature request for basic firewall support.
Emacs 24.1 released
Posted Jun 12, 2012 21:48 UTC (Tue) by BlueLightning (subscriber, #38978)
Posted Jun 13, 2012 0:01 UTC (Wed) by theophrastus (guest, #80847)
i remember when emacs was endlessly jabbed for being "way too massive and bloated". ("can barely fit on a floppy!") now just look at your typical music player software.
anyway, gawdbless Stallman.. and thankee for the new git mode!
[just 1 out of 3.1 gillion "emacs vs vi" fights run through "dissociated-press"]:
My take for text editing, ignoring all the additional stuff Emacs can do all that and more -- much more than vi and its history it only edited straight ASCII text files, which is to concentrate on their text, not the formatting thereof. Granted, this is true of editing text. Bottom line: Emacs is ultra-powerful but bloated as performance in emacs does not degrade the way it does in, say, Word, with it. But it's scripted in any scripting language you like, it runs on any operating system you want to remap the caps lock key, remap it to the keys you type is VERY dependent on what I really want, however, is a system that reads my mind (or at least my hands away from the regular keys to the arrow keys/mouse to go up with my right hand being one key to the left or right from the start I hated Vi because it is so modey -- what it does in response to the keys you type is VERY dependent on any operating system you like, it has every text-editing feature known to man, it's clean, reliable, easy to use, symmetrical, and low on text editing, ignoring all the additional stuff could be done in other ways. I know used to move my right hand to concentrate on their text, not the formatting thereof. Different tools have different purposes, and over 3 words for those people have different preferences modes? ...
Posted Jun 13, 2012 16:06 UTC (Wed) by nix (subscriber, #2304)
(On the git front, if you haven't tried magit, do. It's superb. I also note that this is the first version of Emacs where CEDET's semantic autocompletion has worked fast enough to be useful -- I use it in conjunction with auto-complete.el, and for languages the Semantic Bovinator understands it is nigh flawless and much less terrifying to set up than is rumoured.)
it's clean, reliable, easy to use, symmetrical, and low on text editing
Posted Jun 15, 2012 4:19 UTC (Fri) by daglwn (subscriber, #65432)
Please, do tell! I tried CEDET a few releases ago and gave up because I couldn't get autocomplete/SB to work properly. Is there a guide somewhere?
Posted Jun 15, 2012 12:42 UTC (Fri) by nix (subscriber, #2304)
My entire autocompletion configuration (using auto-complete.el to provide completion with intellisense-style pull-down menus that vanish at convenient times: tweaked locally, may be full of horrible typos):
;; Turn on project management.
(setq ede-locate-setup-options '(ede-locate-global ede-locate-locate ede-locate-base))
;; Kick off the semantic bovinator, function menu, C-warning mode, and flashing
(setq semantic-default-submodes (append semantic-default-submodes
(setq semantic-decoration-styles '(("semantic-decoration-on-includes" . t)
;; auto-complete should use Semantic.
(defun nix-setup-auto-complete-semantic ()
"Arrange to do semantic autocompletion."
(add-to-list 'ac-sources 'ac-source-semantic))
(add-hook 'c-mode-common-hook 'nix-setup-auto-complete-semantic t)
;; Some key bindings
(define-key semantic-mode-map (kbd "C-c , .") 'semantic-ia-fast-jump)
(define-key semantic-mode-map (kbd "C-c , P") 'semantic-analyze-proto-impl-toggle)
(define-key semantic-mode-map (kbd "C-c , h") 'semantic-decoration-include-visit)
That's enough global setup for C and C++ code to work, and almost all of it is unnecessary -- the system will sort of work with nothing but (semantic-mode 1). But you want some local per-project setup too, so it knows where your headers are and what #defines to apply when parsing them and stuff like that. Projects using Autoconf and Automake, and a few major projects such as the Linux kernel, are automatically detected, but for others you might need something like this for each project:
(ede-cpp-root-project "Blah Project" :file "/home/nix/src/blah/Makerules"
:include-path '("/include" "/local/include")
:system-include-path '("/home/nix/src/otherproject/include" "/usr/include")
:spp-table '(("_GNU_SOURCE" . "") ("_FILE_OFFSET_BITS" . "64") ("WOMBLE" . "foo")))
Posted Jun 20, 2012 18:17 UTC (Wed) by hans (subscriber, #148)
Great OS, still missing a decent text editor though...
Nonsense. Just run M-:(ansi-term "/bin/vi")
Posted Jun 13, 2012 10:26 UTC (Wed) by dps (subscriber, #5725)
I have a linux firewall box in front on my broadband router which also supports routing traffic to my office via a vpn, so programs never need to be aware of the office firewall and how to get through it :-)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds