118 karma · joined Apr 12, 2011 (15y ago) · 29 submissions
comment 9y ago · link · parent
Guile's strings (gnulib's) do not support that, and adding the support is quite a bit of works for all the corner-cases that emacs supports.
Now, emacs and guile do not necessarily have to use the same underlying string/buffer implementation, but it would definitely be a big plus, and I wouldn't be surprised the emacs maintainers would require it.
comment 10y ago · link · parent
Mu4e has a few different options for displaying rich-text messages. In recent emacsen, it defaults to a shr/eww based display; it's not perfect, but it reduces the set of problem cases.
For those, there are the view-in-browser action, and with (as of yet unreleased) emacs-25 you can use a webkit-based display embedded in emacs.
With those, I'm able to view just about any message; even the ones I get from airlines etc., which tend to be html-only.
Anyway - to get back to the top-level subject: congratulations to mutt, which is a great e-mail client, and a big influence on mu/mu4e.
comment 10y ago · link · parent
It's fun to get some of the functional flavor, while still being very near the bare pointers.
comment 11y ago · link · parent
I've embedded Guile into some of my own projects, and it's a great and fun way to bring a bit of life in "dead" compiled code. Many more projects would benefit from this.
comment 11y ago · link · parent
http://emacs-fu.blogspot.fi/2009/08/interview-with-chong-yid...
comment 12y ago · link · parent
Now, early DBus was a bit lacking in that respect as well, but with GDBus (GLib's DBus implementation) it's become as straightforward as IPC can be, even in plain C; I've seen quite a few people new to the technology that were able to get up to speed with it quickly.
It'll be interesting to see how people are taking DBus and pushing the boundaries of what it can be used for, such as kdbus.
Thank you hp!
comment 12y ago · link · parent
I didn't have an assembler, so I wrote my code by taking the opcodes from a table, calculating offsets etc., then turning them into DATA-lines in an MSX-Basic program, which POKEd the code into RAM, then CALL into the starting address.
comment 14y ago · link · parent
GObject is a bit different matter - there's quite a bit of boilerplate, which makes me think twice before adding one. But at the same time, it's quite nice to use them in libraries like GStreamer.
GLib is certainly not perfect, but I found it more pleasant to use than, say, talloc. Are there any specific advantage is APR? (I've never used it) Does it cover the same functionality?
comment 14y ago · link · parent
Its user-interface is a bit mutt-influenced, but it's fully query-based and very fast, and of course you can extend it using elisp. A fairly young project, but it's near-fully documented, and the manual has instructions on how to set things up with Gmail.
comment 14y ago · link · parent
Now, I would recommend against using /oh-my-zsh/ and the like wholesale; just add useful things to your zsh setup step-by-step, where you actually understand each step.
Otherwise you're just importing a blob of magic that can interact with other things in weird ways. /oh-my-zsh/ contains a lot of gems, but take them one by one.
comment 14y ago · link · parent
What about some slightly less basic ones that I'd think would be useful for many people.
# less with syntax highlighting
alias less="/usr/share/vim/vimcurrent/macros/less.sh"
tailf # tail -f, but better & shorter
mtr # check your connection (ie., traceroute with more info)
htop # nice a colorful process listing (better than top)
locate # search files by name -- that late-night disk thrashing is useful after all!comment 14y ago · link · parent
comment 14y ago · link · parent
I agree with Wales; deliberately putting untruths on Wikipedia is really anti-social behavior. Wikipedia, however imperfect, is a really great asset -- people using it for their own little experiments like this is really doing everyone a great disservice, and I can only imagine how many others he has inspired to do similar things.
comment 14y ago · link · parent
Then,
pmccabe `find . -name '*.c'` | sort -nr | awk '($1 > 10)'
gives me all functions that have a cyclomatic complexity over 10; I often add it as a target in a Makefile, so I can easily check this. Similar, for functions of a certain length.comment 14y ago · link · parent
[1] http://www.djcbsoftware.nl/code/mu, or 'maildir-utils' in debian/ubuntu
comment 15y ago · link · parent
Anyway, to get back on-topic, as an alternative way to analyse your mails, I've added guile (scheme) bindings, and it's pretty easy to get all kinds of interesting statistics from your mails -- see https://gitorious.org/mu/mu/blobs/master/toys/muile/README
comment 15y ago · link · parent
comment 15y ago · link · parent
[1] http://www.gnu.org/s/guile/ [2] https://savannah.nongnu.org/projects/geiser/ [3] http://www.neilvandyke.org/sicp-texi/
comment 15y ago · link · parent