-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I thought I knew how to set coding-system (or encoding): use process-coding-system-alist. Apparently, it's not working.
;; -*- coding: utf-8 -*-
(require 'cl)
(let
((process-coding-system-alist '("cygwin/bin/bash" . (utf-8-dos . utf-8-unix))))
(setq my-words (list "Lilo" "?_?" "_?" "?_" "?"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm making some tedious calls to a bunch of functions, but the parameters will be determined at runtime. I wrote a simple function to keep my code DRY but giving it a name is unnecessary. I don't use this function anywhere else.
I'm trying to do it the way I would in Scheme, but I get a void-function…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to temporarily override the kill-new function. I have a way I want to reimplement kill-new that works in only in certain contexts, but I don't want to reimplement a special version of kill-region on top of that. (kill-new is called from kill-region)
Since Emacs Lisp uses dynamic scoping…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'd like to recenter a buffer, called "Lense", where I've inserted some text. I wished to make it the current buffer by "(set-buffer "Lense")", then "(recenter 0))". By the following code segments:
(save-excursion (set-buffer "Lense")
(recenter 0))
However, it seems that the above…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am hacking up a tagging application for emacs. I have got a tag cloud/weighted list successfully displaying on a buffer, but i am running into a snag. I need to be able to properly word-wrap the buffer, but I haven't a clue where to start.
The font I am using is a variable width font. On top…
>>> More