There are many shell interface within Emacs, shell, eshell, and ansi-term can call the shell you like. IMO eshell is the one intergrated with Emacs the most and I use most.
The most intergration that the others don’t have (to my knowledge) is that we can call lisp functions within the shell. like input
message "Hello, world!"
will […]
¶
Posted 07 April 2006
§
‡
Well In my last blog about dired, I customized
dired-guess-shell-alist-user is a variable defined in `dired-x.el’.
Documentation:
User-defined alist of rules for suggested commands.
These rules take precedence over the predefined rules in the variable
`dired-guess-shell-alist-default’ (to which they are prepended).
Each element of this list looks like
(REGEXP COMMAND…)
where each COMMAND can either be a string or a Lisp expression that […]
¶
Posted 04 April 2006
§
‡
While Emacs being a platform of everything, needless to see it can do file management well. Among them dired is the standard package.
Here are some useful settings
(require ‘dired)
;; Setup dired to let you nicely copy stuff inbetween two dired
;; windows.
(setq dired-dwim-target t)
;; delete un-empty directories recursivly without warning
(setq dired-recursive-deletes ‘always)
;; recursive copy without prompt
(setq dired-recursive-copies […]
¶
Posted 02 April 2006
§
‡
As our Emacs configure file gettting larger and larger (my config files are now about 250K), it is a good idea to seperate them into different categories and byte-compile them for speed up.
However, it is boring to manually byte-compile them whenever I make a change, even with dired. So here is my solution.
The function to […]
¶
Posted 15 March 2006
§
‡
well I decide to give this up.
The main reason is that muse-blosxom-new-entry makes the file name from blog title. I think it’s a good idea. But that make me harder, if possible, to keep the planner notes sync with blog entries.
What’s more, I might use different sub-set of muse features on planner and blog. Like […]
And this will save some confusing about versions. I can give time 00:00 for notes without a note taken timestamp. Anyway this is what Michael give for blog files with only date in the timestamps file.
Share This
Sacha pastes this on #emacs. I think I can tweak this to do the region render. Nice!
"Mark up STRING according to `emacs-wiki-publishing-rules’.
No header or footer is added."
(let ((emacs-wiki-project emacs-wiki-current-project))
(with-temp-buffer
(emacs-wiki-mode)
(insert string)
(let ((emacs-wiki-publishing-header "")
(emacs-wiki-publishing-footer ""))
(emacs-wiki-replace-markup))
(buffer-string))))
Share This
I like the many small functions of boxquote. However it’s not supported by emacs-wiki and I don’t think it will be: It’s conflict with emacs-wiki-srctag and lack the color thing when publish.
So it might be a good thing to port all the boxquote handy functions to emacs-wiki-srctag. On neat feature will be, advice kill-ring-save, and […]
¶
Posted 31 March 2005
§
‡
unison can sync two directories, which are changing on both side. It updates that do not conflict are propagated automatically. Conflicting updates are detected and displayed.
This is perfet for the comments back and force of planner-pyblosxom: people can comment on the blog via web interface, and I can reply comments within Emacs, even off-line. And […]
Keith Amidon posted this in the list:
(lambda ()
(setq auto-fill-inhibit-regexp "^#[ABC] +[_oX].*")
(setq truncate-lines t)))
Share This